| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526 |
- <?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,B01001</LG_CD>
- </searchInfo>
- </initData>
- <fwdData>
- <UIE012020>
- <URL/>
- <ORD_NO/>
- <ORD_SEQ/>
- </UIE012020>
- </fwdData>
- <codeData>
- <ORD_SEQ/>
- <REG_DTIME_MIN/>
- <REG_DTIME_MAX/>
- </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/>
- <SPEC_STL_GRD/>
- <KEEPWARM_YN/>
- <ORD_WTH_FRM/>
- <ORD_WTH_TO/>
- <ORD_THK_FRM/>
- <ORD_THK_TO/>
- <REG_DTIME_MIN/>
- <REG_DTIME_MAX/>
- <DEL_TO_DATE_YN/>
- <ORD_PROC_CD/>
- <PROCD_NM/>
- <ORD_PROCXX/>
- </searchInfo>
- </formData>
- <gridData>
- </gridData>
- <ORD_REM_WGT_SUM/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (window.parent == null) Init();
- ]]>
- </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 = "UID070010-service";
- var l =",{";
- 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("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("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() {
- if(model.getValue("/root/codeData/REG_DTIME_MIN") == "")
- {
- model.setValue("/root/formData/searchInfo/REG_DTIME_MIN","00000000");
- }
- else
- {
- model.setValue("/root/formData/searchInfo/REG_DTIME_MIN",model.getValue("/root/codeData/REG_DTIME_MIN"));
- }
- if(model.getValue("/root/codeData/REG_DTIME_MAX") == "")
- {
- model.setValue("/root/formData/searchInfo/REG_DTIME_MAX","99999999");
- }
- else
- {
- model.setValue("/root/formData/searchInfo/REG_DTIME_MAX",model.getValue("/root/codeData/REG_DTIME_MAX"));
- }
- //commSendReq("/root/formData/searchInfo");
- //commSubmit("UID070010-service", "find", "glueAction.do");
- //commAppendData("/root/datagrid1/DLIVInfo_VO","/root/resData/DLIVInfo_VO");
- exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
- //pageInit();
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- model.refresh();
- checkbox3.visible = false;
- //SUM_WGT
- datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_WGT"), "#,###", "background-color:#99ff99", 1, "汇总行");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_UNIT_WGT"), "#,###", "background-color:#99ff99");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("SUM_WGT"), "#,###", "background-color:#99ff99");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("DD"), "#,###", "background-color:#99ff99");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("ORD_REM_WGT"), "#,###", "background-color:#99ff99");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("SHIP_END_WGT"), "#,###", "background-color:#99ff99");
- datagrid1.subtotal("sum", -1, datagrid1.colRef("OVER_DATE_WGT"), "#,###", "background-color:#99ff99");
- var r =datagrid1.rows-1;
- l=l+"\"ORD_NO\":\"汇总行\",";
- l=l+"\"ORD_UNIT_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_UNIT_WGT"))+"\",";
- l=l+"\"SUM_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("SUM_WGT"))+"\",";
- l=l+"\"ORD_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_WGT"))+"\",";
- l=l+"\"ORD_REM_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("ORD_REM_WGT"))+"\",";
- l=l+"\"DD\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("DD"))+"\",";
- l=l+"\"SHIP_END_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("SHIP_END_WGT"))+"\",";
- l=l+"\"OVER_DATE_WGT\":\""+datagrid1.valueMatrix(r , datagrid1.colRef("OVER_DATE_WGT"))+"\"}]";
- }
- function save() {}
- function create() {}
- function remove() {}
-
- function saveExcelScript() {
- if(datagrid1.rows<=2){
- window.alert("无数据源,请先查询.", "提示");
- return;
- }
- //window.load("../../G/G10/_out.xrw", "modal", "", "left:350; top:240; width:400; height:220; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- var jsonMerges="[{'name':'y','x':0,'y':0,'cnt':2},{'name':'y','x':1,'y':0,'cnt':2},{'name':'y','x':2,'y':0,'cnt':2},{'name':'y','x':3,'y':0,'cnt':2},{'name':'y','x':4,'y':0,'cnt':2},{'name':'y','x':5,'y':0,'cnt':2},{'name':'y','x':6,'y':0,'cnt':2},{'name':'y','x':7,'y':0,'cnt':2},{'name':'y','x':8,'y':0,'cnt':2},{'name':'y','x':9,'y':0,'cnt':2},{'name':'y','x':10,'y':0,'cnt':2},{'name':'y','x':11,'y':0,'cnt':2},{'name':'y','x':12,'y':0,'cnt':2},{'name':'y','x':13,'y':0,'cnt':2},{'name':'y','x':14,'y':0,'cnt':2},{'name':'y','x':15,'y':0,'cnt':2},{'name':'y','x':16,'y':0,'cnt':2},{'name':'y','x':17,'y':0,'cnt':2},{'name':'y','x':18,'y':0,'cnt':2},{'name':'y','x':19,'y':0,'cnt':2},{'name':'y','x':20,'y':0,'cnt':2},{'name':'y','x':21,'y':0,'cnt':2},{'name':'y','x':22,'y':0,'cnt':2},{'name':'y','x':23,'y':0,'cnt':2},{'name':'y','x':24,'y':0,'cnt':2},{'name':'y','x':25,'y':0,'cnt':2},{'name':'y','x':26,'y':0,'cnt':2},{'name':'y','x':27,'y':0,'cnt':2},{'name':'y','x':28,'y':0,'cnt':2},{'name':'y','x':29,'y':0,'cnt':2},{'name':'y','x':30,'y':0,'cnt':2},{'name':'y','x':31,'y':0,'cnt':2},{'name':'y','x':32,'y':0,'cnt':2},{'name':'y','x':33,'y':0,'cnt':2},{'name':'x','x':34,'y':0,'cnt':2},{'name':'y','x':36,'y':0,'cnt':2},{'name':'y','x':37,'y':0,'cnt':2}]";
- var colRef = getVoColrefs("/root/gridData/ListResult_0_VO");
- var list = parseVoToStr("/root/gridData/ListResult_0_VO");//数据集
- list=list.substring(0,list.length-1);
- list = list + l;
- commonOuterExcel('UID070010',datagrid1.caption,colRef,list,'UIH090060-service',jsonMerges,'xls');
- }
- 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" style="font-family:宋体; ">
- <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:100px; ">
- <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="12" 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:223px; top:5px; width:90px; height:20px; vertical-align:middle; ">产品类型</caption>
- <select1 id="combo2" ref="PRODNM_CD" appearance="minimal" style="left:315px; top:5px; 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" visibility="hidden" style="left:960px; top:15px; width:90px; height:20px; vertical-align:middle; ">订单进度</caption>
- <input id="combo3" ref="ORD_PROG_CD" visibility="hidden" editable="false" inputtype="button" style="left:960px; top:40px; width:110px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox1.visible = (checkbox1.visible == false);
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell" visibility="hidden" style="left:960px; top:20px; width:90px; height:20px; vertical-align:middle; ">异常订单类型</caption>
- <select1 id="combo4" ref="ABNOR_ORD_CD" visibility="hidden" appearance="minimal" style="left:960px; top:30px; 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="caption6" class="cell" style="left:223px; top:27px; width:90px; height:20px; vertical-align:middle; ">厂内牌号</caption>
- <select1 id="combo5" ref="CUST_CD" visibility="hidden" appearance="minimal" editmode="inputsearch" style="left:960px; top:10px; 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:431px; top:5px; width:90px; height:20px; ">订货区分</caption>
- <input id="combo105" ref="RCVORD_CLF" inputtype="button" appearance="minimal" style="left:523px; top:5px; width:111px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox2.visible = (checkbox2.visible == false);
- ]]>
- </script>
- </input>
- <select1 id="combo6" ref="CUST_STL_GRD" appearance="minimal" editmode="search" style="left:315px; top:27px; 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:639px; top:5px; width:90px; height:20px; vertical-align:middle; ">交货日期</caption>
- <input id="input2" ref="DEL_TO_DATE_MIN" inputtype="date" style="left:731px; top:5px; width:101px; height:20px; "/>
- <input id="input3" ref="DEL_TO_DATE_MAX" inputtype="date" style="left:834px; top:5px; width:105px; height:20px; "/>
- <input id="input4" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:731px; top:27px; width:101px; height:20px; "/>
- <caption id="caption8" class="cell" style="left:639px; top:27px; width:90px; height:20px; vertical-align:middle; ">订单预排期</caption>
- <input id="input5" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MAX" inputtype="date" style="left:834px; top:27px; width:105px; height:20px; "/>
- <caption id="caption9" class="cell" visibility="hidden" style="left:960px; top:30px; width:187px; height:20px; vertical-align:middle; ">订单未生产量(不包括负数量)</caption>
- <input id="input6" ref="/root/ORD_REM_WGT_SUM" visibility="hidden" editable="false" format="#,###" style="left:960px; 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:27px; width:110px; 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:27px; width:90px; height:20px; border-color:#000000; ">运输方式</caption>
- <caption id="caption5" class="cell" visibility="hidden" style="left:960px; top:0px; width:90px; height:20px; vertical-align:middle; ">客户</caption>
- <caption id="caption10" class="cell" style="left:431px; top:27px; width:90px; height:20px; vertical-align:middle; ">成品牌号</caption>
- <input id="input7" ref="/root/formData/searchInfo/SPEC_STL_GRD" style="left:523px; top:27px; width:111px; height:20px; "/>
- <caption id="caption12" class="cell" style="left:0px; top:50px; width:90px; height:20px; vertical-align:middle; ">是否坑冷</caption>
- <caption id="caption13" class="cell" style="left:208px; top:50px; width:90px; height:20px; vertical-align:middle; ">订单厚度</caption>
- <caption id="caption15" class="cell" style="left:432px; top:50px; width:90px; height:20px; vertical-align:middle; ">订单宽度</caption>
- <select1 id="combo9" ref="/root/formData/searchInfo/KEEPWARM_YN" appearance="minimal" style="left:92px; top:50px; width:110px; height:20px; ">
- <choices>
- <item>
- <label>是</label>
- <value>Y</value>
- </item>
- <item>
- <label>否</label>
- <value>N</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select1>
- <input id="input8" ref="/root/formData/searchInfo/ORD_WTH_FRM" style="left:526px; top:50px; width:58px; height:20px; text-align:right; "/>
- <input id="input9" ref="/root/formData/searchInfo/ORD_WTH_TO" style="left:597px; top:50px; width:58px; height:20px; text-align:right; "/>
- <caption id="caption18" style="left:584px; top:55px; width:20px; height:15px; ">~</caption>
- <input id="input11" ref="/root/formData/searchInfo/ORD_THK_FRM" style="left:300px; top:50px; width:58px; height:20px; text-align:right; "/>
- <input id="input12" ref="/root/formData/searchInfo/ORD_THK_TO" style="left:371px; top:50px; width:58px; height:20px; text-align:right; "/>
- <caption id="caption16" style="left:358px; top:55px; width:20px; height:15px; ">~</caption>
- <caption id="caption11" class="cell" style="left:0px; top:73px; width:90px; height:20px; vertical-align:middle; ">品质设计时间</caption>
- <input id="input10" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:731px; top:27px; width:101px; height:20px; "/>
- <input id="input13" ref="/root/formData/searchInfo/ORD_PLAN_DATA_MIN" inputtype="date" style="left:92px; top:73px; width:101px; height:20px; "/>
- <input id="input14" ref="/root/codeData/REG_DTIME_MIN" inputtype="date" style="left:92px; top:73px; width:101px; height:20px; "/>
- <input id="input15" ref="/root/codeData/REG_DTIME_MAX" inputtype="date" style="left:195px; top:73px; width:105px; height:20px; "/>
- <caption id="caption17" class="cell" style="left:660px; top:50px; width:90px; height:20px; vertical-align:middle; ">是否超交货期</caption>
- <select1 id="combo8" ref="/root/formData/searchInfo/DEL_TO_DATE_YN" appearance="minimal" style="left:752px; top:50px; width:79px; height:20px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>是</label>
- <value>是</value>
- </item>
- <item>
- <label>否</label>
- <value>否</value>
- </item>
- </choices>
- </select1>
- <caption id="caption19" class="cell" style="left:310px; top:73px; width:100px; height:20px; ">订单进度</caption>
- <button id="button1" style="left:1008px; top:75px; width:50px; height:20px; ">
- <caption>FIND</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="cell" style="left:1088px; top:75px; width:50px; height:20px; vertical-align:middle; border-color:#000000; ">Export</caption>
- <button id="button2" style="left:1088px; top:75px; width:50px; height:20px; border-color:#000000; ">
- <caption>Export</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- saveExcelScript();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="cell" style="left:525px; top:73px; width:100px; height:20px; ">产品分类</caption>
- <select1 id="combo11" ref="/root/formData/searchInfo/PROCD_NM" appearance="minimal" showvalue="true" style="left:625px; top:73px; width:240px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/ListResult_0_VO/ListResult_0_Row[LG_CD='B01001' or LG_CD = 'A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <input id="input_outType" visibility="hidden" style="left:875px; top:70px; width:100px; height:20px; "/>
- <input id="input16" ref="/root/formData/searchInfo/ORD_PROC_CD" inputtype="button" style="left:409px; top:73px; width:100px; 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="80, 45, 74, 74, 60, 94, 79, 100, 100, 52, 88, 104, 82, 79, 100, 100, 89, 91, 100, 45, 80, 80, 80, 80, 80, 80, 77, 100, 74, 80, 80, 80, 80, 80, 80, 83, 100, 67, 56, 59, 69, 56" explorerbar="sortshow" extendlastcol="false" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="label" style="left:0px; top:100px; width:980px; height:520px; border-style:solid; border-right-style:sunken; ">
- <col ref="ORD_NO" style="text-align:left; "/>
- <col ref="ORD_SEQ" style="text-align:left; "/>
- <col ref="XSQY" style="text-align:left; "/>
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="ORD_PROG_CD" style="text-align:left; "/>
- <col ref="CUST_CD" style="text-align:left; "/>
- <col ref="DLIV_TP" style="text-align:left; "/>
- <col ref="RCVORD_CLF" style="text-align:left; "/>
- <col ref="PROD_NM" style="text-align:left; "/>
- <col ref="PRODNM_CD"/>
- <col ref="STL_GRD" style="text-align:left; "/>
- <col ref="SPEC_STL_GRD" style="text-align:left; "/>
- <col ref="SPEC_ABBSYM" style="text-align:left; "/>
- <col ref="SLAB_CUT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="E_SLAB_REP_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="E_COIL_REP_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="SLAB_STOCK_ENT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="EXTRACT_DTIME" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="PROD_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="KEEPWARM_YN"/>
- <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="ORD_PLAN_DATA" 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="SUM_WGT" format="#,###" style="text-align:right; "/>
- <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="ORD_REM_WGT" format="(-)#,###.#" style="text-align:right; "/>
- <col ref="DD" format="#,###.#" style="text-align:right; "/>
- <col ref="SHIP_END_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="OVER_DATE_WGT" format="#,###.#" style="text-align:right; "/>
- <col ref="SHIP_END_DATE" format="yyyy-mm-dd hh:nn:ss" mask="exclude"/>
- <col ref="DEL_TO_DATE_YN"/>
- <col visibility="hidden"/>
- <col visibility="hidden"/>
- <col visibility="hidden"/>
- <col visibility="hidden"/>
- </datagrid>
- <select id="checkbox1" ref="/root/formData/searchInfo/ORD_PROG_CD" visibility="hidden" overflow="visible" appearance="full" sep="," style="left:960px; top:15px; 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:525px; 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 = '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/ORD_PROCXX" visibility="hidden" overflow="visible" scroll="both" appearance="full" direction="downacross" style="left:409px; top:90px; width:100px; height:20px; background-color:#ffff99; border-width:1px; ">
- <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>
- <item>
- <label>生产进行</label>
- <value>,E</value>
- </item>
- <item>
- <label>生产保留</label>
- <value>,H</value>
- </item>
- <item>
- <label>生产完成</label>
- <value>,F</value>
- </item>
- <item>
- <label>发货完成</label>
- <value>,G</value>
- </item>
- <item>
- <label>订单完成</label>
- <value>,X</value>
- </item>
- <item>
- <label>订单取消</label>
- <value>,N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- input16.value = checkbox3.value.replace("," , "");
- model.refresh();
- ]]>
- </script>
- </select>
- </xhtml:body>
- </xhtml:html>
|