9e28812accb04bed4f07fcd9368ab47f5cdc4a39.svn-base 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="C:/XGMES/MESSpace/xgmes3/WebContents/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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <formData>
  10. <ProdNm>
  11. </ProdNm>
  12. <OrdStlGrd/>
  13. <OrdUseType/>
  14. <DevTerm>
  15. <FrDate/>
  16. <ToDate/>
  17. </DevTerm>
  18. <ShipProgCd/>
  19. </formData>
  20. <gridData>
  21. <DeliverGoodsResult_VO/>
  22. </gridData>
  23. <resData/>
  24. <reqData/>
  25. </root>
  26. </instance>
  27. <script type="javascript" src="../../js/boaCommon.js"/>
  28. <script type="javascript" src="../../js/boaMsg.js"/>
  29. <script type="javascript">
  30. <![CDATA[
  31. function find() {
  32. //초기화
  33. model.removeNodeset(dg1.nodeset);
  34. //alert(dg1.nodeset);
  35. model.refresh();
  36. //reqData생성
  37. //commSendReq("/root/formData");
  38. //model.rmakeNode("/root/reqData");
  39. model.makeValue("/root/reqData/DevTerm/FrDate" ,model.getValue("/root/formData/DevTerm/FrDate" ));
  40. model.makeValue("/root/reqData/DevTerm/ToDate" ,model.getValue("/root/formData/DevTerm/ToDate" ));
  41. model.makeValue("/root/reqData/ShipProgCd" ,model.getValue("/root/formData/ShipProgCd" ));
  42. model.makeValue("/root/reqData/ProdNmCd" ,model.getValue("/root/formData/ProdNm" ));
  43. model.makeValue("/root/reqData/OrdStlGrd" ,model.getValue("/root/formData/OrdStlGrd" ));
  44. model.makeValue("/root/reqData/OrdUseType" ,model.getValue("/root/formData/OrdUseType" ));
  45. //alert(instance1.selectSingleNode("/root/reqData").xml);
  46. commSubmit("UIA030040-service" ,"find" ,"glueAction.do" );
  47. model.copyNode("/root/gridData/DeliverGoodsResult_VO" ,"/root/resData/DeliverGoodsResult_VO" );
  48. //model.removenode("/root/reqData");
  49. model.removenode("/root/resData/DeliverGoodsResult_VO");
  50. model.refresh();
  51. }
  52. ]]>
  53. </script>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. // Populate values (品名-combo)
  57. model.makeNode("/root/reqData");
  58. model.makeValue("/root/reqData/LgCd" ,"J01005" );
  59. commSubmit("UIACommCode-service","NorFind" ,"glueAction.do" );
  60. model.copyNode("/root/formData/ShipProgCd" ,"/root/resData/ACommCodeResult_VO" );
  61. model.removenode("/root/reqData");
  62. model.removenode("/root/resData/ACommCodeResult_VO");
  63. //ShipProgCd.refresh();
  64. // Populate values (发货指示期间-combo)
  65. model.makeNode("/root/reqData");
  66. model.makeValue("/root/reqData/FromNum" ,"7" );
  67. model.makeValue("/root/reqData/ToNum" ,"0" );
  68. model.makeValue("/root/reqData/DateType" ,"YYYYMMDD" );
  69. commSubmit("UIACommDate-service","success" ,"glueAction.do" );
  70. model.setValue("/root/formData/DevTerm/FrDate", model.getValue("/root/resData/DateResultList_VO/DateResultList_Row/FR_DATE"));
  71. model.setValue("/root/formData/DevTerm/ToDate", model.getValue("/root/resData/DateResultList_VO/DateResultList_Row/TO_DATE"));
  72. model.removenode("/root/reqData");
  73. model.removenode("/root/resData/DateResultList_VO");
  74. // Populate values (品名-combo)
  75. model.makeNode("/root/reqData");
  76. model.makeValue("/root/reqData/LgCd" ,"A01004" );
  77. commSubmit("UIACommCode-service","NorFind" ,"glueAction.do" );
  78. model.copyNode("/root/formData/ProdNm" ,"/root/resData/ACommCodeResult_VO" );
  79. model.removenode("/root/reqData");
  80. model.removenode("/root/resData/ACommCodeResult_VO");
  81. //cb_ProdNm.refresh();
  82. // Populate values (订单钢号-combo)
  83. model.makeNode("/root/reqData");
  84. commSubmit("UIACommCode-service","AllSpecStlGrdFind" ,"glueAction.do" );
  85. model.copyNode("/root/formData/OrdStlGrd" ,"/root/resData/ACommCodeResult_VO" );
  86. model.removenode("/root/reqData");
  87. model.removenode("/root/resData/ACommCodeResult_VO");
  88. //cb_OrdStlGrd.refresh();
  89. // Populate values (订单用途-combo)
  90. model.makeNode("/root/reqData");
  91. model.makeValue("/root/reqData/LgCd" ,"A01007" );
  92. commSubmit("UIACommCode-service","AllNorFind" ,"glueAction.do" );
  93. model.copyNode("/root/formData/OrdUseType" ,"/root/resData/ACommCodeResult_VO" );
  94. model.removenode("/root/reqData");
  95. model.removenode("/root/resData/ACommCodeResult_VO");
  96. //cb_OrdUseType.refresh();
  97. model.refresh();
  98. cb_ShipProgCd.select(7);
  99. cb_ProdNm.select(1);
  100. cb_OrdStlGrd.select(0);
  101. cb_OrdUseType.select(0);
  102. ]]>
  103. </script>
  104. </model>
  105. </xhtml:head>
  106. <xhtml:body pagewidth="980" pageheight="620">
  107. <button id="button1" visibility="hidden" style="left:900px; top:5px; width:71px; height:20px; font-weight:bold; color:transparent; text-align:center; vertical-align:bottom; border-style:outset; ">
  108. <caption>FIND</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. find();
  112. ]]>
  113. </script>
  114. </button>
  115. <caption id="ct_00" class="cell" style="left:2px; top:4px; width:86px; height:20px; text-align:center; vertical-align:middle; ">
  116. <![CDATA[发货进程状态]]>
  117. </caption>
  118. <select1 id="cb_ShipProgCd" ref="/root/formData/ShipProgCd" appearance="minimal" style="left:90px; top:4px; width:150px; height:20px; ">
  119. <choices>
  120. <itemset nodeset="/root/formData/ShipProgCd/ACommCodeResult_Row">
  121. <label ref="SM_CFNM"/>
  122. <value ref="SM_CD"/>
  123. </itemset>
  124. </choices>
  125. </select1>
  126. <caption id="ct_01" class="cell" style="left:254px; top:4px; width:86px; height:20px; text-align:center; vertical-align:middle; ">发货指示期间</caption>
  127. <input id="ip_FrDate" ref="/root/formData/DevTerm/FrDate" editable="false" inputtype="date" style="left:342px; top:4px; width:85px; height:20px; "/>
  128. <caption id="caption1" style="left:426px; top:4px; width:20px; height:20px; text-align:center; vertical-align:bottom; ">~</caption>
  129. <input id="ip_ToDate" ref="/root/formData/DevTerm/ToDate" editable="false" inputtype="date" style="left:445px; top:4px; width:85px; height:20px; "/>
  130. <caption id="ct_02" class="cell" style="left:2px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">品名</caption>
  131. <select1 id="cb_ProdNm" ref="/root/formData/ProdNm" appearance="minimal" style="left:90px; top:26px; width:150px; height:20px; ">
  132. <choices>
  133. <itemset nodeset="/root/formData/ProdNm/ACommCodeResult_Row">
  134. <label ref="SM_CFNM"/>
  135. <value ref="SM_CD"/>
  136. </itemset>
  137. </choices>
  138. </select1>
  139. <caption id="ct_03" class="cell" style="left:254px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">订单钢号</caption>
  140. <select1 id="cb_OrdStlGrd" ref="/root/formData/OrdStlGrd" appearance="minimal" editmode="inputsearch" style="left:342px; top:26px; width:188px; height:20px; ">
  141. <choices>
  142. <itemset nodeset="/root/formData/OrdStlGrd/ACommCodeResult_Row">
  143. <label ref="SPEC_STL_GRD_NM"/>
  144. <value ref="SPEC_STL_GRD_CD"/>
  145. </itemset>
  146. </choices>
  147. </select1>
  148. <caption id="ct_04" class="cell" style="left:544px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">订单用途</caption>
  149. <select1 id="cb_OrdUseType" ref="/root/formData/OrdUseType" appearance="minimal" style="left:632px; top:26px; width:150px; height:20px; ">
  150. <choices>
  151. <itemset nodeset="/root/formData/OrdUseType/ACommCodeResult_Row">
  152. <label ref="SM_CFNM"/>
  153. <value ref="SM_CD"/>
  154. </itemset>
  155. </choices>
  156. </select1>
  157. <line id="line_01" visibility="visible" style="x1:976px; y1:48px; x2:1px; y2:48px; border-color:#ff0000; "/>
  158. <datagrid id="dg1" nodeset="/root/gridData/DeliverGoodsResult_VO/DeliverGoodsResult_Row" caption="订单号^订单号^客户公司^客户公司^COIL号^等级^厚度^宽度^长度^重量^钢号^用途^入库日^发货指示日^发货日|订单号^订单号^客户公司^客户公司^COIL号^等级^厚度^宽度^长度^重量^钢号^用途^入库日^发货指示日^发货日" colsep="^" colwidth="99, 30, 57, 90, 65, 65, 55, 55, 55, 55, 70, 70, 70, 70, 70" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:51px; width:976px; height:546px; ">
  159. <col ref="ORD_NO"/>
  160. <col ref="ORD_SEQ"/>
  161. <col ref="CUST_CD"/>
  162. <col ref="CUST_NM"/>
  163. <col ref="COIL_NO"/>
  164. <col ref="TOT_DEC_GRD"/>
  165. <col ref="COIL_THK"/>
  166. <col ref="COIL_WTH"/>
  167. <col ref="COIL_LEN"/>
  168. <col ref="ACT_WGT"/>
  169. <col ref="SPEC_STL_GRD"/>
  170. <col ref="ORD_USE_NM"/>
  171. <col ref="YARD_ENTRY_DTIME"/>
  172. <col ref="SHIP_DIR_DATE"/>
  173. <col ref="SHIP_CFM_DATE"/>
  174. </datagrid>
  175. <caption id="cp_StartBar" class="cell" style="left:2px; top:599px; width:976px; height:20px; text-align:left; ">Status</caption>
  176. <line id="line1" visibility="visible" style="x1:975px; y1:1px; x2:0px; y2:1px; border-color:#ff0000; "/>
  177. </xhtml:body>
  178. </xhtml:html>