| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="C:/XGMES/MESSpace/xgmes3/WebContents/css/body.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <ProdNm>
- </ProdNm>
- <OrdStlGrd/>
- <OrdUseType/>
- <DevTerm>
- <FrDate/>
- <ToDate/>
- </DevTerm>
- <ShipProgCd/>
- </formData>
- <gridData>
- <DeliverGoodsResult_VO/>
- </gridData>
- <resData/>
- <reqData/>
- </root>
- </instance>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript">
- <![CDATA[
-
- function find() {
- //초기화
- model.removeNodeset(dg1.nodeset);
- //alert(dg1.nodeset);
- model.refresh();
- //reqData생성
- //commSendReq("/root/formData");
- //model.rmakeNode("/root/reqData");
- model.makeValue("/root/reqData/DevTerm/FrDate" ,model.getValue("/root/formData/DevTerm/FrDate" ));
- model.makeValue("/root/reqData/DevTerm/ToDate" ,model.getValue("/root/formData/DevTerm/ToDate" ));
- model.makeValue("/root/reqData/ShipProgCd" ,model.getValue("/root/formData/ShipProgCd" ));
- model.makeValue("/root/reqData/ProdNmCd" ,model.getValue("/root/formData/ProdNm" ));
- model.makeValue("/root/reqData/OrdStlGrd" ,model.getValue("/root/formData/OrdStlGrd" ));
- model.makeValue("/root/reqData/OrdUseType" ,model.getValue("/root/formData/OrdUseType" ));
-
- //alert(instance1.selectSingleNode("/root/reqData").xml);
- commSubmit("UIA030040-service" ,"find" ,"glueAction.do" );
- model.copyNode("/root/gridData/DeliverGoodsResult_VO" ,"/root/resData/DeliverGoodsResult_VO" );
- //model.removenode("/root/reqData");
- model.removenode("/root/resData/DeliverGoodsResult_VO");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // Populate values (品名-combo)
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/LgCd" ,"J01005" );
- commSubmit("UIACommCode-service","NorFind" ,"glueAction.do" );
- model.copyNode("/root/formData/ShipProgCd" ,"/root/resData/ACommCodeResult_VO" );
- model.removenode("/root/reqData");
- model.removenode("/root/resData/ACommCodeResult_VO");
- //ShipProgCd.refresh();
- // Populate values (发货指示期间-combo)
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/FromNum" ,"7" );
- model.makeValue("/root/reqData/ToNum" ,"0" );
- model.makeValue("/root/reqData/DateType" ,"YYYYMMDD" );
- commSubmit("UIACommDate-service","success" ,"glueAction.do" );
- model.setValue("/root/formData/DevTerm/FrDate", model.getValue("/root/resData/DateResultList_VO/DateResultList_Row/FR_DATE"));
- model.setValue("/root/formData/DevTerm/ToDate", model.getValue("/root/resData/DateResultList_VO/DateResultList_Row/TO_DATE"));
- model.removenode("/root/reqData");
- model.removenode("/root/resData/DateResultList_VO");
- // Populate values (品名-combo)
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/LgCd" ,"A01004" );
- commSubmit("UIACommCode-service","NorFind" ,"glueAction.do" );
- model.copyNode("/root/formData/ProdNm" ,"/root/resData/ACommCodeResult_VO" );
- model.removenode("/root/reqData");
- model.removenode("/root/resData/ACommCodeResult_VO");
- //cb_ProdNm.refresh();
-
- // Populate values (订单钢号-combo)
- model.makeNode("/root/reqData");
- commSubmit("UIACommCode-service","AllSpecStlGrdFind" ,"glueAction.do" );
- model.copyNode("/root/formData/OrdStlGrd" ,"/root/resData/ACommCodeResult_VO" );
- model.removenode("/root/reqData");
- model.removenode("/root/resData/ACommCodeResult_VO");
- //cb_OrdStlGrd.refresh();
- // Populate values (订单用途-combo)
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/LgCd" ,"A01007" );
- commSubmit("UIACommCode-service","AllNorFind" ,"glueAction.do" );
- model.copyNode("/root/formData/OrdUseType" ,"/root/resData/ACommCodeResult_VO" );
- model.removenode("/root/reqData");
- model.removenode("/root/resData/ACommCodeResult_VO");
- //cb_OrdUseType.refresh();
- model.refresh();
- cb_ShipProgCd.select(7);
- cb_ProdNm.select(1);
- cb_OrdStlGrd.select(0);
- cb_OrdUseType.select(0);
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620">
- <button id="button1" visibility="hidden" style="left:900px; top:5px; width:71px; height:20px; font-weight:bold; color:transparent; text-align:center; vertical-align:bottom; border-style:outset; ">
- <caption>FIND</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <caption id="ct_00" class="cell" style="left:2px; top:4px; width:86px; height:20px; text-align:center; vertical-align:middle; ">
- <![CDATA[发货进程状态]]>
- </caption>
- <select1 id="cb_ShipProgCd" ref="/root/formData/ShipProgCd" appearance="minimal" style="left:90px; top:4px; width:150px; height:20px; ">
- <choices>
- <itemset nodeset="/root/formData/ShipProgCd/ACommCodeResult_Row">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="ct_01" class="cell" style="left:254px; top:4px; width:86px; height:20px; text-align:center; vertical-align:middle; ">发货指示期间</caption>
- <input id="ip_FrDate" ref="/root/formData/DevTerm/FrDate" editable="false" inputtype="date" style="left:342px; top:4px; width:85px; height:20px; "/>
- <caption id="caption1" style="left:426px; top:4px; width:20px; height:20px; text-align:center; vertical-align:bottom; ">~</caption>
- <input id="ip_ToDate" ref="/root/formData/DevTerm/ToDate" editable="false" inputtype="date" style="left:445px; top:4px; width:85px; height:20px; "/>
- <caption id="ct_02" class="cell" style="left:2px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">品名</caption>
- <select1 id="cb_ProdNm" ref="/root/formData/ProdNm" appearance="minimal" style="left:90px; top:26px; width:150px; height:20px; ">
- <choices>
- <itemset nodeset="/root/formData/ProdNm/ACommCodeResult_Row">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="ct_03" class="cell" style="left:254px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">订单钢号</caption>
- <select1 id="cb_OrdStlGrd" ref="/root/formData/OrdStlGrd" appearance="minimal" editmode="inputsearch" style="left:342px; top:26px; width:188px; height:20px; ">
- <choices>
- <itemset nodeset="/root/formData/OrdStlGrd/ACommCodeResult_Row">
- <label ref="SPEC_STL_GRD_NM"/>
- <value ref="SPEC_STL_GRD_CD"/>
- </itemset>
- </choices>
- </select1>
- <caption id="ct_04" class="cell" style="left:544px; top:26px; width:86px; height:20px; text-align:center; vertical-align:middle; ">订单用途</caption>
- <select1 id="cb_OrdUseType" ref="/root/formData/OrdUseType" appearance="minimal" style="left:632px; top:26px; width:150px; height:20px; ">
- <choices>
- <itemset nodeset="/root/formData/OrdUseType/ACommCodeResult_Row">
- <label ref="SM_CFNM"/>
- <value ref="SM_CD"/>
- </itemset>
- </choices>
- </select1>
- <line id="line_01" visibility="visible" style="x1:976px; y1:48px; x2:1px; y2:48px; border-color:#ff0000; "/>
- <datagrid id="dg1" nodeset="/root/gridData/DeliverGoodsResult_VO/DeliverGoodsResult_Row" caption="订单号^订单号^客户公司^客户公司^COIL号^等级^厚度^宽度^长度^重量^钢号^用途^入库日^发货指示日^发货日|订单号^订单号^客户公司^客户公司^COIL号^等级^厚度^宽度^长度^重量^钢号^用途^入库日^发货指示日^发货日" colsep="^" colwidth="99, 30, 57, 90, 65, 65, 55, 55, 55, 55, 70, 70, 70, 70, 70" defaultrows="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:51px; width:976px; height:546px; ">
- <col ref="ORD_NO"/>
- <col ref="ORD_SEQ"/>
- <col ref="CUST_CD"/>
- <col ref="CUST_NM"/>
- <col ref="COIL_NO"/>
- <col ref="TOT_DEC_GRD"/>
- <col ref="COIL_THK"/>
- <col ref="COIL_WTH"/>
- <col ref="COIL_LEN"/>
- <col ref="ACT_WGT"/>
- <col ref="SPEC_STL_GRD"/>
- <col ref="ORD_USE_NM"/>
- <col ref="YARD_ENTRY_DTIME"/>
- <col ref="SHIP_DIR_DATE"/>
- <col ref="SHIP_CFM_DATE"/>
- </datagrid>
- <caption id="cp_StartBar" class="cell" style="left:2px; top:599px; width:976px; height:20px; text-align:left; ">Status</caption>
- <line id="line1" visibility="visible" style="x1:975px; y1:1px; x2:0px; y2:1px; border-color:#ff0000; "/>
- </xhtml:body>
- </xhtml:html>
|