7aefa38510b3c7bc8ff636291773bd0b8a845684.svn-base 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.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[热轧作业>>钢卷库管理>>钢卷库移垛操作(UIH050700)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <reqData/>
  12. <resData/>
  13. <searchData>
  14. <shiftAS/>
  15. <shiftAX/>
  16. <shiftBS/>
  17. <shiftBX/>
  18. <shiftCS/>
  19. <shiftCX/>
  20. </searchData>
  21. <REG_ID/>
  22. <ZB/>
  23. </root>
  24. </instance>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. //这里需要默认取出上次安排的时间,便于操作
  28. model.removenode("/root/reqData");
  29. model.makeNode("/root/reqData");
  30. commSubmit("UIH060020-service","findTime","glueAction.do");
  31. model.setValue("/root/searchData/shiftAS",model.getValue("/root/resData/SearchSHFIT1_VO/SearchSHFIT1_Row/SM_EFNM"));
  32. model.setValue("/root/searchData/shiftAX",model.getValue("/root/resData/SearchSHFIT1_VO/SearchSHFIT1_Row/SM_ESNM"));
  33. model.setValue("/root/searchData/shiftBS",model.getValue("/root/resData/SearchSHFIT2_VO/SearchSHFIT2_Row/SM_EFNM"));
  34. model.setValue("/root/searchData/shiftBX",model.getValue("/root/resData/SearchSHFIT2_VO/SearchSHFIT2_Row/SM_ESNM"));
  35. model.setValue("/root/ZB",model.getValue("/root/resData/SearchSHFIT2_VO/SearchSHFIT2_Row/SHRXM"));
  36. model.setValue("/root/searchData/shiftCS",model.getValue("/root/resData/SearchSHFIT3_VO/SearchSHFIT3_Row/SM_EFNM"));
  37. model.setValue("/root/searchData/shiftCX",model.getValue("/root/resData/SearchSHFIT3_VO/SearchSHFIT3_Row/SM_ESNM"));
  38. model.refresh();
  39. ]]>
  40. </script>
  41. </model>
  42. <script type="javascript" src="../../js/boaMsg.js"/>
  43. <script type="javascript" src="../../js/boaCommon.js"/>
  44. </xhtml:head>
  45. <xhtml:body pagewidth="650" pageheight="500">
  46. <caption id="caption1" class="cell" style="left:145px; top:85px; width:80px; height:20px; ">早班时间</caption>
  47. <input id="input1" ref="/root/searchData/shiftAS" maxlength="4" format="999999" style="left:230px; top:85px; width:95px; height:20px; background-color:#ffff99; ">
  48. <hint>
  49. <![CDATA[这里只需要输入小时和分钟就可以了如(0800)]]>
  50. </hint>
  51. </input>
  52. <line id="line1" style="x1:325px; y1:95px; x2:340px; y2:95px; "/>
  53. <input id="input2" ref="/root/searchData/shiftAX" maxlength="4" format="999999" style="left:340px; top:85px; width:95px; height:20px; background-color:#ffff99; ">
  54. <hint>
  55. <![CDATA[这里只需要输入小时和分钟就可以了如(1600)]]>
  56. </hint>
  57. </input>
  58. <caption id="caption2" class="cell" style="left:145px; top:150px; width:80px; height:20px; ">中班时间</caption>
  59. <line id="line2" style="x1:325px; y1:160px; x2:340px; y2:160px; "/>
  60. <input id="input3" ref="/root/searchData/shiftBS" maxlength="4" format="999999" style="left:230px; top:150px; width:95px; height:20px; background-color:#ffff99; ">
  61. <hint>
  62. <![CDATA[这里只需要输入小时和分钟就可以了如(1600)]]>
  63. </hint>
  64. </input>
  65. <input id="input4" ref="/root/searchData/shiftBX" maxlength="4" format="999999" style="left:340px; top:150px; width:95px; height:20px; background-color:#ffff99; ">
  66. <hint>
  67. <![CDATA[这里只需要输入小时和分钟就可以了如(2400)]]>
  68. </hint>
  69. </input>
  70. <caption id="caption3" class="cell" style="left:145px; top:215px; width:80px; height:20px; ">晚班时间</caption>
  71. <line id="line3" style="x1:325px; y1:225px; x2:340px; y2:225px; "/>
  72. <input id="input5" ref="/root/searchData/shiftCS" maxlength="4" format="999999" style="left:230px; top:215px; width:95px; height:20px; background-color:#ffff99; ">
  73. <hint>
  74. <![CDATA[这里只需要输入小时和分钟就可以了如(0000)]]>
  75. </hint>
  76. </input>
  77. <input id="input6" ref="/root/searchData/shiftCX" maxlength="4" format="999999" style="left:340px; top:215px; width:95px; height:20px; background-color:#ffff99; ">
  78. <hint>
  79. <![CDATA[这里只需要输入小时和分钟就可以了如(0800)]]>
  80. </hint>
  81. </input>
  82. <caption id="caption4" class="cell" style="left:250px; top:300px; width:80px; height:20px; "/>
  83. <button id="button1" style="left:250px; top:300px; width:80px; height:20px; ">
  84. <caption>保存按钮</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. model.removenode("/root/reqData");
  88. model.makeNode("/root/reqData");
  89. var opp1 = window.opener;
  90. var reg_id = opp1.model1.getValue("/root/REG_ID");
  91. model.setValue("/root/REG_ID",reg_id);
  92. model.refresh();
  93. commSendReq("/root/searchData");
  94. model.duplicate("/root/reqData","/root/REG_ID");
  95. model.duplicate("/root/reqData","/root/ZB");
  96. commSubmit("UIH060020-service","saveS","glueAction.do");
  97. model.refresh();
  98. alert(" 操作成功!!! ");
  99. ]]>
  100. </script>
  101. </button>
  102. <select id="checkbox1" ref="/root/ZB" overflow="visible" appearance="full" style="left:445px; top:150px; width:190px; height:15px; border-style:none; ">
  103. <choices>
  104. <item>
  105. <label>中班结束时间是否超过0点</label>
  106. <value>Y</value>
  107. </item>
  108. </choices>
  109. <hint>
  110. <![CDATA[如果中班的结束时间超过0点,即0030时。请画上钩]]>
  111. </hint>
  112. </select>
  113. </xhtml:body>
  114. </xhtml:html>