| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <?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>钢包发送</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <comdData>
- <ld_no/>
- <charge_no/>
- <send_type/>
- </comdData>
- <formData>
- <chargeNo/>
- <ldNo>R01</ldNo>
- <ldGrd/>
- <sendtype/>
- </formData>
- <comboData>
- <chargeNo/>
- </comboData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- init();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- function init(){
- var parentWindow = window.opener;
- var ldNo = parentWindow.model.getValue("/root/tempData");
- model.setValue("/root/formData/ldNo",ldNo);
-
- commSendReq("/root/formData");
- commSubmit("UIG03COMM-service","initcharge","glueAction.do");
- model.setValue("/root/formData/ldGrd",model.getValue("/root/resData/InitChargeRes_VO/InitChargeRes_Row/LD_GRADE"));
- combo1.refresh();
- }
-
- function save(){
- commSendReq("/root/formData");
- commSubmit("UIG03COMM-service","ldSend","glueAction.do");
- var msg = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
- alert(msg);
- window.close();
- }
-
- function saveRtn(){
- commSendReq("/root/formData");
- commSubmit("UIG03COMM-service","ldSend","glueAction.do");
- var msg = model.getValue("/root/resData/MESSAGES_VO/MESSAGES_Row");
- alert(msg);
- window.close();
- }
- ]]>
- </script>
- <script type="javascript" src="../../js/boaCommon.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="300" pageheight="200">
- <caption id="caption11" class="cell" style="left:60px; top:85px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包等级</caption>
- <caption id="caption1" class="cell" style="left:60px; top:50px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包号</caption>
- <select1 id="combo1" ref="/root/formData/ldGrd" appearance="minimal" style="left:130px; top:85px; width:100px; height:25px; ">
- <choices>
- <item>
- <label>A级</label>
- <value>A</value>
- </item>
- <item>
- <label>B级</label>
- <value>B</value>
- </item>
- <item>
- <label>C级</label>
- <value>C</value>
- </item>
- <item>
- <label>D级</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo5" ref="/root/formData/ldNo" disabled="true" appearance="minimal" editmode="input" style="left:130px; top:50px; width:100px; height:25px; ">
- <choices>
- <item>
- <label>R01</label>
- <value>R01</value>
- </item>
- <item>
- <label>R02</label>
- <value>R02</value>
- </item>
- <item>
- <label>R03</label>
- <value>R03</value>
- </item>
- <item>
- <label>R04</label>
- <value>R04</value>
- </item>
- <item>
- <label>R05</label>
- <value>R05</value>
- </item>
- <item>
- <label>R06</label>
- <value>R06</value>
- </item>
- <item>
- <label>R07</label>
- <value>R07</value>
- </item>
- <item>
- <label>R08</label>
- <value>R08</value>
- </item>
- <item>
- <label>R09</label>
- <value>R09</value>
- </item>
- <item>
- <label>R10</label>
- <value>R10</value>
- </item>
- <item>
- <label>R11</label>
- <value>R11</value>
- </item>
- <item>
- <label>R12</label>
- <value>R12</value>
- </item>
- <item>
- <label>R13</label>
- <value>R13</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell" style="left:10px; top:10px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">钢包发送</caption>
- <button id="button1" style="left:65px; top:165px; width:85px; height:20px; background-image:../../images/btn_save1.gif; ">
- <caption>发 送</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/formData/sendtype","send");
- save();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/formData/chargeNo" appearance="minimal" style="left:130px; top:120px; width:100px; height:25px; ">
- <choices>
- <item>
- <label>1#转炉</label>
- <value>B1</value>
- </item>
- <item>
- <label>2#转炉</label>
- <value>B2</value>
- </item>
- <item>
- <label>3#转炉</label>
- <value>B3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:60px; top:120px; width:70px; height:25px; font-weight:bold; border-color:#000000; ">转炉号</caption>
- <button id="button2" style="left:165px; top:165px; width:85px; height:20px; background-image:../../images/btn_save1.gif; ">
- <caption>退 回</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/formData/sendtype","saveRtn");
- save();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|