| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631 |
- <?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[热轧作业>>热轧作业实绩>>轧钢实绩登录与查询(UIH020030)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <COIL_NO/>
- <SLAB_NO/>
- <WK_SHIFT/>
- <WK_GROUP/>
- <OLD_SAMPL_NO/>
- <CHKUPD>1</CHKUPD>
- </formData>
- <gridData>
- <grid1/>
- <grid2/>
- <grid3/>
- <grid4/>
- <grid5/>
- <grid6/>
- <grid7/>
- </gridData>
- <initData>
- <INIT_COIL_NO/>
- <INIT_GROUP/>
- <INIT_SHIFT/>
- <INIT_EMP_NO/>
- <INIT_MISSNO_CLF_NO/>
- </initData>
- <resData/>
- <reqData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //不初始化
- //initPage();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- function Init(node) {
- InitParams(node);
- }
- //调用公共的初始化方法获得登录用户名
- function InitParams(node) {
- if (typeof node == "undefined" && typeof node != "object") return;
- model.removenode("/root/initData/rcvInfo");
- model.makeNode("/root/initData/rcvInfo");
- var nodeList = node.childNodes;
- node = model.instances(0).selectSingleNode("/root/initData/rcvInfo");
- for (var i = 0; i < nodeList.length; i++)
- node.appendChild(nodeList.item(i));
- }
- /*
- *查询函数
- */
- function find()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- model.removenode("/root/initData/INIT_MISSNO_CLF_NO");
- model.makeNode("/root/initData/INIT_MISSNO_CLF_NO");
-
- //这里改钢卷号为可以输入的选项,所以不能为空
- var coil_no = model.getValue("/root/formData/COIL_NO");
-
- model.duplicate("/root/reqData","/root/formData/COIL_NO");
- model.duplicate("/root/reqData","/root/formData/OLD_SAMPL_NO");
- model.duplicate("/root/reqData","/root/formData/SLAB_NO");
-
- commSubmit("UIH020030-service","find","glueAction.do");
-
- // 班组,作业人员信息下拉框赋值
- commAppendData("/root/initData/INIT_GROUP/GroupResult_VO","/root/resData/GroupResult_VO");
- commAppendData("/root/initData/INIT_SHIFT/ShiftResult_VO","/root/resData/ShiftResult_VO");
-
-
- var testnode = instance1.selectSingleNode("/root/resData/SearchCoilSpecResult_VO");
- var len = testnode.childNodes.length;
- // 如果查询的值为空,给每个表格赋一个空节点,便于输入数据,进行插入操作
- if(len = 0)
- {
- model1.makeNode("/root/gridData/grid1/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid4/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid6/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- model1.makeNode("/root/gridData/grid7/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row");
- }
- else
- // 对相信的表格进行赋值 ,用查询出来的值
- {
- model.setValue("/root/formData/SLAB_NO",model.getValue("/root/resData/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/SLAB_NO"));
- //这里带出真实钢卷号,不做任何处理。只用于对比
- model.setValue("/root/formData/OLD_SAMPL_NO",model.getValue("/root/resData/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/OLD_SAMPL_NO"));
- //生产流水号
- model.setValue("/root/formData/COIL_NO",model.getValue("/root/resData/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_NO"));
- commAppendData("/root/gridData/grid1/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid2/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid3/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid4/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid5/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid6/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- commAppendData("/root/gridData/grid7/SearchCoilSpecResult_VO","/root/resData/SearchCoilSpecResult_VO");
- model.refresh();
- }
- }
-
- function save()
- {
- // 将要修改的数据节点COPY 到reqData节点下,保存
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- // 钢卷号
- model.duplicate("/root/reqData","/root/formData/COIL_NO");
- // 板坯号
- model.duplicate("/root/reqData","/root/formData/SLAB_NO");
- // 权限操作标识
- // model.duplicate("/root/reqData","/root/formData/CHKUPD");
- // 板坯厚度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_THK");
- // 板坯宽度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_WTH");
- // 板坯长度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_LEN");
- // 板坯重量
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/ACT_WGT");
- // 外径
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_OUTDIA");
- // 内径
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_INDIA");
- // 统计日期
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/XIN_DATE");
- // 班次
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WKSHIFT");
- // 工作组
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WKGROUP");
- // 操作人员
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WK_EMP_NO");
- // 卷取机号
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_NO");
- // 卷取开始时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_ON_DTIME");
- // 卷取结束时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_OFF_DTIME");
- // 缺号区分代码
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CLF_CD");
- // 缺号原因
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CAUSE_CD");
- // 废弃区域
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CAUSE_QY");
- // 缺号发生时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_DTIME");
- // 缺号宽度
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_THK");
- // 缺号厚度
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_WTH");
- // 缺号重量
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_WGT");
- //这里加入登录用户名,会不会与已有的initData冲突
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH020030-service","save","glueAction.do");
-
- if(model.getValue("root/resData/rs_VO/rs_Row")=="RHF_STAT"){
- alert(" 所选择的钢卷已经吊销或者轧回! ");
- return;
- }else if(model.getValue("root/resData/rs_VO/rs_Row")=="TST"){
- alert(" 实绩接收超过24小时,不允许修改! ");
- return;
- }
- else{
- alert(" @@@@ 保存成功! @@@@ ");
- }
- }
- function comfirm()
- {
- // 将要修改的数据节点COPY 到reqData节点下,保存
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- // 钢卷号
- model.duplicate("/root/reqData","/root/formData/COIL_NO");
- // 板坯号
- model.duplicate("/root/reqData","/root/formData/SLAB_NO");
- // 权限操作标识 只有当确认按钮才允许修改
- model.duplicate("/root/reqData","/root/formData/CHKUPD");
- // 板坯厚度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_THK");
- // 板坯宽度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_WTH");
- // 板坯长度
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_LEN");
- // 板坯重量
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/ACT_WGT");
- // 外径
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_OUTDIA");
- // 内径
- model.duplicate("/root/reqData","/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_INDIA");
- // 统计日期
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/XIN_DATE");
- // 班次
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WKSHIFT");
- // 工作组
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WKGROUP");
- // 操作人员
- model.duplicate("/root/reqData","/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WK_EMP_NO");
- // 卷取机号
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_NO");
- // 卷取开始时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_ON_DTIME");
- // 卷取结束时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_OFF_DTIME");
- // 缺号区分代码
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CLF_CD");
- // 缺号原因
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CAUSE_CD");
- // 废弃区域
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CAUSE_QY");
- // 缺号发生时间
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_DTIME");
- // 缺号宽度
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_THK");
- // 缺号厚度
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_WTH");
- // 缺号重量
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_WGT");
- //这里加入登录用户名,会不会与已有的initData冲突
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIH020030-service","save","glueAction.do");
-
- if(model.getValue("root/resData/rs_VO/rs_Row")=="RHF_STAT"){
- alert(" 所选择的钢卷已经吊销或者轧回! ");
- return;
- }else if(model.getValue("root/resData/rs_VO/rs_Row")=="TST"){
- alert(" 实绩接收超过24小时,不允许修改! ");
- return;
- }
- else{
- alert(" @@@@ 保存成功! @@@@ ");
- }
- }
- function initPage()
- {
- //这里就必须作为子页面操作了
- if(window.parent != null){
- var openWindow = window.parent;
-
- model.setValue("/root/formData/COIL_NO",openWindow.model.getValue("/root/tempData"));
- //调用查询方法
- find();
- }
- }
-
- function selOnClick(){
- var WkGroup = model1.getValue("/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/WKGROUP");
- model.setValue("/root/formData/WK_GROUP", WkGroup);
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.duplicate("/root/reqData","/root/formData/WK_GROUP");
-
- commSubmit("UIH020030-service","onclick","glueAction.do");
- commAppendData("/root/initData/INIT_EMP_NO/onclickResult_VO","/root/resData/onclickResult_VO");
- model.refresh();
- }
-
- function vDate(){
- //获取系统时间 格式yyyymmddhhmmss
- //获取系统时间
- var sysDate = new Date();
- var year = sysDate.getYear().toString();
- var month = (sysDate.getMonth()+1).toString();
- var date = sysDate.getDate().toString();
- var hours = sysDate.getHours().toString();
- var minutes = sysDate.getMinutes().toString();
- //这里不精确到秒,用00代替
- //var second = sysDate.getMilliseconds().toString();
- var zero = 0;
-
- //最终结果时间串
- var vSysDate = null;
-
- if(month<10){
- if(date<10){
- if(hours<10){
- if(minutes<10){
- vSysDate = year+zero+month+zero+date+zero+hours+zero+minutes;
- }else{
- vSysDate = year+zero+month+zero+date+zero+hours+minutes;
- }
- }else{
- if(minutes<10){
- vSysDate = year+zero+month+zero+date+hours+zero+minutes;
- }else{
- vSysDate = year+zero+month+zero+date+hours+minutes;
- }
- }
- }else{
- if(hours<10){
- if(minutes<10){
- vSysDate = year+zero+month+date+zero+hours+zero+minutes;
- }else{
- vSysDate = year+zero+month+date+zero+hours+minutes;
- }
- }else{
- if(minutes<10){
- vSysDate = year+zero+month+date+hours+zero+minutes;
- }else{
- vSysDate = year+zero+month+date+hours+minutes;
- }
- }
- }
- }else{
- if(date<10){
- if(hours<10){
- if(minutes<10){
- vSysDate = year+month+zero+date+zero+hours+zero+minutes;
- }else{
- vSysDate = year+month+zero+date+zero+hours+minutes;
- }
- }else{
- if(minutes<10){
- vSysDate = year+month+zero+date+hours+zero+minutes;
- }else{
- vSysDate = year+month+zero+date+hours+minutes;
- }
- }
- }else{
- if(hours<10){
- if(minutes<10){
- vSysDate = year+month+date+zero+hours+zero+minutes;
- }else{
- vSysDate = year+month+date+zero+hours+minutes;
- }
- }else{
- if(minutes<10){
- vSysDate = year+month+date+hours+zero+minutes;
- }else{
- vSysDate = year+month+date+hours+minutes;
- }
- }
- }
- }
- return vSysDate+zero+zero;
- }
-
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- </xhtml:head>
- <xhtml:body pageheight="620" style="font-family:宋体; font-size:16pt; ">
- <caption id="caption2" class="cell" style="left:0px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">生产流水号</caption>
- <input id="input2" ref="/root/formData/COIL_NO" maxlength="13" style="left:92px; top:5px; width:110px; height:20px; background-color:#ffff99; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //双击输入框的时候,弹出钢卷号选择子页面
- //人工输入处理
- //window.load("./UIH02_SELECT_COIL_NO.xrw", "modal", "modalWin", "left:400; top:100; width:650px; height:500px");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="cell" style="left:207px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">板坯号</caption>
- <line id="line1" style="x1:0px; y1:30px; x2:979px; y2:30px; "/>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="钢号^合同号^品名^订单用途^交货期^订单去向" colsep="^" colwidth="101, 100, 112, 107, 110, 101" defaultrows="2" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:35px; width:635px; height:44px; border-color:#000000; ">
- <col editable="false" ref="STL_GRD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ORD_NO" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="PRODNM_CD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ORD_USE_CD" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="DELV_REQ_DATE" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_ROUTE" type="input" visibility="hidden" style="background-color:#ffffff; "/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/gridData/grid2/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="统计日^班次^班组^作业者" colsep="^" colwidth="101, 69, 69, 102" defaultrows="2" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:637px; top:35px; width:343px; height:44px; border-color:#000000; ">
- <col ref="XIN_DATE" type="inputdate" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffff99; "/>
- <col ref="WKSHIFT" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/initData/INIT_SHIFT/ShiftResult_VO/ShiftResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="WKGROUP" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/initData/INIT_GROUP/GroupResult_VO/GroupResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="WK_EMP_NO" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/initData/INIT_EMP_NO/onclickResult_VO/onclickResult_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (datagrid2.col == datagrid2.colRef("WKGROUP")) {
- selOnClick();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid3" nodeset="/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="订单钢卷规格^订单钢卷规格^订单钢卷规格^订单钢卷规格^订单钢卷规格^订单钢卷规格^实际钢卷规格^实际钢卷规格^实际钢卷规格^实际钢卷规格^实际钢卷规格^实际钢卷规格^实际钢卷规格^除磷机是否^除磷机是否^除磷机是否^除磷机是否|厚度^宽度^长度^重量^外径^内径^厚度^宽度^长度^重量^计算重量^外径^内径^加热炉后^RM入口^RM出口^总道次" colsep="^" colwidth="57, 55, 56, 55, 58, 60, 58, 56, 54, 56, 58, 65, 60, 61, 53, 53, 63" defaultrows="4" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:90px; width:980px; height:64px; border-color:#000000; ">
- <col editable="false" ref="INSTR_COIL_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_LTH" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_OUTDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="INSTR_COIL_INDIA" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="COIL_THK" type="input" maxlength="6" style="text-align:right; background-color:#ffff99; "/>
- <col ref="COIL_WTH" type="input" maxlength="6" style="text-align:right; background-color:#ffff99; "/>
- <col ref="COIL_LEN" type="input" format="9999999999999" maxlength="9" style="text-align:right; background-color:#ffff99; "/>
- <col editable="false" ref="ACT_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="CAL_WGT" type="input" format="#,###" style="text-align:right; background-color:#ffffff; "/>
- <col ref="COIL_OUTDIA" type="input" format="9999999999999" maxlength="6" style="text-align:right; background-color:#ffff99; "/>
- <col ref="COIL_INDIA" style="text-align:right; "/>
- <col editable="false" ref="RHF_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="RM_ENT_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="RM_EXT_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ZONG_DESCAL_YN" type="input" style="background-color:#ffffff; "/>
- </datagrid>
- <datagrid id="datagrid4" nodeset="/root/gridData/grid4/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="粗轧^粗轧^粗轧^粗轧^粗轧^粗轧^粗轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧|轧制道次^轧制道次^出口温度^出口温度^粗轧出口平均大小^粗轧出口平均大小^粗轧出口平均大小^通过时刻^通过时刻^精轧1 入口 温度^精轧1 入口 温度^精轧1 入口 温度^精轧 出口 厚度^精轧 出口 厚度^精轧 出口 厚度^精轧 出口 厚度^精轧 出口 厚度|R1^R2^R1^R2^厚度^宽度^长度^入口^出口^平均^最大^最小^额定^平均^最大^最小^不在范围(%)" colsep="^" colwidth="50, 50, 50, 50, 50, 50, 50, 115, 116, 45, 45, 45, 45, 45, 45, 45, 78" defaultrows="5" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:170px; width:979px; height:84px; border-color:#000000; ">
- <col editable="false" ref="RM1_PASS_CNT" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="RM2_PASS_CNT" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="R1_EXT_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="R2_EXT_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="RM_EXT_AVG_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="RM_EXT_AVG_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="RM_EXT_AVG_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F1_ENT_PASS_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
- <col editable="false" ref="F7_ENT_PASS_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" style="background-color:#ffffff; "/>
- <col editable="false" ref="F1_ENT_TEMP_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F1_ENT_TEMP_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F1_ENT_TEMP_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_THK" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_THK_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_THK_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_THK_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_THK_OUT_OF_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
- </datagrid>
- <datagrid id="datagrid5" nodeset="/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="卷取^卷取^卷取^卷取^卷取^卷取^卷取^卷取^废弃^废弃^废弃^废弃^废弃^废弃^废弃|卷取温度^卷取温度^卷取温度^卷取温度^卷取温度^卷取
机号^开始卷取时刻^结束卷取时刻^区分代码^厚度^宽度^重量^区域^理由代码^发生时间|额定^平均^最大^最小^不在范围(%)^卷取
机号^开始卷取时刻^结束卷取时刻^区分代码^厚度^宽度^重量^区域^理由代码^发生时间" colsep="^" colwidth="53, 53, 53, 53, 77, 35, 100, 100, 56, 50, 52, 55, 60, 80, 100" defaultrows="4" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:470px; width:979px; height:86px; border-color:#000000; ">
- <col editable="false" ref="DC_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="DC_TEMP_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="DC_TEMP_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="DC_TEMP_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="DC_TEMP_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col ref="DC_NO" type="input" format="999999-9999999" maxlength="1" style="background-color:#ffff99; "/>
- <col ref="DC_ON_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" maxlength="14" style="background-color:#ffff99; "/>
- <col ref="DC_OFF_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" maxlength="14" style="background-color:#ffff99; "/>
- <col ref="MISSNO_CLF_CD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>钢卷</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="MISSNO_BAR_THK" type="input" maxlength="6" style="background-color:#ffff99; "/>
- <col ref="MISSNO_BAR_WTH" type="input" maxlength="6" style="background-color:#ffff99; "/>
- <col ref="MISSNO_BAR_WGT" type="input" format="#,###" maxlength="9" style="background-color:#ffff99; "/>
- <col ref="MISSNO_CAUSE_QY" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>粗轧区域</label>
- <value>H06002</value>
- </item>
- <item>
- <label>精轧区域</label>
- <value>H06003</value>
- </item>
- <item>
- <label>卷取区域</label>
- <value>H06004</value>
- </item>
- </choices>
- </col>
- <col editmode="input" ref="MISSNO_CAUSE_CD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/initData/INIT_MISSNO_CLF_NO/RejectCd_VO/RejectCd_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col ref="MISSNO_DTIME" type="input" format="yyyy-mm-dd hh:mm:ss" maxlength="14" style="background-color:#ffff99; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid5.col == 5){
- //获取系统时间
- var SysDate = vDate();
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_ON_DTIME",SysDate);
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_OFF_DTIME",SysDate);
- }
-
- if(datagrid5.col == 8){
- //获取系统时间
- var SysDate = vDate();
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_DTIME",SysDate);
-
- //这里取钢卷的订单重量到废弃重量
- var wgt = model.getValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/INSTR_COIL_WGT");
-
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_BAR_WGT",wgt);
-
- model.refresh();
- }
-
- if(datagrid5.col == 12){
- //这里在选择了区域的时候,自动带出区域的原因代码
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- //废弃区域
- model.duplicate("/root/reqData","/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/MISSNO_CAUSE_QY");
-
- commSubmit("UIH020030-service","findReject","glueAction.do");
-
- commAppendData("/root/initData/INIT_MISSNO_CLF_NO/RejectCd_VO","/root/resData/RejectCd_VO");
-
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid6" nodeset="/root/gridData/grid6/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧|非对称平直度^非对称平直度^非对称平直度^非对称平直度^稧型^稧型^稧型^稧型^精轧 出口 温度^精轧 出口 温度^精轧 出口 温度^精轧 出口 温度^精轧 出口 温度^精轧7 速度 ^精轧7 速度 ^精轧7 速度 ^精轧7 速度 ^精轧7 速度 |平均^最大^最小^不在范围(%)^平均^最大^最小^不在范围(%)^额定^平均^最大^最小^不在范围(%)^穿带^ACC1^ACC2^VMAX^VT" colsep="^" colwidth="44, 43, 43, 77, 45, 45, 45, 77, 45, 45, 45, 45, 77, 60, 60, 60, 60, 60" defaultrows="4" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:370px; width:979px; height:84px; border-color:#000000; ">
- <col editable="false" ref="FM_ASY_STRIP_FLATNESS_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_ASY_STRIP_FLATNESS_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_ASY_STRIP_FLATNESS_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_ASY_STRIP_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_STRIP_WDG_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_STRIP_WDG_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_STRIP_WDG_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_STRIP_WDG_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_TEMP" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_TEMP_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_TEMP_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_TEMP_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="STRIP_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F7_MILL_SPEED_HEAD" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F7_MILL_SPEED_ACC1" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F7_MILL_SPEED_ACC2" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F7_MILL_SPEED_VMAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="F7_MILL_SPEED_VT" type="input" style="text-align:right; background-color:#ffffff; "/>
- </datagrid>
- <datagrid id="datagrid7" nodeset="/root/gridData/grid7/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row" caption="精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧^精轧|精轧 出口 宽度^精轧 出口 宽度^精轧 出口 宽度^精轧 出口 宽度^精轧 出口 宽度^精轧 出口 凸度^精轧 出口 凸度^精轧 出口 凸度^精轧 出口 凸度^精轧 出口 凸度^对称平直度^对称平直度^对称平直度^对称平直度|额定^平均^最大^最小^不在范围(%)^额定^平均^最大^最小^不在范围(%)^平均^最大^最小^不在范围(%)" colsep="^" colwidth="70, 70, 67, 66, 78, 65, 61, 61, 61, 77, 75, 72, 72, 81" defaultrows="5" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:270px; width:979px; height:84px; border-color:#000000; ">
- <col editable="false" ref="FM_EXT_STRIP_WTH" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_WTH_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_WTH_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_WTH_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_WTH_OUT_OF_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_CROWN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_CROWN_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_CROWN_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_CROWN_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_EXT_STRIP_CROWN_OUT_OF_LEN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_SYM_STRIP_FLATNESS_AVG" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_SYM_STRIP_FLATNESS_MAX" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_SYM_STRIP_FLATNESS_MIN" type="input" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="FM_SYM_STRIP_OUT_OF_RANGE" type="input" style="text-align:right; background-color:#ffffff; "/>
- </datagrid>
- <input id="input1" ref="/root/formData/SLAB_NO" maxlength="13" style="left:299px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
- <line id="line2" style="x1:0px; y1:460px; x2:979px; y2:460px; "/>
- <line id="line3" style="x1:0px; y1:360px; x2:979px; y2:360px; "/>
- <line id="line4" style="x1:0px; y1:260px; x2:979px; y2:260px; "/>
- <line id="line5" style="x1:0px; y1:160px; x2:979px; y2:160px; "/>
- <line id="line6" style="x1:0px; y1:85px; x2:979px; y2:85px; "/>
- <caption id="caption3" class="cell" style="left:415px; top:5px; width:90px; height:20px; text-align:center; border-color:#000000; border-style:solid; ">钢卷号</caption>
- <input id="input3" ref="/root/formData/OLD_SAMPL_NO" maxlength="13" style="left:507px; top:5px; width:110px; height:20px; background-color:#ffff99; "/>
- <button id="button1" style="left:890px; top:0px; width:90px; height:30px; ">
- <caption>强制按钮</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/formData/COIL_NO") == "" || model.getValue("/root/formData/SLAB_NO") == "" || model.getValue("/root/formData/OLD_SAMPL_NO") == ""){
- alert(" 不查询出需要录入的钢卷信息,不能点击强制按钮! ");
- return;
- }
-
- //这里就是把计划的数据取过来,赋值到实绩的输入框中。
- var INSTR_COIL_THK = model.getValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/INSTR_COIL_THK");
- model.setValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_THK",INSTR_COIL_THK);
-
- var INSTR_COIL_WTH = model.getValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/INSTR_COIL_WTH");
- model.setValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/COIL_WTH",INSTR_COIL_WTH);
-
- var INSTR_COIL_WGT = model.getValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/INSTR_COIL_WGT");
- model.setValue("/root/gridData/grid3/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/ACT_WGT",INSTR_COIL_WGT);
-
- //默认为1
- var DC_NO = "1";
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_NO",DC_NO);
-
- var SysDate = vDate();
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_ON_DTIME",SysDate);
- model.setValue("/root/gridData/grid5/SearchCoilSpecResult_VO/SearchCoilSpecResult_Row[1]/DC_OFF_DTIME",SysDate);
-
- model.refresh();
-
- //给出提示,需要点击保存按钮才可以生效
- var isUse = commComfirmBox("强制按钮点击后,确认钢卷数据是否正确.?","提示");
-
- if(isUse == "0"){
- return;
- }
-
- save();
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|