| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752 |
- <?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[炼钢作业 >> 板坯库管理 >> 热轧板坯库现况查询(UIG040020)]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <YARD_AREA>Z1</YARD_AREA>
- <SLAB_DISTR>mill_fl</SLAB_DISTR>
- </formData>
- <gridData>
- <grid1/>
- </gridData>
- <resData/>
- <reqData/>
- <searchData/>
- <tempData>
- <searchType/>
- <selectCaption/>
- </tempData>
- <searchData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- yardAreaSelect();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- var SELECTED_CAPTION = "";
-
- // 判断是否已经执行过查询操作,如果执行过find方法,则值为true,库区跨选项改变时则自动查询
- var HAS_FINDED = false;
-
- /*
- *给新建的grid的每个caption设定ref
- */
- function getGridColRef (grid)
- {
- var gridColNodes = grid.caption.split("^");
- for(var i = 0;i<gridColNodes.length;i++)
- {
- grid.colAttribute(i,"ref")=gridColNodes[i];
- }
- }
-
- function yardAreaSelect(){
- datagrid1.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid2.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid3.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid4.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid5.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid6.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid7.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid8.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid9.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid10.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid11.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- datagrid12.cellstyle("background-color",1, 0, 1,20) = "#ffffff";
- var yardAreaNode = instance1.selectSingleNode("/root/formData/YARD_AREA");
- if(yardAreaNode.value == "")
- {
- alert("YARD_AREA 不能为空");
- }
- else if(yardAreaNode.value == 'Z1')
- {
- model.removenode("/root/gridData/grid1");
- model.makeNode("/root/gridData/grid1");
-
- datagrid1.caption = "Z11X11^Z11X12^Z11X13^Z11X14^Z11X15^Z11X16^^Z11X21^Z11X22^Z11X23^Z11X24^Z11X25^^Z11X31^Z11X32^Z11X33^Z11X34^Z11X35";
- datagrid2.caption = "Z11Y11^Z11Y12^Z11Y13^Z11Y14^Z11Y15^Z11Y16^^Z11Y21^Z11Y22^Z11Y23^Z11Y24^Z11Y25^^Z11Y31^Z11Y32^Z11Y33^Z11Y34^Z11Y35";
- datagrid3.caption = "Z11C11^Z11C12^Z11C13^Z11C14^Z11C15^Z11C16^^Z11C21^Z11C22^Z11C23^Z11C24^Z11C25^^Z11C31^Z11C32^Z11C33^Z11C34^Z11C35";
- datagrid4.caption = "Z11D11^Z11D12^Z11D13^Z11D14^Z11D15^Z11D16^^Z11D21^Z11D22^Z11D23^Z11D24^Z11D25^^Z11D31^Z11D32^Z11D33^Z11D34^Z11D35";
-
- datagrid5.caption = "Z12X11^Z12X12^Z12X13^Z12X14^Z12X15^Z12X21^Z12X22^Z12X23^Z12X24^Z12X25^Z12X31^Z12X32^Z12X33^Z12X34^Z12X35^Z12X41^Z12X42^Z12X43^Z12X44^Z12X45";
- datagrid6.caption = "Z12Y11^Z12Y12^Z12Y13^Z12Y14^Z12Y15^Z12Y21^Z12Y22^Z12Y23^Z12Y24^Z12Y25^Z12Y31^Z12Y32^Z12Y33^Z12Y34^Z12Y35^Z12Y41^Z12Y42^Z12Y43^Z12Y44^Z12Y45";
- datagrid7.caption = "Z12C11^Z12C12^Z12C13^Z12C14^Z12C15^Z12C21^Z12C22^Z12C23^Z12C24^Z12C25^Z12C31^Z12C32^Z12C33^Z12C34^Z12C35^Z12C41^Z12C42^Z12C43^Z12C44^Z12C45";
- datagrid8.caption = "Z12D11^Z12D12^Z12D13^Z12D14^Z12D15^Z12D21^Z12D22^Z12D23^Z12D24^Z12D25^Z12D31^Z12D32^Z12D33^Z12D34^Z12D35^Z12D41^Z12D42^Z12D43^Z12D44^Z12D45";
-
- datagrid9.caption = "Z13X11^Z13X12^Z13X13^Z13X14^Z13X15^Z13X16^^Z13X21^Z13X22^Z13X23^Z13X24^Z13X25^^Z13X31^Z13X32^Z13X33^Z13X34^Z13X35";
- datagrid10.caption = "Z13Y11^Z13Y12^Z13Y13^Z13Y14^Z13Y15^Z13Y16^^Z13Y21^Z13Y22^Z13Y23^Z13Y24^Z13Y25^^Z13Y31^Z13Y32^Z13Y33^Z13Y34^Z13Y35";
- datagrid11.caption = "Z13C11^Z13C12^Z13C13^Z13C14^Z13C15^Z13C16^^Z13C21^Z13C22^Z13C23^Z13C24^Z13C25^^Z13C31^Z13C32^Z13C33^Z13C34^Z13C35";
- datagrid12.caption = "Z13D11^Z13D12^Z13D13^Z13D14^Z13D15^Z13D16^^Z13D21^Z13D22^Z13D23^Z13D24^Z13D25^^Z13D31^Z13D32^Z13D33^Z13D34^Z13D35";
-
- getGridColRef(datagrid1);
- getGridColRef(datagrid2);
- getGridColRef(datagrid3);
- getGridColRef(datagrid4);
- getGridColRef(datagrid5);
- getGridColRef(datagrid6);
- getGridColRef(datagrid7);
- getGridColRef(datagrid8);
- getGridColRef(datagrid9);
- getGridColRef(datagrid10);
- getGridColRef(datagrid11);
- getGridColRef(datagrid12);
-
-
- }
- else if(yardAreaNode.value == 'Z2')
- {
- model.removenode("/root/gridData/grid1");
- model.makeNode("/root/gridData/grid1");
-
- datagrid1.caption = "Z21X11^Z21X12^Z21X13^Z21X14^Z21X15^Z21X16^^Z21X21^Z21X22^Z21X23^Z21X24^Z21X25^^Z21X31^Z21X32^Z21X33^Z21X34^Z21X35";
- datagrid2.caption = "Z21Y11^Z21Y12^Z21Y13^Z21Y14^Z21Y15^Z21Y16^^Z21Y21^Z21Y22^Z21Y23^Z21Y24^Z21Y25^^Z21Y31^Z21Y32^Z21Y33^Z21Y34^Z21Y35";
- datagrid3.caption = "Z21C11^Z21C12^Z21C13^Z21C14^Z21C15^Z21C16^^Z21C21^Z21C22^Z21C23^Z21C24^Z21C25^^Z21C31^Z21C32^Z21C33^Z21C34^Z21C35";
- datagrid4.caption = "Z21D11^Z21D12^Z21D13^Z21D14^Z21D15^Z21D16^^Z21D21^Z21D22^Z21D23^Z21D24^Z21D25^^Z21D31^Z21D32^Z21D33^Z21D34^Z21D35";
-
- datagrid5.caption = "Z22X11^Z22X12^Z22X13^Z22X14^Z22X15^Z22X21^Z22X22^Z22X23^Z22X24^Z22X25^Z22X31^Z22X32^Z22X33^Z22X34^Z22X35^Z22X41^Z22X42^Z22X43^Z22X44^Z22X45";
- datagrid6.caption = "Z22Y11^Z22Y12^Z22Y13^Z22Y14^Z22Y15^Z22Y21^Z22Y22^Z22Y23^Z22Y24^Z22Y25^Z22Y31^Z22Y32^Z22Y33^Z22Y34^Z22Y35^Z22Y41^Z22Y42^Z22Y43^Z22Y44^Z22Y45";
- datagrid7.caption = "Z22C11^Z22C12^Z22C13^Z22C14^Z22C15^Z22C21^Z22C22^Z22C23^Z22C24^Z22C25^Z22C31^Z22C32^Z22C33^Z22C34^Z22C35^Z22C41^Z22C42^Z22C43^Z22C44^Z22C45";
- datagrid8.caption = "Z22D11^Z22D12^Z22D13^Z22D14^Z22D15^Z22D21^Z22D22^Z22D23^Z22D24^Z22D25^Z22D31^Z22D32^Z22D33^Z22D34^Z22D35^Z22D41^Z22D42^Z22D43^Z22D44^Z22D45";
-
- datagrid9.caption = "Z23X11^Z23X12^Z23X13^Z23X14^Z23X15^Z23X16^^Z23X21^Z23X22^Z23X23^Z23X24^Z23X25^^Z23X31^Z23X32^Z23X33^Z23X34^Z23X35";
- datagrid10.caption = "Z23Y11^Z23Y12^Z23Y13^Z23Y14^Z23Y15^Z23Y16^^Z23Y21^Z23Y22^Z23Y23^Z23Y24^Z23Y25^^Z23Y31^Z23Y32^Z23Y33^Z23Y34^Z23Y35";
- datagrid11.caption = "Z23C11^Z23C12^Z23C13^Z23C14^Z23C15^Z23C16^^Z23C21^Z23C22^Z23C23^Z23C24^Z23C25^^Z23C31^Z23C32^Z23C33^Z23C34^Z23C35";
- datagrid12.caption = "Z23D11^Z23D12^Z23D13^Z23D14^Z23D15^Z23D16^^Z23D21^Z23D22^Z23D23^Z23D24^Z23D25^^Z23D31^Z23D32^Z23D33^Z23D34^Z23D35";
-
- getGridColRef(datagrid1);
- getGridColRef(datagrid2);
- getGridColRef(datagrid3);
- getGridColRef(datagrid4);
- getGridColRef(datagrid5);
- getGridColRef(datagrid6);
- getGridColRef(datagrid7);
- getGridColRef(datagrid8);
- getGridColRef(datagrid9);
- getGridColRef(datagrid10);
- getGridColRef(datagrid11);
- getGridColRef(datagrid12);
- }
- else if(yardAreaNode.value == 'Z3')
- {
- model.removenode("/root/gridData/grid1");
- model.makeNode("/root/gridData/grid1");
-
- datagrid1.caption = "Z31X11^Z31X12^Z31X13^Z31X14^Z31X15^Z31X16^^Z31X21^Z31X22^Z31X23^Z31X24^Z31X25^^Z31X31^Z31X32^Z31X33^Z31X34^Z31X35";
- datagrid2.caption = "Z31Y11^Z31Y12^Z31Y13^Z31Y14^Z31Y15^Z31Y16^^Z31Y21^Z31Y22^Z31Y23^Z31Y24^Z31Y25^^Z31Y31^Z31Y32^Z31Y33^Z31Y34^Z31Y35";
- datagrid3.caption = "Z31C11^Z31C12^Z31C13^Z31C14^Z31C15^Z31C16^^Z31C21^Z31C22^Z31C23^Z31C24^Z31C25^^Z31C31^Z31C32^Z31C33^Z31C34^Z31C35";
- datagrid4.caption = "Z31D11^Z31D12^Z31D13^Z31D14^Z31D15^Z31D16^^Z31D21^Z31D22^Z31D23^Z31D24^Z31D25^^Z31D31^Z31D32^Z31D33^Z31D34^Z31D35";
-
- datagrid5.caption = "Z32X11^Z32X12^Z32X13^Z32X14^Z32X15^Z32X21^Z32X22^Z32X23^Z32X24^Z32X25^Z32X31^Z32X32^Z32X33^Z32X34^Z32X35^Z32X41^Z32X42^Z32X43^Z32X44^Z32X45";
- datagrid6.caption = "Z32Y11^Z32Y12^Z32Y13^Z32Y14^Z32Y15^Z32Y21^Z32Y22^Z32Y23^Z32Y24^Z32Y25^Z32Y31^Z32Y32^Z32Y33^Z32Y34^Z32Y35^Z32Y41^Z32Y42^Z32Y43^Z32Y44^Z32Y45";
- datagrid7.caption = "Z32C11^Z32C12^Z32C13^Z32C14^Z32C15^Z32C21^Z32C22^Z32C23^Z32C24^Z32C25^Z32C31^Z32C32^Z32C33^Z32C34^Z32C35^Z32C41^Z32C42^Z32C43^Z32C44^Z32C45";
- datagrid8.caption = "Z32D11^Z32D12^Z32D13^Z32D14^Z32D15^Z32D21^Z32D22^Z32D23^Z32D24^Z32D25^Z32D31^Z32D32^Z32D33^Z32D34^Z32D35^Z32D41^Z32D42^Z32D43^Z32D44^Z32D45";
-
- datagrid9.caption = "Z33X11^Z33X12^Z33X13^Z33X14^Z33X15^Z33X16^^Z33X21^Z33X22^Z33X23^Z33X24^Z33X25^^Z33X31^Z33X32^Z33X33^Z33X34^Z33X35";
- datagrid10.caption = "Z33Y11^Z33Y12^Z33Y13^Z33Y14^Z33Y15^Z33Y16^^Z33Y21^Z33Y22^Z33Y23^Z33Y24^Z33Y25^^Z33Y31^Z33Y32^Z33Y33^Z33Y34^Z33Y35";
- datagrid11.caption = "Z33C11^Z33C12^Z33C13^Z33C14^Z33C15^Z33C16^^Z33C21^Z33C22^Z33C23^Z33C24^Z33C25^^Z33C31^Z33C32^Z33C33^Z33C34^Z33C35";
- datagrid12.caption = "Z33D11^Z33D12^Z33D13^Z33D14^Z33D15^Z33D16^^Z33D21^Z33D22^Z33D23^Z33D24^Z33D25^^Z33D31^Z33D32^Z33D33^Z33D34^Z33D35";
-
- getGridColRef(datagrid1);
- getGridColRef(datagrid2);
- getGridColRef(datagrid3);
- getGridColRef(datagrid4);
- getGridColRef(datagrid5);
- getGridColRef(datagrid6);
- getGridColRef(datagrid7);
- getGridColRef(datagrid8);
- getGridColRef(datagrid9);
- getGridColRef(datagrid10);
- getGridColRef(datagrid11);
- getGridColRef(datagrid12);
- }
-
- if(HAS_FINDED)
- {
- find();
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/G02.js"/>
- <script type="javascript">
- <![CDATA[
- /**
- * 查询操作
- */
- function find()
- {
- if(model.getValue("/root/formData/YARD_AREA") == "" )
- {
- window.alert("板坯库区域地址不能为空!","错误",0|32);
- }
- else
- {
- // 执行一次查询操作以后,库区跨选择项再有变化则不需再点击查询按钮,直接调用find方法查询
- HAS_FINDED = true;
-
- model.removenode("/root/reqData");
- commSendReq("/root/formData");
-
- if(model.getValue("/root/formData/SLAB_DISTR") == "order_fl"){
- commSubmit("UIG040020-service","findorderfl","glueAction.do");
- }else if(model.getValue("/root/formData/SLAB_DISTR") == "mill_fl"){
- commSubmit("UIG040020-service","findmillfl","glueAction.do");
- }
-
-
-
- commAppendData("/root/searchData/YardSlabCnt_VO","/root/resData/YardSlabCnt_VO");
-
-
- // 如果查询出值为空则退出
- var testnode = instance1.selectSingleNode("/root/resData/SlabYardResult_VO");
- if(testnode.childNodes.length == 0)
- {
- return;
- }
-
- // 获取板坯库地址,以及每个地址所存放的板坯块数,并跟界面中的datagrid绑定
- var slabYardAreaNodeset = instance1.selectSingleNode("/root/resData/SlabYardResult_VO/SlabYardResult_Row");
- for(var i = 1;i<=slabYardAreaNodeset.length;i++)
- {
- // 获取板库地址
- var resCaptionNode = instance1.selectSingleNode("/root/resData/SlabYardResult_VO/SlabYardResult_Row[" + i + "]/YARD_ADDR");
- // 板坯库地存放板坯数
- var resValueNode = instance1.selectSingleNode("/root/resData/SlabYardResult_VO/SlabYardResult_Row[" + i + "]/ROW_COUNT");
- // 创建一个gird1的子节点
- var captionNode = model.makeNode("/root/gridData/grid1/" + resCaptionNode.value);
- // 子节点赋值
- model.setValue("/root/gridData/grid1/" + resCaptionNode.value,resValueNode.value);
- }
-
- model.refresh();
-
- for(var i = 1;i<=slabYardAreaNodeset.length;i++)
- {
- var SlabCnt = model.getValue("/root/resData/SlabYardResult_VO/SlabYardResult_Row["+i+"]/RHF_SCH");
-
-
- if ( SlabCnt != null && SlabCnt == "Y" ) {
-
- var YardAddr = model.getValue("/root/resData/SlabYardResult_VO/SlabYardResult_Row["+i+"]/YARD_ADDR");
-
- var gridID = "";
- var AA = YardAddr.substring(0,2);
- var Z1D = AA+"1D";
- var Z1X = AA+"1X";
- var Z1Y = AA+"1Y";
- var Z1C = AA+"1C";
-
- var Z2D = AA+"2D";
- var Z2X = AA+"2X";
- var Z2Y = AA+"2Y";
- var Z2C = AA+"2C";
-
- var Z3D = AA+"3D";
- var Z3X = AA+"3X";
- var Z3Y = AA+"3Y";
- var Z3C = AA+"3C";
- if(YardAddr.substr(0,4) == Z1X)gridID = "datagrid1";
- else if(YardAddr.substr(0,4) == Z1Y)gridID = "datagrid2";
- else if(YardAddr.substr(0,4) == Z1C)gridID = "datagrid3";
- else if(YardAddr.substr(0,4) == Z1D)gridID = "datagrid4";
- else if(YardAddr.substr(0,4) == Z2X)gridID = "datagrid5";
- else if(YardAddr.substr(0,4) == Z2Y)gridID = "datagrid6";
- else if(YardAddr.substr(0,4) == Z2C)gridID = "datagrid7";
- else if(YardAddr.substr(0,4) == Z2D)gridID = "datagrid8";
- else if(YardAddr.substr(0,4) == Z3X)gridID = "datagrid9";
- else if(YardAddr.substr(0,4) == Z3Y)gridID = "datagrid10";
- else if(YardAddr.substr(0,4) == Z3C)gridID = "datagrid11";
- else if(YardAddr.substr(0,4) == Z3D)gridID = "datagrid12";
- var gridCaptions = document.all(gridID).caption.split("^");
-
- for ( var j = 0;j < 25 ; j++ ) {
-
- var titAddr = gridCaptions[j];
-
-
- if (YardAddr == titAddr ) {
-
- if(YardAddr.substr(0,4) == Z1X )
- datagrid1.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z1Y)
- datagrid2.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z1C)
- datagrid3.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z1D)
- datagrid4.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z2X)
- datagrid5.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z2Y)
- datagrid6.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z2C)
- datagrid7.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z2D)
- datagrid8.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z3X)
- datagrid9.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z3Y)
- datagrid10.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z3C)
- datagrid11.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
- else if(YardAddr.substr(0,4) == Z3D)
- datagrid12.cellstyle("background-color",1, j, 1,j) = "#ff00ff";
-
- }
- }
- }
- }
-
-
- datagrid1.rebuild();
- datagrid2.rebuild();
- datagrid3.rebuild();
- datagrid4.rebuild();
- datagrid5.rebuild();
- datagrid6.rebuild();
- datagrid7.rebuild();
- datagrid8.rebuild();
- datagrid9.rebuild();
- datagrid10.rebuild();
- datagrid11.rebuild();
- datagrid12.rebuild();
- }
- }
-
- function yardAddrDbClick(){
- if(datagrid1.isCell(event.target)&&datagrid1.row <= datagrid1.fixedRows)
- {
- var gridCaptions = datagrid1.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid1.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid2.isCell(event.target)&&datagrid2.row <= datagrid2.fixedRows)
- {
- var gridCaptions = datagrid2.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid2.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid3.isCell(event.target)&&datagrid3.row <= datagrid3.fixedRows)
- {
- var gridCaptions = datagrid3.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid3.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid4.isCell(event.target)&&datagrid4.row <= datagrid4.fixedRows)
- {
- var gridCaptions = datagrid4.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid4.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid5.isCell(event.target)&&datagrid5.row <= datagrid5.fixedRows)
- {
- var gridCaptions = datagrid5.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid5.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid6.isCell(event.target)&&datagrid6.row <= datagrid6.fixedRows)
- {
- var gridCaptions = datagrid6.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid6.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid7.isCell(event.target)&&datagrid7.row <= datagrid7.fixedRows)
- {
- var gridCaptions = datagrid7.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid7.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid8.isCell(event.target)&&datagrid8.row <= datagrid8.fixedRows)
- {
- var gridCaptions = datagrid8.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid8.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid9.isCell(event.target)&&datagrid9.row <= datagrid9.fixedRows)
- {
- var gridCaptions = datagrid9.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid9.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid10.isCell(event.target)&&datagrid10.row <= datagrid10.fixedRows)
- {
- var gridCaptions = datagrid10.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid10.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid11.isCell(event.target)&&datagrid11.row <= datagrid11.fixedRows)
- {
- var gridCaptions = datagrid11.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid11.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- else if(datagrid12.isCell(event.target)&&datagrid12.row <= datagrid12.fixedRows)
- {
- var gridCaptions = datagrid12.caption.split("^");
- SELECTED_CAPTION = gridCaptions[datagrid12.col];
- model.setValue("/root/tempData/selectCaption",SELECTED_CAPTION);
- model.setValue("/root/tempData/searchType",model.getValue("/root/formData/SLAB_DISTR"));
- window.load("UIG040030.xrw","modal","", "left:0; top:0; width:980; height:560; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,979;">
- <datagrid id="datagrid4" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z11D11^Z11D12^Z11D13^Z11D14^Z11D15^Z11D16^^Z11D21^Z11D22^Z11D23^Z11D24^Z11D25^^Z11D31^Z11D32^Z11D33^Z11D34^Z11D35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" disable.background-color="#3366ff" style="left:0px; top:191px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid1" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z11X11^Z11X12^Z11X13^Z11X14^Z11X15^Z11X16^^Z11X21^Z11X22^Z11X23^Z11X24^Z11X25^^Z11X31^Z11X32^Z11X33^Z11X34^Z11X35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:58px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid5" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z12X11^Z12X12^Z12X13^Z12X14^Z12X15^Z12X21^Z12X22^Z12X23^Z12X24^Z12X25^Z12X31^Z12X32^Z12X33^Z12X34^Z12X35^Z12X41^Z12X42^Z12X43^Z12X44^Z12X45" colsep="^" colwidth="48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:249px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid8" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z12D11^Z12D12^Z12D13^Z12D14^Z12D15^Z12D21^Z12D22^Z12D23^Z12D24^Z12D25^Z12D31^Z12D32^Z12D33^Z12D34^Z12D35^Z12D41^Z12D42^Z12D43^Z12D44^Z12D45" colsep="^" colwidth="48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:382px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col style="left:58px; top:21px; width:58px; height:21px; "/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col style="left:912px; top:21px; width:53px; height:21px; "/>
- </datagrid>
- <datagrid id="datagrid9" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z13X11^Z13X12^Z13X13^Z13X14^Z13X15^Z13X16^^Z13X21^Z13X22^Z13X23^Z13X24^Z13X25^^Z13X31^Z13X32^Z13X33^Z13X34^Z13X35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:440px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid12" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z13D11^Z13D12^Z13D13^Z13D14^Z13D15^Z13D16^^Z13D21^Z13D22^Z13D23^Z13D24^Z13D25^^Z13D31^Z13D32^Z13D33^Z13D34^Z13D35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:573px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- yardAddrDbClick();
- ]]>
- </script>
- <output id="output4" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/ALL_NONORD_T_CNT" style="left:771px; top:5px; width:50px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output5" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/LOC_NONORD_CNT" style="left:771px; top:30px; width:50px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output6" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/LOC_ORD_CNT" style="left:618px; top:30px; width:55px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output7" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/ALL_RHF_SCH" style="left:919px; top:5px; width:45px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output8" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/LOC_RHF_SCH" style="left:919px; top:30px; width:45px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <caption id="caption10" class="cell" style="left:826px; top:30px; width:90px; height:20px; border-color:#000000; ">被选择装炉指示</caption>
- <caption id="caption1" class="cell" style="left:264px; top:5px; width:55px; height:20px; border-color:#000000; ">总块数</caption>
- <select1 id="combo1" ref="/root/formData/YARD_AREA" appearance="minimal" style="left:57px; top:5px; width:45px; height:20px; border-color:#000000; ">
- <choices>
- <item>
- <label>Z1</label>
- <value>Z1</value>
- </item>
- <item>
- <label>Z2</label>
- <value>Z2</value>
- </item>
- <item>
- <label>Z3</label>
- <value>Z3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- yardAreaSelect();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="cell" style="left:0px; top:5px; width:55px; height:20px; font-size:14pt; font-weight:bold; border-color:#000000; ">库区跨</caption>
- <caption id="caption4" class="cell" style="left:264px; top:30px; width:55px; height:20px; border-color:#000000; ">选择块数</caption>
- <caption id="caption5" class="cell" style="left:516px; top:5px; width:100px; height:20px; border-color:#000000; ">总订单物料块数</caption>
- <caption id="caption6" class="cell" style="left:679px; top:5px; width:90px; height:20px; border-color:#000000; ">总余材块数</caption>
- <caption id="caption7" class="cell" style="left:516px; top:31px; width:100px; height:20px; border-color:#000000; ">选择订单物料块数</caption>
- <caption id="caption8" class="cell" style="left:679px; top:30px; width:90px; height:20px; border-color:#000000; ">被选择余材块数</caption>
- <caption id="caption9" class="cell" style="left:826px; top:5px; width:90px; height:20px; border-color:#000000; ">总装炉指示</caption>
- <output id="output1" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/ALL_T_CNT" style="left:321px; top:5px; width:55px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output2" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/LOC_T_CNT" style="left:321px; top:30px; width:55px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output3" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/ALL_ORD_T_CNT" style="left:618px; top:5px; width:55px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <line id="line1" style="x1:2px; y1:0px; x2:957px; y2:0px; "/>
- <line id="line3" style="x1:0px; y1:56px; x2:965px; y2:56px; "/>
- <line id="line4" style="x1:0px; y1:242px; x2:955px; y2:242px; "/>
- <line id="line5" style="x1:0px; y1:434px; x2:955px; y2:434px; "/>
- <datagrid id="datagrid11" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z13C11^Z13C12^Z13C13^Z13C14^Z13C15^Z13C16^^Z13C21^Z13C22^Z13C23^Z13C24^Z13C25^^Z13C31^Z13C32^Z13C33^Z13C34^Z13C35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:529px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid10" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z13Y11^Z13Y12^Z13Y13^Z13Y14^Z13Y15^Z13Y16^^Z13Y21^Z13Y22^Z13Y23^Z13Y24^Z13Y25^^Z13Y31^Z13Y32^Z13Y33^Z13Y34^Z13Y35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:484px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid7" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z12C11^Z12C12^Z12C13^Z12C14^Z12C15^Z12C21^Z12C22^Z12C23^Z12C24^Z12C25^Z12C31^Z12C32^Z12C33^Z12C34^Z12C35^Z12C41^Z12C42^Z12C43^Z12C44^Z12C45" colsep="^" colwidth="48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:338px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col style="left:58px; top:21px; width:58px; height:21px; "/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid6" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z12Y11^Z12Y12^Z12Y13^Z12Y14^Z12Y15^Z12Y21^Z12Y22^Z12Y23^Z12Y24^Z12Y25^Z12Y31^Z12Y32^Z12Y33^Z12Y34^Z12Y35^Z12Y41^Z12Y42^Z12Y43^Z12Y44^Z12Y45" colsep="^" colwidth="48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:293px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid3" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z11C11^Z11C12^Z11C13^Z11C14^Z11C15^Z11C16^^Z11C21^Z11C22^Z11C23^Z11C24^Z11C25^^Z11C31^Z11C32^Z11C33^Z11C34^Z11C35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 54, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" disable.background-color="#3366ff" style="left:0px; top:147px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/gridData/grid1" allowuserresize="false" caption="Z11Y11^Z11Y12^Z11Y13^Z11Y14^Z11Y15^Z11Y16^^Z11Y21^Z11Y22^Z11Y23^Z11Y24^Z11Y25^^Z11Y31^Z11Y32^Z11Y33^Z11Y34^Z11Y35" colsep="^" colwidth="55, 55, 56, 55, 55, 55, 40, 56, 55, 55, 56, 55, 40, 55, 55, 55, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:0px; top:102px; width:965px; height:45px; border-color:#000000; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <line id="line2" style="x1:240px; y1:252px; x2:240px; y2:427px; "/>
- <line id="line6" style="x1:480px; y1:252px; x2:480px; y2:427px; "/>
- <line id="line7" style="x1:720px; y1:252px; x2:720px; y2:427px; "/>
- <caption id="caption3" class="cell" style="left:383px; top:5px; width:55px; height:20px; border-color:#000000; ">总重量</caption>
- <caption id="caption11" class="cell" style="left:383px; top:30px; width:55px; height:20px; border-color:#000000; ">选择重量</caption>
- <output id="output9" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/ALL_T_WGT" style="left:440px; top:5px; width:70px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <output id="output10" ref="/root/searchData/YardSlabCnt_VO/YardSlabCnt_Row/LOC_T_WGT" style="left:440px; top:30px; width:70px; height:20px; background-color:#dddddd; border-color:#000000; "/>
- <caption id="caption12" class="cell" style="left:105px; top:5px; width:56px; height:20px; font-size:14pt; font-weight:bold; border-color:#000000; ">板坯分布</caption>
- <select1 id="combo2" ref="/root/formData/SLAB_DISTR" appearance="minimal" style="left:162px; top:5px; width:100px; height:20px; border-color:#000000; ">
- <choices>
- <item>
- <label>装炉指示分布</label>
- <value>mill_fl</value>
- </item>
- <item>
- <label>余材分布</label>
- <value>order_fl</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- yardAreaSelect();
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|