| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403 |
- <?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[非计划卷管理>>转运管理>>非计划热卷入库回退及实绩维护(UIK010020)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <COIL_NO/>
- <CUR_LOAD_LOC/>
- <STL_GRD/>
- <COIL_WTH_MIN/>
- <COIL_THK_MIN/>
- <CUR_PROG_CD/>
- <COIL_THK_MAX/>
- <COIL_WTH_MAX/>
- <COIL_STAT>1</COIL_STAT>
- <ZD_STIME/>
- <ZD_ETIME/>
- </formData>
- <sumData>
- <SUM_COILRST_CNT/>
- <SUM_COILRST_WGT/>
- </sumData>
- <reqData/>
- <resData/>
- <boolData>
- <qk_yn/>
- <ord_fl/>
- </boolData>
- <datagrid1/>
- <BugResult>
- <BugResult_Row>
- <LABEL/>
- <VALUE/>
- </BugResult_Row>
- </BugResult>
- <StlResult>
- <StlResult_Row>
- <LABEL/>
- <VALUE/>
- </StlResult_Row>
- </StlResult>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(window.parent==null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- function Init(node)
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSubmit("UIK010020-service", "success", "glueAction.do");
- model.copyNode("/root/BugResult" , "/root/resData/BugResult_VO");
- model.refresh();
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSubmit("UIK010020-service", "success", "glueAction.do");
- model.copyNode("/root/StlResult" , "/root/resData/StlResult_VO");
- model.refresh();
- }
-
-
-
- function excelExport() {
- return datagrid1;
- }
- function find()
- {
- model.removenode("/root/reqData");
- model.makeValue("/root/reqData/OLD_SAMPL_NO" , input1.value);
- model.makeValue("/root/reqData/STL_GRD" , combo1.value);
- model.makeValue("/root/reqData/COIL_THK_MIN" , input7.value);
- model.makeValue("/root/reqData/COIL_THK_MAX" , input8.value);
- model.makeValue("/root/reqData/COIL_WTH_MIN" , input4.value);
- model.makeValue("/root/reqData/COIL_WTH_MAX" , input9.value);
- model.makeValue("/root/reqData/CUR_PROG_CD" , combo2.value);
- model.makeValue("/root/reqData/ZD_STIME" , input3.value);
- model.makeValue("/root/reqData/ZD_ETIME" , input5.value);
- model.makeValue("/root/reqData/CUR_LOAD_LOC" , input2.value);
- model.makeValue("/root/reqData/COIL_STAT" , combo6.value);
- commSubmit("UIK010020-service" , "find" , "glueAction.do");
- model.copyNode("/root/datagrid1" , "/root/resData/bjfjhResult_VO");
- model.refresh();
-
- model.setValue("/root/sumData/SUM_COILRST_CNT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_CNT"));
- model.setValue("/root/sumData/SUM_COILRST_WGT",model.getValue("/root/resData/SumCoil_VO/SumCoil_Row/COIL_WGT"));
-
- model.refresh();
- getSumWGT();
- }
-
-
-
- function getSumWGT()
- {
- var totalWGT = 0;
- var totalCnt = 0;
- for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++)
- {
- totalCnt = totalCnt + 1;
- if(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")) == "")
- {
- }else{
- totalWGT = totalWGT + parseFloat(datagrid1.valueMatrix(i ,datagrid1.colRef("ACT_WGT")));
- }
- }
- model.setValue("/root/sumData/SUM_COILRST_CNT",totalCnt);
- model.setValue("/root/sumData/SUM_COILRST_WGT",totalWGT/1000);
- output1.refresh();
- output2.refresh();
- }
-
-
- function edit()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i=0;i<datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- }
- model.refresh();
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
-
- commSubmit("UIK010020-service","edit","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function Save1()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i=0;i<datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- }
- model.refresh();
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSubmit("UIK010020-service","SaveIN","glueAction.do");
- datagrid1.clearStatus();
- }
-
- function Save2()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i=0;i<datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- }
- model.refresh();
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
-
- commSubmit("UIK010020-service","SaveOUT","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function Update1()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i=0;i<datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- }
- model.refresh();
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIK010020-service","update1","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function DeleteBJ2()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- for(var i=0;i<datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- }
- model.refresh();
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSubmit("UIK010020-service","deleteBJ2","glueAction.do");
- datagrid1.clearStatus();
- }
-
- ]]>
- </script>
- <script type="javascript" src="../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/b01.js"/>
- </xhtml:head>
- <xhtml:body visibility="visible" guideline="1,1000;2,601;" style="font-weight:980; font-style:620; ">
- <input id="input7" ref="/root/formData/COIL_THK_MIN" style="left:385px; top:0px; width:30px; height:20px; "/>
- <input id="input8" ref="/root/formData/COIL_THK_MAX" style="left:430px; top:0px; width:30px; height:20px; "/>
- <input id="input9" ref="/root/formData/COIL_WTH_MAX" style="left:575px; top:0px; width:45px; height:20px; "/>
- <caption id="caption1" class="cell" style="left:631px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">垛 位</caption>
- <caption id="caption10" class="cell" style="left:780px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
- <caption id="caption2" class="cell" style="left:0px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 卷 号</caption>
- <select1 id="combo1" ref="/root/formData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:235px; top:0px; width:91px; height:20px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/StlResult/StlResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" style="left:745px; top:50px; width:20px; height:20px; font-weight:bold; ">卷</caption>
- <select1 id="combo2" ref="/root/formData/CUR_PROG_CD" appearance="minimal" editmode="inputsearch" style="left:70px; top:25px; width:113px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>入库待机</label>
- <value>SDB</value>
- </item>
- <item>
- <label>发货指示待机</label>
- <value>SFA</value>
- </item>
- <item>
- <label>充当待机</label>
- <value>SRC</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:167px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">钢 号</caption>
- <caption id="caption12" style="left:920px; top:50px; width:20px; height:20px; font-weight:bold; ">吨</caption>
- <caption id="caption4" class="cell" style="left:465px; top:0px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">宽 度</caption>
- <line id="line1" style="x1:415px; y1:10px; x2:430px; y2:10px; "/>
- <caption id="caption5" class="cell" style="left:336px; top:0px; width:49px; height:20px; font-weight:bold; border-color:#000000; ">厚 度</caption>
- <caption id="caption6" class="cell" style="left:0px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">进程状态</caption>
- <input id="input1" ref="/root/formData/COIL_NO" style="left:71px; top:0px; width:90px; height:20px; "/>
- <input id="input2" ref="/root/formData/CUR_LOAD_LOC" style="left:702px; top:0px; width:83px; height:20px; "/>
- <line id="line5" style="x1:560px; y1:10px; x2:575px; y2:10px; "/>
- <input id="input4" ref="/root/formData/COIL_WTH_MIN" style="left:515px; top:0px; width:45px; height:20px; "/>
- <caption id="caption9" class="cell" style="left:625px; top:50px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">卷数合计</caption>
- <output id="output1" ref="/root/sumData/SUM_COILRST_CNT" style="left:685px; top:50px; width:60px; height:20px; text-align:center; "/>
- <output id="output2" ref="/root/sumData/SUM_COILRST_WGT" style="left:840px; top:50px; width:75px; height:20px; text-align:center; "/>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/bjfjhResult_Row" caption="选择^钢卷号^指定状态^冶炼炉号^钢种^热轧实际^热轧实际^热轧实际^热轧实际^热轧实际^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^收货单位^发货方式^指定人^指定时间^指定备注|选择^钢卷号^指定状态^冶炼炉号^钢种^厚度^宽度^长度^内径^外径^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^收货单位^发货方式^指定人^指定时间^指定备注" colsep="^" colwidth="40, 100, 40, 65, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 50, 60, 145, 60, 60, 60, 60, 35, 70, 50, 40, 40, 40, 40, 40, 40, 60, 100, 100, 55, 80, 200" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:950px; height:505px; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col editable="false" ref="OLD_SAMPL_NO" type="input"/>
- <col ref="APPOINT_YN"/>
- <col ref="CHARGE_NO"/>
- <col editable="false" ref="SPEC_STL_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/StlResult/StlResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="COIL_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="COIL_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="COIL_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="COIL_INDIA" type="input" style="background-color:#ffff99; "/>
- <col ref="COIL_OUTDIA" type="input" style="background-color:#ffff99; "/>
- <col editable="false" ref="INSTR_COIL_THK" type="input" style="background-color:#ffff99; "/>
- <col editable="false" ref="INSTR_COIL_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="DCS_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="DCS_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="ACT_WGT" type="input" style="background-color:#ffff99; "/>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col ref="CRK_CD1" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/BugResult/BugResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="CRK_CD2" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/BugResult/BugResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="CRK_CD3" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/BugResult/BugResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="CRK_CD4" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/BugResult/BugResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="CRK_CD5" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/BugResult/BugResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="ORD_FL"/>
- <col editable="false" ref="ORD_NO" type="input"/>
- <col editable="false" ref="ORD_SEQ" type="input"/>
- <col ref="TOT_DEC_GRD"/>
- <col ref="INGR_DEC_GRD"/>
- <col ref="MATLQLTY_DEC_GRD"/>
- <col ref="SIZE_DEC_RST"/>
- <col ref="EXTSHAPE_DEC_GRD"/>
- <col ref="WGT_DEC_RST"/>
- <col ref="TOT_DEC_DTIME" format="yyyy-mm-dd hh:nn"/>
- <col ref="ORDCUST_CD"/>
- <col ref="DLIV_TP"/>
- <col ref="APPOINT_ID"/>
- <col ref="APPOINT_DTIME"/>
- <col ref="APPOINT_NOTE" type="input"/>
- </datagrid>
- <button id="button1" class="cell" style="left:520px; top:55px; width:75px; height:20px; background-color:#ffffff; background-image:F:\1\xgmes3\WebContents\images\btn_exit.gif; ">
- <caption>退回</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- Save2();
- DeleteBJ2();
- find();
- ]]>
- </script>
- </button>
- <select1 id="combo6" ref="/root/formData/COIL_STAT" appearance="minimal" style="left:855px; top:0px; width:80px; height:20px; ">
- <choices>
- <item>
- <label>未入库</label>
- <value>1</value>
- </item>
- <item>
- <label>已在库</label>
- <value>2</value>
- </item>
- <item>
- <label>已出库</label>
- <value>3</value>
- </item>
- <item>
- <label>全部</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption18" class="cell" style="left:795px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">库存状态</caption>
- <button id="button3" visibility="visible" style="left:190px; top:50px; width:100px; height:20px; ">
- <caption>查询</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- find();
-
- ]]>
- </script>
- </button>
- <button id="button4" visibility="visible" style="left:275px; top:50px; width:100px; height:20px; ">
- <caption>保存</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- edit();
- find();
- ]]>
- </script>
- </button>
- <button id="button5" class="cell" style="left:430px; top:55px; width:75px; height:20px; background-color:#ffffff; background-image:F:\1\xgmes3\WebContents\images\save.gif; ">
- <caption>入库</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- Save1();
- Update1();
- find();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="cell" style="left:260px; top:25px; width:86px; height:20px; font-weight:bold; border-color:#000000; ">移送时间</caption>
- <input id="input3" ref="/root/formData/ZD_STIME" inputtype="date" style="left:345px; top:25px; width:100px; height:20px; "/>
- <input id="input5" ref="/root/formData/ZD_ETIME" inputtype="date" style="left:460px; top:25px; width:100px; height:20px; "/>
- <line id="line2" style="x1:445px; y1:35px; x2:460px; y2:35px; "/>
- </xhtml:body>
- </xhtml:html>
|