| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405 |
- <?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[非计划卷管理>>转运管理>>非计划卷转运及重新入库(UIK010010)]]>
- </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/>
- <ZHIDING>N</ZHIDING>
- <ORD_NO/>
- <ORD_SEQ/>
- <CDTIME/>
- </formData>
- <sumData>
- <SUM_COILRST_CNT/>
- <SUM_COILRST_WGT/>
- </sumData>
- <reqData/>
- <resData/>
- <boolData>
- <qk_yn/>
- <ord_fl/>
- </boolData>
- <datagrid1/>
- <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("UIK010010-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/ZHIDING" , combo3.value);
- model.makeValue("/root/reqData/CUR_LOAD_LOC" , input2.value);
- if(combo3.value == 'N')
- {
- model.makeValue("/root/reqData/COIL_STAT" , '2');
- }
- else
- {
- model.makeValue("/root/reqData/COIL_STAT" , '3');
- }
- model.makeValue("/root/reqData/ORD_NO" , input3.value);
- model.makeValue("/root/reqData/CDTIME" , input11.value);
- commSubmit("UIK010010-service" , "find" , "glueAction.do");
- model.copyNode("/root/datagrid1" , "/root/resData/AppointResult_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 appoint()
- {
- 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("UIK010010-service","appoint","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function UpdateHotCoil()
- {
- 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("UIK010010-service","update","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
-
- function Cancelappoint()
- {
- 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("UIK010010-service","cancelZD","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function DeleteBJ()
- {
- 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("UIK010010-service","deleteBJ","glueAction.do");
- datagrid1.clearStatus();
- }
-
-
- function SaveBJBack()
- {
- 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("UIK010010-service","SaveBJBack","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"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- </xhtml:head>
- <xhtml:body 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:405px; top:25px; width:110px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>发货指示待机</label>
- <value>SFA</value>
- </item>
- <item>
- <label>综合判定待机</label>
- <value>SED</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:335px; 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/AppointResult_Row" caption="选择^钢卷号^移送状态^caption1^钢种^改判前钢种^热轧实际^热轧实际^热轧实际^热轧实际^热轧实际^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注^指定备注|选择^钢卷号^移送状态^caption1^钢种^改判前钢种^厚度^宽度^长度^内径^外径^订单厚度^订单宽度^判定厚度^判定宽度^重量^堆放位置^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^入库时间^入库操作时间^入库人^入库班次^入库组^二级库存^订单区分^合同号^订单号^综合判定^成份判定^材质判定^尺寸判定^外观判定^重量判定^判定时间^次品区分^清库前性能^清库前外观^^冶炼炉号^收货单位^发货方式^系列^产品等级^异常卷备注^钢卷说明^钢卷备注^指定备注" colsep="^" colwidth="40, 100, 130, 100, 50, 50, 40, 40, 40, 40, 40, 40, 40, 40, 40, 50, 60, 50, 50, 50, 50, 50, 80, 80, 60, 60, 50, 60, 35, 70, 50, 40, 40, 40, 40, 40, 40, 60, 75, 70, 70, 100, 75, 100, 100, 60, 60, 100, 100, 60, 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" visibility="hidden"/>
- <col ref="EXIST_YN" visibility="hidden"/>
- <col editable="false" ref="SPEC_STL_GRD" type="input"/>
- <col ref="BEF_SPEC_STL_GRD"/>
- <col editable="false" ref="COIL_THK" type="input"/>
- <col editable="false" ref="COIL_WTH" type="input"/>
- <col ref="COIL_LEN"/>
- <col ref="COIL_INDIA"/>
- <col ref="COIL_OUTDIA"/>
- <col editable="false" ref="INSTR_COIL_THK" type="input"/>
- <col editable="false" ref="INSTR_COIL_WTH" type="input"/>
- <col ref="DCS_THK"/>
- <col ref="DCS_WTH"/>
- <col ref="ACT_WGT" type="input"/>
- <col ref="CUR_LOAD_LOC" type="input"/>
- <col ref="CRK_CD1"/>
- <col ref="CRK_CD2"/>
- <col ref="CRK_CD3"/>
- <col ref="CRK_CD4"/>
- <col ref="CRK_CD5"/>
- <col editable="false" ref="YARD_ENTRY_DTIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col editable="false" ref="YARD_ENTRY_USE_TIME" type="input" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col explorerbar="sortshow" ref="YARD_ENTRY_REG" visibility="hidden"/>
- <col disabled="true" ref="YARD_ENTRY_SHIFT" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>早班</label>
- <value>1</value>
- </item>
- <item>
- <label>中班</label>
- <value>2</value>
- </item>
- <item>
- <label>晚班</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="YARD_ENTRY_GROUP" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>甲班</label>
- <value>A</value>
- </item>
- <item>
- <label>乙班</label>
- <value>B</value>
- </item>
- <item>
- <label>丙班</label>
- <value>C</value>
- </item>
- <item>
- <label>丁班</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="QK_YN" visibility="hidden"/>
- <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="MATRL_END_CAUSE_CD"/>
- <col ref="SIZE_DEC_RST"/>
- <col ref="EXTSHAPE_DEC_GRD"/>
- <col ref="WGT_DEC_RST"/>
- <col editable="false" ref="TOT_DEC_DTIME" type="input" format="yyyy-mm-dd hh:nn"/>
- <col ref="COIL_DEFECTIVE"/>
- <col ref="BEF_MATRL_END_CAUSE_CD"/>
- <col ref="BEF_EXTSHAPE_DEC_GRD"/>
- <col ref="COIL_DEFECTIVE_DESC" visibility="hidden"/>
- <col ref="CHARGE_NO"/>
- <col ref="ORDCUST_CD"/>
- <col ref="DLIV_TP"/>
- <col ref="COIL_SERIES"/>
- <col ref="COIL_PROD_GRADE"/>
- <col editable="true" ref="COIL_UN_REMARK"/>
- <col editable="true" ref="COIL_DESC"/>
- <col editable="true" ref="COIL_REMARK"/>
- <col ref="APPOINT_NOTE" type="input"/>
- </datagrid>
- <button id="button1" class="cell" visibility="hidden" 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[
- Cancelappoint();
- DeleteBJ();
- find();
- ]]>
- </script>
- </button>
- <caption id="caption18" class="cell" style="left:0px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">合 同 号</caption>
- <input id="input11" ref="/root/formData/CDTIME" class="input" inputtype="date" style="left:235px; top:25px; width:90px; height:20px; "/>
- <caption id="caption16" class="cell" style="left:165px; top:25px; width:70px; 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[
-
- SaveBJBack();
- find();
- ]]>
- </script>
- </button>
- <button id="button5" class="cell" style="left:390px; top:50px; 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[
- appoint();
- UpdateHotCoil();
- find();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="cell" style="left:555px; top:25px; width:86px; height:20px; font-weight:bold; border-color:#000000; ">移送状态</caption>
- <select1 id="combo3" ref="/root/formData/ZHIDING" appearance="minimal" style="left:640px; top:25px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>未移送</label>
- <value>N</value>
- </item>
- <item>
- <label>已移送</label>
- <value>Q Y</value>
- </item>
- <item>
- <label>板加退回重新入库</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/formData/ORD_NO" style="left:70px; top:25px; width:90px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|