| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <?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[炼钢作业 >> 板坯库管理 >> 中厚板坯料充当(UIG040110) ]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- <LG_CD>E01015</LG_CD>
- </initData>
- <searchData>
- <STL_GRD>
- </STL_GRD>
- <MIN_SLAB_THK>0</MIN_SLAB_THK>
- <MAX_SLAB_THK>420</MAX_SLAB_THK>
- <MIN_SLAB_WTH>0</MIN_SLAB_WTH>
- <MAX_SLAB_WTH>20000</MAX_SLAB_WTH>
- <SLAB_NO/>
- <CF>Y</CF>
- <CC>Y</CC>
- <DZ>Y</DZ>
- <PH>Y</PH>
- <DSN_SLAB_NO/>
- <SUB_DSN_SLAB_NO/>
- <USER/>
- <CHARGE_NO/>
- <GD/>
- <CD/>
- <L2_SCH_NO/>
- </searchData>
- <formData/>
- <gridData>
- <gridUnorderSlab/>
- <gridSlabIns/>
- </gridData>
- <codeData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // commSendReq("/root/initData");
- // commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- // model.copyNode("/root/codeData","/root/resData");
- // model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/Common.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/dCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node) {
- // if (window.parent != null) {
- // var java = window.parent.javaScript;
- // var node = java.getInitDataNode();
- // if (node != null) {
- // copyNode(node, "/root/formData/searchInfo");
- // }
- // }
-
- if (typeof node == "undefined" && typeof node != "object") return;
- model.removenode("/root/initData/rcvInfo");
- model.makeNode("/root/initData/rcvInfo");
- var nodeList = node.childNodes;
- for (var i = 0; i < nodeList.length; i++)
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
-
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
- model.refresh();
- }
-
- function find(){
- input3.value = model.getValue("/root/initData/rcvInfo/REG_ID");
- commSendReq("/root/searchData");
- commSubmit("UIG040110-service","findUnorderSlabs","glueAction.do");
- commAppendData("/root/gridData/gridUnorderSlab/UNORDER_SLABS_VO","/root/resData/UNORDER_SLABS_VO");
- model.setValue("/root/searchData/SLAB_NO","");
- gridUnorderSlab.rebuild();
- model.refresh();
- check();
- }
-
- function save(){
-
- commSendReq("/root/searchData");
- model.duplicate("/root/searchData","/root/searchData/USER");
- commSubmit("UIG040110-service","saveSlabRep","glueAction.do");
- find();
- }
-
- function check(){
- model.setValue("/root/searchData/SLAB_NO",gridUnorderSlab.valueMatrix(gridUnorderSlab.row,gridUnorderSlab.colRef("SLAB_NO")));
- commSendReq("/root/searchData");
- commSubmit("UIG040110-service","findSlabIns","glueAction.do");
- commAppendData("/root/gridData/gridSlabIns/SLAB_INS_VO","/root/resData/SLAB_INS_VO");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" style="font-family:宋体; font-size:12pt; ">
- <group id="groupSearch" ref="/root/searchData" style="left:0px; top:0px; width:970px; height:35px; ">
- <caption id="cptStlGrd" class="cell" style="left:0px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">牌号</caption>
- <caption id="cptSlabThk" class="cell" style="left:125px; top:0px; width:71px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
- <caption id="cptSlabWth" class="cell" style="left:305px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯宽度</caption>
- <input id="inputStlGrd" ref="STL_GRD" style="left:60px; top:0px; width:60px; height:20px; "/>
- <input id="inputMinSlabThk" ref="MIN_SLAB_THK" style="left:365px; top:0px; width:50px; height:20px; "/>
- <input id="inputMaxSlabThk" ref="MAX_SLAB_THK" style="left:420px; top:0px; width:50px; height:20px; "/>
- <input id="inputMinSlabWth" ref="MIN_SLAB_WTH" style="left:185px; top:0px; width:50px; height:20px; "/>
- <input id="inputMaxSlabWth" ref="MAX_SLAB_WTH" style="left:240px; top:0px; width:50px; height:20px; "/>
- <select id="checkCF" ref="CF" overflow="visible" appearance="full" style="left:825px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>成份</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkCC" ref="CC" overflow="visible" appearance="full" style="left:870px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>尺寸</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkDZ" ref="DZ" overflow="visible" appearance="full" style="left:915px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>单重</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkPH" ref="PH" overflow="visible" appearance="full" style="left:780px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>牌号</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption1" class="cell" style="left:485px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">炉次号</caption>
- <input id="input1" ref="CHARGE_NO" style="left:545px; top:0px; width:70px; height:20px; "/>
- <select id="checkbox1" ref="CD" overflow="visible" appearance="full" style="left:675px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>充当</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(model.getValue("/root/searchData/CD") == "Y"){
- model.setValue("/root/searchData/GD","");
- model.setValue("/root/searchData/CF","Y");
- model.setValue("/root/searchData/PH","Y");
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="GD" overflow="visible" appearance="full" style="left:625px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>挂单</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/searchData/GD") == "Y"){
- model.setValue("/root/searchData/CD","");
- model.setValue("/root/searchData/CF","");
- model.setValue("/root/searchData/PH","");
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <input id="input3" ref="/root/searchData/USER" visibility="hidden" editable="false" style="left:730px; top:10px; width:40px; height:20px; "/>
- </group>
- <datagrid id="gridUnorderSlab" nodeset="/root/gridData/gridUnorderSlab/UNORDER_SLABS_VO/UNORDER_SLABS_Row" caption="选择^板坯号^牌号^板坯^板坯^板坯^板坯^板坯|选择^板坯号^牌号^厚度^宽度^长度^重量^垛位" colsep="^" colwidth="45, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" ref="/root/gridData/gridUnorderSlab" style="left:0px; top:35px; width:980px; height:270px; ">
- <col checkvalue="true,false" ref="CHK" type="radio"/>
- <col ref="SLAB_NO"/>
- <col ref="STL_GRD"/>
- <col ref="SLAB_THK"/>
- <col ref="SLAB_WTH"/>
- <col ref="SLAB_LEN"/>
- <col ref="SLAB_WGT"/>
- <col ref="CUR_LOAD_LOC"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- check();
- ]]>
- </script>
- </datagrid>
- <datagrid id="gridSlabIns" nodeset="/root/gridData/gridSlabIns/SLAB_INS_VO/SLAB_INS_Row" caption="选择^计划号^子坯计划号^板坯号^牌号^计划板坯信息^计划板坯信息^计划板坯信息^计划板坯信息^计划板坯信息|选择^计划号^子坯计划号^板坯号^牌号^厚度^宽度^长度^重量^caption5" colsep="^" colwidth="46, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:335px; width:980px; height:275px; ">
- <col checkvalue="true,false" ref="CHK" type="radio"/>
- <col ref="L2_SCH_NO"/>
- <col ref="SUB_DSN_SLAB_NO"/>
- <col ref="DSN_SLAB_NO"/>
- <col ref="FAC_STL_GRD"/>
- <col ref="SLAB_THK"/>
- <col ref="SLAB_WTH"/>
- <col ref="SLAB_LEN"/>
- <col ref="SLAB_WGT"/>
- <col/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/searchData/DSN_SLAB_NO",gridSlabIns.valueMatrix(gridSlabIns.row,gridSlabIns.colRef("DSN_SLAB_NO")));
- model.setValue("/root/searchData/SUB_DSN_SLAB_NO",gridSlabIns.valueMatrix(gridSlabIns.row,gridSlabIns.colRef("SUB_DSN_SLAB_NO")));
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="cell" style="left:0px; top:315px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">计划号</caption>
- <input id="input2" ref="/root/searchData/L2_SCH_NO" style="left:60px; top:315px; width:130px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|