c762fcdb6ddcc2fab4613d2272f3cf60785b29eb.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  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. <![CDATA[>]]>
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <formData>
  13. <SPECABBSYM/>
  14. <SPECSTLGRD/>
  15. </formData>
  16. <comboData>
  17. <TYPE>
  18. </TYPE>
  19. <WGT>
  20. </WGT>
  21. <LEN>
  22. </LEN>
  23. <WTH>
  24. </WTH>
  25. <ORDTP/>
  26. <ABBSYM/>
  27. <ListResult_7_VO/>
  28. </comboData>
  29. <datagrid1/>
  30. <datagrid3/>
  31. <datagrid2/>
  32. <resData/>
  33. <initStlData>
  34. <SpecStlGrd_Row>
  35. <LABEL/>
  36. <VALUE/>
  37. </SpecStlGrd_Row>
  38. </initStlData>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. if(window.parent==null) Init();
  44. ]]>
  45. </script>
  46. </model>
  47. <script type="javascript" src="../../js/boaCommon.js"/>
  48. <script type="javascript" src="../../js/b01.js"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. var currentRow = 0;
  52. function Init(node)
  53. {
  54. InitParams(node);
  55. model.removenode("/root/reqData");
  56. model.makeNode("/root/reqData");
  57. //对下拉框中的信息进行初始化
  58. commSubmit("UIB010140-service", "findS", "glueAction.do");
  59. model.copyNode("/root/initStlData" , "/root/resData/SpecStlGrd_VO");//标准钢号
  60. model.copyNode("/root/comboData/ORDTP" , "/root/resData/ListResult_1_VO");//产品名称
  61. model.copyNode("/root/comboData/WGT","/root/resData/ListResult_2_VO");//取样批次
  62. model.copyNode("/root/comboData/LEN","/root/resData/ListResult_3_VO");//取样长度方向位置
  63. model.copyNode("/root/comboData/WTH","/root/resData/ListResult_4_VO");//取样宽度方向位置
  64. model.copyNode("/root/comboData/TYPE","/root/resData/ListResult_5_VO");//材质类型
  65. model.copyNode("/root/comboData/ABBSYM" , "/root/resData/ListResult_6_VO");//标准号
  66. model.copyNode("/root/comboData/ListResult_7_VO" , "/root/resData/ListResult_7_VO");//试样尺寸
  67. model.refresh();
  68. }
  69. function find()
  70. {
  71. //根据标准号查询datagrid1中的内容
  72. model.removenode("/root/reqData");
  73. model.makeNode("/root/reqData");
  74. commSendReq("/root/formData");
  75. commSubmit("UIB010140-service", "findI", "glueAction.do");
  76. model.copyNode("/root/datagrid1","/root/resData/SpecInfoResult_VO");
  77. removeGridData();
  78. clearGridStatus();
  79. model.refresh();
  80. datagrid1.cellAttribute("disabled",datagrid1.fixedRows , datagrid1.fixedCols , datagrid1.rows - 1 , datagrid1.cols - 1) = "true";
  81. }
  82. function findQltyCD()
  83. {
  84. model.removenode("/root/reqData");
  85. model.makeNode("/root/reqData");
  86. commSendReq("/root/datagrid1/SpecInfoResult_Row["+currentRow+"]");
  87. commSubmit("UIB010140-service", "findX", "glueAction.do");
  88. model.copyNode("/root/datagrid2" , "/root/resData/SMPResult_VO" );
  89. model.copyNode("/root/datagrid3" , "/root/resData/QLTYResult_VO");
  90. model.refresh();
  91. setDatagrid();
  92. }
  93. function findQltyCD1()
  94. {
  95. model.removenode("/root/reqData");
  96. model.makeNode("/root/reqData");
  97. model.makeValue("/root/reqData/PRDNM_CD" , "");
  98. model.makeValue("/root/reqData/SPEC_ABBSYM" , "");
  99. model.makeValue("/root/reqData/SPEC_STL_GRD" , "");
  100. model.makeValue("/root/reqData/ORD_USE_TP" , "");
  101. model.makeValue("/root/reqData/THK_MIN" , "");
  102. model.makeValue("/root/reqData/THK_MAX" , "");
  103. commSubmit("UIB010140-service", "findX", "glueAction.do");
  104. model.copyNode("/root/datagrid2" , "/root/resData/SMPResult_VO" );
  105. model.copyNode("/root/datagrid3" , "/root/resData/QLTYResult_VO");
  106. model.refresh();
  107. setDatagrid();
  108. }
  109. function save()
  110. {
  111. if(currentRow == 0) {window.alert("非法操作" , "提示");return;}
  112. if(commComfirmBox("确认保存?","提示")=="0") return;
  113. //验证datagrid3中的信息 QLTY_MIN QLTY_MAX
  114. for(var i = 1;i<datagrid3.rows;i++)
  115. {
  116. var min = parseFloat(datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MIN")));
  117. var max = parseFloat(datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MAX")));
  118. ///转化为浮点型比较,要不然会出现6大于11等情况
  119. if(min != ""&&max != "" &&min>max)
  120. {
  121. var QLTY_CD_CFNM = datagrid3.valueMatrix(i,1);
  122. window.alert("【"+QLTY_CD_CFNM+"】 最小值必须小于最大值!"," 警告 ");
  123. return;
  124. }
  125. }
  126. model.removenode("/root/reqData");
  127. model.makeNode("/root/reqData");
  128. model.removenode("/root/tempData2");
  129. model.makeNode("/root/tempData2");
  130. model.removenode("/root/tempData3");
  131. model.makeNode("/root/tempData3");
  132. b01MultiUpdate(datagrid2,"/root/tempData2" ,"A", true, "rowStuts1" );
  133. b01MultiUpdate(datagrid3,"/root/tempData3" ,"A" ,true, "rowStuts2" );
  134. commSendReq("/root/tempData2" , "/root/tempData3");
  135. model.makeValue("/root/reqData/PRDNM_CD" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("PRDNM_CD")));
  136. model.makeValue("/root/reqData/SPEC_ABBSYM" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("SPEC_ABBSYM")));
  137. model.makeValue("/root/reqData/SPEC_STL_GRD" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("SPEC_STL_GRD")));
  138. model.makeValue("/root/reqData/ORD_USE_TP" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("ORD_USE_TP")));
  139. model.makeValue("/root/reqData/THK_MIN" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MIN")));
  140. model.makeValue("/root/reqData/THK_MAX" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MAX")));
  141. getLoggingInInfo();
  142. commSubmit("UIB010140-service", "save", "glueAction.do");
  143. var returnInfoMsg = model.getValue("/root/resData/returnInfoMsg_VO/returnInfoMsg_Row");
  144. if(returnInfoMsg != "") {
  145. window.alert(returnInfoMsg, "操作信息");
  146. findQltyCD();
  147. }
  148. clearGridStatus();
  149. currentRow = 0;
  150. }
  151. //根据材质代码基本信息判断是否允许操作
  152. function setDatagrid()
  153. {
  154. for(var i=datagrid3.fixedRows;i<datagrid3.rows;i++)
  155. {
  156. var QLTY_MIN_TP = datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MIN_TP"));
  157. var QLTY_MAX_TP = datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MAX_TP"));
  158. var QLTY_UNIT_TP = datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_UNIT_TP"));
  159. if(QLTY_MIN_TP != "Y")
  160. {
  161. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_MIN")) = "false";
  162. }
  163. else
  164. {
  165. datagrid3.cellStyle("background-color",i,datagrid3.colRef("QLTY_MIN")) = "#ffff99";
  166. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_MIN")) = "true";
  167. }
  168. if(QLTY_MAX_TP != "Y")
  169. {
  170. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_MAX")) = "false";
  171. }
  172. else
  173. {
  174. datagrid3.cellStyle("background-color",i,datagrid3.colRef("QLTY_MAX")) = "#ffff99";
  175. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_MAX")) = "true";
  176. }
  177. if(QLTY_UNIT_TP != "Y")
  178. {
  179. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_UNIT")) = "false";
  180. }
  181. else
  182. {
  183. datagrid3.cellStyle("background-color",i,datagrid3.colRef("QLTY_UNIT")) = "#ffff99";
  184. datagrid3.cellAttribute("editable",i,datagrid3.colRef("QLTY_UNIT")) = "true";
  185. }
  186. }
  187. }
  188. function clearGridStatus()
  189. {
  190. datagrid1.clearStatus();
  191. datagrid2.clearStatus();
  192. datagrid3.clearStatus();
  193. }
  194. function removeGridData()
  195. {
  196. model.removenode("/root/datagrid2");
  197. model.removenode("/root/datagrid3");
  198. model.makeNode("/root/datagrid2");
  199. model.makeNode("/root/datagrid3");
  200. model.refresh();
  201. }
  202. ]]>
  203. </script>
  204. </xhtml:head>
  205. <xhtml:body pagewidth="980" pageheight="620" style="font-family:宋体; font-size:14pt; ">
  206. <caption id="caption2" class="cell" style="left:0px; top:5px; width:85px; height:20px; text-align:center; border-style:solid; ">标准号</caption>
  207. <select1 id="combo1" ref="/root/formData/SPECABBSYM" appearance="minimal" editmode="inputsearch" showvalue="false" style="left:85px; top:5px; width:250px; height:20px; border-style:solid; ">
  208. <choices>
  209. <itemset nodeset="/root/comboData/ABBSYM/ListResult_6_Row">
  210. <label ref="LABEL"/>
  211. <value ref="VALUE"/>
  212. </itemset>
  213. </choices>
  214. <script type="javascript" ev:event="xforms-select">
  215. <![CDATA[
  216. find();
  217. ]]>
  218. </script>
  219. </select1>
  220. <datagrid id="datagrid1" nodeset="/root/datagrid1/SpecInfoResult_Row" caption="交货状态^标准号^标准钢号^产品名称^厚度最小^厚度最大^查询" colsep="^" colwidth="28, 122, 88, 113, 43, 37, 37" defaultrows="40" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="40" rowsep="|" tooltip="label" style="left:0px; top:55px; width:515px; height:485px; border-style:solid; ">
  221. <col editmode="inputsearch" ref="PRDNM_CD" type="input" maxlength="2" style="text-align:left; background-color:#ffff99; "/>
  222. <col editmode="search" ref="SPEC_ABBSYM" type="combo" style="text-align:left; background-color:#ffff99; ">
  223. <choices>
  224. <itemset nodeset="/root/comboData/ABBSYM/ListResult_6_Row">
  225. <label ref="LABEL"/>
  226. <value ref="VALUE"/>
  227. </itemset>
  228. </choices>
  229. </col>
  230. <col editmode="search" ref="SPEC_STL_GRD" type="combo" style="text-align:left; background-color:#ffff99; ">
  231. <choices>
  232. <itemset nodeset="/root/initStlData/SpecStlGrd_Row">
  233. <label ref="LABEL"/>
  234. <value ref="VALUE"/>
  235. </itemset>
  236. </choices>
  237. </col>
  238. <col editmode="search" ref="ORD_USE_TP" type="combo" style="text-align:left; background-color:#ffff99; ">
  239. <choices>
  240. <itemset nodeset="/root/comboData/ORDTP/ListResult_1_Row">
  241. <label ref="SM_CFNM"/>
  242. <value ref="SM_CD"/>
  243. </itemset>
  244. </choices>
  245. </col>
  246. <col ref="THK_MIN" type="input" style="text-align:right; background-color:#ffff99; "/>
  247. <col ref="THK_MAX" type="input" style="text-align:right; background-color:#ffff99; "/>
  248. <col ref="QUERY" style="cursor:hand; "/>
  249. <script type="javascript" ev:event="onentercell">
  250. <![CDATA[
  251. datagrid1.editCell();
  252. ]]>
  253. </script>
  254. <script type="javascript" ev:event="onclick">
  255. <![CDATA[
  256. if(datagrid1.row >= datagrid1.fixedRows && datagrid1.col == datagrid1.colRef("QUERY"))
  257. {
  258. if(datagrid1.rowStatus(datagrid1.rows-1) == 1)
  259. {
  260. window.alert("增加状态下不允许该操作!" , "警告");
  261. datagrid1.row = datagrid1.rows-1;
  262. return;
  263. }
  264. if(beGridChanged(datagrid1,datagrid2,datagrid3) == "1" && currentRow != 0)
  265. {
  266. if(commComfirmBox("数据已修改,是否保存被修改的数据?","提示")=="0")
  267. {
  268. clearGridStatus();
  269. }
  270. else
  271. {
  272. save();
  273. }
  274. }
  275. currentRow = datagrid1.row;
  276. model.removenode("/root/reqData");
  277. model.makeNode("/root/reqData");
  278. //commSendReq("/root/datagrid1/SpecInfoResult_Row["+datagrid1.row+"]");
  279. model.makeValue("/root/reqData/PRDNM_CD" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("PRDNM_CD")));
  280. model.makeValue("/root/reqData/SPEC_ABBSYM" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("SPEC_ABBSYM")));
  281. model.makeValue("/root/reqData/SPEC_STL_GRD" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("SPEC_STL_GRD")));
  282. model.makeValue("/root/reqData/ORD_USE_TP" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("ORD_USE_TP")));
  283. model.makeValue("/root/reqData/THK_MIN" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MIN")));
  284. model.makeValue("/root/reqData/THK_MAX" , datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MAX")));
  285. commSubmit("UIB010140-service", "findX", "glueAction.do");
  286. model.copyNode("/root/datagrid2" , "/root/resData/SMPResult_VO" );
  287. model.copyNode("/root/datagrid3" , "/root/resData/QLTYResult_VO");
  288. model.refresh();
  289. setDatagrid();
  290. currentRow = datagrid1.row;
  291. datagrid1.col = 1;//预防滚动条拖动时做查询操作
  292. if(datagrid2.rows == datagrid2.fixedRows)
  293. {
  294. datagrid2.addRow();
  295. }
  296. }
  297. ]]>
  298. </script>
  299. <script type="javascript" ev:event="onkeydown">
  300. <![CDATA[
  301. onkeydownmove(datagrid1);
  302. ]]>
  303. </script>
  304. </datagrid>
  305. <datagrid id="datagrid3" nodeset="/root/datagrid3/QLTYResult_Row" caption="材质类型^材质项目^最小^最大^单位^材质类型^检验类型^试样尺寸^备注^BASEMIN^BASEMAX^BASEUNIT" colsep="^" colwidth="23, 111, 38, 38, 38, 60, 53, 52, 72, 36, 28, 43" defaultrows="40" mergecellsfixedrows="bycolrec" rowheight="40" rowsep="|" selectionmode="free" tooltip="label" style="left:520px; top:30px; width:459px; height:584px; border-style:solid; ">
  306. <col editable="false" ref="QLTY_CD" visibility="hidden" style="background-color:#ffffff; "/>
  307. <col editable="false" ref="QLTY_CD_CFNM" style="text-align:left; background-color:#ffffff; "/>
  308. <col ref="QLTY_MIN" type="input" style="text-align:right; "/>
  309. <col ref="QLTY_MAX" type="input" style="text-align:right; "/>
  310. <col ref="QLTY_UNIT" type="input" style="text-align:left; "/>
  311. <col disabled="true" ref="QLTY_TYPE" type="combo" visibility="hidden" style="text-align:left; ">
  312. <choices>
  313. <itemset nodeset="/root/comboData/TYPE/ListResult_5_Row">
  314. <label ref="SM_CFNM"/>
  315. <value ref="SM_CD"/>
  316. </itemset>
  317. </choices>
  318. </col>
  319. <col ref="QLTY_DEC_CD" type="input" style="background-color:#ffff99; "/>
  320. <col ref="QLTY_SIZE" type="combo" style="text-align:left; background-color:#ffff99; ">
  321. <choices>
  322. <itemset nodeset="/root/comboData/ListResult_7_VO/ListResult_7_Row">
  323. <label ref="LABEL"/>
  324. <value ref="VALUE"/>
  325. </itemset>
  326. </choices>
  327. </col>
  328. <col ref="QLTY_DETAIL" type="input" style="text-align:left; background-color:#ffff99; "/>
  329. <col ref="QLTY_MIN_TP" visibility="hidden"/>
  330. <col ref="QLTY_MAX_TP" visibility="hidden"/>
  331. <col ref="QLTY_UNIT_TP" visibility="hidden"/>
  332. <script type="javascript" ev:event="onentercell">
  333. <![CDATA[
  334. datagrid3.editCell();
  335. ]]>
  336. </script>
  337. <script type="javascript" ev:event="onkeydown">
  338. <![CDATA[
  339. onkeydownmove(datagrid3);
  340. ]]>
  341. </script>
  342. <script type="javascript" ev:event="xforms-value-changed">
  343. <![CDATA[
  344. compareMINMAX(datagrid3,"QLTY_MIN","QLTY_MAX") //验证最大值不能小于最小值
  345. ]]>
  346. </script>
  347. </datagrid>
  348. <button id="button3" style="left:390px; top:35px; width:80px; height:20px; background-image:../../images/btn_add.gif; ">
  349. <caption>添加</caption>
  350. <script type="javascript" ev:event="onclick">
  351. <![CDATA[
  352. if(beGridChanged(datagrid1,datagrid2,datagrid3) == "1")
  353. {
  354. window.alert("数据已修改,请保存或初始化!" , "警告");
  355. return;
  356. }
  357. if(datagrid3.rows > datagrid3.fixedRows && datagrid2.rows > datagrid2.fixedRows)//是否存在数据
  358. {
  359. if(commComfirmBox("是否保留表中性能数据?","提示")=="0")
  360. {
  361. findQltyCD();
  362. clearGridStatus();
  363. }
  364. else
  365. {
  366. for(var i =1;i< datagrid3.rows;i++)
  367. {
  368. if(datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MIN")) != ""
  369. ||datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_MAX")) != ""
  370. ||datagrid3.valueMatrix(i,datagrid3.colRef("QLTY_UNIT")) != "")
  371. {
  372. datagrid3.addStatus(i,"update");
  373. }
  374. }//for end
  375. datagrid2.addStatus(datagrid2.fixedRows , "update");
  376. }//else end
  377. }//if end ,else start
  378. else
  379. {
  380. findQltyCD1();
  381. }
  382. datagrid1.cellAttribute("disabled",datagrid1.fixedRows , datagrid1.fixedCols , datagrid1.rows - 1 , datagrid1.cols - 1) = "true";
  383. datagrid1.addRow(false);
  384. currentRow = datagrid1.row;
  385. if(datagrid2.rows == datagrid2.fixedRows)
  386. {
  387. datagrid2.addRow();
  388. }
  389. datagrid1.valueMatrix(currentRow , datagrid1.colRef("PRDNM_CD") ) = "AR";
  390. datagrid1.valueMatrix(currentRow , datagrid1.colRef("SPEC_ABBSYM"))= model.getValue("/root/formData/SPECABBSYM");
  391. datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MIN")) = "1.2";
  392. datagrid1.valueMatrix(currentRow , datagrid1.colRef("THK_MAX")) = "16";
  393. model.refresh();
  394. setDatagrid();
  395. ]]>
  396. </script>
  397. </button>
  398. <button id="button4" style="left:457px; top:35px; width:70px; height:20px; background-image:../../images/btn_move.gif; ">
  399. <caption>删除</caption>
  400. <script type="javascript" ev:event="onclick">
  401. <![CDATA[
  402. //删除datagrid2中的数据
  403. if(beGridChanged(datagrid1 ,datagrid2,datagrid3) == "1")
  404. {
  405. window.alert("数据已修改,请保存或初始化!" , "警告");
  406. return;
  407. }
  408. if(commComfirmBox("确认删除?","提示")=="0") return;
  409. model.removenode("/root/reqData");
  410. model.makeNode("/root/reqData");
  411. datagrid1.deleteRow(datagrid1.row);
  412. commMultiUpdate(datagrid1,"/root/reqData" ,"A", true, "rowStatus0")
  413. getLoggingInInfo();
  414. commSubmit("UIB010140-service", "save", "glueAction.do");
  415. removeGridData();
  416. //清空表单的状态
  417. datagrid1.clearStatus();
  418. datagrid2.clearStatus();
  419. datagrid3.clearStatus();
  420. ]]>
  421. </script>
  422. </button>
  423. <datagrid id="datagrid2" nodeset="/root/datagrid2/SMPResult_Row" caption="取样批次^长度方向位置^宽度方向位置^取样.试验方向^试样规格" colsep="^" colwidth="177, 151, 141, 143, 106" defaultrows="2" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:561px; width:515px; height:53px; ">
  424. <col ref="SMP_LOT_CD" type="combo" style="text-align:left; background-color:#ffff99; ">
  425. <choices>
  426. <itemset nodeset="/root/comboData/WGT/ListResult_2_Row">
  427. <label ref="SM_CFNM"/>
  428. <value ref="SM_CD"/>
  429. </itemset>
  430. </choices>
  431. </col>
  432. <col ref="SMP_LEN_LOC" type="combo" style="text-align:left; background-color:#ffff99; ">
  433. <choices>
  434. <itemset nodeset="/root/comboData/LEN/ListResult_3_Row">
  435. <label ref="SM_CFNM"/>
  436. <value ref="SM_CD"/>
  437. </itemset>
  438. </choices>
  439. </col>
  440. <col ref="SMP_WTH_LOC" type="combo" style="text-align:left; background-color:#ffff99; ">
  441. <choices>
  442. <itemset nodeset="/root/comboData/WTH/ListResult_4_Row">
  443. <label ref="SM_CFNM"/>
  444. <value ref="SM_CD"/>
  445. </itemset>
  446. </choices>
  447. </col>
  448. <col ref="SMP_TEST_DIR" type="combo" visibility="hidden">
  449. <choices>
  450. <itemset nodeset="/root/comboData/TEST/TESTResult_Row">
  451. <label ref="SM_CFNM"/>
  452. <value ref="SM_CD"/>
  453. </itemset>
  454. </choices>
  455. </col>
  456. <col ref="SMP_FORM" type="combo" visibility="hidden">
  457. <choices>
  458. <itemset nodeset="/root/comboData/FORMResult_Row">
  459. <label ref="SM_CFNM"/>
  460. <value ref="SM_CD"/>
  461. </itemset>
  462. </choices>
  463. </col>
  464. </datagrid>
  465. <caption id="caption6" class="cell" visibility="visible" style="left:0px; top:541px; width:130px; height:21px; font-size:16pt; font-weight:bolder; vertical-align:middle; border-style:solid; ">取样方法</caption>
  466. <line id="line2" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  467. <line id="line1" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
  468. <caption id="caption1" class="cell" style="left:345px; top:5px; width:85px; height:20px; ">标准牌号</caption>
  469. <select1 id="combo2" ref="/root/formData/SPECSTLGRD" appearance="minimal" editmode="inputsearch" style="left:429px; top:5px; width:131px; height:20px; ">
  470. <choices>
  471. <itemset nodeset="/root/initStlData/SpecStlGrd_Row">
  472. <label ref="LABEL"/>
  473. <value ref="VALUE"/>
  474. </itemset>
  475. </choices>
  476. </select1>
  477. <button id="button2" visibility="hidden" style="left:730px; top:5px; width:100px; height:20px; ">
  478. <caption>查询</caption>
  479. <script type="javascript" ev:event="onclick">
  480. <![CDATA[
  481. find();
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="button5" visibility="hidden" style="left:845px; top:5px; width:100px; height:20px; ">
  486. <caption>保存</caption>
  487. <script type="javascript" ev:event="onclick">
  488. <![CDATA[
  489. save();
  490. ]]>
  491. </script>
  492. </button>
  493. </xhtml:body>
  494. </xhtml:html>