249210b2dece0627cc95171c7f99b295e24855be.svn-base 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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[炼钢作业 >> 板坯库管理 >> 炼钢板坯垛位配置(UIG040022)]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <searchData>
  12. <xtag/>
  13. <ytag/>
  14. </searchData>
  15. <formData>
  16. <YARD_ADDR/>
  17. <STORELAY/>
  18. <ADDR_SERVICE/>
  19. </formData>
  20. <gridData/>
  21. <resData/>
  22. </root>
  23. </instance>
  24. </model>
  25. <script type="javascript">
  26. <![CDATA[
  27. function find(){
  28. commSendReq("/root/searchData");
  29. commSubmit("UIG040022-service","find","glueAction.do");
  30. commAppendData("/root/gridData/searchYardVO_VO", "/root/resData/searchYardVO_VO");
  31. datagrid1.refresh();
  32. }
  33. function add(){
  34. commSendReq("/root/formData");
  35. commSubmit("UIG040022-service","add","glueAction.do");
  36. }
  37. function del(){
  38. model.removenode("/root/reqData");
  39. model.makeNode("/root/reqData");
  40. commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStuts");
  41. commSubmit("UIG040022-service","delete","glueAction.do");
  42. datagrid1.refresh();
  43. }
  44. ]]>
  45. </script>
  46. <script type="javascript" src="../../js/boaCommon.js"/>
  47. </xhtml:head>
  48. <xhtml:body guideline="1,980;">
  49. <caption id="caption54" class="cell" style="left:0px; top:0px; width:80px; height:20px; border-color:#000000; ">板坯库区1</caption>
  50. <select1 id="combo1" ref="/root/searchData/xtag" appearance="minimal" style="left:82px; top:0px; width:90px; height:20px; ">
  51. <choices>
  52. <item>
  53. <label>特厚板</label>
  54. <value>H</value>
  55. </item>
  56. <item>
  57. <label>热轧</label>
  58. <value>L</value>
  59. </item>
  60. </choices>
  61. </select1>
  62. <caption id="caption1" class="cell" style="left:178px; top:0px; width:80px; height:20px; border-color:#000000; ">板坯库区2</caption>
  63. <select1 id="combo2" ref="/root/searchData/ytag" appearance="minimal" style="left:260px; top:0px; width:90px; height:20px; ">
  64. <choices>
  65. <item>
  66. <label>1</label>
  67. <value>1</value>
  68. </item>
  69. <item>
  70. <label>2</label>
  71. <value>2</value>
  72. </item>
  73. <item>
  74. <label>3</label>
  75. <value>3</value>
  76. </item>
  77. <item>
  78. <label>4</label>
  79. <value>4</value>
  80. </item>
  81. <item>
  82. <label>5</label>
  83. <value>5</value>
  84. </item>
  85. <item>
  86. <label>6</label>
  87. <value>6</value>
  88. </item>
  89. <item>
  90. <label>7</label>
  91. <value>7</value>
  92. </item>
  93. <item>
  94. <label>8</label>
  95. <value>8</value>
  96. </item>
  97. <item>
  98. <label>9</label>
  99. <value>9</value>
  100. </item>
  101. </choices>
  102. </select1>
  103. <datagrid id="datagrid1" nodeset="/root/gridData/searchYardVO_VO/searchYardVO_Row" caption="垛位^层数^用途^选择" colsep="^" colwidth="100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:620px; height:535px; ">
  104. <col ref="YARD_ADDR"/>
  105. <col ref="YARD_COUNT"/>
  106. <col ref="ADDR_SERVICE"/>
  107. <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
  108. </datagrid>
  109. <button id="button1" style="left:890px; top:3px; width:90px; height:20px; background-image:../../images/btn_create.GIF; ">
  110. <caption>增加</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. add();
  114. ]]>
  115. </script>
  116. </button>
  117. <button id="button2" style="left:795px; top:5px; width:90px; height:20px; background-image:../../images/btn_delete.GIF; ">
  118. <caption>删除</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. del();
  122. ]]>
  123. </script>
  124. </button>
  125. <caption id="caption2" class="cell" style="left:635px; top:100px; width:80px; height:20px; border-color:#000000; ">用途</caption>
  126. <caption id="caption3" class="cell" style="left:635px; top:40px; width:80px; height:20px; border-color:#000000; ">垛位</caption>
  127. <caption id="caption4" class="cell" style="left:634px; top:70px; width:80px; height:20px; border-color:#000000; ">层数</caption>
  128. <input id="input1" ref="/root/formData/YARD_ADDR" style="left:725px; top:40px; width:100px; height:20px; "/>
  129. <input id="input2" ref="/root/formData/STORELAY" format="999999-9999999" style="left:725px; top:70px; width:100px; height:20px; "/>
  130. <input id="input3" ref="/root/formData/ADDR_SERVICE" style="left:725px; top:100px; width:100px; height:20px; "/>
  131. </xhtml:body>
  132. </xhtml:html>