| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[进程管理 >> 订单/物料进程管理 >> 订单进程详细信息查询二]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- </initData>
- <searchData>
- <P_DSN_SLAB_NO>Z0905270054</P_DSN_SLAB_NO>
- <ORD_NO/>
- <ORD_SEQ/>
- <STL_GRD/>
- <LG_CD>F01001</LG_CD>
- <MAT_PROC/>
- </searchData>
- <formData/>
- <codeData/>
- <gridData>
- <grid1/>
- <grid2/>
- </gridData>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- submitID = "UIE013010-service";
- function Init(node) {
- // if (window.parent != null) {
- // var java = window.parent.javaScript;
- // var node = java.getInitDataNode();
- // if (node != null) {
- // copyNode(node, "/root/formData/searchInfo");
- // exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO", "/root/gridData/ListResult_1_VO");
- // }
- // }
- // exec("/root/searchData", "", "", "/root/codeData/ListResult_0_VO");
- // pageInit();
- // model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
- }
- function pageInit() {
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- model.refresh();
- var datagrid = datagrid1;
- datagrid.isReadOnly(0, 0, datagrid.rows-1, datagrid.cols-1) = true;
- }
-
- function find() {
- commSendReq("/root/searchData");
- commSubmit("UIE013020-service","find","glueAction.do");
- commAppendData("/root/gridData/grid1/ListResult_0_VO","/root/resData/ListResult_0_VO");
- model.refresh();
- }
- function save() {}
- function create() {}
- function remove() {}
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" style="font-family:宋体; ">
- <group id="group1" ref="/root/searchData" style="left:0px; top:0px; width:980px; height:25px; ">
- <caption id="caption2" class="cell" style="left:2px; top:3px; width:90px; height:20px; vertical-align:middle; ">计划号</caption>
- <caption id="caption1" class="cell" style="left:179px; top:3px; width:90px; height:20px; vertical-align:middle; ">合同号</caption>
- <caption id="caption3" class="cell" style="left:400px; top:3px; width:90px; height:20px; vertical-align:middle; ">牌 号</caption>
- <input id="input2" ref="P_DSN_SLAB_NO" maxlength="20" style="left:94px; top:3px; width:80px; height:20px; ">
- <hint>
- <![CDATA[计划号]]>
- </hint>
- </input>
- <input id="input1" ref="ORD_NO" maxlength="40" style="left:269px; top:3px; width:80px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- // <![CDATA[
- // model.setValue("/root/formData/searchInfo/ORD_SEQ", "");
- // // if (model.getValue("/root/formData/searchInfo/ORD_NO").length == 12) {
- // exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
- // // } else {
- // // model.removenode("/root/codeData/ORD_SEQ/ListResult_0_VO");
- // // }
- // pageInit();
- ]]>
- </script>
- <hint>
- <![CDATA[中厚板合同号]]>
- </hint>
- </input>
- <select1 id="combo1" ref="STL_GRD" appearance="minimal" editmode="inputsearch" style="left:490px; top:3px; width:125px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if (model.getXPathValue("count(/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row)") == 0) {
- // exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
- // }
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="ORD_SEQ" appearance="minimal" editmode="inputsearch" style="left:350px; top:3px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if (model.getXPathValue("count(/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row)") == 0) {
- // exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // model.setValue("/root/formData/searchInfo/ORD_SEQ", model.getValue("/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row[ORD_SEQ != '']/ORD_SEQ"));
- // }
- ]]>
- </script>
- <hint>
- <![CDATA[序号]]>
- </hint>
- </select1>
- </group>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="计划号^品质设计待机^坯料设计待机^炉次设计待机^出钢指示待机^作业待机^移送待机^移送完成" colsep="^" colwidth="96, 77, 74, 69, 69, 75, 70, 83" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="42" style="left:0px; top:30px; width:980px; height:250px; ">
- <col ref="P_DSN_SLAB_NO" style="text-align:left; "/>
- <col ref="WGT07" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT01" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT02" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT03" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT04" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT05" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <col ref="WGT06" format="#,###.#" style="text-decoration:underline; color:#0000ff; text-align:right; cursor:hand; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var datagrid = datagrid1;
- if (!datagrid.isCell(event.target) || datagrid.row < datagrid.fixedRows ) return;
- if (datagrid.valueMatrix(datagrid.row, datagrid.col) == "0") return;
- // alert("s");
- var MAT_PROC = datagrid.valueMatrix(datagrid.row, datagrid.colRef("PROC_CD"));
- switch (datagrid.col) {
- case datagrid.colRef("WGT07"): MAT_PROC += '07'; break;
- case datagrid.colRef("WGT01"): MAT_PROC += '01'; break;
- case datagrid.colRef("WGT02"): MAT_PROC += '02'; break;
- case datagrid.colRef("WGT03"): MAT_PROC += '03'; break;
- case datagrid.colRef("WGT04"): MAT_PROC += '04'; break;
- case datagrid.colRef("WGT05"): MAT_PROC += '05'; break;
- case datagrid.colRef("WGT06"): MAT_PROC += '06'; break;
- case datagrid.colRef("P_DSN_SLAB_NO"): MAT_PROC += ''; break;
- default: return;
- }
- model.setValue("/root/searchData/MAT_PROC",MAT_PROC);
-
- commSendReq("/root/searchData");
- commSubmit("UIE013020-service","find2","glueAction.do");
- commAppendData("/root/gridData/grid2/ListResult_0_VO","/root/resData/ListResult_0_VO");
- model.refresh();
- //model.duplicate("/root/gridData","/root/resData/ListResult_0_VO");
- // model.setValue("/root/fwdData/UIE012040/MAT_PROC", MAT_PROC);
- // model.setValue("/root/fwdData/UIE012040/ORD_NO", model.getValue("/root/formData/searchInfo/ORD_NO"));
- // model.setValue("/root/fwdData/UIE012040/ORD_SEQ", model.getValue("/root/formData/searchInfo/ORD_SEQ"));
- // model.setValue("/root/fwdData/UIE012040/URL", "./UIE012040.xrw");
- // var java = window.parent.javaScript;
- // java.open(model.instances(0).selectSingleNode("/root/fwdData/UIE012040"));
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var datagrid = datagrid1;
- window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/gridData/grid2/ListResult_0_VO/ListResult_0_Row" caption="物料号^厚度^宽度^长度^重量^堆置位置" colsep="^" colwidth="100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:285px; width:980px; height:225px; ">
- <col ref="MAT_NO"/>
- <col ref="SLAB_THK" format="#,###"/>
- <col ref="SLAB_WTH" format="#,###"/>
- <col ref="SLAB_LEN" format="#,###"/>
- <col ref="SLAB_WGT" format="#,###"/>
- <col/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|