| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?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="">
- <datagrid1/>
- <formData>
- <startTime/>
- <endTime/>
- <zongliang/>
- <buhege/>
- <hege/>
- <coilNO1/>
- <coilNO2/>
- <stlgrd/>
- <zapihetong>1</zapihetong>
- </formData>
- <datagrid2/>
- <datagrid3/>
- <fwdData>
- <UIB020236>
- <ORD_NO/>
- <ORD_SEQ/>
- <URL/>
- </UIB020236>
- </fwdData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(window.parent==null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/b01.js"/>
- <script type="javascript">
- <![CDATA[
-
- function Init(node)
- {
- input1.value = commCurDate();
- input2.value = commCurDate();
- input6.value = document.readIniFile("session1" , "uib020236_1" , "" , "c:\\WINDOWS\\xgmes3.ini");
- input7.value = document.readIniFile("session1" , "uib020236_2" , "" , "c:\\WINDOWS\\xgmes3.ini");
- setFontColor();
- }
-
- function find()
- {
- model.removenode("/root/reqData");
- document.writeIniFile("session1" , "uib020236_1" , input6.value.Trim() , "c:\\WINDOWS\\xgmes3.ini");
- document.writeIniFile("session1" , "uib020236_2" , input7.value.Trim() , "c:\\WINDOWS\\xgmes3.ini");
-
- if(switch1.selectedIndex == 0)
- {
- find1();//综合判定结果查询
- }
- else if(switch1.selectedIndex == 1)
- {
- find2();//未判定钢卷
- }
- else if(switch1.selectedIndex == 2)
- {
- find3();//判定历史记录查询
- }
- }
-
- function find1()//综合判定结果查询
- {
-
- //获取被判定的钢卷号信息
- model.makeValue("/root/reqData/S_TIME" , input1.value+"0000");
- model.makeValue("/root/reqData/E_TIME" , input2.value+"9999");
- model.makeValue("/root/reqData/COILNO1", input6.value.Trim());
- model.makeValue("/root/reqData/STLGRD" , input8.value.Trim());//牌号
- if(input7.value.Trim() =="")
- {
- model.makeValue("/root/reqData/COILNO2", input6.value.Trim());
- }
- else
- {
- model.makeValue("/root/reqData/COILNO2", input7.value.Trim());
- }
-
- if(input6.value.Trim() != "" && combo1.value == "1")//按轧批号查询
- {
- commSubmit("UIB020236-service" , "findCOIL" , "glueAction.do");
- }
- else if(input6.value.Trim() != "" && combo1.value == "2")//按合同号进行查
- {
- commSubmit("UIB020236-service" , "findORDNO" , "glueAction.do");
- }
- else//按日期查询
- {
- commSubmit("UIB020236-service" , "find" , "glueAction.do");
- }
-
- model.copyNode("/root/datagrid1" , "/root/resData/TotDecResult_VO");
- model.refresh();
- setColor();
- }
-
- function find2()//未判定钢卷
- {
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/XX" , "UIB020236_02");
- commSubmit("UIB020236-service" , "findProc" , "glueAction.do");
- model.copyNode("/root/datagrid2" , "/root/resData/NotTotDecResult_VO");
- model.refresh();
- datagrid2.rebuildStyle();
- for(var i = datagrid2.fixedRows; i < datagrid2.rows ; i++)
- {
- if(datagrid2.valueMatrix( i , datagrid2.colRef("WXXX")) >= 3)
- {
- datagrid2.rowStyle(i , "data" , "color") = "#ff0000";
- }
- }
- }
- function find3()//综合判定历史
- {
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/STIME" , input1.value+"000000");
- model.makeValue("/root/reqData/ETIME" , input2.value+"999999");
- model.makeValue("/root/reqData/COILNO1" , input6.value.Trim());
- if(input7.value.Trim()=="")
- {
- model.makeValue("/root/reqData/COILNO2" , input6.value.Trim());
- }
- else
- {
- model.makeValue("/root/reqData/COILNO2" , input7.value.Trim());
- }
- if(input6.value.Trim() == "")
- {
- commSubmit("UIB030204-service", "find1", "glueAction.do");
- }
- else
- {
- commSubmit("UIB030204-service", "find2", "glueAction.do");
- }
- model.copyNode("/root/datagrid3" , "/root/resData/HisDcsResult_VO");
- model.refresh();
- }
-
- //被选择的按钮变颜色
- function setFontColor()
- {
- button2.attribute("color") = "#000000";
- button3.attribute("color") = "#000000";
- button4.attribute("color") = "#000000";
- if(switch1.selectedIndex == 0)
- {
- button2.attribute("color") = "#0000ff";
- }
- else if(switch1.selectedIndex == 1)
- {
- button3.attribute("color") = "#0000ff";
- }
- else if(switch1.selectedIndex == 2)
- {
- button4.attribute("color") = "#0000ff";
- }
- }
-
- var unqulCol = 0;
- function setColor()
- {
- datagrid1.rebuildStyle();
- var col = datagrid1.colRef("TOT_DEC_GRD");
- unqulCol = 0;
- for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++)
- {
- if(datagrid1.valueMatrix(i , col) >= "2")
- {
- datagrid1.rowStyle(i , "data" , "color") = "#ff0000";
- unqulCol++;
- }
- }
- }
- function save()
- {
- if(switch1.selectedIndex != 0)//SAVE只针对综合判定查询有效果
- return;
-
- if(commComfirmBox("确认取消综合判定?","提示")=="0") return;
- var dcsCol = datagrid1.colRef("TOT_OVER");
- var id = model.getValue("");
- for(var i = datagrid1.fixedRows; i < datagrid1.rows; i++)
- {
- if(datagrid1.valueMatrix(i , dcsCol) == "Y")
- {
- datagrid1.addStatus(i , "update");
- }
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid1 , "/root/reqData" , "A" , true , "rowStatus");
- model.makeValue("/root/reqData/XX" , "UIB020236");
- getLoggingInInfo();
- commSubmit("UIB020236-service" , "save" , "glueAction.do");
- find();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620" guideline="1,982;1,980;1,980;">
- <line id="line1" style="x1:0px; y1:20px; x2:977px; y2:20px; "/>
- <line id="line2" style="x1:0px; y1:50px; x2:970px; y2:50px; "/>
- <caption id="caption1" class="cell" style="left:0px; top:23px; width:100px; height:20px; ">判定时间</caption>
- <input id="input1" ref="/root/formData/startTime" inputtype="date" style="left:100px; top:23px; width:100px; height:20px; "/>
- <input id="input2" ref="/root/formData/endTime" inputtype="date" style="left:215px; top:23px; width:100px; height:20px; "/>
- <line id="line3" style="x1:200px; y1:32px; x2:215px; y2:32px; "/>
- <button id="button1" visibility="hidden" style="left:825px; top:25px; width:75px; height:20px; ">
- <caption>FIND</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <input id="input6" ref="/root/formData/coilNO1" style="left:410px; top:23px; width:100px; height:20px; "/>
- <line id="line5" style="x1:510px; y1:35px; x2:525px; y2:35px; "/>
- <input id="input7" ref="/root/formData/coilNO2" style="left:525px; top:24px; width:100px; height:20px; "/>
- <caption id="caption6" class="cell" style="left:640px; top:23px; width:80px; height:20px; ">牌号</caption>
- <input id="input8" ref="/root/formData/stlgrd" style="left:720px; top:23px; width:105px; height:20px; "/>
- <switch id="switch1" style="left:0px; top:50px; width:980px; height:566px; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid1" nodeset="/root/datagrid1/TotDecResult_Row" caption="生产流水号^钢卷号^板坯号^合同号^订单号^是否有特殊要求^标准号^标准钢号^进程状态^综合等级^判定结果^判定结果^判定结果^判定结果^判定结果^判定结果^判定取消^综合判定人^综合判定时间^轧辊单元号|生产流水号^钢卷号^板坯号^合同号^订单号^是否有特殊要求^标准号^标准钢号^进程状态^综合等级^成分^材质^尺寸^重量^工序^外观^判定取消^综合判定人^综合判定时间^轧辊单元号" colsep="^" colwidth="38, 88, 93, 83, 37, 39, 125, 106, 82, 33, 37, 37, 36, 35, 36, 37, 62, 69, 100, 54" explorerbar="sortshowmove" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="label" style="left:2px; top:0px; width:978px; height:560px; ">
- <col editable="false" ref="COIL_NO" type="input" visibility="hidden" style="background-color:#ffffff; "/>
- <col editable="false" ref="OLD_SAMPL_NO" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_NO" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="ORD_NO" type="input" visibility="visible" style="text-align:right; background-color:#ffffff; "/>
- <col ref="ORD_SEQ" visibility="visible" style="text-align:right; "/>
- <col ref="CUST_SPEC_NO" style="text-align:left; cursor:hand; "/>
- <col editable="false" ref="SPEC_ABBSYM" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SPEC_STL_GRD" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col disabled="true" ref="CUR_PROG_CD" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>钢卷包装待机</label>
- <value>SBB</value>
- </item>
- <item>
- <label>平整分卷作业待机</label>
- <value>SCB</value>
- </item>
- <item>
- <label>钢卷入库待机</label>
- <value>SDB</value>
- </item>
- <item>
- <label>综合判定待机</label>
- <value>SED</value>
- </item>
- <item>
- <label>发货指示待机</label>
- <value>SFA</value>
- </item>
- <item>
- <label>运送待机</label>
- <value>SFB</value>
- </item>
- <item>
- <label>运送完成</label>
- <value>SFF</value>
- </item>
- <item>
- <label>钢卷充当待机</label>
- <value>SRC</value>
- </item>
- <item>
- <label>移送指示待机</label>
- <value>SGA</value>
- </item>
- <item>
- <label>移送待机</label>
- <value>SGB</value>
- </item>
- <item>
- <label>移送完成</label>
- <value>SGF</value>
- </item>
- </choices>
- </col>
- <col ref="TOT_DEC_GRD" style="text-align:right; "/>
- <col editable="false" ref="INGR_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MATLQLTY_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="SIZE_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="WGT_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="PROC_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="EXTSHAPE_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <col checkvalue="Y,N" ref="TOT_OVER" type="checkbox"/>
- <col ref="TOT_DEC_EMP_ID" style="text-align:left; "/>
- <col ref="TOT_DEC_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
- <col ref="ROLL_MANA_NO" style="text-align:left; "/>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- datagrid1.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var overCol = datagrid1.colRef("TOT_OVER");
- if(overCol == datagrid1.col)
- {
- var curCol = datagrid1.colRef("CUR_PROG_CD");
- var id = model.getValue("/root/reqData/REG_ID");
- var totStat = datagrid1.valueMatrix(datagrid1.row , curCol);
- if(totStat == "SRC" || totStat == "SFA"|| totStat == "SGB")
- {
-
- }
- else if(datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("SPEC_ABBSYM")) == "")
- {
- window.alert("已降余材,不可取消判定!","警告");
- return;
- }
- else
- {
- datagrid1.valueMatrix(datagrid1.row , overCol) = "N"
- window.alert("非发货待机状态或充当状态或移送待机,不可取消判定!","警告");
- return;
- }
- var selected = datagrid1.valueMatrix(datagrid1.row ,datagrid1.col);
- var actCol = datagrid1.colRef("OLD_SAMPL_NO");//钢卷号所在的列
- }
-
- if(datagrid1.colRef("CUST_SPEC_NO") == datagrid1.col)
- {
- model.setValue("/root/fwdData/UIB020236/ORD_NO", datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("ORD_NO")));
- model.setValue("/root/fwdData/UIB020236/ORD_SEQ", datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("ORD_SEQ")));
- model.setValue("/root/fwdData/UIB020236/URL", "./../../B/B01/UIB015020.xrw");
- var java = window.parent.javaScript;
- java.open(model.instances(0).selectSingleNode("/root/fwdData/UIB020236"));
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(datagrid1.row < datagrid1.fixedRows) return;
- if(datagrid1.col == datagrid1.colRef("OLD_SAMPL_NO")) return;
- //// alert(datagrid1.row +"=----"+ datagrid1.fixedRows);
- model.removenode("/root/cao");
- model.makeValue("/root/cao/coil" , datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("COIL_NO")));//流水号
- model.makeValue("/root/cao/SLAB" , datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("SLAB_NO")));
- model.makeValue("/root/cao/ORDNO", datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("ORD_NO")));
- model.makeValue("/root/cao/ORDSEQ",datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("ORD_SEQ")));
- window.load("./_020235INGR.xrw", "modal", "modalWin", "left:400; top:40; width:480px; height:600px;sysmenu:visible; min:visible; max:hidden; resize:false;" , "/root/initChargeData" , "/root/RadioResult");
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid2" nodeset="/root/datagrid2/NotTotDecResult_Row" caption="生产流水号^钢卷号^板坯号^生产日期^交货期^试样进程状态^标准号^标准钢号^钢卷异常信息^超过天数^进程状态^判定结果^判定结果^判定结果^判定结果^判定结果^判定结果|生产流水号^钢卷号^板坯号^生产日期^交货期^试样进程状态^标准号^标准钢号^钢卷异常信息^超过天数^进程状态^成分^材质^尺寸^重量^工序^外观" colsep="^" colwidth="32, 88, 82, 71, 65, 72, 82, 76, 42, 38, 68, 40, 39, 36, 40, 42, 40" explorerbar="sortshowmove" extendlastcol="false" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" tooltip="label" style="left:0px; top:0px; width:980px; height:560px; ">
- <col editable="false" ref="COIL_NO" type="input" visibility="hidden" style="background-color:#ffffff; "/>
- <col editable="false" ref="OLD_SAMPL_NO" type="input" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SLAB_NO" type="input" visibility="visible" style="text-align:left; background-color:#ffffff; "/>
- <col ref="MILL_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
- <col ref="ORD_DEVLMT_DATE" format="yyyy-mm-dd" style="text-align:left; "/>
- <col disabled="true" ref="SMP_PROG_CD" type="combo" style="text-align:left; ">
- <choices>
- <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>
- </choices>
- </col>
- <col editable="false" ref="SPEC_ABBSYM" style="text-align:left; background-color:#ffffff; "/>
- <col editable="false" ref="SPEC_STL_GRD" style="text-align:left; background-color:#ffffff; "/>
- <col ref="MISSNO_CLF_CD" style="text-align:left; "/>
- <col ref="WXXX" format="0.99" style="text-align:right; "/>
- <col disabled="true" ref="CUR_PROG_CD" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>钢卷包装待机</label>
- <value>SBB</value>
- </item>
- <item>
- <label>平整分卷作业待机</label>
- <value>SCB</value>
- </item>
- <item>
- <label>钢卷入库待机</label>
- <value>SDB</value>
- </item>
- <item>
- <label>综合判定待机</label>
- <value>SED</value>
- </item>
- <item>
- <label>发货指示待机</label>
- <value>SFA</value>
- </item>
- <item>
- <label>运送待机</label>
- <value>SFB</value>
- </item>
- <item>
- <label>运送完成</label>
- <value>SFF</value>
- </item>
- <item>
- <label>钢卷充当待机</label>
- <value>SRC</value>
- </item>
- </choices>
- </col>
- <col editable="false" ref="INGR_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="MATLQLTY_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="SIZE_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="WGT_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="PROC_DEC_RST" style="text-align:right; background-color:#ffffff; "/>
- <col editable="false" ref="EXTSHAPE_DEC_GRD" style="text-align:right; background-color:#ffffff; "/>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- datagrid1.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="datagrid3" nodeset="/root/datagrid3/HisDcsResult_Row" caption="钢卷号^状态区分^合同号^订单号^原始合同号^原始订单号^材质等级^成分等级^重量等级^外观等级^尺寸等级^综合等级^操作程序^操作人^操作时间" colsep="^" colwidth="81, 63, 87, 45, 84, 44, 50, 50, 50, 50, 50, 50,71,50, 140" explorerbar="sortshowmove" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="40" rowsep="|" tooltip="label" style="left:0px; top:0px; width:975px; height:560px; ">
- <col ref="MATERIAL_NO" style="text-align:left; "/>
- <col disabled="true" ref="DCS_FLAG" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>综合判定</label>
- <value>D</value>
- </item>
- <item>
- <label>取消判定</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="ORD_NO" style="text-align:right; "/>
- <col ref="ORD_SEQ" style="text-align:right; "/>
- <col ref="ORG_ORD_NO" style="text-align:right; "/>
- <col ref="ORG_ORD_SEQ" style="text-align:right; "/>
- <col ref="MATLQLTY_DEC_GRD" style="text-align:right; "/>
- <col ref="INGR_DEC_GRD" style="text-align:right; "/>
- <col ref="WGT_DEC_RST" style="text-align:right; "/>
- <col ref="EXTSHAPE_DEC_GRD" style="text-align:right; "/>
- <col ref="SIZE_DEC_RST" style="text-align:right; "/>
- <col ref="TOT_DEC_GRD" style="text-align:right; "/>
- <col ref="REG_PGM_ID" style="text-align:left; "/>
- <col ref="REG_ID" style="text-align:left; "/>
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
- </datagrid>
- </case>
- <case id="case4"/>
- <case id="case5"/>
- </switch>
- <button id="button2" style="left:0px; top:0px; width:100px; height:20px; background-image:..\..\images\sw_normal.gif; ">
- <caption>综合判定结果</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- caption1.value = "判定时间";
- input1.disabled = false;
- input2.disabled = false;
- input6.disabled = false;
- if(combo1.value=="1")
- {
- input7.disabled = false;
- }
- else
- {
- input7.disabled = true;
- }
- input8.disabled = false;
- combo1.disabled = false;
- setFontColor();
- ]]>
- </script>
- </button>
- <button id="button3" style="left:110px; top:0px; width:100px; height:20px; background-image:..\..\images\sw_normal.gif; ">
- <caption>未判定钢卷</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- input1.disabled = true;
- input2.disabled = true;
- input6.disabled = true;
- input7.disabled = true;
- input8.disabled = true;
- combo1.disabled = true;
- setFontColor();
- ]]>
- </script>
- </button>
- <button id="button4" style="left:220px; top:0px; width:100px; height:20px; background-image:..\..\images\sw_normal.gif; ">
- <caption>判定历史记录</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- caption1.value = "操作时间";
- input1.disabled = false;
- input2.disabled = false;
- input6.disabled = false;
- input7.disabled = false;
- input8.disabled = true;
- combo1.value = 1;
- combo1.disabled = true;
- setFontColor();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/formData/zapihetong" appearance="minimal" style="left:325px; top:23px; width:85px; height:20px; background-color:#e4ecf5; ">
- <choices>
- <item>
- <label>轧批号</label>
- <value>1</value>
- </item>
- <item>
- <label>合同号</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(combo1.value =="2")
- {
- input7.disabled = true;
- }
- else
- {
- input7.disabled = false;
- }
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|