| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <?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[炼钢作业 >> 板坯库管理 >> 异常坯料处理(UIG040700)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <SLAB_NO/>
- <OPER_TYPE/>
- <SEARCH_TYPE>COMM</SEARCH_TYPE>
- <SLAB_RTURN/>
- <PLT_TRS_EMP_NM/>
- </formData>
- <gridData/>
- <MESSAGES/>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function find(){
- var searchType = model.getValue("/root/formData/SEARCH_TYPE");
- commSendReq("/root/formData");
- input2.value = model.getValue("/root/initData/rcvInfo/REG_ID");
- if(searchType == "COMM"){
- if(model.getValue("/root/formData/SLAB_NO") == ""){
- alert("板坯号不能为空!");
- return;
- }
- commSubmit("UIG040700-service","find","glueAction.do");
- }else if(searchType == "RAB"){
- commSubmit("UIG040700-service","RAB","glueAction.do");
- }else if(searchType == "RABERR"){
- commSubmit("UIG040700-service","RABERR","glueAction.do");
- }else if(searchType == "STATERR"){
- commSubmit("UIG040700-service","stat","glueAction.do");
- }
- commAppendData("/root/gridData/ERROR_SLAB_RES_VO","/root/resData/ERROR_SLAB_RES_VO");
-
- datagrid1.refresh();
- }
-
- function save(){
- if(model.getValue("/root/formData/OPER_TYPE") == ""){
- alert(" 操作方式不能为空! ");
- return;
- }
- var answer = window.alert(" 确定强制执行? " ,"Conform", 1 | 32);
- if (answer == "2") {return;}
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.duplicate("/root/reqData","/root/formData/PLT_TRS_EMP_NM");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");
- model.makeValue("/root/reqData/OPER_TYPE",model.getValue("/root/formData/OPER_TYPE"));
- model.makeValue("/root/reqData/SLAB_RTURN",model.getValue("/root/formData/SLAB_RTURN"));
- commSubmit("UIG040700-service","save","glueAction.do");
- model.setValue("/root/MESSAGES",model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row"));
- alert(model.getValue("/root/MESSAGES"));
- find();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <button id="button2" style="left:420px; top:7px; width:20px; height:20px; background-image:../../images/cal_next_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rightClick();
- ]]>
- </script>
- </button>
- <button id="button3" style="left:400px; top:7px; width:20px; height:20px; background-image:../../images/cal_pre_m.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- leftClick();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell" style="left:190px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">板坯号</caption>
- <input id="input1" ref="/root/formData/SLAB_NO" style="left:291px; top:5px; width:105px; height:20px; "/>
- <caption id="caption3" class="cell" style="left:0px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">查询方式</caption>
- <select1 id="combo2" ref="/root/formData/SEARCH_TYPE" appearance="minimal" style="left:101px; top:5px; width:85px; height:20px; ">
- <choices>
- <item>
- <label>精整待机</label>
- <value>RAB</value>
- </item>
- <item>
- <label>精整待机异常</label>
- <value>RABERR</value>
- </item>
- <item>
- <label>状态错误</label>
- <value>STATERR</value>
- </item>
- <item>
- <label>普通查询</label>
- <value>COMM</value>
- </item>
- </choices>
- </select1>
- <datagrid id="datagrid1" nodeset="/root/gridData/ERROR_SLAB_RES_VO/ERROR_SLAB_RES_Row" caption="选择^板坯号^钢号^存放位置^库存位置^板坯规格^板坯去向^成份等级^尺寸等级^坯料进程^坯料状态^轧制状态^订单区分^合同号^订单号^板坯去向|选择^板坯号^钢号^存放位置^库存位置^厚×宽×长(mm)^板坯去向^成份等级^尺寸等级^坯料进程^坯料状态^轧制状态^订单区分^合同号^订单号^板坯去向" colsep="^" colwidth="29, 86, 100, 100, 100, 142, 100, 49, 58, 104, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:980px; height:585px; ">
- <col checkvalue="Y,N" ref="CHK" type="checkbox"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="CUR_LOAD_LOC" type="input"/>
- <col editable="false" ref="YARD_ADDR" type="input"/>
- <col editable="false" ref="SLAB_SIZE" type="input"/>
- <col disabled="true" ref="SLAB_RT" type="combo">
- <choices>
- <item>
- <label>中板</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板</label>
- <value>P</value>
- </item>
- <item>
- <label>卷板</label>
- <value>H</value>
- </item>
- </choices>
- </col>
- <col disabled="true" editable="false" ref="SLAB_INGR_DEC_GRD" type="combo">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- <item>
- <label>化废</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="SLAB_SIZE_DEC_GRD" type="combo">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col disabled="true" editable="false" ref="CUR_PROG_CD" type="combo">
- <choices>
- <item>
- <label>精整作业待机</label>
- <value>RAB</value>
- </item>
- <item>
- <label>轧钢作业指示待机</label>
- <value>RBA</value>
- </item>
- <item>
- <label>加热炉入炉待机</label>
- <value>RBB</value>
- </item>
- <item>
- <label>钢卷卷取待机</label>
- <value>RCB</value>
- </item>
- <item>
- <label>板坯充当待机</label>
- <value>RRC</value>
- </item>
- <item>
- <label>中厚板板坯移送指示待机</label>
- <value>RGA</value>
- </item>
- <item>
- <label>中厚板板坯移送待机</label>
- <value>RGB</value>
- </item>
- <item>
- <label>中厚板板坯移送完成</label>
- <value>RGF</value>
- </item>
- </choices>
- </col>
- <col disabled="true" editable="false" ref="SLAB_STAT" type="combo">
- <choices>
- <item>
- <label>指示</label>
- <value>1</value>
- </item>
- <item>
- <label>坯料</label>
- <value>2</value>
- </item>
- <item>
- <label>结束</label>
- <value>3</value>
- </item>
- <item>
- <label>切废</label>
- <value>4</value>
- </item>
- <item>
- <label>转废钢库</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="MILL_SCH_STAT" type="combo">
- <choices>
- <item>
- <label>装炉</label>
- <value>A7T</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col disabled="true" editable="false" ref="ORD_FL" type="combo">
- <choices>
- <item>
- <label>订单材</label>
- <value>1</value>
- </item>
- <item>
- <label>余材</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="ORD_NO" type="input"/>
- <col editable="false" ref="ORD_SEQ" type="input"/>
- <col disabled="true" ref="SLAB_RT" type="combo">
- <choices>
- <item>
- <label>热轧厂</label>
- <value>H</value>
- </item>
- <item>
- <label>厚板厂</label>
- <value>P</value>
- </item>
- <item>
- <label>中板厂</label>
- <value>Z</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <select1 id="combo3" ref="/root/formData/OPER_TYPE" appearance="minimal" style="left:545px; top:5px; width:85px; height:20px; ">
- <choices>
- <item>
- <label>强制结束</label>
- <value>END</value>
- </item>
- <item>
- <label>强制退回</label>
- <value>BCK</value>
- </item>
- <item>
- <label>切废</label>
- <value>CHF</value>
- </item>
- <item>
- <label>转废钢库</label>
- <value>ZHK</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell" style="left:444px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">操作方式</caption>
- <select1 id="combo1" ref="/root/formData/SLAB_RTURN" appearance="minimal" style="left:740px; top:5px; width:85px; height:20px; ">
- <choices>
- <item>
- <label>是</label>
- <value>Y</value>
- </item>
- <item>
- <label>否</label>
- <value>N</value>
- </item>
- <item>
- <label>-----</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="cell" style="left:635px; top:5px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">热轧回退</caption>
- <input id="input2" ref="/root/formData/PLT_TRS_EMP_NM" visibility="hidden" style="left:850px; top:5px; width:65px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|