UIE012070.xrw 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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[进程管理 >> 订单/物料进程管理 >> 订单进程OS I/F信息查询]]>
  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. </codeData>
  18. <formData>
  19. <searchInfo>
  20. <REG_DTIME/>
  21. <MAT_TYPE/>
  22. <MAT_NO/>
  23. </searchInfo>
  24. </formData>
  25. <gridData>
  26. </gridData>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. if (window.parent == null) Init();
  32. ]]>
  33. </script>
  34. </model>
  35. <script type="javascript" src="../../js/boaCommon.js"/>
  36. <script type="javascript" src="../../js/boaMsg.js"/>
  37. <script type="javascript" src="../../js/mesCommon.js"/>
  38. <script type="javascript">
  39. <![CDATA[
  40. submitID = "UIE012070-service";
  41. function Init(node) {
  42. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO");
  43. model.duplicate("/root/codeData/ListResult_0_VO", "/root/codeData/ListResult_0_VO/ListResult_0_Row");
  44. model.setValue("/root/codeData/ListResult_0_VO/ListResult_0_Row[last()]/SM_CD", "CH");
  45. model.setValue("/root/codeData/ListResult_0_VO/ListResult_0_Row[last()]/SM_CFNM", "炉次");
  46. model.setValue("/root/codeData/ListResult_0_VO/ListResult_0_Row[last()]/LG_CD", "A01004");
  47. model.setValue("/root/formData/searchInfo/REG_DTIME", commCurDate("ymd"));
  48. pageInit();
  49. }
  50. function pageInit() {
  51. model.removenode("/root/reqData");
  52. model.removenode("/root/resData");
  53. model.refresh();
  54. }
  55. function find() {
  56. if (model.getValue("/root/formData/searchInfo/MAT_NO").length > 9 || model.getValue("/root/formData/searchInfo/REG_DTIME").length > 5) {
  57. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  58. pageInit();
  59. } else {
  60. alert("请输入录入时间:年月日");
  61. }
  62. }
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  67. <group id="group1" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:35px; ">
  68. <line id="line2" style="x1:0px; y1:29px; x2:980px; y2:29px; "/>
  69. <caption id="caption101" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">录入时间</caption>
  70. <input id="input101" ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude" style="left:92px; top:5px; width:120px; height:20px; "/>
  71. <caption id="caption102" class="cell" style="left:222px; top:5px; width:90px; height:20px; ">物料</caption>
  72. <select1 id="combo102" ref="MAT_TYPE" appearance="minimal" style="left:314px; top:5px; width:110px; height:20px; ">
  73. <choices>
  74. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row">
  75. <label ref="SM_CFNM"/>
  76. <value ref="SM_CD"/>
  77. </itemset>
  78. </choices>
  79. </select1>
  80. <caption id="caption103" class="cell" style="left:434px; top:5px; width:90px; height:20px; ">物料号</caption>
  81. <input id="input103" ref="MAT_NO" style="left:526px; top:5px; width:110px; height:20px; "/>
  82. </group>
  83. <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="生成顺序^原始合同号^原始订单号^合同号^订单号^前进程^进程^物料类型^物料号^重量^程序ID^录入时间^处理时间^错误说明" colsep="^" colwidth="35, 80, 45, 80, 35, 120, 120, 35, 100, 100, 80, 120, 120, 150" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="42" rowsep="|" style="left:0px; top:34px; width:980px; height:586px; ">
  84. <col ref="OCC_SEQ"/>
  85. <col ref="BEF_ORD_NO"/>
  86. <col ref="BEF_ORD_SEQ"/>
  87. <col ref="ORD_NO"/>
  88. <col ref="ORD_SEQ"/>
  89. <col ref="BEF_PROG_NM" style="text-align:left; "/>
  90. <col ref="PROG_NM" style="text-align:left; "/>
  91. <col ref="MAT_TYPE"/>
  92. <col ref="MAT_NO" style="text-align:left; "/>
  93. <col ref="WGT" format="#,###.#" style="text-align:right; "/>
  94. <col ref="PGMID" style="text-align:left; "/>
  95. <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  96. <col ref="PRC_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
  97. <col ref="ERR_DESC" style="text-align:left; "/>
  98. <script type="javascript" ev:event="ondblclick">
  99. <![CDATA[
  100. var datagrid = datagrid1;
  101. window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
  102. ]]>
  103. </script>
  104. </datagrid>
  105. <script type="javascript" ev:event="ondblclick">
  106. <![CDATA[
  107. if (event.pTarget.elementName == "xforms:input")
  108. window.clipboardData = event.pTarget.value;
  109. ]]>
  110. </script>
  111. </xhtml:body>
  112. </xhtml:html>