948095a7c2c5286d75acfd171f33340889d12c01.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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" autocdata="false">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <updateForm>
  13. <ORD_NO/>
  14. <ORD_SEQ/>
  15. <ORD_PROG_CD/>
  16. <ORD_WGT_MIN/>
  17. <ORD_WGT_MAX/>
  18. <DEL_TO_DATE/>
  19. </updateForm>
  20. </formData>
  21. <initData>
  22. <searchInfo>
  23. <LG_CD/>
  24. </searchInfo>
  25. </initData>
  26. <codeData>
  27. <EmpListResult_VO/>
  28. </codeData>
  29. <gridData>
  30. </gridData>
  31. <gridData2>
  32. <ListResult_1_VO/>
  33. </gridData2>
  34. </root>
  35. </instance>
  36. </model>
  37. <script type="javascript" src="../../js/boaCommon.js"/>
  38. <script type="javascript" src="../../js/dCommon.js"/>
  39. <script type="javascript" src="../../js/boaMsg.js"/>
  40. <script type="javascript" src="../../js/mesCommon.js">
  41. <![CDATA[
  42. submitID = "UID087777-service";
  43. function Init(node) {
  44. InitParams(node);
  45. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO",
  46. "/root/codeData/ListResult_1_VO", "/root/codeData/ListResult_2_VO");
  47. //pageInit();
  48. model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
  49. }
  50. /*function pageInit() {
  51. model.removenode("/root/reqData");
  52. model.removenode("/root/resData");
  53. //model.setValue("/root/ORD_REM_WGT_SUM","");
  54. model.refresh();
  55. var datagrid = datagrid1;
  56. datagrid.isReadOnly(0, 0, datagrid.rows-1, datagrid.cols-1) = true;
  57. datagrid.subtotal("clear", -1, 0);
  58. }*/
  59. function find() {
  60. }
  61. function save()
  62. {
  63. /*
  64. if(model.getValue("/root/formData/updateForm/ORD_NO") == "")
  65. {
  66. window.alert("合同号不能为空","提示信息!")
  67. return;
  68. }
  69. if(model.getValue("/root/formData/updateForm/ORD_PROG_CD") == "")
  70. {
  71. window.alert("订单进程状态不能为空","提示信息!")
  72. return;
  73. }
  74. if(model.getValue("/root/formData/updateForm/ORD_PROG_CD") == "" && model.getValue("/root/formData/updateForm/ORD_WGT_MIN") == "" && model.getValue("/root/formData/updateForm/ORD_WGT_MAX") == "" && model.getValue("/root/formData/updateForm/DEL_TO_DATE") == "")
  75. {
  76. window.alert("您没有修改任何订单信息","提示信息!")
  77. return;
  78. }
  79. */
  80. var answer = window.alert("确认修改" + model.getValue("/root/formData/updateForm/ORD_NO")+"-"+model.getValue("/root/formData/updateForm/ORD_SEQ")+"订单的的相关信息" ,"Conform", 1 | 32);
  81. if(answer == 1)
  82. {
  83. commSendReq("/root/formData/updateForm");
  84. commSubmit(submitID,"updateOrderMessage","glueAction.do")
  85. model.refresh();
  86. }
  87. }
  88. function create() {}
  89. function remove() {}
  90. function excelExport() {
  91. return datagrid1;
  92. }
  93. ]]>
  94. </script>
  95. </xhtml:head>
  96. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  97. <caption id="caption1" class="cell" style="left:2px; top:5px; width:65px; height:20px; text-align:center; border-style:solid; ">订单号</caption>
  98. <button id="button2" style="left:225px; top:5px; width:75px; height:20px; background-image:../../images/find.gif; border-color:#ffffff; border-style:solid; ">
  99. <caption>保 存</caption>
  100. <script type="javascript" ev:event="onclick">
  101. <![CDATA[
  102. save();
  103. ]]>
  104. </script>
  105. </button>
  106. <input id="input1" ref="/root/formData/updateForm/ORD_NO" style="left:70px; top:5px; width:100px; height:20px; "/>
  107. <input id="input2" ref="/root/formData/updateForm/ORD_SEQ" style="left:170px; top:5px; width:45px; height:20px; "/>
  108. <caption id="caption2" style="left:305px; top:5px; width:345px; height:20px; color:#ff0000; background-color:#ffff99; border-color:#000000; border-style:solid; ">订单号是必输项::以下更改项不为空的则有效,为空则无改变</caption>
  109. <caption id="caption3" class="cell" style="left:0px; top:75px; width:76px; height:20px; text-align:center; border-style:solid; ">订单进程状态</caption>
  110. <select1 id="combo1" ref="/root/formData/updateForm/ORD_PROG_CD" appearance="minimal" style="left:77px; top:75px; width:100px; height:20px; ">
  111. <choices>
  112. <item>
  113. <label/>
  114. <value/>
  115. </item>
  116. <item>
  117. <label>生产进行</label>
  118. <value>E</value>
  119. </item>
  120. <item>
  121. <label>发货完成</label>
  122. <value>G</value>
  123. </item>
  124. <item>
  125. <label>生产保留</label>
  126. <value>H</value>
  127. </item>
  128. <item>
  129. <label>生产完成</label>
  130. <value>F</value>
  131. </item>
  132. </choices>
  133. </select1>
  134. <caption id="caption4" class="cell" style="left:185px; top:75px; width:85px; height:20px; text-align:center; border-style:solid; ">订单重量下限</caption>
  135. <caption id="caption5" class="cell" style="left:185px; top:100px; width:85px; height:20px; text-align:center; border-style:solid; ">订单重量上限</caption>
  136. <input id="input3" ref="/root/formData/updateForm/ORD_WGT_MIN" style="left:272px; top:75px; width:100px; height:20px; "/>
  137. <input id="input4" ref="/root/formData/updateForm/ORD_WGT_MAX" style="left:272px; top:100px; width:100px; height:20px; "/>
  138. <caption id="caption6" class="cell" style="left:385px; top:75px; width:85px; height:20px; text-align:center; border-style:solid; ">交 货 期</caption>
  139. <input id="input5" ref="/root/formData/updateForm/DEL_TO_DATE" inputtype="date" style="left:472px; top:75px; width:100px; height:20px; "/>
  140. </xhtml:body>
  141. </xhtml:html>