| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347 |
- <?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="">
- <formData>
- <ORD_NO/>
- <ORD_SEQ/>
- <ORD_Min_THK>0</ORD_Min_THK>
- <ORD_Max_THK>16.1</ORD_Max_THK>
- <ORD_Min_WTH>0</ORD_Min_WTH>
- <ORD_Max_WTH>1600</ORD_Max_WTH>
- <CUR_LOAD_LOC/>
- </formData>
- <grdCoilData/>
- <grdPlanData/>
- <grdPlanListData/>
- <cmbLoadData YARD_CLF=""/>
- <cmbOrdSEQ ORD_SEQ=""/>
- <gridData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- findLoadData();
- grd_CoilInfo.fixedcellcheckbox(0,grd_CoilInfo.colRef("CHK"))=true;
- grd_PlanList.fixedcellcheckbox(0,grd_PlanList.colRef("CHK"))=true;
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function find()
- {
- model1.removenode("/root/grdCoilData");
- model1.makeNode("/root/grdCoilData");
- commSendReq("/root/formData");
- commSubmit("UIH060030-service","findcoil","glueAction.do");
- //model.copyNode("/root/grdCoilData/","/root/resData/CoilData_VO");
- commAppendData("/root/gridData/CoilData_VO" ,"/root/resData/CoilData_VO" );
- commAppendData("/root/gridData/SPMPlanData_VO" ,"/root/resData/SPMPlanData_VO" );
- commAppendData("/root/gridData/SPMPlanListData_VO" ,"/root/resData/SPMPlanListData_VO" );
- model.refresh();
- }
- function findLoadData()
- {
- commSubmit("UIH060030-service","findload","glueAction.do");
- commAppendData("/root/cmbLoadData/Load_Data_VO","/root/resData/Load_Data_VO" );
- commAppendData("/root/gridData/SPMPlanData_VO","/root/resData/SPMPlanData_VO" );
- commAppendData("/root/gridData/SPMPlanListData_VO","/root/resData/SPMPlanListData_VO" );
- model.refresh();
- }
- function findOrdSEQ()
- {
- model1.removenode("/root/grdCoilData");
- commSendReq("/root/formData");
- commSubmit("UIH060030-service","findOrdSEQ","glueAction.do");
- commAppendData("/root/cmbOrdSEQ/OrdSEQData_VO" ,"/root/resData/OrdSEQData_VO" );
- }
- function findSPMPlan()
- {
- model1.removenode("/root/grdPlanData");
- model1.removenode("/root/grdPlanListData");
- commSubmit("UIH060030-service","findSPMPlan","glueAction.do");
- commAppendData("/root/grdPlanData/SPMPlanData_VO" ,"/root/resData/SPMPlanData_VO" );
- commAppendData("/root/grdPlanListData/SPMPlanListData_VO" ,"/root/resData/SPMPlanListData_VO" );
- }
- function AddCoil()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
-
- var nodeSet1 = grd_CoilInfo.nodeset;
- for(var i=0;i<grd_CoilInfo.rows;i++){
- var DLIV_DIRNO = model.getValue(nodeSet1+"["+i+"]/CHK");
- if(DLIV_DIRNO = "Y"){
- grd_CoilInfo.rowStatus(i) = 2;
- model.refresh();
- }
- }
-
-
- commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/USER" , "AA");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH060030-service","AddSPMPlan","glueAction.do");
- model.refresh();
- find();
- }
- function DelTBHSPMPlan()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/USER" , "AA");
- //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH060030-service","TBHSPMPLAN","glueAction.do");
- find();
- }
- function DelSPMPlan()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- var nodeSet2 = grd_PlanList.nodeset;
- for(var i=0;i<grd_PlanList.rows;i++){
- var DLIV_DIRNO1 = model.getValue(nodeSet2+"["+i+"]/CHK");
- if(DLIV_DIRNO1 = "Y"){
- grd_PlanList.rowStatus(i) = 2;
- model.refresh();
- }
- }
-
- commMultiUpdate(grd_PlanList,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/USER" , "AA");
- //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH060030-service","DelSPMPlan","glueAction.do");
- find();
- }
- function AffrimSPMPlan()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/SPMNO" , grd_PlanInfo.valueMatrix(2,grd_PlanInfo.colRef("SPMINFO")));
- //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
- model.makeValue("/root/reqData/USER" , "AA");
- commSubmit("UIH060030-service","AFMSPMPlan","glueAction.do");
- find();
- }
-
- function DeleteSPMPlan()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(grd_CoilInfo,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/USER" , "AA");
- //model.makeValue("/root/reqData/USER["+0+"]" , model.getValue("/root/initData/rcvInfo/REG_NM"));
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH060030-service","CANSPMPlan","glueAction.do");
- find();
- }
-
- function excelExport()
- {
- return grd_CoilInfo;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,445;" style="font-weight:bold; ">
- <button id="btn_Affirm" class="cell" style="left:885px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_save.gif; border-color:#ccccff; border-style:solid; ">
- <caption>确认</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- AffrimSPMPlan();
- ]]>
- </script>
- </button>
- <button id="btn_Add" class="cell" style="left:745px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_add.gif; border-color:#ccccff; border-style:solid; ">
- <caption>选择</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- AddCoil();
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="cell" style="left:815px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_exit.gif; border-color:#ccccff; border-style:solid; ">
- <caption>移除</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- DelSPMPlan();
- ]]>
- </script>
- </button>
- <datagrid id="grd_CoilInfo" nodeset="/root/gridData/CoilData_VO/CoilData_Row" caption="选择^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^指定人^指定时间^平整分卷^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息|选择^钢卷号^轧制时间^交货期^SPM_PLAN_SEQ^堆放位^指定人^指定时间^平整分卷^牌号^厚度^宽度^长度^重量^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^缺陷备注^SPM需求^SPM说明^订单备注^合同号^订单号^牌号^厚度^宽度^长度^单重^单重下限^单重上限^收货单位^到站" colsep="^" colwidth="54, 80, 113, 100, 100, 50, 64, 75, 100, 80, 50, 50, 50, 50, 44, 53, 51, 50, 48, 100, 100, 100, 100, 80, 50, 80, 49, 50, 61, 60, 60, 60, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:945px; height:265px; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox" style="background-color:#ffff99; "/>
- <col ref="OLD_SAMPL_NO" type="output" maxlength="13" style="background-color:#ffff99; "/>
- <col ref="MILL_DTIME" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd hh:nn:ss" style="background-color:#ffff99; "/>
- <col ref="SPM_PLAN_SEQ" visibility="hidden"/>
- <col ref="CUR_LOAD_LOC" type="output" style="background-color:#ffff99; "/>
- <col ref="REG_ID" type="output" style="background-color:#ffff99; "/>
- <col ref="REG_DTIME" type="output" style="background-color:#ffff99; "/>
- <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffff99; ">
- <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>4</value>
- </item>
- <item>
- <label>开卷检查</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="SPEC_STL_GRD" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_THK" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_WTH" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_LEN" type="output" style="background-color:#ffff99; "/>
- <col ref="ACT_WGT" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD1" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD2" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD3" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD4" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD5" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_PLAN" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
- <col ref="MK_CONTENT" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_NO" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_SEQ" type="output" style="background-color:#ffff99; "/>
- <col ref="STL_GRD" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_THK" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_WTH" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_LEN" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT_MIN" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT_MAX" type="output" style="background-color:#ffff99; "/>
- <col ref="ORDCUST_CD" type="output" style="background-color:#ffff99; "/>
- <col ref="DEST_CD" type="output" style="background-color:#ffff99; "/>
- </datagrid>
- <datagrid id="grd_PlanInfo" nodeset="/root/gridData/SPMPlanData_VO/SPMPlanData_Row" caption="平整分卷计划^平整分卷计划|区分^现况" colsep="^" colwidth="95, 78" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:300px; width:175px; height:285px; ">
- <col ref="TYPE_" type="output" style="background-color:#ffff99; "/>
- <col ref="SPMINFO" type="output" style="background-color:#ffff99; "/>
- </datagrid>
- <datagrid id="grd_PlanList" nodeset="/root/gridData/SPMPlanListData_VO/SPMPlanListData_Row" visibility="visible" caption="选择^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^钢卷信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息^订单信息|选择^顺序号^钢卷号^交货期^堆放位^牌号^厚度^宽度^长度^重量^平整分卷^缺陷1^缺陷2^缺陷3^缺陷4^缺陷5^缺陷备注^SPM需求^SPM说明^合同号^订单号^牌号^厚度^宽度^长度^单重^单重下限^单重上限^收货单位^到站" colsep="^" colwidth="47, 75, 80, 100, 50, 80, 50, 50, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 80, 50, 80, 49, 50, 61, 60, 60, 60, 100, 100, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:180px; top:300px; width:770px; height:285px; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox" style="background-color:#ffff99; "/>
- <col ref="COIL_EDT_SEQ" type="output" visibility="visible" style="background-color:#ffff99; "/>
- <col ref="OLD_SAMPL_NO" type="output" maxlength="13" style="background-color:#ffff99; "/>
- <col ref="DEL_TO_DATE" type="output" style="background-color:#ffff99; "/>
- <col ref="CUR_LOAD_LOC" type="output" style="background-color:#ffff99; "/>
- <col ref="SPEC_STL_GRD" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_THK" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_WTH" type="output" style="background-color:#ffff99; "/>
- <col ref="COIL_LEN" type="output" style="background-color:#ffff99; "/>
- <col ref="ACT_WGT" type="output" style="background-color:#ffff99; "/>
- <col disabled="true" editable="false" ref="SPM_YN" type="combo" style="text-align:left; background-color:#ffff99; ">
- <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>4</value>
- </item>
- <item>
- <label>开卷检查</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="SPM_CRK_CD1" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD2" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD3" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD4" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_CRK_CD5" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_PLAN" type="output" style="background-color:#ffff99; "/>
- <col ref="SPM_REMARK" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_NO" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_SEQ" type="output" style="background-color:#ffff99; "/>
- <col ref="STL_GRD" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_THK" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_WTH" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_LEN" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT_MIN" type="output" style="background-color:#ffff99; "/>
- <col ref="ORD_UNIT_WGT_MAX" type="output" style="background-color:#ffff99; "/>
- <col ref="ORDCUST_CD" type="output" style="background-color:#ffff99; "/>
- <col ref="DEST_CD" type="output" style="background-color:#ffff99; "/>
- <col/>
- </datagrid>
- <caption id="caption1" class="cell" style="left:7px; top:5px; width:68px; height:20px; ">合同号</caption>
- <input id="txt_OrdNO" ref="/root/formData/ORD_NO" class="cell" maxlength="13" style="left:77px; top:5px; width:100px; height:20px; "/>
- <select1 id="cmb_OrdSEQ" ref="/root/formData/ORD_SEQ" appearance="minimal" editmode="inputsearch" style="left:175px; top:5px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/cmbOrdSEQ/OrdSEQData_VO/OrdSEQData_Row">
- <label ref="ORD_SEQ"/>
- <value ref="ORD_SEQ"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption101" class="cell" style="left:230px; top:5px; width:45px; height:20px; ">厚度</caption>
- <caption id="caption2" class="cell" style="left:354px; top:5px; width:45px; height:20px; ">宽度</caption>
- <caption id="caption3" class="cell" style="left:480px; top:5px; width:48px; height:20px; ">堆放位</caption>
- <input id="txt_Min_Thk" ref="/root/formData/ORD_Min_THK" mask="###.###" style="left:276px; top:5px; width:34px; height:20px; "/>
- <input id="txt_Max_Thk" ref="/root/formData/ORD_Max_THK" mask="###.###" style="left:310px; top:5px; width:35px; height:20px; "/>
- <input id="txt_Min_Wth" ref="/root/formData/ORD_Min_WTH" mask="###.###" style="left:399px; top:5px; width:35px; height:20px; "/>
- <input id="txt_Max_Wth" ref="/root/formData/ORD_Max_WTH" mask="###.###" style="left:434px; top:5px; width:35px; height:20px; "/>
- <select1 id="cmb_Load" ref="/root/formData/CUR_LOAD_LOC" appearance="minimal" editmode="inputsearch" style="left:528px; top:5px; width:85px; height:20px; ">
- <choices>
- <itemset nodeset="/root/cmbLoadData/Load_Data_VO/Load_Data_Row">
- <label ref="YARD_CLF"/>
- <value ref="YARD_CLF"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="cell" style="left:675px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_find.gif; border-color:#ccccff; border-style:solid; ">
- <caption>查询</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <button id="button2" class="cell" style="left:610px; top:5px; width:65px; height:20px; text-align:right; background-image:..\..\images\btn_add.gif; border-color:#ccccff; border-style:solid; ">
- <caption>取消</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- DelTBHSPMPlan();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|