UIB016001.xrw 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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[品质设计>>品质设计>>标准设置]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <xFormData>
  12. <BIAOZHUN>A</BIAOZHUN>
  13. <USED_YN>ALL</USED_YN>
  14. </xFormData>
  15. <datagrid1/>
  16. </root>
  17. </instance>
  18. </model>
  19. <script type="javascript" src="../../js/boaCommon.js"/>
  20. <script type="javascript" src="../../js/b01.js"/>
  21. <script type="javascript">
  22. <![CDATA[
  23. function find()
  24. {
  25. model.removenode("/root/reqData");
  26. model.makeNode("/root/reqData");
  27. commSendReq("/root/xFormData");
  28. commSubmit("UIB016001-service" , "find" , "glueAction.do");
  29. model.copyNode("/root/datagrid1" , "/root/resData/UsedResult_VO");
  30. model.refresh();
  31. }
  32. function save()
  33. {
  34. model.removenode("/root/reqData");
  35. model.makeNode("/root/reqData");
  36. commMultiUpdate(datagrid1 , "/root/reqData" , "A" , true , "rowStatus");
  37. commSubmit("UIB016001-service" , "save" , "glueAction.do");
  38. datagrid1.clearStatus();
  39. find();
  40. }
  41. ]]>
  42. </script>
  43. </xhtml:head>
  44. <xhtml:body pagewidth="980" pageheight="620">
  45. <datagrid id="datagrid1" nodeset="/root/datagrid1/UsedResult_Row" caption="交货状态^标准号^标准牌号^是否有效" colsep="^" colwidth="100, 235, 175, 70" explorerbar="sort" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:35px; width:978px; height:583px; ">
  46. <col ref="PRDNM_CD" style="text-align:left; "/>
  47. <col ref="SPEC_ABBSYM" style="text-align:left; "/>
  48. <col ref="SPEC_STL_GRD" style="text-align:left; "/>
  49. <col checkvalue="Y,N" ref="USED_YN" type="combo" style="text-align:left; background-color:#ffff99; ">
  50. <choices>
  51. <item>
  52. <label>是</label>
  53. <value>Y</value>
  54. </item>
  55. <item>
  56. <label>否</label>
  57. <value>N</value>
  58. </item>
  59. </choices>
  60. </col>
  61. </datagrid>
  62. <caption id="caption2" class="cell" style="left:0px; top:5px; width:100px; height:20px; vertical-align:middle; ">是否有效</caption>
  63. <select1 id="combo2" ref="/root/xFormData/USED_YN" appearance="minimal" style="left:100px; top:5px; width:100px; height:20px; ">
  64. <choices>
  65. <item>
  66. <label>全部</label>
  67. <value>ALL</value>
  68. </item>
  69. <item>
  70. <label>是</label>
  71. <value>Y</value>
  72. </item>
  73. <item>
  74. <label>否</label>
  75. <value>N</value>
  76. </item>
  77. </choices>
  78. </select1>
  79. <line id="line2" style="x1:0px; y1:0px; x2:978px; y2:0px; "/>
  80. <line id="line1" style="x1:0px; y1:30px; x2:978px; y2:30px; "/>
  81. </xhtml:body>
  82. </xhtml:html>