| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794 |
- <?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>
- <![CDATA[炼钢作业 >> 板坯库管理 >> 板坯尺寸修改实绩登录与查询(UIG040070)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <REG_ID/>
- <NEW_SLAB_NO/>
- <MOD_CD/>
- <ORL_SLAB_NO/>
- <REG_SHIP/>
- <REG_GROUP/>
- <CUT_CNT>2</CUT_CNT>
- <CHARGE_NO/>
- <MODIFY_CODE>03</MODIFY_CODE>
- </formData>
- <codeData/>
- <initData>
- <LG_CD>G03003,Z05001,Z05002</LG_CD>
- </initData>
- <gridData>
- <slabList/>
- <cutDirectGrid/>
- <cutResultGrid/>
- <CorrectedGrid/>
- </gridData>
- <reqData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //pageInit();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node) {
- InitParams(node);
- initPage();
-
- //shiftSearch();
-
- }
-
- 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;
- for (var i = 0; i < nodeList.length; i++)
- model.instances(0).selectSingleNode("/root/initData/rcvInfo").appendChild(nodeList.item(i));
-
- }
-
- function initPage()
- {
- // commSubmit("UIG040070-service","success","glueAction.do");
- // commAppendData("/root/gridData/grid3/INIT_RESULT_VO","/root/resData/INIT_RESULT_VO");
- // datagrid5.refresh();
- //
- // datagrid1.cellAttribute("editable", 1,datagrid1.colRef("SLAB_LEN")) = "false";
- // datagrid1.cellAttribute("editable", 1,datagrid1.colRef("SIZE_DEC_FL")) = "false";
-
- commSendReq("/root/initData");
- commSubmit("UIGCOMMCODE-service","find","glueAction.do");
- model.copyNode("/root/codeData","/root/resData");
- model.refresh();
-
- model.setValue("/root/formData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- }
- function find(){
- model.setValue("/root/formData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","find","glueAction.do");
- commAppendData("/root/gridData/slabList/SearchMILLYARD_Result_VO","/root/resData/SearchMILLYARD_Result_VO");
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
- model.refresh();
-
-
- }
-
- function select()
- {
-
- var gridid = document.all(event.currentTarget) ;
- model.setValue("/root/formData/ORL_SLAB_NO",gridid.valueMatrix(gridid.row,gridid.colRef("SLAB_NO")));
-
- // 指示切割
- if(model.getValue("/root/formData/MODIFY_CODE") == "03"){
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","select","glueAction.do");
- // 将分割指示信息在 分割指示对象表中显示
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
- // 喂指示切割
- }else if(model.getValue("/root/formData/MODIFY_CODE") == "02"){
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","select02","glueAction.do");
- // 将分割指示信息在 分割指示对象表中显示
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
-
- var slabCnt = model.getValue("/root/formData/CUT_CNT");
-
- for(var i = 1 ; i <= slabCnt ; i++){
- model1.duplicate("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO/CutResult_Row");
- }
- datagrid10.refresh();
- var maxCnt = datagrid10.valueMatrix(1,datagrid10.colRef("MAX_SEQ"));
- for(var i = 1 ; i <= slabCnt ; i++){
- datagrid10.valueMatrix(1+i,datagrid10.colRef("CLF")) = " 子坯 ";
- //分割生成新的两块板坯,板坯号为原板坯的前12位 + 原板坯号预留13位0分别设置位1,2
- var oldSlabNo = datagrid10.valueMatrix(1,datagrid10.colRef("SLAB_NO"));
- datagrid10.valueMatrix(1+i,datagrid10.colRef("SLAB_NO")) = oldSlabNo.substr(0,12) + (parseInt(maxCnt) + i);
- datagrid10.valueMatrix(1+i,datagrid10.colRef("SLAB_SIZE_DEC_GRD")) = "2";
- datagrid10.valueMatrix(1+i,datagrid10.colRef("CUR_LOAD_LOC")) = "";
- datagrid10.valueMatrix(1+i,datagrid10.colRef("ORL_LOAD_LOC")) = datagrid10.valueMatrix(1,datagrid10.colRef("CUR_LOAD_LOC"));
- }
- //尺寸修改
- }else if(model.getValue("/root/formData/MODIFY_CODE") == "01"){
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","select02","glueAction.do");
- // 将分割指示信息在 分割指示对象表中显示
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
- //全废钢
- }else if(model.getValue("/root/formData/MODIFY_CODE") == "04"){
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","select02","glueAction.do");
- // 将分割指示信息在 分割指示对象表中显示
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
- //部分废钢
- }else if(model.getValue("/root/formData/MODIFY_CODE") == "05"){
- commSendReq("/root/formData");
- commSubmit("UIG040070-service","select02","glueAction.do");
- // 将分割指示信息在 分割指示对象表中显示
- commAppendData("/root/gridData/cutDirectGrid/CutDirectResult_VO","/root/resData/CutDirectResult_VO");
- // 将板坯实绩信息在分割实绩录入表的第一行显示,作为板坯的原始信息对照
- commAppendData("/root/gridData/cutResultGrid/CutResult_VO","/root/resData/CutResult_VO");
- }
-
-
- model.refresh();
-
- }
-
- function save()
- {
- var MODIFY_CODE = model.getValue("/root/formData/MODIFY_CODE");
- //alert(MODIFY_CODE);
- if(MODIFY_CODE == 3)//指示切割
- {
- var rowCount = datagrid7.rows;
- for(var i = 1 ; i <= rowCount ; i++){
- datagrid7.rowStatus(i) = 2;
- }
- datagrid7.rowStatus(1) = 0;
- //修改分割实绩录入表格2,3行的行状态为UPDATE
- commSendReq("/root/formData");
- commMultiUpdate(datagrid7,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","recut","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }else if(MODIFY_CODE == 2){//非指示切割
- var rowCount = datagrid10.rows;
- for(var i = 1 ; i <= rowCount ; i++){
- datagrid10.rowStatus(i) = 2;
- }
- datagrid10.rowStatus(1) = 0;
- //修改分割实绩录入表格2,3行的行状态为UPDATE
- commSendReq("/root/formData");
- commMultiUpdate(datagrid10,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","recut","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }else if(MODIFY_CODE == 1){//尺寸修改
- datagrid9.rowStatus(1) = 2;
- //修改分割实绩录入表格2,3行的行状态为UPDATE
- commSendReq("/root/formData");
- commMultiUpdate(datagrid9,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","save3","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }else if(MODIFY_CODE == 4){//全废钢
- datagrid13.rowStatus(1) = 2;
- //修改分割实绩录入表格2,3行的行状态为UPDATE
- commSendReq("/root/formData");
- commMultiUpdate(datagrid15,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","save3","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }else if(MODIFY_CODE == 5){//部分废钢
- datagrid15.rowStatus(1) = 2;
- //修改分割实绩录入表格2,3行的行状态为UPDATE
- commSendReq("/root/formData");
- commMultiUpdate(datagrid13,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","save3","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }else if(MODIFY_CODE == 6){//分切撤销
- var slabNo = "";
- for(var i = datagrid3.fixedRows; i < datagrid3.rows; i++)
- {
- if(datagrid3.valueMatrix(i,datagrid3.colRef("CHK")) == "true" ) {
- slabNo = datagrid3.valueMatrix(i,datagrid3.colRef("SLAB_NO"))
- }
- }
- //datagrid3.rowStatus(1) = 1;
- model.setValue("/root/formData/NEW_SLAB_NO",slabNo);
- model.duplicate("root/reqData","/root/formData/NEW_SLAB_NO");
- commSendReq("/root/formData");
- //commMultiUpdate(datagrid3,"/root/reqData","A",true,"rowStatus");
- commSubmit("UIG040070-service","recutcancel","glueAction.do");
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- }
- var messages = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
- if(messages != "")
- {
- alert(messages);
- }
- find();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-family:宋体; ">
- <switch id="switch1" style="left:0px; top:45px; width:965px; height:555px; ">
- <case id="case1" style="left:0px; top:0px; width:980px; height:605px; ">
- <datagrid id="datagrid5" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:195px; ">
- <col ref="CHK" type="radio"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="CORRECT_YN"/>
- <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- select();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid6" nodeset="/root/gridData/cutDirectGrid/CutDirectResult_VO/CutDirectResult_Row" disabled="true" allowuserresize="false" caption="板坯号^分割^厚度^宽度^长度" colsep="^" colwidth="99, 60, 60, 54, 76" defaultrows="3" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:219px; width:355px; height:165px; border-color:#000000; ">
- <col ref="SLAB_NO"/>
- <col ref="SLAB_CUT_SEQ"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- </datagrid>
- <caption id="caption10" class="cell" style="left:0px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割指示对象</caption>
- <datagrid id="datagrid7" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^分割^厚度^宽度^长度^重量^长度判定^垛位^^caption1^caption2" colsep="^" colwidth="69, 97, 36, 46, 50, 55, 60, 52, 90, 5, 19, 14" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:356px; top:219px; width:605px; height:165px; border-color:#000000; ">
- <col ref="CLF"/>
- <col ref="SLAB_NO"/>
- <col ref="SLAB_CUT_SEQ"/>
- <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col ref="ORL_LOAD_LOC" visibility="hidden"/>
- <col ref="DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid3.col == datagrid3.colRef("SLAB_LEN"))
- {
- //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
- var slabThk = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_THK"));
- var slabWth = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WTH"));
- var slabLen = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_LEN"));
-
- var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
- datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WGT")) = slabWgt;
-
- if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
-
- var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
-
- model.makeNode("/root/searchData/SCRAP_WGT");
- model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
- input2.value = scrapWgt;
- input2.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="cell" style="left:356px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
- <caption id="caption2" class="cell" style="left:0px; top:385px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
- <datagrid id="datagrid8" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 42, 50" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:405px; width:960px; height:145px; border-color:#000000; ">
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
- <col ref="SIZE_UPDT_CAUSE_CD"/>
- <col ref="ORD_FL"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
- <col ref="SIZE_UPDT_WKGROUP"/>
- <col ref="SIZE_UPDT_WKSHIFT"/>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid1" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:195px; ">
- <col ref="CHK" type="radio"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="CORRECT_YN"/>
- <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- select();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid10" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^分割^厚度^宽度^长度^重量^长度判定^垛位^MAX_SEQ^caption1^caption2^" colsep="^" colwidth="69, 97, 48, 46, 50, 55, 60, 52, 90, 100, 15, 8, 5" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:219px; width:960px; height:165px; border-color:#000000; ">
- <col ref="CLF"/>
- <col ref="SLAB_NO"/>
- <col ref="SLAB_CUT_SEQ"/>
- <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WGT" type="input" format="999999-9999999" style="background-color:#ffff99; "/>
- <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col ref="MAX_SEQ"/>
- <col ref="DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
- <col ref="ORL_LOAD_LOC" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid10.col == datagrid10.colRef("SLAB_LEN"))
- {
- //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
- var slabThk = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_THK"));
- var slabWth = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_WTH"));
- var slabLen = datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_LEN"));
-
- var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
- datagrid10.valueMatrix(datagrid10.row,datagrid10.colRef("SLAB_WGT")) = slabWgt;
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid11" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 79, 48, 60" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:405px; width:960px; height:145px; border-color:#000000; ">
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
- <col ref="SIZE_UPDT_CAUSE_CD"/>
- <col ref="ORD_FL"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
- <col ref="SIZE_UPDT_WKGROUP"/>
- <col ref="SIZE_UPDT_WKSHIFT"/>
- </datagrid>
- <caption id="caption3" class="cell" style="left:0px; top:200px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
- <caption id="caption9" class="cell" style="left:0px; top:385px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
- <input id="input2" ref="/root/formData/CUT_CNT" format="999999-9999999" style="left:380px; top:199px; width:50px; height:20px; "/>
- <caption id="caption5" class="cell" style="left:280px; top:199px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割倍尺</caption>
- </case>
- <script type="javascript" ev:event="case1">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- <script type="javascript" ev:event="case2">
- <![CDATA[
- model.toggle("case2");
- ]]>
- </script>
- <script type="javascript" ev:event="case3">
- <![CDATA[
- model.toggle("case3");
- ]]>
- </script>
- <script type="javascript" ev:event="case4">
- <![CDATA[
- model.toggle("case4");
- ]]>
- </script>
- <script type="javascript" ev:event="case5">
- <![CDATA[
- model.toggle("case5");
- ]]>
- </script>
- <script type="javascript" ev:event="case6">
- <![CDATA[
- model.toggle("case6");
- ]]>
- </script>
- <case id="case3">
- <datagrid id="datagrid2" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
- <col ref="CHK" type="radio"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="CORRECT_YN"/>
- <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- select();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid9" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^^caption1^caption2^caption3" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 5, 100, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
- <col ref="CLF"/>
- <col ref="SLAB_NO"/>
- <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col ref="ORL_LOAD_LOC" visibility="hidden"/>
- <col ref="DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SCRAP_WGT"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid9.col == datagrid9.colRef("SLAB_LEN") || datagrid9.col == datagrid9.colRef("SLAB_WTH") || datagrid9.col == datagrid9.colRef("SLAB_THK"))
- {
- //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
- var slabThk = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_THK"));
- var slabWth = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_WTH"));
- var slabLen = datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_LEN"));
-
- var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
- datagrid9.valueMatrix(datagrid9.row,datagrid9.colRef("SLAB_WGT")) = slabWgt;
-
- // if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
- //
- // var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
- //
- // model.makeNode("/root/searchData/SCRAP_WGT");
- // model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
- // input2.value = scrapWgt;
- // input2.refresh();
- // }
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid12" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 43, 60" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
- <col ref="SIZE_UPDT_CAUSE_CD"/>
- <col ref="ORD_FL"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
- <col ref="SIZE_UPDT_WKGROUP"/>
- <col ref="SIZE_UPDT_WKSHIFT"/>
- </datagrid>
- <caption id="caption11" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
- <caption id="caption12" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
- </case>
- <case id="case4" selected="true">
- <datagrid id="datagrid3" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
- <col ref="CHK" type="radio"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="CORRECT_YN"/>
- <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- select();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid13" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^废钢量^^caption1^caption2^caption3" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 100, 5, 100, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
- <col ref="CLF"/>
- <col ref="SLAB_NO"/>
- <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col ref="SCRAP_WGT"/>
- <col ref="ORL_LOAD_LOC" visibility="hidden"/>
- <col ref="DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
- <col ref="ORL_SLAB_WGT"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid13.col == datagrid13.colRef("SLAB_LEN"))
- {
- //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
- var slabThk = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_THK"));
- var slabWth = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_WTH"));
- var slabLen = datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_LEN"));
-
- var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
- datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SLAB_WGT")) = slabWgt;
-
- var scrapWgt = datagrid13.valueMatrix(1,datagrid13.colRef("ORL_SLAB_WGT")) - slabWgt;
- datagrid13.valueMatrix(datagrid13.row,datagrid13.colRef("SCRAP_WGT")) = scrapWgt;
-
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption13" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
- <datagrid id="datagrid14" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 52, 51" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
- <col ref="SIZE_UPDT_CAUSE_CD"/>
- <col ref="ORD_FL"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
- <col ref="SIZE_UPDT_WKGROUP"/>
- <col ref="SIZE_UPDT_WKSHIFT"/>
- </datagrid>
- <caption id="caption14" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
- </case>
- <case id="case5">
- <datagrid id="datagrid4" nodeset="/root/gridData/slabList/SearchMILLYARD_Result_VO/SearchMILLYARD_Result_Row" caption="选择^板坯号^牌号^精整区分^精整作业实绩代码^厚度^宽度^长度^板坯重量" colsep="^" colwidth="41, 106, 100, 100, 128, 100, 100, 100, 100" defaultrows="9" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:960px; height:170px; ">
- <col ref="CHK" type="radio"/>
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col ref="CORRECT_YN"/>
- <col editable="false" ref="CORRECT_RSLT_CD" type="input"/>
- <col editable="false" ref="SLAB_THK" type="input"/>
- <col editable="false" ref="SLAB_WTH" type="input"/>
- <col editable="false" ref="SLAB_LEN" type="input"/>
- <col editable="false" ref="SLAB_WGT" type="input"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- select();
- ]]>
- </script>
- </datagrid>
- <caption id="caption15" class="cell" style="left:0px; top:175px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">分割实绩录入</caption>
- <datagrid id="datagrid15" nodeset="/root/gridData/cutResultGrid/CutResult_VO/CutResult_Row" caption="区分^板坯号^厚度^宽度^长度^重量^长度判定^垛位^废钢量^^caption1^caption2" colsep="^" colwidth="69, 97, 46, 50, 55, 60, 52, 90, 100, 5, 100, 100" defaultrows="4" fixedcols="1" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:194px; width:960px; height:165px; border-color:#000000; ">
- <col ref="CLF"/>
- <col ref="SLAB_NO"/>
- <col ref="SLAB_THK" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WTH" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_LEN" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_WGT" type="input" style="background-color:#ffff99; "/>
- <col ref="SLAB_SIZE_DEC_GRD" type="combo" style="background-color:#ffff99; ">
- <choices>
- <item>
- <label>合格</label>
- <value>1</value>
- </item>
- <item>
- <label>不合格</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="CUR_LOAD_LOC" type="input" style="background-color:#ffff99; "/>
- <col/>
- <col ref="ORL_LOAD_LOC" visibility="hidden"/>
- <col ref="DSN_SLAB_NO" visibility="hidden"/>
- <col ref="SUB_DSN_SLAB_NO" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(datagrid3.col == datagrid3.colRef("SLAB_LEN"))
- {
- //板坯分割生成新的板坯后,根据新板坯的长宽厚计算出板坯重量
- var slabThk = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_THK"));
- var slabWth = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WTH"));
- var slabLen = datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_LEN"));
-
- var slabWgt = Math.round(parseInt(slabThk)*parseInt(slabWth)*parseInt(slabLen)*7.85/1000000);
- datagrid3.valueMatrix(datagrid3.row,datagrid3.colRef("SLAB_WGT")) = slabWgt;
-
- if(datagrid1.valueMatrix(1,datagrid1.colRef("MODIFY_CD")) == "05"){
-
- var scrapWgt = datagrid3.valueMatrix(1,datagrid3.colRef("SLAB_WGT")) - slabWgt;
-
- model.makeNode("/root/searchData/SCRAP_WGT");
- model.setValue("/root/searchData/SCRAP_WGT",scrapWgt);
- input2.value = scrapWgt;
- input2.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption16" class="cell" style="left:0px; top:360px; width:100px; height:20px; font-weight:bold; border-color:#000000; ">切割实绩</caption>
- <datagrid id="datagrid16" nodeset="/root/gridData/CorrectedGrid/CorrectedResult_VO/CorrectedResult_Row" disabled="true" caption="板坯号^修改前^修改前^修改前^修改前^修改后^修改后^修改后^修改后^修改原因^产品余材区分^牌号^登录人^班次^组|板坯号^厚度^宽度^长度^重量^厚度^宽度^长度^重量^修改原因^产品余材区分^牌号^登录人^班次^组" colsep="^" colwidth="90, 60, 60, 60, 60, 60, 60, 60, 60, 75, 60, 60, 90, 44, 48" defaultrows="12" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:380px; width:960px; height:170px; border-color:#000000; ">
- <col editable="false" ref="SLAB_NO" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_BEF_WGT" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_THK" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WTH" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_LEN" type="input"/>
- <col editable="false" ref="SIZE_UPDT_AFT_WGT" type="input"/>
- <col ref="SIZE_UPDT_CAUSE_CD"/>
- <col ref="ORD_FL"/>
- <col editable="false" ref="STL_GRD" type="input"/>
- <col editable="false" ref="SIZE_UPDT_EMP_NO" type="input"/>
- <col ref="SIZE_UPDT_WKGROUP"/>
- <col ref="SIZE_UPDT_WKSHIFT"/>
- </datagrid>
- </case>
- </switch>
- <group id="group1" ref="/root/formData" style="left:0px; top:0px; width:960px; height:25px; ">
- <caption id="caption6" class="cell" style="left:640px; top:2px; width:45px; height:20px; font-weight:bold; border-color:#000000; ">班次</caption>
- <caption id="caption7" class="cell" style="left:745px; top:2px; width:45px; height:20px; font-weight:bold; border-color:#000000; ">班组</caption>
- <caption id="caption8" class="cell" style="left:850px; top:2px; width:50px; height:20px; font-weight:bold; border-color:#000000; ">操作人</caption>
- <select1 id="combo2" ref="/root/formData/REG_SHIP" appearance="minimal" style="left:685px; top:2px; width:55px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'Z05001']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/formData/REG_GROUP" appearance="minimal" style="left:790px; top:2px; width:55px; height:20px; ">
- <choices>
- <itemset nodeset="/root/codeData/COMM_CODE_RESULT_VO/COMM_CODE_RESULT_Row[LG_CD = 'Z05002']">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/formData/REG_ID" disabled="true" style="left:900px; top:2px; width:60px; height:20px; "/>
- <caption id="caption4" class="cell" style="left:0px; top:2px; width:55px; height:20px; font-weight:bold; border-color:#000000; ">炉 号</caption>
- <input id="input3" ref="CHARGE_NO" style="left:55px; top:2px; width:100px; height:20px; background-color:#ffff99; "/>
- <button id="button6" visibility="hidden" style="left:440px; top:5px; width:65px; height:15px; ">
- <caption>find</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <button id="button7" visibility="hidden" style="left:535px; top:5px; width:65px; height:15px; ">
- <caption>save</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- save();
- ]]>
- </script>
- </button>
- </group>
- <button id="button1" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:0px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>指示二切</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.dispatch("case1");
- model.setValue("/root/formData/MODIFY_CODE","03"); //指示切割
- find();
- ]]>
- </script>
- </button>
- <button id="button2" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:295px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>部分废钢</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.dispatch("case4");
- model.setValue("/root/formData/MODIFY_CODE","05"); //部分废钢
- find();
- ]]>
- </script>
- </button>
- <button id="button3" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:95px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>非指示二切</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.dispatch("case2");
- model.setValue("/root/formData/MODIFY_CODE","02"); //未指示切割
- find();
- ]]>
- </script>
- </button>
- <button id="button4" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:195px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>尺寸修改</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.dispatch("case3");
- model.setValue("/root/formData/MODIFY_CODE","01"); //尺寸修改
- find();
- ]]>
- </script>
- </button>
- <button id="button5" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:395px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>全废钢</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.dispatch("case5");
- model.setValue("/root/formData/MODIFY_CODE","04"); //全废钢
- find();
- ]]>
- </script>
- </button>
- <button id="button8" class="sw" select.background-image="../../images/sw_select.gif" focus.background-image="../../images/sw_select.gif" hover.background-image="../../images/sw_normal.gif" style="left:495px; top:25px; width:100px; height:20px; background-image:../../images/sw_normal.gif; ">
- <caption>分切撤销</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //switch1.dispatch("case2");
- model.setValue("/root/formData/MODIFY_CODE","06"); //全废钢
- find();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|