| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[进程管理 >> 充当管理 >> 充当历史查询]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- <searchInfo>
- <LG_CD>A01004</LG_CD>
- </searchInfo>
- </initData>
- <codeData>
- <UPD_AFT_ORD_SEQ/>
- <UPD_BEF_ORD_SEQ/>
- </codeData>
- <formData>
- <searchSEQ>
- <ORD_NO/>
- </searchSEQ>
- <searchInfo>
- <PRODNM_CD/>
- <MAT_NO/>
- <REG_FROM_DTIME/>
- <UPD_AFT_ORD_NO/>
- <UPD_AFT_ORD_SEQ/>
- <UPD_BEF_ORD_NO/>
- <UPD_BEF_ORD_SEQ/>
- <REG_TO_DTIME/>
- </searchInfo>
- <searchDetail>
- <STL_GRD/>
- <DESIGN_SLAB_THK/>
- <DESIGN_SLAB_WTH/>
- <ORD_WGT_MIN/>
- <ORD_WGT_MAX/>
- </searchDetail>
- </formData>
- <gridData>
- </gridData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (window.parent == null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js">
- <![CDATA[
- submitID = "UIE031070-service";
- function excelExport(){
- return datagrid1;
- }
- function Init(node) {
- InitParams(node);
- exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO");
- model.setValue("/root/formData/searchInfo/REG_FROM_DTIME", commCurDate("ymd"));
- model.setValue("/root/formData/searchInfo/REG_TO_DTIME", commCurDate("ymd"));
- pageInit();
- }
- function pageInit() {
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- model.refresh();
- }
-
- //检查字符串长度是否为14(时间长度),不足的补零
- function checkStrLen(url,tempStr){
- var dtime = model.getValue(url)
- var strLen = dtime.length;
- var tailStr = "";
- if(tempStr == ""){
- if (strLen < 14) {
- for(var i = 0 ; i < 14-strLen ; i++){ tailStr = tailStr + "0"; }
- }
- }else{
- tailStr = tempStr;
- }
- model.setValue(url,dtime + tailStr);
- }
-
- function find() {
- checkStrLen("/root/formData/searchInfo/REG_FROM_DTIME","");
- checkStrLen("/root/formData/searchInfo/REG_TO_DTIME","235959");
- model.refresh();
- exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
- pageInit();
-
- }
- function save() {}
- function create() {}
- function remove() {}
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
- <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:57px; ">
- <line id="line2" style="x1:0px; y1:51px; x2:980px; y2:51px; "/>
- <caption id="caption101" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">物料类型</caption>
- <select1 id="combo101" ref="PRODNM_CD" appearance="minimal" style="left:92px; top:5px; width:127px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption102" class="cell" style="left:229px; top:5px; width:90px; height:20px; ">物料号</caption>
- <input id="input102" ref="MAT_NO" style="left:321px; top:5px; width:127px; height:20px; "/>
- <caption id="caption103" class="cell" style="left:458px; top:5px; width:90px; height:20px; ">录入时间</caption>
- <input id="input103" ref="REG_FROM_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" mask="exclude" style="left:550px; top:5px; width:127px; height:20px; "/>
- <input id="input1" ref="REG_TO_DTIME" inputtype="date" format="yyyy-mm-dd hh:nn:ss" mask="exclude" style="left:685px; top:5px; width:127px; height:20px; "/>
- <caption id="caption104" class="cell" style="left:0px; top:27px; width:90px; height:20px; ">变更后合同号</caption>
- <input id="input1041" ref="UPD_AFT_ORD_NO" maxlength="16" style="left:92px; top:27px; width:80px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/formData/searchInfo/UPD_AFT_ORD_SEQ", "");
- var ordno = model.getValue("/root/formData/searchInfo/UPD_AFT_ORD_NO");
- // if (ordno.length == 12) {
- model.setValue("/root/formData/searchSEQ/ORD_NO", ordno);
- exec("/root/formData/searchSEQ", "", "seq", "/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO");
- // } else {
- // model.removenode("/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO");
- // }
- pageInit();
- ]]>
- </script>
- </input>
- <select1 id="combo1042" ref="UPD_AFT_ORD_SEQ" appearance="minimal" style="left:174px; top:27px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption105" class="cell" style="left:229px; top:27px; width:90px; height:20px; ">变更前合同号</caption>
- <input id="input1051" ref="UPD_BEF_ORD_NO" maxlength="16" style="left:321px; top:27px; width:80px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/formData/searchInfo/UPD_BEF_ORD_SEQ", "");
- var ordno = model.getValue("/root/formData/searchInfo/UPD_BEF_ORD_NO");
- // if (ordno.length == 12) {
- model.setValue("/root/formData/searchSEQ/ORD_NO", ordno);
- exec("/root/formData/searchSEQ", "", "seq", "/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO");
- // } else {
- // model.removenode("/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO");
- // }
- pageInit();
- ]]>
- </script>
- </input>
- <select1 id="combo1052" ref="UPD_BEF_ORD_SEQ" appearance="minimal" style="left:403px; top:27px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="产品^物料号^堆垛位置^录入时间^充当代码^充当方法^变更前合同号^变更前订单号^变更前客户^变更后合同号^变更后订单号^变更后交货期^变更后客户^充当条件^录入者^变更程序ID" colsep="^" colwidth="45, 100, 100, 120, 80, 60, 86, 50, 150, 80, 50, 92, 150, 100, 50, 100" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="45" rowsep="|" style="left:0px; top:56px; width:980px; height:564px; ">
- <col ref="MAT_TYPE"/>
- <col ref="DSP_NO" style="text-align:left; "/>
- <col/>
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="REP_TYP"/>
- <col ref="REP_KND"/>
- <col ref="UPD_BEF_ORD_NO"/>
- <col ref="UPD_BEF_ORD_SEQ"/>
- <col ref="UPD_BEF_CUST_CD" style="text-align:left; "/>
- <col ref="UPD_AFT_ORD_NO"/>
- <col ref="UPD_AFT_ORD_SEQ"/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd"/>
- <col ref="UPD_AFT_CUST_CD" style="text-align:left; "/>
- <col ref="REP_TP"/>
- <col ref="REG_ID" style="text-align:left; "/>
- <col ref="MOD_PGM_ID" style="text-align:left; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var datagrid = datagrid1;
- window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|