| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../css/body.css" type="text/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" autocdata="false">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- <searchInfo>
- <LG_CD>A01001,A01004,A01007,E01001,E01003,E01005,E01011,B01004</LG_CD>
- </searchInfo>
- </initData>
- <fwdData>
- <UIE012020>
- <URL/>
- <ORD_NO/>
- <ORD_SEQ/>
- </UIE012020>
- </fwdData>
- <codeData>
- <ORD_SEQ/>
- </codeData>
- <formData>
- <searchInfo>
- <ORD_NO/>
- <ORD_SEQ/>
- <PRODNM_CD/>
- <ORD_PROG_CD/>
- <ABNOR_ORD_CD/>
- <CUST_CD/>
- <CUST_STL_GRD/>
- <DEL_TO_DATE_MIN/>
- <DEL_TO_DATE_MAX/>
- <RCVORD_CLF/>
- <ORD_PLAN_DATA_MIN/>
- <ORD_PLAN_DATA_MAX/>
- <DLIV_TP/>
- <ORD_WTH_FRM/>
- <ORD_WTH_TO/>
- <CUST_NM/>
- <ORD_THK_FRM/>
- <ORD_THK_TO/>
- <XSQY/>
- <PROD_LINE/>
- <DEST_PCD/>
- <ORD_PRC_LOCK/>
- </searchInfo>
- </formData>
- <gridData>
- </gridData>
- <ORD_REM_WGT_SUM/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (window.parent == null) Init();
- datagrid1.fixedcellcheckbox(0,datagrid1.colRef("CHK"))=true;
-
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/bCommon.js"/>
- <script type="javascript" src="../../js/mesCommon.js">
- <![CDATA[
- submitID = "UIE012010-service";
- function Init(node) {
- InitParams(node);
- exec("/root/initData/searchInfo", "", "", "/root/codeData/ListResult_0_VO",
- "/root/codeData/ListResult_1_VO", "/root/codeData/ListResult_2_VO");
- model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MIN", commFirstDay());
- model.setValue("/root/formData/searchInfo/DEL_TO_DATE_MAX", commCurDate());
- //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MIN", commFirstDay());
- //model.setValue("/root/formData/searchInfo/ORD_PLAN_DATA_MAX", commCurDate());
- pageInit();
- model.duplicate("/root/formData", "/root/initData/rcvInfo/REG_ID");
- }
- function pageInit() {
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- model.setValue("/root/ORD_REM_WGT_SUM","");
- model.refresh();
- var datagrid = datagrid1;
- //datagrid.isReadOnly(0, 0, datagrid.rows-1, datagrid.cols-1) = true;
- datagrid.subtotal("clear", -1, 0);
- var rows = datagrid.rows;
- var colMin = datagrid.colRef("WGT_ACVAL_MIN");
- var colMax = datagrid.colRef("WGT_ACVAL_MAX");
- var colWgt = datagrid.colRef("SHIP_END_WGT");
- var ORDPROGCD = datagrid.colRef("ORD_PROG_CD");
- for (var i = datagrid.fixedRows; i < rows; i++)
- {
- var min = Number(datagrid.valueMatrix(i, colMin));
- var max = Number(datagrid.valueMatrix(i, colMax));
- var wgt = Number(datagrid.valueMatrix(i, colWgt));
- var ORDPROG = datagrid.valueMatrix(i, ORDPROGCD);
- if (wgt >= min && wgt < max && ORDPROG != "发货完成" && ORDPROG != "订单关闭")
- datagrid.rowStyle(i, "data", "background-color") = "#ffff99";
- }
- datagrid.subtotal("sum", -1, datagrid.colRef("ORD_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
- datagrid.subtotal("sum", -1, datagrid.colRef("ORD_REM_WGT"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("LG"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("LZ"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("ZG"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("PZ"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("JZ"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("ZH"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("DD"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("DDA"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("DDB"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("OVER_DATE_WGT"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("CALZADA_WGT"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("TRAIN_WGT"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_END_WGT"), "#,###", "background-color:#99ff99");
- datagrid.subtotal("sum", -1, datagrid.colRef("SHIP_REM_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
- }
- function find() {
- exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
- pageInit();
- //订单未生产量单独统计,不计算负数的值 TL 091111
- var nodeSet1 = datagrid1.nodeset;
- var ORD_REM_WGT_SUM = 0;
- var rows = datagrid1.rows;
- for(var i=1;i<datagrid1.rows;i++){
- var ORD_REM_WGT = model.getValue(nodeSet1+"["+i+"]/ORD_REM_WGT");
-
- if(ORD_REM_WGT < 0){
-
- }else{
- ORD_REM_WGT_SUM = Number(ORD_REM_WGT_SUM) + Number(ORD_REM_WGT);
- }
- }
-
- model.setValue("/root/ORD_REM_WGT_SUM",ORD_REM_WGT_SUM);
- model.refresh();
- }
- function save() {}
- function create() {}
- function remove() {}
- function excelExport() {
- return datagrid1;
- }
- function fowardUID010031(gridID) {
- if(gridID.col == gridID.colRef("INGR_YN")) {
- model.makeValue("/root/fwdData/UID010031/ORD_NO", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_NO")));
- model.makeValue("/root/fwdData/UID010031/ORD_SEQ", gridID.valueMatrix(gridID.row, gridID.colRef("ORD_SEQ")));
- model.makeValue("/root/fwdData/UID010031/URL", "../../B/B01/UIB015020.xrw");
- var java = window.parent.javaScript;
- java.open(model.instances(0).selectSingleNode("/root/fwdData/UID010031"));
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" guideline="1,544;" style="font-family:宋体; ">
- <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:125px; ">
- <line id="line2" style="x1:0px; y1:95px; x2:980px; y2:95px; "/>
- <caption id="caption1" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; ">合同号</caption>
- <input id="input1" ref="ORD_NO" maxlength="20" style="left:92px; top:5px; width:80px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/formData/searchInfo/ORD_SEQ", "");
- // var ordno = model.getValue("/root/formData/searchInfo/ORD_NO");
- // if (ordno.length == 12) {
- exec("/root/formData/searchInfo/ORD_NO", "", "seq", "/root/codeData/ORD_SEQ/ListResult_0_VO");
- // } else {
- // model.removenode("/root/codeData/ORD_SEQ/ListResult_0_VO");
- // }
- pageInit();
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="ORD_SEQ" appearance="minimal" editmode="search" style="left:174px; top:5px; width:45px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ORD_SEQ/ListResult_0_VO/ListResult_0_Row">
- <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>
- <caption id="caption2" class="cell" style="left:229px; top:5px; width:90px; height:20px; vertical-align:middle; ">产品类型</caption>
- <select1 id="combo2" ref="PRODNM_CD" visibility="hidden" appearance="minimal" style="left:355px; top:100px; width:110px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:441px; top:5px; width:90px; height:20px; vertical-align:middle; ">订单进度</caption>
- <input id="combo3" ref="ORD_PROG_CD" editable="false" inputtype="button" style="left:533px; top:5px; width:110px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox1.visible = (checkbox1.visible == false);
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell" style="left:653px; top:5px; width:90px; height:20px; vertical-align:middle; ">异常订单类型</caption>
- <select1 id="combo4" ref="ABNOR_ORD_CD" appearance="minimal" style="left:745px; top:5px; width:100px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='E01003' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="cell" style="left:0px; top:27px; width:90px; height:20px; vertical-align:middle; ">客户</caption>
- <caption id="caption6" class="cell" style="left:442px; top:73px; width:90px; height:20px; vertical-align:middle; ">钢号</caption>
- <select1 id="combo5" ref="CUST_CD" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:540px; top:105px; width:127px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_1_VO/ListResult_1_Row">
- <label ref="CUST_NM"/>
- <value ref="CUST_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption105" class="cell" style="left:441px; top:27px; width:90px; height:20px; ">订货区分</caption>
- <input id="combo105" ref="RCVORD_CLF" inputtype="button" appearance="minimal" style="left:533px; top:27px; width:111px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox2.visible = (checkbox2.visible == false);
- ]]>
- </script>
- </input>
- <select1 id="combo6" ref="/root/formData/searchInfo/CUST_STL_GRD" appearance="minimal" editmode="inputsearch" style="left:534px; top:73px; width:110px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_2_VO/ListResult_2_Row">
- <label ref="STL_GRD"/>
- <value ref="STL_GRD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="cell" style="left:653px; top:27px; width:90px; height:20px; vertical-align:middle; ">交货日期</caption>
- <input id="input2" ref="DEL_TO_DATE_MIN" inputtype="date" style="left:745px; top:27px; width:101px; height:20px; "/>
- <input id="input3" ref="DEL_TO_DATE_MAX" inputtype="date" style="left:848px; top:27px; width:105px; height:20px; "/>
- <button id="button5" class="sw" style="left:855px; top:5px; width:100px; height:20px; ">
- <caption>OS再整理</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chk = "";
- var ordno = "";
- var ordseq = "";
- // exec("/root/formData", "", "os", "/root/gridData/ListResult_0_VO");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeNode("/root/reqData/ORD_NO");
- model.makeNode("/root/reqData/ORD_SEQ");
- model.makeNode("/root/reqData/PGMID");
- model.makeNode("/root/reqData/REG_ID");
- for(var i = datagrid1.fixedRows;i< datagrid1.rows;i++){
- datagrid1.rowStatus(i) = 2;
- chk = datagrid1.valueMatrix(i,datagrid1.colRef("CHK"));
- ordno = datagrid1.valueMatrix(i,datagrid1.colRef("ORD_NO"));
- ordseq = datagrid1.valueMatrix(i,datagrid1.colRef("ORD_SEQ"));
- model.setValue("/root/reqData/ORD_NO",ordno);
- model.setValue("/root/reqData/ORD_SEQ",ordseq);
- commSubmit("UIE012020-service","os","glueAction.do");
-
- }
- //commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- //model.makeValue("/root/reqData/USER" , "AA");
- //alert(instance1.selectSingleNode("root/reqData").xml);
- //commSubmit("UIE012010-service","aaa","glueAction.do");
- model.refresh();
- find();
- pageInit();
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:745px; top:49px; width:101px; height:20px; "/>
- <caption id="caption8" class="cell" style="left:653px; top:49px; width:90px; height:20px; vertical-align:middle; ">订单预排期</caption>
- <input id="input5" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MAX" inputtype="date" style="left:848px; top:49px; width:105px; height:20px; "/>
- <caption id="caption9" class="cell" style="left:230px; top:50px; width:187px; height:20px; vertical-align:middle; ">订单未生产量(不包括负数量)</caption>
- <input id="input6" ref="/root/ORD_REM_WGT_SUM" editable="false" format="#,###" style="left:415px; top:50px; width:115px; height:20px; text-align:right; background-color:#c0c0c0; "/>
- <select1 id="combo7" ref="/root/formData/searchInfo/DLIV_TP" appearance="minimal" editmode="inputsearch" style="left:92px; top:50px; width:100px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>火运</label>
- <value>T</value>
- </item>
- <item>
- <label>汽运</label>
- <value>C</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell" style="left:0px; top:50px; width:90px; height:20px; ">运输方式</caption>
- <input id="input8" ref="/root/formData/searchInfo/ORD_WTH_FRM" style="left:92px; top:73px; width:58px; height:20px; text-align:right; "/>
- <input id="input9" ref="/root/formData/searchInfo/ORD_WTH_TO" style="left:162px; top:73px; width:58px; height:20px; text-align:right; "/>
- <caption id="caption15" class="cell" style="left:0px; top:73px; width:90px; height:20px; vertical-align:middle; ">订单宽度</caption>
- <caption id="caption18" style="left:149px; top:77px; width:20px; height:15px; ">~</caption>
- <input id="input7" ref="/root/formData/searchInfo/CUST_NM" style="left:92px; top:27px; width:128px; height:20px; "/>
- <input id="input10" ref="ORD_THK_FRM" style="left:323px; top:73px; width:47px; height:20px; text-align:right; "/>
- <input id="input11" ref="ORD_THK_TO" style="left:380px; top:73px; width:50px; height:20px; text-align:right; "/>
- <caption id="caption10" class="cell" style="left:231px; top:73px; width:90px; height:20px; vertical-align:middle; ">订单厚度</caption>
- <caption id="caption11" style="left:370px; top:75px; width:20px; height:15px; ">~</caption>
- <input id="input12" ref="XSQY" style="left:745px; top:71px; width:58px; height:20px; text-align:right; "/>
- <input id="input13" ref="DEST_PCD" style="left:905px; top:70px; width:58px; height:20px; text-align:right; "/>
- <caption id="caption16" class="cell" style="left:813px; top:70px; width:90px; height:20px; vertical-align:middle; ">到站</caption>
- <caption id="caption12" class="cell" style="left:653px; top:71px; width:90px; height:20px; vertical-align:middle; ">销售区域</caption>
- <caption id="caption13" class="cell" style="left:229px; top:28px; width:90px; height:20px; vertical-align:middle; ">产线</caption>
- <select1 id="combo8" ref="PROD_LINE" appearance="minimal" style="left:321px; top:28px; width:110px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'B01004' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption24" class="cell" visibility="visible" style="left:0px; top:100px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">锁定工序</caption>
- <select1 id="combo9" ref="/root/formData/searchInfo/ORD_PRC_LOCK" visibility="visible" appearance="minimal" style="left:95px; top:100px; width:125px; height:20px; ">
- <choices>
- <item>
- <label>全部</label>
- <value/>
- </item>
- <item>
- <label>热轧</label>
- <value>R</value>
- </item>
- <item>
- <label>生产处</label>
- <value>S</value>
- </item>
- <item>
- <label>冷轧</label>
- <value>L</value>
- </item>
- </choices>
- </select1>
- <button id="button1" visibility="hidden" style="left:695px; top:100px; width:100px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <input id="input14" ref="/root/formData/searchInfo/PRODNM_CD" inputtype="button" style="left:320px; top:5px; width:110px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox3.visible = (checkbox3.visible == false);
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="datagrid1" nodeset="/root/gridData/ListResult_0_VO/ListResult_0_Row" backcoloralternate="#F7F9F9" caption="选择^合同号^订单号^订单进度^订单来源^工序锁定^客户^运输方式^生产保留区分^订货区分^产品类型^是否平整^热轧交货状态^冷轧交货状态^炼钢钢号^热轧成品钢号^热轧标准号^冷轧成品牌号^冷轧标准号^订单用途^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^销售区域^到站^品质设计日期^订单预排期^热轧交货期^交货日期^订单重量^交付允许误差最小^交付允许误差最大^生产量^订单未生产量^冷轧转运量^炼钢^连铸^轧钢^精整^酸轧^连退^重卷^包装^平整^综合判定^发货等待^发货指示^发货作业^已发货重量^剩余发货量^订单备注^客户特殊要求^合同兑现率^超交货期量^火车交货^汽车交货^结束日期^钢卷颜色备注^交货状态^异常订单类型^炼钢完成时间^热轧完成时间^酸轧完成时间^连退完成时间^是否进保温坑^是否全部取样^紧急材|选择^合同号^订单号^订单进度^订单来源^工序锁定^客户^运输方式^生产保留区分^订货区分^产品类型^是否平整^热轧交货状态^冷轧交货状态^炼钢钢号^热轧成品钢号^热轧标准号^冷轧成品牌号^冷轧标准号^订单用途^订单厚度^订单宽度^订单长度^订单单重^单重下限^单重上限^销售区域^到站^品质设计日期^订单预排期^热轧交货期^交货日期^订单重量^交付允许误差最小^交付允许误差最大^生产量^订单未生产量^冷轧转运量^炼钢^连铸^轧钢^精整^酸轧^连退^重卷^包装^平整^综合判定^发货等待^发货指示^发货作业^已发货重量^剩余发货量^订单备注^客户特殊要求^合同兑现率^超交货期量^火车交货^汽车交货^结束日期^钢卷颜色备注^交货状态^异常订单类型^炼钢完成时间^热轧完成时间^酸轧完成时间^连退完成时间^是否进保温坑^是否全部取样^紧急材" colsep="^" colwidth="36, 80, 35, 60, 68, 100, 134, 100, 100, 71, 100, 34, 88, 100, 80, 116, 125, 100, 100, 100, 80, 80, 80, 80, 80, 80, 100, 79, 100, 100, 100, 100, 80, 80, 80, 100, 80, 100, 45, 46, 42, 43, 42, 41, 42, 41, 39, 52, 80, 83, 76, 80, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 66, 65, 62, 63, 100, 100, 100" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" subtotalposition="below" style="left:0px; top:125px; width:980px; height:485px; border-style:solid; border-right-style:sunken; ">
- <col checkvalue="Y,N" disabled="false" ref="CHK" type="checkbox"/>
- <col ref="ORD_NO" style="text-decoration:underline; color:#0000ff; cursor:hand; "/>
- <col ref="ORD_SEQ" style="text-decoration:underline; color:#0000ff; cursor:hand; "/>
- <col ref="ORD_PROG_CD" style="text-align:left; "/>
- <col ref="ISNEWPRODUCTS" style="text-align:left; "/>
- <col ref="ORD_PRC_LOCK" style="text-align:left; "/>
- <col ref="CUST_CD" style="text-align:left; "/>
- <col ref="DLIV_TP" style="text-align:left; "/>
- <col ref="PROD_HOLD_CD" style="text-align:left; "/>
- <col ref="RCVORD_CLF" style="text-align:left; "/>
- <col ref="PRD_TY"/>
- <col ref="YN_PING_ZHENG"/>
- <col ref="PRODNM_CD"/>
- <col ref="C_PRODNM_CD"/>
- <col ref="STL_GRD" style="text-align:left; "/>
- <col ref="H_SPEC_STL_GRD" style="text-align:left; "/>
- <col ref="SPEC_ABBSYM" style="text-align:left; "/>
- <col ref="C_SPEC_STL_GRD" style="text-align:left; "/>
- <col ref="C_SPEC_ABBSYM" style="text-align:left; "/>
- <col ref="ORD_USEAGE_CD" type="combo" visibility="hidden" style="text-align:left; "/>
- <col ref="ORD_THK" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_WTH" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_LEN" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_UNIT_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_UNIT_WGT_MIN" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_UNIT_WGT_MAX" format="#,###.#" style="text-align:right; "/>
- <col ref="XSQY"/>
- <col ref="DEST_PCD"/>
- <col ref="DSN_CMT_DATE"/>
- <col ref="ORD_PLAN_DATA" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="MILL_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="DEL_TO_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="ORD_WGT" format="#,###" style="text-align:right; "/>
- <col ref="WGT_ACVAL_MIN" format="#,###.#" style="text-align:right; "/>
- <col ref="WGT_ACVAL_MAX" format="#,###.#" style="text-align:right; "/>
- <col ref="SUM_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_REM_WGT" format="(-)#,###.#" style="text-align:right; "/>
- <col ref="HOT_ROLL_END_WGT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="LG" format="#,###.#" style="text-align:right; "/>
- <col ref="LZ" format="#,###.#" style="text-align:right; "/>
- <col ref="ZG" format="#,###.#" style="text-align:right; "/>
- <col ref="JZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="SZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="LT" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="CJ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="BZ" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="PZ" format="#,###.#" style="text-align:right; "/>
- <col ref="ZH" format="#,###.#" style="text-align:right; "/>
- <col ref="DD" visibility="hidden" format="#,###.#" style="text-align:right; "/>
- <col ref="DDA" format="#,###.#" style="text-align:right; "/>
- <col ref="DDB" format="#,###.#" style="text-align:right; "/>
- <col ref="SHIP_END_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="SHIP_REM_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="ORD_REMK"/>
- <col ref="INGR_YN" style="text-decoration:underline; color:#0000ff; cursor:hand; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fowardUID010031(datagrid1);
- ]]>
- </script>
- </col>
- <col ref="ORD_RATE" format="#,###.#" style="text-align:right; "/>
- <col ref="OVER_DATE_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="CALZADA_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="TRAIN_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="PROD_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="MK_COIL"/>
- <col ref="TRTMTH_TP"/>
- <col ref="ABNOR_ORD_CD" style="text-align:left; "/>
- <col ref="SMS_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="MILL_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="PLTCM_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="CAL_DUE_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="KEEPWARM_YN"/>
- <col ref="EACHLOT_YN"/>
- <col ref="EMGMTR_NMG_CLF"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var datagrid = datagrid1;
- if (!datagrid.isCell(event.target) || datagrid.row < datagrid.fixedRows ) return;
- var col = datagrid.col;
- var colNo = datagrid.colRef("ORD_NO");
- var colSeq = datagrid.colRef("ORD_SEQ");
- if (col != colNo && col != colSeq) return;
- var row = datagrid.row;
- colNo = datagrid.valueMatrix(row, colNo);
- colSeq = datagrid.valueMatrix(row, colSeq);
- if (colNo == "" || colSeq == "") return;
- model.setValue("/root/fwdData/UIE012020/ORD_NO", colNo);
- model.setValue("/root/fwdData/UIE012020/ORD_SEQ", colSeq);
- model.setValue("/root/fwdData/UIE012020/URL", "./UIE012020.xrw");
- var java = window.parent.javaScript;
- java.open(model.instances(0).selectSingleNode("/root/fwdData/UIE012020"));
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var datagrid = datagrid1;
- window.clipboardData = datagrid.valueMatrix(datagrid.row, datagrid.col);
- ]]>
- </script>
- </datagrid>
- <select id="checkbox1" ref="/root/formData/searchInfo/ORD_PROG_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:533px; top:25px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'E01001']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/formData/searchInfo/RCVORD_CLF" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:533px; top:48px; width:110px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD = 'A01001']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var target = event.target;
- var parent = event.pTarget.parent;
- var parent2 = null;
- if (parent != null) parent2 = parent.parent;
- if (target != "checkbox1" && target != "combo3"
- && parent != null && parent.attribute("id") != "checkbox1" && parent.attribute("id") != "combo3"
- && parent2 != null && parent2.attribute("id") != "checkbox1" && parent2.attribute("id") != "combo3")
- checkbox1.visible = false;
- if (target != "checkbox2" && target != "combo105"
- && parent != null && parent.attribute("id") != "checkbox2" && parent.attribute("id") != "combo105"
- && parent2 != null && parent2.attribute("id") != "checkbox2" && parent2.attribute("id") != "combo105")
- checkbox2.visible = false;
- ]]>
- </script>
- <select id="checkbox3" ref="/root/formData/searchInfo/PRODNM_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:320px; top:25px; width:105px; height:20px; background-color:#ffff99; border-color:#ff9900; border-width:1px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='A01004' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select>
- <button id="button7" visibility="visible" style="left:230px; top:100px; width:90px; height:20px; font-family:黑体; color:#3366ff; background-color:#ffffff; ">
- <caption>导出EXCEL</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //saveExcelScript(datagrid1, "Sheet1");
- if(datagrid1.rows<=2){
- window.alert("无数据源,请先查询.", "提示");
- return;
- }
-
-
- var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':1}]";
- var _cnt = datagrid1.selectedRows;
- commonOutExcel('datareport',datagrid1.caption,'/root/gridData/ListResult_0_VO','UIH090060-service',jsonMerges,'xls');
-
-
-
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|