| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?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="">
- <radioData/>
- <storeValue/>
- <inputValue/>
- <resData/>
- <reqData/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //清空发送接点
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
-
- var opp1 = window.opener;
- if(opp1.model.getValue("/root/send_flag") == "Y"){
- //获得实际库存垛位
- commSubmit("UIH050700-service","findYard","glueAction.do");
- }else{
- //获得临时库存垛位
- commSubmit("UIH050700-service","findTmpYard","glueAction.do");
- }
-
- //把返回的库存垛位放在相应节点
- model1.duplicate("/root/radioData","/root/resData/COIL_YARD_VO");
-
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/boaCommon.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="650" pageheight="500">
- <select1 id="radio1" ref="/root/storeValue" appearance="full" cellspacing="15" cols="3" direction="downacross" itemheight="25" itemwidth="135" rows="10" overflow="visible" style="left:20px; top:50px; width:610px; height:410px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/radioData/COIL_YARD_VO/COIL_YARD_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var radioValue = radio1.value;
- model.setValue("/root/inputValue",radioValue);
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="cell" style="left:120px; top:15px; width:140px; height:23px; "/>
- <input id="input1" ref="/root/inputValue" style="left:122px; top:18px; width:136px; height:17px; "/>
- <caption id="caption3" class="cell" style="left:20px; top:15px; width:100px; height:23px; ">请选择库存区域</caption>
- <button id="button2" style="left:265px; top:18px; width:85px; height:20px; background-image:..\..\images\保存.GIF; ">
- <caption>确定</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var inputValue = input1.value;
- var opp1 = window.opener;
- opp1.model.setValue("/root/tempData",inputValue);
- opp1.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|