| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706 |
- <?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="">
- <initData>
- </initData>
- <datagrid1/>
- <formData>
- <no/>
- <seq/>
- <sd/>
- <changeFlag/>
- <PROG/>
- </formData>
- <info>
- <DesignRKeyResult_Row>
- </DesignRKeyResult_Row>
- </info>
- <query/>
- <findData>
- <no/>
- <seq/>
- <fac/>
- <ord/>
- </findData>
- <comboData>
- <ordNo/>
- <ordSeq/>
- <ordProcess/>
- </comboData>
- <resData/>
- <searchInfo/>
- <Cust>
- <CustInfoResult_Row/>
- </Cust>
- <grid>
- <datagrid1/>
- <datagrid2/>
- <datagrid3/>
- <datagrid4/>
- <datagrid5/>
- <datagrid6/>
- <datagrid7/>
- <datagrid8/>
- <datagrid9/>
- <datagrid10/>
- <datagrid11/>
- </grid>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/b01.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- var flag;
- var initFlag = 0;
- var viewFlag = "single";
- var ord;//区分订单为品质设计待机或者其他状态
- function InitParams(node)
- {
- if (typeof node != "object" || typeof node != "undefined") return;
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
- }
-
- function Init(node)
- {
- InitParams(node);
- if (window.parent != null) {
- var java = window.parent.javaScript;
- var node = java.getInitDataNode();
- if (node != null) {
- copyNode(node, "/root/searchInfo");
- model.setValue("/root/formData/no" , model.getValue("/root/searchInfo/ORD_NO"));
- model.setValue("/root/formData/seq" , model.getValue("/root/searchInfo/ORD_SEQ"));
- find();
- }
- }
- }
-
- function find()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- ord = model.getValue("/root/formData/PROG");
- if(ord=="A"){
- commSubmit("UIB015020-service", "findA", "glueAction.do");
- }
- else{
- commSubmit("UIB015020-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/info","/root/resData/DesignRKeyResult_VO");
- model.copyNode("/root/query","/root/resData/SelectResult_VO");
- model.copyNode("/root/Cust" , "/root/resData/CustInfoResult_VO");
-
- model.makeValue("/root/findData/ord",ord);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015020-service", "findD", "glueAction.do");
- }
- else{
- commSubmit("UIB015020-service", "findO", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid2" , "/root/resData/SingleResult_VO");
- model.removenode("/root/resData");
- model.refresh();
-
- setButtonColor();//设置button颜色,区分是否有特殊要求
- model.toggle("case2");
- }
-
- //设置颜色
- function setButtonColor()
- {
- button1.attribute("color") ="#000000";
- button2.attribute("color") ="#000000";
- button3.attribute("color") ="#000000";
- button4.attribute("color") ="#000000";
- button5.attribute("color") ="#000000";
- var ingr = model.getValue("/root/Cust/CustInfoResult_Row/INGR");
- var qlty = model.getValue("/root/Cust/CustInfoResult_Row/QLTY");
- var del = model.getValue("/root/Cust/CustInfoResult_Row/DEL");
- //交付条件
- if( del == "1")
- {
- button1.attribute("color") = "#0000ff";
- }
- else if(del == "X")
- {
- button1.attribute("color") = "#ff0000";
- }
-
- //成分
- if( ingr == "1")
- {
- button2.attribute("color") = "#0000ff";
- button5.attribute("color") = "#0000ff";
- }
- else if(ingr == "X")
- {
- button2.attribute("color") = "#ff0000";
- button5.attribute("color") = "#ff0000";
- }
-
- //材质特殊要求
- if( qlty == "1")
- {
- button4.attribute("color") = "#0000ff";
- }
- else if(qlty == "X")
- {
- button4.attribute("color") = "#ff0000";
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,980;">
- <caption id="caption2" class="cell" style="left:225px; top:5px; width:90px; height:20px; vertical-align:middle; border-style:solid; ">订单序号</caption>
- <caption id="caption4" class="cell" style="left:0px; top:5px; width:85px; height:20px; vertical-align:middle; border-style:solid; ">订单进程</caption>
- <line id="line1" style="x1:415px; y1:15px; x2:430px; y2:15px; "/>
- <button id="button1" class="sw" group="select" groupalign="user" style="left:0px; top:190px; width:100px; height:20px; ">
- <caption>交付条件</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015010-service", "findA", "glueAction.do");
- }
-
- else{
- commSubmit("UIB015010-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid1" , "/root/resData/ConditionResult_VO");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="sw" group="select" groupalign="user" selected="true" style="left:100px; top:190px; width:100px; height:20px; ">
- <caption>单一元素</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- model.makeValue("/root/findData/ord",ord);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015020-service", "findD", "glueAction.do");
- }
- else{
- commSubmit("UIB015020-service", "findO", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid2" , "/root/resData/SingleResult_VO");
- model.removenode("/root/resData");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="sw" group="select" groupalign="user" style="left:400px; top:190px; width:100px; height:20px; ">
- <caption>制造标准</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case5");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015050-service", "findA", "glueAction.do");
- }
-
- else{
- commSubmit("UIB015050-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid6" , "/root/resData/SMSResult_VO");
- model.copyNode("/root/grid/datagrid7" , "/root/resData/MILLResult_VO");
- model.copyNode("/root/grid/datagrid8" , "/root/resData/MILLINFOResult_VO");
- model.copyNode("/root/grid/datagrid9" , "/root/resData/ColdResult_VO");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="sw" group="select" groupalign="user" style="left:300px; top:190px; width:100px; height:20px; ">
- <caption>材质检查</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case4");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015040-service", "findA", "glueAction.do");
- }
-
- else{
- commSubmit("UIB015040-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid4" , "/root/resData/QltyResult_VO");
- model.copyNode("/root/grid/datagrid5" , "/root/resData/SMPResult_VO");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button11" class="sw" visibility="hidden" group="select" groupalign="user" style="left:500px; top:190px; width:100px; height:20px; ">
- <caption>生产规范</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case6");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015060-service", "findA", "glueAction.do");
- }
-
- else{
- commSubmit("UIB015060-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid11" , "/root/resData/ConditionResult_VO");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="sw" group="select" groupalign="user" style="left:200px; top:190px; width:100px; height:20px; ">
- <caption>复合元素</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(ord=="A"){
- commSubmit("UIB015030-service", "findA", "glueAction.do");
- }
- else{
- commSubmit("UIB015030-service", "findB", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid3" , "/root/resData/Complex_VO");
- model.removenode("/root/resData");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/formData/PROG" appearance="minimal" style="left:85px; top:5px; width:120px; height:20px; border-style:solid; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <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>F</value>
- </item>
- <item>
- <label>发货完成</label>
- <value>G</value>
- </item>
- <item>
- <label>生产保留</label>
- <value>H</value>
- </item>
- <item>
- <label>订单完成</label>
- <value>X</value>
- </item>
- <item>
- <label>订单取消</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- if(combo2.value == "A")
- {
- commSubmit("UIB015020-service", "findDSNORD", "glueAction.do");
- }
- else
- {
- commSubmit("UIB015020-service", "findord", "glueAction.do");
- }
- model.copyNode("/root/grid/datagrid10","/root/resData/ORDNOResult_VO");
- model.resetInstanceNode("/root/comboData/ordSeq");
- model.makeValue("/root/formData/seq","");
- model.makeValue("/root/formData/no","");
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line6" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
- <line id="line7" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
- <caption id="caption5" class="cell" style="left:0px; top:35px; width:980px; height:155px; vertical-align:middle; border-style:solid; "/>
- <caption id="caption12" class="cell" style="left:5px; top:65px; width:80px; height:20px; vertical-align:middle; ">订单交货期</caption>
- <caption id="caption14" class="cell" style="left:390px; top:65px; width:85px; height:20px; vertical-align:middle; ">热卷状态/牌号</caption>
- <caption id="caption6" class="cell" style="left:390px; top:140px; width:85px; height:20px; vertical-align:middle; ">热卷标准号</caption>
- <caption id="caption37" class="cell" style="left:5px; top:115px; width:80px; height:20px; vertical-align:middle; ">生产规范</caption>
- <caption id="caption38" class="cell" style="left:5px; top:90px; width:80px; height:20px; vertical-align:middle; ">客户参数号</caption>
- <caption id="caption7" class="cell" style="left:390px; top:40px; width:85px; height:20px; vertical-align:middle; ">热卷厚度/宽度</caption>
- <caption id="caption39" class="cell" style="left:5px; top:40px; width:80px; height:20px; vertical-align:middle; ">订单进程</caption>
- <caption id="caption8" class="cell" style="left:390px; top:90px; width:85px; height:20px; vertical-align:middle; ">热卷产品名称</caption>
- <caption id="caption9" class="cell" style="left:390px; top:115px; width:85px; height:20px; vertical-align:middle; ">热卷标准牌号</caption>
- <input id="input3" ref="root/info/DesignRKeyResult_Row/ORD_PROG_CD" editable="false" style="left:85px; top:40px; width:95px; height:20px; "/>
- <input id="input4" ref="root/info/DesignRKeyResult_Row/PRDNM_CD" editable="false" style="left:475px; top:65px; width:100px; height:20px; "/>
- <input id="input5" ref="root/info/DesignRKeyResult_Row/ORD_DEVLMT_DATE" editable="false" format="yyyy-mm-dd" style="left:85px; top:65px; width:95px; height:20px; "/>
- <input id="input6" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO" editable="false" style="left:85px; top:90px; width:70px; height:20px; "/>
- <input id="input7" ref="root/info/DesignRKeyResult_Row/SPEC_STL_GRD" editable="false" style="left:475px; top:115px; width:205px; height:20px; "/>
- <input id="input8" ref="root/info/DesignRKeyResult_Row/SPEC_ABBSYM" editable="false" style="left:475px; top:140px; width:205px; height:20px; "/>
- <input id="input9" ref="root/info/DesignRKeyResult_Row/ORD_USE_TP" editable="false" style="left:475px; top:90px; width:205px; height:20px; "/>
- <input id="input10" ref="root/info/DesignRKeyResult_Row/ORD_THK" editable="false" style="left:475px; top:40px; width:99px; height:20px; "/>
- <input id="input11" ref="root/info/DesignRKeyResult_Row/ORD_WTH" editable="false" style="left:585px; top:40px; width:96px; height:20px; "/>
- <input id="input16" ref="root/info/DesignRKeyResult_Row/SMS_STD_NO" editable="false" style="left:85px; top:115px; width:95px; height:20px; "/>
- <input id="input17" ref="root/info/DesignRKeyResult_Row/MILL_STD_NO" editable="false" style="left:195px; top:115px; width:85px; height:20px; "/>
- <input id="input18" ref="root/info/DesignRKeyResult_Row/FAC_STL_GRD" editable="false" style="left:585px; top:65px; width:95px; height:20px; "/>
- <line id="line2" style="x1:575px; y1:50px; x2:586px; y2:50px; "/>
- <line id="line5" style="x1:185px; y1:125px; x2:195px; y2:125px; "/>
- <switch id="switch1" style="left:0px; top:210px; width:980px; height:405px; ">
- <case id="case1">
- <datagrid id="datagrid1" nodeset="/root/grid/datagrid1/ConditionResult_Row" caption="交付条件公差^客户(热轧)^客户(热轧)^客户(热轧)^标准(热轧)^标准(热轧)^标准(热轧)^客户(冷轧)^客户(冷轧)^客户(冷轧)^标准(冷轧)^标准(冷轧)^标准(冷轧)^Type 说明|交付条件公差^最小^最大^单位^最小^最大^单位^最小 ^最大^单位^最小 ^最大^单位^Type 说明" colsep="^" colwidth="142, 74, 70, 65, 70, 68, 66, 73, 71, 63, 69, 68, 100" defaultrows="20" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:976px; height:400px; border-style:solid; ">
- <col editable="false" ref="LABEL" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="UNIT1" visibility="hidden" style="text-align:left; "/>
- <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="UNIT2" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col ref="MIN4"/>
- <col ref="MAX4"/>
- <col ref="UNIT4"/>
- <col ref="MIN3"/>
- <col ref="MAX3"/>
- <col ref="UNIT3"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //alert(datagrid1.row);
- if(datagrid1.row == "4"||datagrid1.row == "5"||datagrid1.row == "6")
- {
- //alert(1);
- datagrid1.colAttribute(1,"editable")= "false";
-
- }
- if(datagrid1.row == "2"||datagrid1.row == "3")
- {
- //alert(1);
- datagrid1.colAttribute(1,"editable")= "true";
-
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid2" nodeset="/root/grid/datagrid2/SingleResult_Row" caption="元素名^内控^内控^成品放行^成品放行^成品放行^炼钢放行^炼钢放行^炼钢放行^冷轧客户要求^冷轧客户要求^冷轧成品放行^冷轧成品放行^冷轧成品放行^上限
|元素名^最小^最大^最小^最大^类型^目标^最小^最大^最小^最大^最小^最大^类型^符号" colsep="^" colwidth="123, 67, 52, 70, 64, 53, 59, 53, 76, 69, 61, 64, 76, 100" defaultrows="40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:5px; width:977px; height:395px; border-style:solid; ">
- <col editable="false" ref="CHEM_CD" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="CHEM_DEC_CD2"/>
- <col editable="false" ref="AIM3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MIN3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="MIN5"/>
- <col ref="MAX5"/>
- <col ref="MIN4"/>
- <col ref="MAX4"/>
- <col ref="CHEM_DEC_CD4"/>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if(model.getValue("/root/findData/ord") != "A"){
- event.preventDefault();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="datagrid3" nodeset="/root/grid/datagrid3/Complex_Row" caption="复合元素^复合元素计算式^内控^内控^成品放行^成品放行^成品放行^炼钢放行^炼钢放行^炼钢放行^冷轧特殊要求^冷轧特殊要求^冷轧成品放行^冷轧成品放行^冷轧成品放行|复合元素^复合元素计算式^最小^最大^最小^最大^类型^目标^最小^最大^最小^最大^最小^最大^类型" colsep="^" colwidth="72, 160, 52, 59, 55, 51, 65, 56, 49, 57, 70, 60, 62, 58, 58" defaultrows="40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:0px; width:977px; height:400px; border-style:solid; ">
- <col editable="false" ref="COMP_DETAIL" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="COMP_CAL" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="CHEM_DEC_CD2"/>
- <col editable="false" ref="AIM3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MIN3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX3" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="MIN5"/>
- <col ref="MAX5"/>
- <col ref="MIN4"/>
- <col ref="MAX4"/>
- <col ref="CHEM_DEC_CD4"/>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="datagrid4" nodeset="/root/grid/datagrid4/QltyResult_Row" caption="材质代码^材质项目^热轧客户要求^热轧客户要求^热轧客户要求^热轧标准^热轧标准^热轧标准^冷轧客户要求^冷轧客户要求^冷轧客户要求^冷轧标准^冷轧标准^冷轧标准|材质代码^材质项目^最小^最大^检验类型^最小^最大^检验类型^最小^最大^检验类型^最小^最大^检验类型" colsep="^" colwidth="63, 185, 63, 58, 55, 60, 54, 59, 58, 53, 56, 69, 59, 61" defaultrows="30" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:980px; height:285px; border-style:solid; ">
- <col editable="false" ref="QLTY_CD" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="QLTY_CD_CFNM" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="MIN1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="QLTY_DEC_CD1"/>
- <col editable="false" ref="MIN2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MAX2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="QLTY_DEC_CD2"/>
- <col ref="MIN5"/>
- <col ref="MAX5"/>
- <col ref="QLTY_DEC_CD5"/>
- <col ref="MIN4"/>
- <col ref="MAX4"/>
- <col ref="QLTY_DEC_CD4"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var QLTY_MIN_TP = datagrid1.valueMatrix(datagrid1.row,10);
- var QLTY_MAX_TP = datagrid1.valueMatrix(datagrid1.row,11);
- if(QLTY_MIN_TP == "Y")
- {
- datagrid1.colAttribute(1,"editable")= "true";
-
- }
- else
- {
- datagrid1.colAttribute(1,"editable")= "false";
- }
- if(QLTY_MAX_TP == "Y")
- {
- datagrid1.colAttribute(2,"editable")= "true";
-
- }
- else
- {
- datagrid1.colAttribute(2,"editable")= "false";
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid1.col == 4)
- {
- var QLTY_TYPE_TP = datagrid1.valueMatrix(datagrid1.row,12);
- if(QLTY_TYPE_TP == "Y"){
- }
- else{
- datagrid1.valueMatrix(datagrid1.row,4) = "";
- alert("该材质项目不允许输入材质类型");
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption18" class="cell" visibility="visible" style="left:5px; top:295px; width:146px; height:25px; vertical-align:middle; border-style:solid; ">采样方法</caption>
- <datagrid id="datagrid5" nodeset="/root/grid/datagrid5/SMPResult_Row" caption="热轧取样^热轧取样^热轧取样^冷轧取样^冷轧取样^冷轧取样|取样LOT^长度方向位置^宽度方向位置^取样LOT^长度方向位置^宽度方向位置" colsep="^" colwidth="150, 150, 150, 150, 150, 150" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:320px; width:970px; height:65px; ">
- <col ref="SMP_LOT_CD"/>
- <col ref="SMP_LEN_LOC"/>
- <col ref="SMP_WTH_LOC"/>
- <col ref="SMP_LOT_CD1"/>
- <col ref="SMP_LEN_LOC1"/>
- <col ref="SMP_WTH_LOC1"/>
- </datagrid>
- </case>
- <case id="case5" selected="true">
- <datagrid id="datagrid7" nodeset="/root/grid/datagrid7/MILLResult_Row" caption="区分^探伤^平整分卷^涂油^交货状态^特别管理 MSG 1^特别管理 MSG 2" colsep="^" colwidth="125, 135, 135, 135, 135, 135, 134" defaultrows="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:80px; width:980px; height:44px; ">
- <col/>
- <col editable="false" ref="UST_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SPM_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="OIL_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="MET_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SPECIALMGMT_MSG1" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SPECIALMGMT_MSG2" style="text-align:left; background-color:#ffffff; "/>
- </datagrid>
- <datagrid id="datagrid8" nodeset="/root/grid/datagrid8/MILLINFOResult_Row" caption="区分^厚度^厚度^厚度^厚度^宽度^宽度^宽度|区分^厚度目标^热轧 厚度目标^热轧 厚度下限^热轧 厚度上限^宽度目标^宽度下限^宽度上限" colsep="^" colwidth="125, 100, 101, 109, 109, 150, 132, 121" defaultrows="3" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:160px; width:980px; height:64px; ">
- <col/>
- <col editable="false" ref="THK_AIM" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="HOT_THK_AIM" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="HOT_THK_MIN" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="HOT_THK_MAX" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="WTH_AIM" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="WTH_MIN" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="WTH_MAX" style="text-align:left; background-color:#ffffff; "/>
- </datagrid>
- <caption id="caption15" class="cell" visibility="visible" style="left:0px; top:102px; width:127px; height:21px; vertical-align:middle; ">轧钢制造标准</caption>
- <caption id="caption16" class="cell" visibility="visible" style="left:0px; top:201px; width:127px; height:22px; vertical-align:middle; ">热轧制造标准</caption>
- <caption id="caption17" class="cell" visibility="visible" style="left:0px; top:21px; width:125px; height:21px; vertical-align:middle; ">炼钢制造标准</caption>
- <datagrid id="datagrid6" nodeset="/root/grid/datagrid6/SMSResult_Row" scroll="autovscroll" caption="区分^CAS指定^LF指定^RH指定^板坯修整指定^板坯修整方法^是否冷装^保温指定" colsep="^" colwidth="125, 100, 111, 115, 99, 130, 150, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:980px; height:44px; ">
- <col/>
- <col editable="false" ref="CAS_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="LF_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="RH_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SF_DEF" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SF_METHOD" style="text-align:left; background-color:#ffffff; "/>
- <col disabled="true" editable="false" ref="SMS_HCR_DEF" type="combo" style="text-align:left; background-color:#ffffff; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>Y</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="SMS_7_DEF" style="text-align:left; background-color:#ffffff; "/>
- </datagrid>
- <caption id="caption19" class="cell" visibility="visible" style="left:0px; top:22px; width:126px; height:21px; vertical-align:middle; ">炼钢制造标准</caption>
- <datagrid id="datagrid9" nodeset="/root/grid/datagrid9/ColdResult_Row" caption="区分^酸洗^酸轧^退火^镀锌^涂层^重卷^平整^工序路径" colsep="^" colwidth="125, 102, 86, 86, 87, 89, 91, 103, 100" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" style="left:0px; top:245px; width:980px; height:55px; ">
- <col/>
- <col ref="ONLY_WASH"/>
- <col ref="PICK_TP"/>
- <col ref="ANNE_TP"/>
- <col ref="GALV_TP"/>
- <col ref="COAT_TP"/>
- <col ref="REWG_TP"/>
- <col ref="C_SPM_TP"/>
- <col ref="ACID_PROD_PATH"/>
- </datagrid>
- <caption id="caption1" class="cell" visibility="visible" style="left:0px; top:275px; width:127px; height:22px; vertical-align:middle; ">冷轧制造标准</caption>
- </case>
- <case id="case6">
- <datagrid id="datagrid11" nodeset="/root/grid/datagrid11/ConditionResult_Row" caption="生产规范类型^生产规范代码^中文名称^判定符号^值^备注" colsep="^" colwidth="100, 100, 120, 80, 90, 120," defaultrows="30" mergecellsfixedrows="bycolrec" style="left:0px; top:0px; width:976px; height:400px; border-style:solid; ">
- <col editable="false" ref="PROD_TYPE" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_CD" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_CD_CFNM" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="DCS_SYM" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_VAL" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MEMO" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_VAL_EXP1" visibility="hidden" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_VAL_EXP2" visibility="hidden" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="PROD_VAL_EXP3" visibility="hidden" style="text-align:right; background-color:#ffffff; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //alert(datagrid1.row);
- /*
- if(datagrid11.row == "4"||datagrid11.row == "5"||datagrid11.row == "6")
- {
- //alert(1);
- datagrid11.colAttribute(1,"editable")= "false";
-
- }
- if(datagrid11.row == "2"||datagrid11.row == "3")
- {
- //alert(1);
- datagrid11.colAttribute(1,"editable")= "true";
-
- }
- */
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <caption id="caption20" class="cell" style="left:5px; top:140px; width:80px; height:20px; vertical-align:middle; ">客户名称</caption>
- <input id="input19" ref="root/info/DesignRKeyResult_Row/CUST_NM" editable="false" style="left:85px; top:140px; width:290px; height:20px; "/>
- <caption id="caption21" class="cell" style="left:205px; top:40px; width:80px; height:20px; vertical-align:middle; ">生产线</caption>
- <input id="input20" ref="root/info/DesignRKeyResult_Row/PROD_LINE" editable="false" style="left:285px; top:40px; width:90px; height:20px; "/>
- <caption id="caption22" class="cell" style="left:205px; top:65px; width:80px; height:20px; vertical-align:middle; ">设计日期</caption>
- <input id="input21" ref="root/info/DesignRKeyResult_Row/DSN_CMT_DATE" editable="false" format="yyyy-mm-dd" style="left:285px; top:65px; width:90px; height:20px; "/>
- <input id="input1" ref="root/info/DesignRKeyResult_Row/COLD_STD_NO" editable="false" style="left:290px; top:115px; width:85px; height:20px; "/>
- <input id="input2" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_INGR" editable="false" style="left:160px; top:90px; width:65px; height:20px; "/>
- <input id="input22" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_QLTY" editable="false" style="left:230px; top:90px; width:70px; height:20px; "/>
- <input id="input23" ref="root/info/DesignRKeyResult_Row/CUST_SPEC_NO_DEL" editable="false" style="left:305px; top:90px; width:70px; height:20px; "/>
- <line id="line9" style="x1:575px; y1:75px; x2:586px; y2:75px; "/>
- <caption id="caption3" class="cell" style="left:700px; top:40px; width:85px; height:20px; vertical-align:middle; ">冷卷厚度/宽度</caption>
- <input id="input12" ref="root/info/DesignRKeyResult_Row/C_ORD_THK" editable="false" style="left:785px; top:40px; width:85px; height:20px; "/>
- <input id="input13" ref="root/info/DesignRKeyResult_Row/C_ORD_WTH" editable="false" style="left:880px; top:40px; width:90px; height:20px; "/>
- <line id="line3" style="x1:870px; y1:50px; x2:881px; y2:50px; "/>
- <caption id="caption10" class="cell" style="left:700px; top:65px; width:85px; height:20px; vertical-align:middle; ">冷卷交货状态</caption>
- <caption id="caption11" class="cell" style="left:700px; top:90px; width:85px; height:20px; vertical-align:middle; ">冷卷产品名称</caption>
- <caption id="caption13" class="cell" style="left:700px; top:115px; width:85px; height:20px; vertical-align:middle; ">冷卷标准牌号</caption>
- <caption id="caption23" class="cell" style="left:700px; top:140px; width:85px; height:20px; vertical-align:middle; ">冷卷标准号</caption>
- <line id="line4" style="x1:280px; y1:125px; x2:290px; y2:125px; "/>
- <input id="input14" ref="root/info/DesignRKeyResult_Row/C_PRDNM_CD" editable="false" style="left:785px; top:65px; width:185px; height:20px; "/>
- <input id="input15" ref="root/info/DesignRKeyResult_Row/C_ORD_USE_TP" editable="false" style="left:785px; top:90px; width:185px; height:20px; "/>
- <input id="input24" ref="root/info/DesignRKeyResult_Row/C_SPEC_STL_GRD" editable="false" style="left:785px; top:115px; width:185px; height:20px; "/>
- <input id="input25" ref="root/info/DesignRKeyResult_Row/C_SPEC_ABBSYM" editable="false" style="left:785px; top:140px; width:185px; height:20px; "/>
- <input id="input26" ref="/root/formData/no" style="left:315px; top:5px; width:100px; height:20px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- {
- if(combo2.value =="A" ||combo2.value == "C")
- return;
- model.setFocus("");
- model.removenode("/root/reqData");
- model.makeValue("/root/reqData/ORDNO" , input26.value);
- commSubmit("UIB015020-service", "findOrdLike", "glueAction.do");
- model.copyNode("/root/grid/datagrid10","/root/resData/ORDNOResult_VO");
- model.refresh();
-
- datagrid10.visible = true;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- datagrid10.visible = !datagrid10.visible;
- ]]>
- </script>
- </input>
- <input id="input27" ref="/root/formData/seq" style="left:430px; top:5px; width:55px; height:20px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("");
- find();
- datagrid10.visible = false;
- }
- ]]>
- </script>
- </input>
- <datagrid id="datagrid10" nodeset="/root/grid/datagrid10/ORDNOResult_Row" visibility="hidden" caption="合同号^订单号" colsep="^" colwidth="79, 46" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:315px; top:25px; width:190px; height:165px; ">
- <col ref="ORD_NO" style="text-align:left; "/>
- <col ref="ORD_SEQ" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(datagrid10.row >= datagrid10.fixedRows
- && datagrid10.col == datagrid10.colRef("ORD_NO") )
- {
- input26.value = datagrid10.valueMatrix(datagrid10.row , datagrid10.colRef("ORD_NO"));
- input27.value = datagrid10.valueMatrix(datagrid10.row , datagrid10.colRef("ORD_SEQ"));
- datagrid10.col = datagrid10.colRef("ORD_SEQ");
- find();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption24" class="cell" style="left:5px; top:165px; width:80px; height:20px; vertical-align:middle; ">是否切边</caption>
- <input id="input28" ref="root/info/DesignRKeyResult_Row/EDGE_PROC_YN" editable="false" style="left:85px; top:165px; width:100px; height:20px; "/>
- <caption id="caption25" visibility="hidden" style="left:190px; top:165px; width:146px; height:20px; ">切边时热轧宽度已增加40mm</caption>
- </xhtml:body>
- </xhtml:html>
|