| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[发货管理>>发货处理>>质保书发行]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <initData>
- <CRET_PRINT_TP/>
- </initData>
- <datagrid1/>
- <conditonData>
- <ord_no/>
- <CRET_PRINT_TP/>
- <STDATE/>
- <ENDDATE/>
- <CAR_GP/>
- <DLIV_DIRNO/>
- <INV_NO/>
- <MOBAN>UIB021120</MOBAN>
- <SPEC_STL_GRD/>
- <SENDTP>ALL</SENDTP>
- <ZE_TP>Z</ZE_TP>
- </conditonData>
- <searchInfo>
- <CRET_NO/>
- <class>xin.glue.ui.B.PosCertificate</class>
- <template>UIB021120</template>
- <cretList/>
- <user_id/>
- <PRINT_CNT/>
- </searchInfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- var print_cnt = 0;//用于记录本次打印次数
-
- function Init(node)
- {
- InitParams(node);
-
- datagrid1.fixedcellcheckbox(0,datagrid1.colRef("CHK"))=true;//进行全选操作
-
- combo2.select(2);
- input1.value = commCurDate();
- input2.value = commCurDate();
-
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/conditonData");
- commSubmit("UIB021100-service", "findTP", "glueAction.do");
- model.copyNode("/root/datagrid1","/root/resData/CRET_PRINT_TP_VO");
- model.refresh();
- datagrid1.colStatus(0) = false;
- setCor();//是否已审核
- }
-
- //是否已审核
- function setCor()
- {
- for(var i = 1;i < datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CRET_PRINT_TP")) == "Y")//已审核
- {
- datagrid1.rowstyle(i, "data", "color") = "#000000";
- }
- else//未审核
- {
- datagrid1.rowstyle(i, "data", "color") = "#ff0000";
- }
- }
- }
-
- function find()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commSendReq("/root/conditonData");
- commSubmit("UIB021100-service", "findTP", "glueAction.do");
- model.copyNode("/root/datagrid1","/root/resData/CRET_PRINT_TP_VO");
- model.refresh();
- setCor(); //是否已审核
- }
-
- function save()
- {
-
- var ope = window.opener;
- var flag = model.getValue("/root/initData/rcvInfo/REG_ID");
-
- for(var i = 1;i<datagrid1.rows;i++)
- {
- datagrid1.valueMatrix(i,datagrid1.colRef("REG_ID")) = flag;
- }
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");//获得修改、插入、删除参数
- commSubmit("UIB021100-service", "save", "glueAction.do");
- model.refresh();
- window.alert("审核成功!", "提示");
- //清除删除、插入、修改状态,防止在第二次修改时候出问题
- datagrid1.clearStatus();
- }
-
- function print1(cret_no)
- {
-
- body.disabled = true;
-
- model.removenode("root/reqData");
- model.makeNode("root/reqData");
- model.removenode("root/temp1");
- model.makeNode("root/temp1");
-
- model.makeValue("/root/searchInfo/user_id",model.getValue("/root/initData/rcvInfo/REG_ID"));
- model.makeValue("/root/searchInfo/CRET_NO",cret_no);
- model.makeValue("/root/searchInfo/PRINT_CNT",print_cnt);
- if(combo4.value == "UIB021121")
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificateSp1");
- model.makeValue("/root/searchInfo/template" , "UIB021121");
- }
- else
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificate");
- model.makeValue("/root/searchInfo/template" , "UIB021120");
- }
- //commSendReq("/root/searchInfo","root/temp1");
- //commSubmit("UIB021120-service", "save", "glueAction.do");
-
- if(cret_no != "")
- {
- commSendReq("/root/searchInfo");
- excelSubmit1("UIB021120-service", "find");
- /* commSubmit("UIB021120-service", "find", "etAction.do");
- window.load(url+"excel.jsp", "html");*/
- //http://localhost:8088/xgmes3/excel.jsp
- }
- print_cnt++;
- body.disabled = false;
- }
-
- function excelSubmit1(submitID, serviceTag)
- {
- var reqData = setReqData(model.instances(0).selectSingleNode("/root/reqData"));
- //window.load(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "html");
- model.download(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "C:\\WINDOWS\\excel.xls", false);
- try
- {
- var xlApp = new ActiveXObject("Excel.Application");
- }
- catch(e)
- {
- window.alert("未安装Microsoft Office Excel 2003,请安装" , "提示");
- }
-
- try
- {
- xlApp.Visible = false;
- xlApp.Workbooks.Add();
- xlApp.Workbooks.Open("C:\\WINDOWS\\excel.xls");
- var ExcelSheet = xlApp.Worksheets(1);
- ExcelSheet.PrintOut();
- xlApp.Quit();
- xlApp=null;
- }
- catch(e)
- {
- window.alert("未安装打印机,请安装" , "提示");
- }
- //var fso = new ActiveXObject("Scripting.FileSystemObject");
- //fso.DeleteFile("C:\\WINDOWS\\excel.xls");
- }
-
-
- function print(cret_no)
- {
-
- body.disabled = true;
-
- model.removenode("root/reqData");
- model.makeNode("root/reqData");
- model.removenode("root/temp1");
- model.makeNode("root/temp1");
-
- //model.makeValue("/root/searchInfo/user_id",model.getValue("/root/initData/rcvInfo/REG_ID"));
- model.makeValue("/root/searchInfo/CRET_NO",cret_no);
- model.makeValue("/root/searchInfo/PRINT_CNT",print_cnt);
- model.makeValue("/root/searchInfo/ZE_TP" ,model.getValue("/root/conditonData/ZE_TP"));
- if(combo4.value == "UIB021121")
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificateSp1");
- model.makeValue("/root/searchInfo/template" , "UIB021121");
- }
- else if(combo4.value == "UIB021122")
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificate");
- model.makeValue("/root/searchInfo/template" , "UIB021122");
- }
- else if(combo4.value =="UIB021123")
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificate");
- model.makeValue("/root/searchInfo/template" , "UIB021123");
- }
- else
- {
- model.makeValue("/root/searchInfo/class","xin.glue.ui.B.PosCertificate");
- model.makeValue("/root/searchInfo/template" , "UIB021120");
- }
- //commSendReq("/root/searchInfo","root/temp1");
- //commSubmit("UIB021120-service", "save", "glueAction.do");
-
- if(cret_no != "")
- {
- commSendReq("/root/searchInfo");
- excelSubmit("UIB021120-service", "find");
- /* commSubmit("UIB021120-service", "find", "etAction.do");
- window.load(url+"excel.jsp", "html");*/
- //http://localhost:8088/xgmes3/excel.jsp
- }
- //print_cnt++;
- body.disabled = false;
- }
-
- function excelSubmit(submitID, serviceTag)
- {
- var reqData = setReqData(model.instances(0).selectSingleNode("/root/reqData"));
- window.load(url + "etAction.jsp?ServiceName=" + submitID + "&" + serviceTag + "=1" + reqData, "html");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
- <datagrid id="datagrid1" nodeset="/root/datagrid1/CRET_PRINT_TP_Row" caption="打印^选择^已审核^已发送^明细号^运送指示号^标准号^标准钢号^规格^质保书号^合同号^订单号^产品名称^订货单位^收货单位^审核人^审核时间^车号^总重^块数^发货时间^交货日期^打印次数^caption1^caption2" colsep="^" colwidth="38, 47, 56, 40, 81, 86, 138, 97, 46, 78, 90, 42, 100, 153, 133, 66, 64, 74, 61, 38, 67, 65, 33, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheight="30" rowsep="|" tooltip="label" style="left:0px; top:80px; width:977px; height:505px; border-style:solid; ">
- <col type="radio"/>
- <col checkvalue="Y,N" editable="false" ref="CHK" type="checkbox"/>
- <col ref="CRET_PRINT_TP" visibility="hidden"/>
- <col ref="SEND_TP" style="text-align:left; "/>
- <col editable="false" ref="INV_NO" type="input" style="text-align:left; "/>
- <col editable="false" ref="DLIV_DIRNO" type="input" style="text-align:left; "/>
- <col editable="false" ref="SPEC_ABBSYM" type="input" style="text-align:left; "/>
- <col editable="false" ref="SPEC_STL_GRD" type="input" style="text-align:left; "/>
- <col editable="false" ref="INSTR_COIL_THK" type="input" style="text-align:right; "/>
- <col editable="false" ref="CRET_NO" type="input" style="text-align:left; "/>
- <col editable="false" ref="ORD_NO" type="input" style="text-align:left; "/>
- <col editable="false" ref="ORD_SEQ" type="input" style="text-align:left; "/>
- <col editable="false" ref="ORD_USE_TP" type="input" style="text-align:left; "/>
- <col editable="false" ref="CUST_CD" type="input" style="text-align:left; "/>
- <col editable="false" ref="ORDCUST_CD" type="input" style="text-align:left; "/>
- <col editable="false" ref="CRET_PRINT_ID" type="input" style="text-align:left; "/>
- <col editable="false" ref="CRET_PRINT_DTIME" type="input" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
- <col editable="false" ref="CAR_GP" type="input" style="text-align:left; "/>
- <col editable="false" ref="SUM_WGT" type="input" style="text-align:right; "/>
- <col editable="false" ref="SUM_CNT" type="input" style="text-align:right; "/>
- <col ref="TRNF_DTIME" format="yyyy-mm-dd" style="text-align:left; "/>
- <col ref="ORD_DEVLMT_DATE" format="yyyy-mm-dd" style="text-align:left; "/>
- <col editable="false" ref="CRET_CNT" style="text-align:right; "/>
- <col editable="false" ref="REG_ID" type="input" visibility="hidden"/>
- <col editable="false" ref="ISCHECK" type="input" visibility="hidden"/>
- </datagrid>
- <button id="button5" visibility="visible" style="left:525px; top:50px; width:57px; height:20px; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <caption>查询</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- find();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell" style="left:200px; top:0px; width:100px; height:20px; border-style:solid; ">合同号</caption>
- <input id="input3" ref="/root/conditonData/ord_no" style="left:300px; top:0px; width:100px; height:20px; "/>
- <caption id="caption5" class="cell" style="left:410px; top:0px; width:90px; height:20px; border-style:solid; ">审核状态</caption>
- <select1 id="combo2" ref="/root/conditonData/CRET_PRINT_TP" appearance="minimal" style="left:500px; top:0px; width:100px; height:20px; border-style:solid; ">
- <choices>
- <item>
- <label>全部</label>
- <value/>
- </item>
- <item>
- <label>已审核</label>
- <value>Y</value>
- </item>
- <item>
- <label>未审核</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" class="cell" style="left:200px; top:50px; width:90px; height:20px; border-style:solid; ">质保书编制时间</caption>
- <input id="input2" ref="/root/conditonData/STDATE" inputtype="date" style="left:290px; top:50px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <input id="input1" ref="/root/conditonData/ENDDATE" inputtype="date" style="left:405px; top:50px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <caption id="caption6" style="left:795px; top:50px; width:55px; height:20px; color:#000000; text-align:center; vertical-align:middle; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <![CDATA[打 印.]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- for(var i = 1;i<datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,0) == "true")
- {
- model.removenode("root/reqData");
- model.makeNode("root/reqData");
- model.makeValue("root/reqData/CRET_NO",datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO")));
- commSubmit("UIB021100-service", "findTP1", "glueAction.do");
-
- if(model.getValue("root/resData/CRET_PRINT_TP_VO/CRET_PRINT_TP_Row/CRET_PRINT_TP") == "Y")
- {
- print1(datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO")));
-
- //质保书的打印次数加1
- model.makeValue("root/reqData/rowStatus","u")
- commSubmit("UIB021120-service", "save", "glueAction.do");
- }
- }
- }
- ]]>
- </script>
- <hint>
- <![CDATA[选择“打印”的勾选]]>
- </hint>
- </caption>
- <caption id="caption7" class="cell" style="left:200px; top:25px; width:100px; height:20px; border-style:solid; ">车号</caption>
- <input id="input4" ref="/root/conditonData/CAR_GP" style="left:300px; top:25px; width:100px; height:20px; "/>
- <caption id="caption8" class="cell" style="left:0px; top:0px; width:90px; height:20px; border-style:solid; ">运送指示号</caption>
- <input id="input5" ref="/root/conditonData/DLIV_DIRNO" style="left:90px; top:0px; width:100px; height:20px; "/>
- <caption id="caption9" class="cell" style="left:0px; top:25px; width:90px; height:20px; border-style:solid; ">明细号</caption>
- <input id="input6" ref="/root/conditonData/INV_NO" style="left:90px; top:25px; width:100px; height:20px; "/>
- <caption id="caption10" style="left:730px; top:50px; width:55px; height:20px; text-align:center; vertical-align:middle; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <![CDATA[打 开.]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(datagrid1.row < datagrid1.fixedRows) { window.alert("请选择行" , "提示"); return};
- if(datagrid1.valueMatrix(datagrid1.row , datagrid1.colRef("CRET_PRINT_TP"))== "Y" )
- {
- print(datagrid1.valueMatrix(datagrid1.row,datagrid1.colRef("CRET_NO")));
- }
- ]]>
- </script>
- <hint>
- <![CDATA[选择某行,可不用勾选]]>
- </hint>
- </caption>
- <button id="button3" visibility="visible" style="left:595px; top:50px; width:55px; height:20px; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <caption>审核</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var ope = window.opener;
- var REG_ID = model.getValue("/root/initData/rcvInfo/REG_ID");
- var check = "1";
- for(var i = 1;i<datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CHK")) == "Y")
- {
- model.removenode("root/reqData");
- model.makeNode("root/reqData");
- model.makeValue("root/reqData/CRET_NO",datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO")));
- commSubmit("UIB021100-service", "findTP1", "glueAction.do");
-
- if(model.getValue("root/resData/CRET_PRINT_TP_VO/CRET_PRINT_TP_Row/CRET_PRINT_TP") == "Y")
- {
- var INV_NO = datagrid1.valueMatrix(i,datagrid1.colRef("INV_NO"));
- var CRET_NO = datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO"));
- alert("明细:"+datagrid1.valueMatrix(i,datagrid1.colRef("INV_NO"))+" 质保书"+datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO"))+" 已经审核,不能再次审核","提示");
- datagrid1.row = i;
- check = "0";
- break;
- }
-
- model.removenode("root/reqData");
- model.makeNode("root/reqData");
- model.makeValue("root/reqData/CRET_NO",datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO")));
- commSubmit("UIB021100-service", "checkGrd", "glueAction.do");
-
- if(model.getValue("root/resData/CRET_PRINT_TP_VO/CRET_PRINT_TP_Row/CHECK_DATA") == "N")
- {
- var INV_NO = datagrid1.valueMatrix(i,datagrid1.colRef("INV_NO"));
- var CRET_NO = datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO"));
- alert("明细:"+datagrid1.valueMatrix(i,datagrid1.colRef("INV_NO"))+" 质保书"+datagrid1.valueMatrix(i,datagrid1.colRef("CRET_NO"))+" 有性能不合格的钢卷,不能审核,请检查","提示");
- datagrid1.row = i;
- check = "0";
- break;
- }
-
-
- datagrid1.rowStatus(i) = "2";
- datagrid1.valueMatrix(i,datagrid1.colRef("REG_ID")) = REG_ID;
- datagrid1.valueMatrix(i,datagrid1.colRef("ISCHECK")) = "Y";
- }
- else
- {
- datagrid1.rowStatus(i) = "0";
- }
- }
- if(check == "1")
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");//获得修改、插入、删除参数
- commSubmit("UIB021100-service", "save", "glueAction.do");
- model.refresh();
- window.alert("审核成功!", "提示");
- }
- //清除删除、插入、修改状态,防止在第二次修改时候出问题
- datagrid1.clearStatus();
- ]]>
- </script>
- <hint>
- <![CDATA[被勾择的才能进行审核]]>
- </hint>
- </button>
- <button id="button7" visibility="visible" style="left:660px; top:50px; width:60px; height:20px; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <caption>取消审核</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var ope = window.opener;
- var REG_ID = model.getValue("/root/initData/rcvInfo/REG_ID");
-
- for(var i = 1;i<datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CRET_PRINT_TP")) == "Y")
- {
- datagrid1.rowStatus(i) = "2";
- datagrid1.valueMatrix(i,datagrid1.colRef("REG_ID")) = REG_ID;
- datagrid1.valueMatrix(i,datagrid1.colRef("ISCHECK")) = "N";
- }
- else
- {
- datagrid1.rowStatus(i) = "0";
- }
- }
-
- /*for(var i = 1;i<datagrid1.rows;i++)
- {
- datagrid1.valueMatrix(i,datagrid1.colRef("REG_ID")) = flag;
- datagrid1.valueMatrix(i,datagrid1.colRef("ISCHECK")) = "N";
- datagrid1.rowStatus(i) = "2";
- }*/
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid1,"/root/reqData","A",true,"rowStatus");//获得修改、插入、删除参数
- commSubmit("UIB021100-service", "save", "glueAction.do");
- model.refresh();
- window.alert("取消审核成功!", "提示");
- //清除删除、插入、修改状态,防止在第二次修改时候出问题
- datagrid1.clearStatus();
- ]]>
- </script>
- </button>
- <button id="button1" style="left:860px; top:50px; width:60px; height:20px; text-align:center; background-image:..\..\images\sw_normal01.gif; cursor:hand; ">
- <caption>发送</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var i = 1;i<datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,datagrid1.colRef("CRET_PRINT_TP")) == "Y"
- && datagrid1.valueMatrix(i ,datagrid1.colRef("CHK")) == "Y")
- {
- // commSendReq("/root/datagrid1/CRET_PRINT_TP_Row["+i+"]");
- model.removenode("/root/formData");
- if(combo4.value =="UIB021121")
- {
- model.makeValue("/root/formData/TMPL_NM" , "UIB021121");
- }
- else
- {
- model.makeValue("/root/formData/TMPL_NM" , "UIB021120");
- }
- model.makeValue("/root/formData/ZE_TP" , model.getValue("/root/formData/ZE_TP"));
- model.makeValue("/root/formData/CRET_NO" , datagrid1.valueMatrix( i , datagrid1.colRef("CRET_NO")));
- model.makeValue("/root/formData/INV_NO" , datagrid1.valueMatrix( i , datagrid1.colRef("INV_NO")));
- model.makeValue("/root/formData/ORD_NO" , datagrid1.valueMatrix( i , datagrid1.colRef("ORD_NO")));
- model.makeValue("/root/formData/ORD_SEQ" ,datagrid1.valueMatrix( i , datagrid1.colRef("ORD_SEQ")) );
- model.makeValue("/root/formData/CUST_CD" ,datagrid1.valueMatrix( i , datagrid1.colRef("CUST_CD")) );
- model.makeValue("/root/formData/ORDCUST_CD" , datagrid1.valueMatrix( i , datagrid1.colRef("ORDCUST_CD")));
- model.makeValue("/root/formData/ORD_USE_TP" , datagrid1.valueMatrix( i , datagrid1.colRef("ORD_USE_TP")));
- model.makeValue("/root/formData/SPEC_ABBSYM" , datagrid1.valueMatrix( i , datagrid1.colRef("SPEC_ABBSYM")));
- model.makeValue("/root/formData/CAR_GP" , datagrid1.valueMatrix( i , datagrid1.colRef("CAR_GP")));
- model.makeValue("/root/formData/SUM_WGT" , datagrid1.valueMatrix( i , datagrid1.colRef("SUM_WGT")));
- model.makeValue("/root/formData/SUM_CNT" , datagrid1.valueMatrix( i , datagrid1.colRef("SUM_CNT")));
- model.makeValue("/root/formData/TRNF_DTIME" , datagrid1.valueMatrix( i , datagrid1.colRef("TRNF_DTIME")));
- model.makeValue("/root/formData/ORD_DEVLMT_DATE" , datagrid1.valueMatrix( i , datagrid1.colRef("ORD_DEVLMT_DATE")));
- //model.makeValue("/root/formData/TRNF_DTIME" , datagrid1.valueMatrix( i , datagrid1.colRef("SUM_CNT")));
- submitID = "NIB021100-service";
- exec("/root/formData");
- }
- }
-
- // model.makeValue("/root/formData/CRET_NO" , "XR9-000791");
- // model.makeValue("/root/formData/TMPL_NM" , "UIB021120");
- // model.makeValue("/root/formData/template" , "UIB021120");
- // submitID = "NIB021100-service";
- // exec("/root/formData");
- ]]>
- </script>
- <hint>
- <![CDATA[已审核及被勾选的才能发送]]>
- </hint>
- </button>
- <line id="line1" style="x1:390px; y1:60px; x2:405px; y2:60px; "/>
- <line id="line2" style="x1:0px; y1:0px; x2:970px; y2:0px; "/>
- <line id="line3" style="x1:0px; y1:75px; x2:970px; y2:75px; "/>
- <caption id="caption1" class="cell" style="left:615px; top:0px; width:90px; height:20px; border-style:solid; ">模板选择</caption>
- <caption id="caption2" class="cell" style="left:410px; top:25px; width:90px; height:20px; border-style:solid; ">牌号</caption>
- <input id="input7" ref="/root/conditonData/SPEC_STL_GRD" style="left:500px; top:25px; width:100px; height:20px; "/>
- <caption id="caption3" class="cell" style="left:615px; top:25px; width:90px; height:20px; border-style:solid; ">是否已发送</caption>
- <select1 id="combo3" ref="/root/conditonData/SENDTP" appearance="minimal" style="left:705px; top:25px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>全部</label>
- <value>ALL</value>
- </item>
- <item>
- <label>已发</label>
- <value>Y</value>
- </item>
- <item>
- <label>未发</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="cell" style="left:615px; top:0px; width:90px; height:20px; border-style:solid; ">模板选择</caption>
- <select1 id="combo4" ref="/root/conditonData/MOBAN" appearance="minimal" style="left:705px; top:0px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>通用</label>
- <value>UIB021120</value>
- </item>
- <item>
- <label>压力容器专用</label>
- <value>UIB021121</value>
- </item>
- <item>
- <label>(欧标)EN10025-*:2004,EN10029:1991</label>
- <value>UIB021122</value>
- </item>
- <item>
- <label>管线钢</label>
- <value>UIB021123</value>
- </item>
- </choices>
- </select1>
- <caption id="caption12" class="cell" style="left:0px; top:50px; width:90px; height:20px; border-style:solid; ">中英文区分</caption>
- <select1 id="combo5" ref="/root/conditonData/ZE_TP" appearance="minimal" style="left:90px; top:50px; width:100px; height:20px; ">
- <choices>
- <item>
- <label>中文</label>
- <value>Z</value>
- </item>
- <item>
- <label>英文</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|