UIE031025.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <initData>
  12. <searchInfo>
  13. <LG_CD>A01001,A01004,A01007,B01001</LG_CD>
  14. </searchInfo>
  15. </initData>
  16. <codeData>
  17. <ORD_SEQ/>
  18. </codeData>
  19. <formData>
  20. <searchInfo>
  21. <PRODNM_CD/>
  22. <CUST_CD/>
  23. <STL_GRD/>
  24. <ORD_NO_M/>
  25. <ORD_SEQ_M/>
  26. <RCVORD_CLF/>
  27. <DEL_FR_DATE/>
  28. <DEL_TO_DATE/>
  29. <ORD_USEAGE_CD/>
  30. <SPEC_ABBSYM/>
  31. <ORD_THK_MIN>0</ORD_THK_MIN>
  32. <ORD_THK_MAX>999.999</ORD_THK_MAX>
  33. <ORD_WTH_MIN>0</ORD_WTH_MIN>
  34. <ORD_WTH_MAX>99999.9</ORD_WTH_MAX>
  35. </searchInfo>
  36. <searchInfo2>
  37. <ORD_NO/>
  38. <ORD_SEQ/>
  39. <MAT_TP>TM</MAT_TP>
  40. <NIB028720>Y</NIB028720>
  41. <NIB028750>Y</NIB028750>
  42. <NIB028700>Y</NIB028700>
  43. </searchInfo2>
  44. <searchInfo3>
  45. <MAT_NOS/>
  46. </searchInfo3>
  47. </formData>
  48. <gridData>
  49. <REM_WGT/>
  50. </gridData>
  51. </root>
  52. </instance>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. if (window.parent == null) Init();
  56. ]]>
  57. </script>
  58. </model>
  59. <script type="javascript" src="../../js/boaCommon.js"/>
  60. <script type="javascript" src="../../js/boaMsg.js"/>
  61. <script type="javascript" src="../../js/mesCommon.js">
  62. <![CDATA[
  63. submitID = "UIE031025-service";
  64. function Init(node) {
  65. exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO",
  66. "/root/codeData/ListResult_1_VO", "/root/codeData/ListResult_2_VO");
  67. model.setValue("/root/formData/searchInfo/DEL_FR_DATE", commFirstDay());
  68. model.setValue("/root/formData/searchInfo/DEL_TO_DATE", commCurDate());
  69. pageInit();
  70. }
  71. function pageInit(refresh) {
  72. model.removenode("/root/reqData");
  73. model.removenode("/root/resData");
  74. model.refresh();
  75. if (typeof refresh == "undefined") {
  76. isReadOnly(datagrid1, "PRODNM_CD,ORD_USEAGE_CD");
  77. }
  78. var datagrid = datagrid2;
  79. datagrid.rebuild();
  80. var rows = (datagrid.rows < 30) ? datagrid.rows : 30;
  81. for (var i = datagrid.fixedRows + 1; i < 30; i += 2)
  82. datagrid.rowStyle(i, "data", "background-color") = "#F7F9F9";
  83. rows = datagrid.rows;
  84. var colChk = datagrid.colRef("CHK");
  85. for (var i = datagrid.fixedRows; i < rows; i++)
  86. datagrid.valueMatrix(i, colChk) = "false";
  87. colStyle(datagrid, "CHK");
  88. }
  89. function find() {
  90. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  91. model.removenode("/root/gridData/ListResult_1_VO");
  92. model.setValue("/root/gridData/REM_WGT", 0);
  93. pageInit();
  94. }
  95. function save() {}
  96. function create() {}
  97. function remove() {}
  98. var onrowchanged = false;
  99. function rowchanged() {
  100. showProgressBar();
  101. var datagrid = datagrid1;
  102. var row = datagrid.row;
  103. model.setValue("/root/formData/searchInfo2/ORD_NO", datagrid.valueMatrix(row, datagrid.colRef("ORD_NO")));
  104. model.setValue("/root/formData/searchInfo2/ORD_SEQ", datagrid.valueMatrix(row, datagrid.colRef("ORD_SEQ")));
  105. if (model.getValue("/root/formData/searchInfo2/ORD_NO") != "") {
  106. exec("/root/formData/searchInfo2", "", "onclick", "/root/gridData/ListResult_1_VO");
  107. model.setValue("/root/gridData/REM_WGT", datagrid.valueMatrix(row, datagrid.colRef("REP_REM_WGT")));
  108. pageInit(false);
  109. }
  110. removeProgressBar();
  111. }
  112. ]]>
  113. </script>
  114. </xhtml:head>
  115. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  116. <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:80px; ">
  117. <line id="line2" style="x1:0px; y1:73px; x2:980px; y2:73px; "/>
  118. <caption id="caption101" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">产品</caption>
  119. <select1 id="combo101" ref="PRODNM_CD" appearance="minimal" style="left:92px; top:5px; width:127px; height:20px; ">
  120. <choices>
  121. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD='A']">
  122. <label ref="SM_CFNM"/>
  123. <value ref="SM_CD"/>
  124. </itemset>
  125. </choices>
  126. </select1>
  127. <caption id="caption102" class="cell" style="left:229px; top:5px; width:90px; height:20px; ">客户</caption>
  128. <select1 id="combo102" ref="CUST_CD" appearance="minimal" style="left:321px; top:5px; width:127px; height:20px; ">
  129. <choices>
  130. <itemset nodeset="/root/codeData/ListResult_1_VO/ListResult_1_Row">
  131. <label ref="CUST_NM"/>
  132. <value ref="CUST_CD"/>
  133. </itemset>
  134. </choices>
  135. </select1>
  136. <caption id="caption103" class="cell" style="left:458px; top:5px; width:90px; height:20px; ">钢号</caption>
  137. <select1 id="combo103" ref="STL_GRD" appearance="minimal" style="left:550px; top:5px; width:202px; height:20px; ">
  138. <choices>
  139. <itemset nodeset="/root/codeData/ListResult_2_VO/ListResult_2_Row">
  140. <label ref="STL_GRD"/>
  141. <value ref="STL_GRD"/>
  142. </itemset>
  143. </choices>
  144. </select1>
  145. <caption id="caption104" class="cell" style="left:0px; top:27px; width:90px; height:20px; ">合同号</caption>
  146. <input id="input1041" ref="ORD_NO_M" maxlength="12" style="left:92px; top:27px; width:80px; height:20px; ">
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. model.setValue("/root/formData/searchInfo/ORD_SEQ_M", "");
  150. // if (model.getValue("/root/formData/searchInfo/ORD_NO_M").length == 12) {
  151. exec("/root/formData/searchInfo/ORD_NO_M", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
  152. model.removenode("/root/reqData");
  153. model.removenode("/root/resData");
  154. // } else {
  155. // model.removenode("/root/codeData/ORD_SEQ/ListResult_0_VO");
  156. // }
  157. model.refresh();
  158. ]]>
  159. </script>
  160. </input>
  161. <select1 id="combo1042" ref="ORD_SEQ_M" appearance="minimal" style="left:174px; top:27px; width:45px; height:20px; ">
  162. <choices>
  163. <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
  164. <label ref="ORD_SEQ"/>
  165. <value ref="ORD_SEQ"/>
  166. </itemset>
  167. </choices>
  168. </select1>
  169. <caption id="caption105" class="cell" style="left:229px; top:27px; width:90px; height:20px; ">订货区分</caption>
  170. <select1 id="combo105" ref="RCVORD_CLF" appearance="minimal" style="left:321px; top:27px; width:127px; height:20px; ">
  171. <choices>
  172. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01001' or LG_CD='A']">
  173. <label ref="SM_CFNM"/>
  174. <value ref="SM_CD"/>
  175. </itemset>
  176. </choices>
  177. </select1>
  178. <caption id="caption106" class="cell" style="left:458px; top:27px; width:90px; height:20px; ">交货日期</caption>
  179. <input id="input1061" ref="DEL_FR_DATE" inputtype="date" style="left:550px; top:27px; width:100px; height:20px; "/>
  180. <input id="input1062" ref="DEL_TO_DATE" inputtype="date" style="left:652px; top:27px; width:100px; height:20px; "/>
  181. <caption id="caption107" class="cell" style="left:762px; top:27px; width:90px; height:20px; ">订单用途</caption>
  182. <select1 id="combo107" ref="ORD_USEAGE_CD" appearance="minimal" style="left:854px; top:27px; width:110px; height:20px; ">
  183. <choices>
  184. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01007' or LG_CD='A']">
  185. <label ref="SM_CFNM"/>
  186. <value ref="SM_CD"/>
  187. </itemset>
  188. </choices>
  189. </select1>
  190. <caption id="caption1" class="cell" style="left:458px; top:49px; width:90px; height:20px; ">标准号</caption>
  191. <select1 id="combo108" ref="SPEC_ABBSYM" appearance="minimal" style="left:550px; top:49px; width:202px; height:20px; ">
  192. <choices>
  193. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='B01001' or LG_CD = 'A']">
  194. <label ref="SM_CD"/>
  195. <value ref="SM_CD"/>
  196. </itemset>
  197. </choices>
  198. </select1>
  199. <caption id="caption108" class="cell" style="left:0px; top:49px; width:90px; height:20px; ">厚度</caption>
  200. <input id="input1081" ref="ORD_THK_MIN" maxlength="6" format="#,###.#" style="left:92px; top:49px; width:62px; height:20px; text-align:right; "/>
  201. <input id="input1082" ref="ORD_THK_MAX" maxlength="6" format="#,###.#" style="left:156px; top:49px; width:63px; height:20px; text-align:right; "/>
  202. <caption id="caption109" class="cell" style="left:229px; top:49px; width:90px; height:20px; ">宽度</caption>
  203. <input id="input1091" ref="ORD_WTH_MIN" maxlength="6" format="#,###.#" style="left:321px; top:49px; width:62px; height:20px; text-align:right; "/>
  204. <input id="input1092" ref="ORD_WTH_MAX" maxlength="6" format="#,###.#" style="left:385px; top:49px; width:63px; height:20px; text-align:right; "/>
  205. <button id="button1" class="sw" style="left:880px; top:5px; width:100px; height:20px; ">
  206. <caption>充当处理</caption>
  207. <script type="javascript" ev:event="onclick">
  208. <![CDATA[
  209. // NIE031031
  210. var datagrid = datagrid2;
  211. var rowSep = (datagrid.attribute("rowsep")=='')?'|':datagrid.attribute('rowsep');
  212. var colSep = (datagrid.attribute("colsep")=='')?'^':datagrid.attribute('colsep');
  213. var data = datagrid.getUpdateData();
  214. var up_data = data.split(rowSep);
  215. var rows = up_data.length - 1;
  216. var colRef = datagrid.colRef("MAT_NO");
  217. var colChk = datagrid.colRef("CHK");
  218. var mat_nos = "";
  219. for (var i=1; i<rows; i++) {
  220. var vRow = up_data[i].split(colSep);
  221. var Idx = Number(vRow[1]);
  222. if (datagrid.valueMatrix(Idx, colChk) == "Y")
  223. mat_nos += "," + datagrid.valueMatrix(Idx, colRef);
  224. }
  225. if (mat_nos != "") {
  226. model.setValue("/root/formData/searchInfo3/MAT_NOS", mat_nos.substring(1));
  227. exec("/root/formData", "", "replace", "/root/gridData/ListResult_0_VO", "/root/gridData/ListResult_1_VO");
  228. pageInit();
  229. }
  230. ]]>
  231. </script>
  232. </button>
  233. </group>
  234. <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="合同号^订单号^客户^产品^钢号^标准号^订单用途^是否进保温坑^是否全部取样^订单厚度^订单宽度^订单长度^订单内径^订单外径^订单单重下限^订单单重上限^紧急材^交货期结束^设计板坯厚度^设计板坯宽度^设计板坯长度^设计板坯重量^订单重量^交付允许误差最小^交付允许误差最大^充当确定重量^充当重量^充当余量重量" colsep="^" colwidth="80, 35, 150, 45, 150, 150, 100, 45, 45, 80, 80, 80, 80, 80, 80, 80, 35, 100, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="45" rowsep="|" style="left:0px; top:78px; width:980px; height:210px; ">
  235. <col key="false" ref="ORD_NO"/>
  236. <col key="false" ref="ORD_SEQ"/>
  237. <col key="false" ref="CUST_CD" style="text-align:left; "/>
  238. <col key="false" ref="PRODNM_CD" type="combo">
  239. <choices>
  240. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004']">
  241. <label ref="SM_CFNM"/>
  242. <value ref="SM_CD"/>
  243. </itemset>
  244. </choices>
  245. </col>
  246. <col ref="STL_GRD" style="text-align:left; "/>
  247. <col key="false" ref="SPEC_ABBSYM" style="text-align:left; "/>
  248. <col key="false" ref="ORD_USEAGE_CD" type="combo">
  249. <choices>
  250. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01007']">
  251. <label ref="SM_CFNM"/>
  252. <value ref="SM_CD"/>
  253. </itemset>
  254. </choices>
  255. </col>
  256. <col key="false" ref="KEEPWARM_YN"/>
  257. <col key="false" ref="EACHLOT_YN"/>
  258. <col key="false" ref="ORD_THK" format="#,###.#" style="text-align:right; "/>
  259. <col key="false" ref="ORD_WTH" format="#,###.#" style="text-align:right; "/>
  260. <col key="false" ref="ORD_LEN" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  261. <col key="false" ref="ORD_INDIA" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  262. <col key="false" ref="ORD_OUTDIA" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  263. <col ref="ORD_WGT_MIN" format="#,###.#" style="text-align:right; "/>
  264. <col ref="ORD_WGT_MAX" format="#,###.#" style="text-align:right; "/>
  265. <col key="false" ref="EMGMTR_NMG_CLF"/>
  266. <col key="false" ref="DEL_TO_DATE" format="yyyy-mm-dd"/>
  267. <col ref="DESIGN_SLAB_THK" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  268. <col ref="DESIGN_SLAB_WTH" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  269. <col ref="DESIGN_SLAB_LEN" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  270. <col ref="DESIGN_SLAB_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
  271. <col ref="ORD_WGT" format="#,###.#" style="text-align:right; "/>
  272. <col ref="WGT_ACVAL_MIN" format="#,###.#" style="text-align:right; "/>
  273. <col ref="WGT_ACVAL_MAX" format="#,###.#" style="text-align:right; "/>
  274. <col ref="REP_CONF_WGT" format="#,###.#" style="text-align:right; "/>
  275. <col ref="REP_WGT" format="#,###.#" style="text-align:right; "/>
  276. <col ref="REP_REM_WGT" format="(-)#,###.#" style="text-align:right; "/>
  277. <script type="javascript" ev:event="onclick">
  278. <![CDATA[
  279. if (!onrowchanged) return;
  280. rowchanged();
  281. onrowchanged = false;
  282. ]]>
  283. </script>
  284. <script type="javascript" ev:event="onrowchanged">
  285. <![CDATA[
  286. onrowchanged = true;
  287. ]]>
  288. </script>
  289. <script type="javascript" ev:event="ondblclick">
  290. <![CDATA[
  291. var datagrid = datagrid1;
  292. window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
  293. ]]>
  294. </script>
  295. </datagrid>
  296. <group id="group2" overflow="hidden" ref="/root/formData/searchInfo2" style="left:0px; top:292px; width:980px; height:35px; ">
  297. <line id="line3" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
  298. <line id="line4" style="x1:0px; y1:29px; x2:980px; y2:29px; "/>
  299. <select id="checkbox1" ref="NIB028720" overflow="visible" appearance="full" style="left:865px; top:5px; width:55px; height:20px; border-style:none; ">
  300. <choices>
  301. <item>
  302. <label>同成分</label>
  303. <value>Y</value>
  304. </item>
  305. </choices>
  306. <script type="javascript" ev:event="xforms-value-changed">
  307. <![CDATA[
  308. rowchanged();
  309. ]]>
  310. </script>
  311. </select>
  312. <select id="checkbox2" ref="NIB028750" overflow="visible" appearance="full" style="left:924px; top:5px; width:55px; height:20px; border-style:none; ">
  313. <choices>
  314. <item>
  315. <label>同材质</label>
  316. <value>Y</value>
  317. </item>
  318. </choices>
  319. <script type="javascript" ev:event="xforms-value-changed">
  320. <![CDATA[
  321. rowchanged();
  322. ]]>
  323. </script>
  324. </select>
  325. <select1 id="combo1" ref="MAT_TP" appearance="minimal" style="left:92px; top:5px; width:127px; height:20px; ">
  326. <choices>
  327. <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004']">
  328. <label ref="SM_CFNM"/>
  329. <value ref="SM_CD"/>
  330. </itemset>
  331. </choices>
  332. <script type="javascript" ev:event="xforms-value-changed">
  333. <![CDATA[
  334. rowchanged();
  335. ]]>
  336. </script>
  337. </select1>
  338. <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; ">充当物料类型</caption>
  339. <caption id="caption3" class="cell" style="left:230px; top:5px; width:90px; height:20px; ">可充当余重</caption>
  340. <output id="output201" ref="/root/gridData/REM_WGT" format="#,###" style="left:322px; top:5px; width:110px; height:20px; text-align:right; border-color:#c0c0c0; border-style:solid; "/>
  341. <select id="checkbox3" ref="NIB028700" overflow="visible" appearance="full" style="left:805px; top:5px; width:55px; height:20px; border-style:none; ">
  342. <choices>
  343. <item>
  344. <label>同牌号</label>
  345. <value>Y</value>
  346. </item>
  347. </choices>
  348. <script type="javascript" ev:event="xforms-value-changed">
  349. <![CDATA[
  350. rowchanged();
  351. ]]>
  352. </script>
  353. </select>
  354. </group>
  355. <datagrid id="datagrid2" nodeset="/root/gridData/ListResult_1_VO/ListResult_1_Row" caption="充当选取^物料号^厂内钢号^成品牌号^物料厚度^物料宽度^物料长度^物料重量^物料内径^物料外径^生产日期^余材原因^堆放位置^最初合同号^最初订单号^REP_WGT^钢卷流水号" colsep="^" colwidth="35, 100, 150, 100, 80, 80, 80, 80, 80, 80, 100, 100, 100, 80, 45, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="45" rowsep="|" style="left:0px; top:326px; width:980px; height:294px; ">
  356. <col checkvalue="Y,N" key="false" ref="CHK" type="checkbox"/>
  357. <col key="false" ref="DSP_NO"/>
  358. <col key="false" ref="STL_GRD" style="text-align:left; "/>
  359. <col key="false" ref="SPEC_STL_GRD" style="text-align:left; "/>
  360. <col key="false" ref="MAT_THK" format="#,###.#" style="text-align:right; "/>
  361. <col key="false" ref="MAT_WTH" format="#,###.#" style="text-align:right; "/>
  362. <col key="false" ref="MAT_LEN" format="#,###.#" style="text-align:right; "/>
  363. <col key="false" ref="MAT_WGT" format="#,###.#" style="text-align:right; "/>
  364. <col key="false" ref="COIL_INDIA" format="#,###.#" style="text-align:right; "/>
  365. <col key="false" ref="COIL_OUTDIA" format="#,###.#" style="text-align:right; "/>
  366. <col key="false" ref="PROD_DTIME" format="yyyy-mm-dd"/>
  367. <col key="false" ref="WOO_RSN" style="text-align:left; "/>
  368. <col key="false" ref="LOC"/>
  369. <col key="false" ref="ORG_ORD_NO"/>
  370. <col key="false" ref="ORG_ORD_SEQ"/>
  371. <col key="false" ref="REP_WGT" visibility="hidden"/>
  372. <col ref="MAT_NO" visibility="hidden"/>
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. var datagrid = datagrid2;
  376. var row = datagrid.row;
  377. var remWgt = Number(model.getValue("/root/gridData/REM_WGT"));
  378. if (datagrid.valueMatrix(row, datagrid.colRef("CHK")) == "Y") {
  379. if (remWgt > 0) {
  380. remWgt -= Number(datagrid.valueMatrix(row, datagrid.colRef("REP_WGT")));
  381. } else {
  382. alert("该订单已经充当完成!");
  383. datagrid.valueMatrix(row, datagrid.colRef("CHK")) = "N";
  384. datagrid.rowStatus(row) = 0;
  385. return;
  386. }
  387. } else {
  388. remWgt += Number(datagrid.valueMatrix(row, datagrid.colRef("REP_WGT")));
  389. datagrid.rowStatus(row) = 0;
  390. }
  391. model.setValue("/root/gridData/REM_WGT", remWgt);
  392. ]]>
  393. </script>
  394. <script type="javascript" ev:event="ondblclick">
  395. <![CDATA[
  396. var datagrid = datagrid2;
  397. window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
  398. ]]>
  399. </script>
  400. </datagrid>
  401. </xhtml:body>
  402. </xhtml:html>