| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <searchData>
- <STL_GRD>%</STL_GRD>
- <SLAB_MIN_WTH>0</SLAB_MIN_WTH>
- <SLAB_MAX_WTH>400</SLAB_MAX_WTH>
- <LINE_PROC_CD/>
- <SLAB_RT/>
- <INGR_DEC_GRD>%</INGR_DEC_GRD>
- <DEL_TO_DATE_YN>0</DEL_TO_DATE_YN>
- <CUT_FROM_DATE/>
- <CUT_TO_DATE/>
- <CC_DEVNO/>
- <CAST_NO/>
- <SLAB_NO/>
- <CHARGE_NO/>
- <ORD_NO/>
- <NO_ORD/>
- <NONORD_CAUSE_CD/>
- <SLAB_TOT_DEC_GRD/>
- <CJHQ>0</CJHQ>
- <SLAB_STAT/>
- <L2_SCH_NO/>
- <SLAB_THK_FRM>0</SLAB_THK_FRM>
- <SLAB_THK_TO>3000</SLAB_THK_TO>
- <SLAB_WTH_FRM>0</SLAB_WTH_FRM>
- <SLAB_WTH_TO>3000</SLAB_WTH_TO>
- </searchData>
- <grid/>
- <totalData>
- <slabCnt/>
- <slabWgt/>
- </totalData>
- <initData>
- <LG_CD>F01002,F01002,E01010,E01007,D01003,D01001,G04001,B01136</LG_CD>
- </initData>
- <codeData/>
- <combData/>
- </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");
- commSendReq("root/reqData");
- commSubmit("UIG04COMBOX-service","stlSch","glueAction.do");
- model.copyNode("/root/combData","/root/resData");
- model.refresh();
-
- var curDate = CurentDate();
- model.setValue("/root/searchData/CUT_FROM_DATE",curDate);
- model.setValue("/root/searchData/CUT_TO_DATE",curDate);
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript" src="../../js/G02.js"/>
- <script type="javascript">
- <![CDATA[
- function excelExport(){
- return datagrid1;
- }
- function find(){
- if(commDiffDay(input1.value,input2.value)>10)
- {
- window.alert("查询时间不能超过10天");
- return;
- }
- commSendReq("/root/searchData");
- commSubmit("UIG020900-service","find","glueAction.do");
- commAppendData("/root/grid/rs1_VO","/root/resData/rs1_VO");
- datagrid1.refresh();
-
- var slabCnt = 0;
- var slabWgt = 0;
- datagrid1.refresh();
- for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++){
- slabCnt = slabCnt + 1;
- slabWgt = slabWgt + parseFloat(datagrid1.valueMatrix(i,datagrid1.colRef("SLAB_WGT")));
-
- //成份不合格为QQ
- if(parseFloat(datagrid1.valueMatrix(i ,datagrid1.colRef("CJHQ"))) > 4)
- {
- datagrid1.cellStyle("background-color" , i ,datagrid1.colRef("SLAB_NO")) = "#ff0000";
- //成份不合格的情况在图型栏中给出红色提示
- }
- }
-
- model.setValue("/root/totalData/slabCnt",slabCnt);
- model.setValue("/root/totalData/slabWgt",slabWgt/1000);
- output1.refresh();
- output2.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <datagrid id="datagrid1" nodeset="/root/grid/rs1_VO/rs1_Row" caption="切割时间^浇次管理号^订单号^炉号^板坯号^在库时间^计划号^炼钢牌号^实际钢种^成品钢种^厚^宽^长^重量^称重重量^垛位^LF^RH^原钢种是否命中^交货期^生产工艺^生产工艺^判定时间^出库时间^计划炼钢时间^交货期^板坯流向^连铸机号^切割班组^表面检查结果^成分放行结果^成分内控结果^是否红送^下线原因^成分降级^炼钢非计划^余材原因|切割时间^浇次管理号^订单号^炉号^板坯号^在库时间^计划号^炼钢牌号^实际钢种^成品钢种^厚^宽^长^重量^称重重量^垛位^LF^RH^原钢种是否命中^交货期^生产工艺^生产工艺^判定时间^出库时间^计划炼钢时间^交货期^板坯流向^连铸机号^切割班组^表面检查结果^成分放行结果^成分内控结果^是否红送^下线原因^成分降级^炼钢非计划^余材原因" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 70, 100, 100, 50, 50, 100, 100, 100, 100, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:175px; width:960px; height:405px; ">
- <col editable="false" ref="SLAB_CUT_DTIME" format="yyyy-mm-dd hh:nn"/>
- <col editable="false" ref="CAST_NO"/>
- <col ref="ORD_NO"/>
- <col ref="CHARGE_NO" type="input"/>
- <col ref="SLAB_NO" type="input"/>
- <col ref="CJHQ"/>
- <col ref="L2_SCH_NO"/>
- <col ref="BEF_STL_GRD" type="input"/>
- <col ref="STL_GRD" type="input"/>
- <col ref="SPEC_STL_GRD" style="left:920px; top:41px; width:50px; height:21px; "/>
- <col editable="false" ref="SLAB_THK"/>
- <col editable="false" ref="SLAB_WTH"/>
- <col editable="false" ref="SLAB_LEN"/>
- <col editable="false" ref="SLAB_WGT"/>
- <col editable="false" ref="WEIGHT_WGT"/>
- <col ref="CUR_LOAD_LOC"/>
- <col editable="false" ref="LF"/>
- <col editable="false" ref="RH"/>
- <col editable="false" ref="SFMZ"/>
- <col editable="false" ref="L2_SENDBEGINDATE"/>
- <col editable="false" ref="LINE_PROC_CD" visibility="hidden"/>
- <col editable="false" ref="LINE_PROC_CD" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- <col ref="SLAB_INGR_DEC_DTIME" format="yyyy-mm-dd hh:nn"/>
- <col ref="SMS_YARD_EXT_DTIME"/>
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn"/>
- <col ref="DEL_TO_DATE" visibility="hidden"/>
- <col ref="SLAB_RT" type="combo">
- <choices>
- <item>
- <label>卷板</label>
- <value>H</value>
- </item>
- <item>
- <label>中板</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板</label>
- <value>P</value>
- </item>
- </choices>
- </col>
- <col ref="CC_DEVNO"/>
- <col ref="CUT_WKGROUP"/>
- <col ref="EXTSHAPE_GRD"/>
- <col ref="SLAB_INGR_DEC_KIND"/>
- <col ref="INGR_DEC_GRD"/>
- <col ref="HCR_CLF"/>
- <col ref="XXYY"/>
- <col ref="NOORDER2" visibility="hidden"/>
- <col ref="NOORDER"/>
- <col ref="NONORD_CAUSE_CD"/>
- </datagrid>
- <caption id="caption21" class="cell" style="left:0px; top:50px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">连铸号</caption>
- <input id="input2" ref="/root/searchData/CUT_TO_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:175px; top:25px; width:115px; height:20px; "/>
- <caption id="caption1" class="cell" style="left:0px; top:25px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">切割时间</caption>
- <input id="input1" ref="/root/searchData/CUT_FROM_DATE" class="input" inputtype="date" format="yyyy-mm-dd" style="left:60px; top:25px; width:115px; height:20px; "/>
- <caption id="caption2" class="cell" style="left:0px; top:0px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">超交货期</caption>
- <caption id="caption3" class="cell" style="left:0px; top:75px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">浇次号</caption>
- <caption id="caption4" class="cell" style="left:0px; top:100px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">合同号</caption>
- <caption id="caption5" class="cell" style="left:0px; top:150px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">板坯号</caption>
- <caption id="caption6" class="cell" style="left:0px; top:125px; width:60px; height:20px; font-weight:bold; border-color:#000000; ">炉次号</caption>
- <caption id="caption7" class="cell" style="left:340px; top:25px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">炼钢非计划</caption>
- <caption id="caption9" class="cell" style="left:340px; top:0px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">综合判定</caption>
- <caption id="caption10" class="cell" style="left:340px; top:50px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">余材原因</caption>
- <caption id="caption12" class="cell" style="left:340px; top:75px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">板坯流向</caption>
- <caption id="caption19" class="cell" style="left:635px; top:0px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">炼钢牌号</caption>
- <select1 id="combo1" ref="/root/searchData/STL_GRD" appearance="minimal" editmode="inputsearch" style="left:720px; top:0px; width:115px; height:20px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/combData/STL_GRD_SELECT_VO/STL_GRD_SELECT_Row">
- <label ref="FAC_STL_GRD"/>
- <value ref="FAC_CODE"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/searchData/SLAB_RT" appearance="minimal" editmode="inputsearch" style="left:410px; top:75px; width:115px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>卷板</label>
- <value>H</value>
- </item>
- <item>
- <label>中板</label>
- <value>Z</value>
- </item>
- <item>
- <label>厚板</label>
- <value>P</value>
- </item>
- <item>
- <label>-----</label>
- <value/>
- </item>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/searchData/CJHQ" appearance="minimal" editmode="inputsearch" style="left:60px; top:0px; width:115px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>是</label>
- <value>4</value>
- </item>
- <item>
- <label>--全部--</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/searchData/CAST_NO" style="left:60px; top:75px; width:115px; height:20px; "/>
- <input id="input5" ref="/root/searchData/ORD_NO" style="left:60px; top:100px; width:115px; height:20px; "/>
- <input id="input6" ref="/root/searchData/CHARGE_NO" style="left:60px; top:125px; width:115px; height:20px; "/>
- <input id="input7" ref="/root/searchData/SLAB_NO" style="left:60px; top:150px; width:115px; height:20px; "/>
- <select1 id="combo6" ref="/root/searchData/NO_ORD" appearance="minimal" editmode="inputsearch" style="left:410px; top:25px; width:115px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>是</label>
- <value>Y</value>
- </item>
- <item>
- <label>否</label>
- <value>N</value>
- </item>
- <item>
- <label>--全部--</label>
- <value>%</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo7" ref="/root/searchData/NONORD_CAUSE_CD" appearance="minimal" editmode="inputsearch" style="left:410px; top:50px; width:115px; height:20px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'E01010']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo20" ref="/root/searchData/SLAB_TOT_DEC_GRD" appearance="minimal" style="left:410px; top:0px; width:115px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'B01136' or LG_CD ='A']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="cell" style="left:820px; top:115px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">重量合计</caption>
- <caption id="caption11" style="left:805px; top:116px; width:20px; height:20px; font-weight:bold; ">块</caption>
- <caption id="caption13" style="left:945px; top:115px; width:20px; height:20px; font-weight:bold; ">吨</caption>
- <line id="line2" style="x1:755px; y1:135px; x2:815px; y2:135px; "/>
- <line id="line3" style="x1:865px; y1:135px; x2:945px; y2:135px; "/>
- <output id="output1" ref="/root/totalData/slabCnt" style="left:765px; top:115px; width:40px; height:20px; text-align:center; "/>
- <output id="output2" ref="/root/totalData/slabWgt" style="left:880px; top:115px; width:65px; height:20px; text-align:center; "/>
- <caption id="caption16" class="cell" style="left:705px; top:115px; width:60px; height:20px; font-weight:bold; background-color:#ffcc00; border-color:#000000; ">块数合计</caption>
- <caption id="caption17" class="cell" style="left:340px; top:100px; width:70px; height:20px; font-weight:bold; border-color:#000000; ">是否出库</caption>
- <select1 id="combo8" ref="/root/searchData/SLAB_STAT" appearance="minimal" editmode="inputsearch" style="left:410px; top:100px; width:115px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>出库</label>
- <value>3</value>
- </item>
- <item>
- <label>在库</label>
- <value>2</value>
- </item>
- <item>
- <label>---</label>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell" style="left:635px; top:25px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">计划号</caption>
- <input id="input8" ref="/root/searchData/L2_SCH_NO" style="left:720px; top:25px; width:115px; height:20px; "/>
- <input id="input9" ref="/root/searchData/SLAB_WTH_FRM" style="left:720px; top:75px; width:115px; height:20px; "/>
- <caption id="caption15" class="cell" style="left:635px; top:75px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">坯料宽度</caption>
- <caption id="caption18" class="cell" style="left:635px; top:50px; width:85px; height:20px; font-weight:bold; border-color:#000000; ">坯料厚度</caption>
- <input id="input10" ref="/root/searchData/SLAB_THK_FRM" style="left:720px; top:50px; width:115px; height:20px; "/>
- <input id="input11" ref="/root/searchData/SLAB_WTH_TO" style="left:845px; top:75px; width:115px; height:20px; "/>
- <input id="input12" ref="/root/searchData/SLAB_THK_TO" style="left:845px; top:50px; width:115px; height:20px; "/>
- <select1 id="combo2" ref="/root/searchData/CC_DEVNO" appearance="minimal" editmode="inputsearch" style="left:60px; top:50px; width:115px; height:20px; text-align:left; ">
- <choices>
- <item>
- <label>1#</label>
- <value>J1</value>
- </item>
- <item>
- <label>2#</label>
- <value>J2</value>
- </item>
- <item>
- <label>3#</label>
- <value>J3</value>
- </item>
- <item>
- <label>-----</label>
- <value/>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|