| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../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/>
- <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");
-
- //传入需要的条件,求出相关的钢卷瑕疵代码
- commSubmit("UIH020030-service","Fcoilno","glueAction.do");
- //把返回的瑕疵代码放到相应的接点
- model1.duplicate("/root/radioData","/root/resData/InitDataResult_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="10" cols="5" direction="downacross" itemheight="25" itemwidth="135" rows="10" overflow="visible" style="left:20px; top:40px; width:620px; height:340px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/radioData/InitDataResult_VO/InitDataResult_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>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //这里双击选中的钢卷号,直接把卷号带入轧制实际页面
- var inputValue = input1.value;
- var opp1 = window.opener;
- opp1.model.setValue("/root/formData/COIL_NO",inputValue);
- opp1.model.refresh();
- window.close();
- ]]>
- </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; ">
- <caption>确定</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var inputValue = input1.value;
- var opp1 = window.opener;
- opp1.model.setValue("/root/formData/COIL_NO",inputValue);
- opp1.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|