ab62122749c3f8d8bbc526e700762b547e3e85bd.svn-base 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[进程管理 >> 充当管理 >> 充当历史查询]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <initData>
  12. <searchInfo>
  13. <LG_CD>A01004</LG_CD>
  14. </searchInfo>
  15. </initData>
  16. <codeData>
  17. <UPD_AFT_ORD_SEQ/>
  18. <UPD_BEF_ORD_SEQ/>
  19. </codeData>
  20. <formData>
  21. <searchSEQ>
  22. <ORD_NO/>
  23. </searchSEQ>
  24. <searchInfo>
  25. <PRODNM_CD/>
  26. <MAT_NO/>
  27. <REG_FROM_DTIME/>
  28. <UPD_AFT_ORD_NO/>
  29. <UPD_AFT_ORD_SEQ/>
  30. <UPD_BEF_ORD_NO/>
  31. <UPD_BEF_ORD_SEQ/>
  32. <REG_TO_DTIME/>
  33. </searchInfo>
  34. <searchDetail>
  35. <STL_GRD/>
  36. <DESIGN_SLAB_THK/>
  37. <DESIGN_SLAB_WTH/>
  38. <ORD_WGT_MIN/>
  39. <ORD_WGT_MAX/>
  40. </searchDetail>
  41. </formData>
  42. <gridData>
  43. </gridData>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. if (window.parent == null) Init();
  49. ]]>
  50. </script>
  51. </model>
  52. <script type="javascript" src="../../js/boaCommon.js"/>
  53. <script type="javascript" src="../../js/boaMsg.js"/>
  54. <script type="javascript" src="../../js/mesCommon.js">
  55. <![CDATA[
  56. submitID = "UIE031070-service";
  57. function excelExport(){
  58. return datagrid1;
  59. }
  60. function Init(node) {
  61. InitParams(node);
  62. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO");
  63. model.setValue("/root/formData/searchInfo/REG_FROM_DTIME", commCurDate("ymd"));
  64. model.setValue("/root/formData/searchInfo/REG_TO_DTIME", commCurDate("ymd"));
  65. pageInit();
  66. }
  67. function pageInit() {
  68. model.removenode("/root/reqData");
  69. model.removenode("/root/resData");
  70. model.refresh();
  71. }
  72. //检查字符串长度是否为14(时间长度),不足的补零
  73. function checkStrLen(url,tempStr){
  74. var dtime = model.getValue(url)
  75. var strLen = dtime.length;
  76. var tailStr = "";
  77. if(tempStr == ""){
  78. if (strLen < 14) {
  79. for(var i = 0 ; i < 14-strLen ; i++){ tailStr = tailStr + "0"; }
  80. }
  81. }else{
  82. tailStr = tempStr;
  83. }
  84. model.setValue(url,dtime + tailStr);
  85. }
  86. function find() {
  87. checkStrLen("/root/formData/searchInfo/REG_FROM_DTIME","");
  88. checkStrLen("/root/formData/searchInfo/REG_TO_DTIME","235959");
  89. model.refresh();
  90. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  91. pageInit();
  92. }
  93. function save() {}
  94. function create() {}
  95. function remove() {}
  96. ]]>
  97. </script>
  98. </xhtml:head>
  99. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  100. <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:57px; ">
  101. <line id="line2" style="x1:0px; y1:51px; x2:980px; y2:51px; "/>
  102. <caption id="caption101" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">物料类型</caption>
  103. <select1 id="combo101" ref="PRODNM_CD" appearance="minimal" style="left:92px; top:5px; width:127px; height:20px; ">
  104. <choices>
  105. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row">
  106. <label ref="SM_CFNM"/>
  107. <value ref="SM_CD"/>
  108. </itemset>
  109. </choices>
  110. </select1>
  111. <caption id="caption102" class="cell" style="left:229px; top:5px; width:90px; height:20px; ">物料号</caption>
  112. <input id="input102" ref="MAT_NO" style="left:321px; top:5px; width:127px; height:20px; "/>
  113. <caption id="caption103" class="cell" style="left:458px; top:5px; width:90px; height:20px; ">录入时间</caption>
  114. <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; "/>
  115. <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; "/>
  116. <caption id="caption104" class="cell" style="left:0px; top:27px; width:90px; height:20px; ">变更后合同号</caption>
  117. <input id="input1041" ref="UPD_AFT_ORD_NO" maxlength="16" style="left:92px; top:27px; width:80px; height:20px; ">
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. model.setValue("/root/formData/searchInfo/UPD_AFT_ORD_SEQ", "");
  121. var ordno = model.getValue("/root/formData/searchInfo/UPD_AFT_ORD_NO");
  122. // if (ordno.length == 12) {
  123. model.setValue("/root/formData/searchSEQ/ORD_NO", ordno);
  124. exec("/root/formData/searchSEQ", "", "seq", "/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO");
  125. // } else {
  126. // model.removenode("/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO");
  127. // }
  128. pageInit();
  129. ]]>
  130. </script>
  131. </input>
  132. <select1 id="combo1042" ref="UPD_AFT_ORD_SEQ" appearance="minimal" style="left:174px; top:27px; width:45px; height:20px; ">
  133. <choices>
  134. <itemset nodeset="/root/codeData/UPD_AFT_ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
  135. <label ref="ORD_SEQ"/>
  136. <value ref="ORD_SEQ"/>
  137. </itemset>
  138. </choices>
  139. </select1>
  140. <caption id="caption105" class="cell" style="left:229px; top:27px; width:90px; height:20px; ">变更前合同号</caption>
  141. <input id="input1051" ref="UPD_BEF_ORD_NO" maxlength="16" style="left:321px; top:27px; width:80px; height:20px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. model.setValue("/root/formData/searchInfo/UPD_BEF_ORD_SEQ", "");
  145. var ordno = model.getValue("/root/formData/searchInfo/UPD_BEF_ORD_NO");
  146. // if (ordno.length == 12) {
  147. model.setValue("/root/formData/searchSEQ/ORD_NO", ordno);
  148. exec("/root/formData/searchSEQ", "", "seq", "/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO");
  149. // } else {
  150. // model.removenode("/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO");
  151. // }
  152. pageInit();
  153. ]]>
  154. </script>
  155. </input>
  156. <select1 id="combo1052" ref="UPD_BEF_ORD_SEQ" appearance="minimal" style="left:403px; top:27px; width:45px; height:20px; ">
  157. <choices>
  158. <itemset nodeset="/root/codeData/UPD_BEF_ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
  159. <label ref="ORD_SEQ"/>
  160. <value ref="ORD_SEQ"/>
  161. </itemset>
  162. </choices>
  163. </select1>
  164. </group>
  165. <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; ">
  166. <col ref="MAT_TYPE"/>
  167. <col ref="DSP_NO" style="text-align:left; "/>
  168. <col/>
  169. <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  170. <col ref="REP_TYP"/>
  171. <col ref="REP_KND"/>
  172. <col ref="UPD_BEF_ORD_NO"/>
  173. <col ref="UPD_BEF_ORD_SEQ"/>
  174. <col ref="UPD_BEF_CUST_CD" style="text-align:left; "/>
  175. <col ref="UPD_AFT_ORD_NO"/>
  176. <col ref="UPD_AFT_ORD_SEQ"/>
  177. <col ref="DEL_TO_DATE" format="yyyy-mm-dd"/>
  178. <col ref="UPD_AFT_CUST_CD" style="text-align:left; "/>
  179. <col ref="REP_TP"/>
  180. <col ref="REG_ID" style="text-align:left; "/>
  181. <col ref="MOD_PGM_ID" style="text-align:left; "/>
  182. <script type="javascript" ev:event="ondblclick">
  183. <![CDATA[
  184. var datagrid = datagrid1;
  185. window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
  186. ]]>
  187. </script>
  188. </datagrid>
  189. </xhtml:body>
  190. </xhtml:html>