680025ba8749173c9c13ed4978c9ed16223624ce.svn-base 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>库存区域选择</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <radioData/>
  10. <storeValue/>
  11. <inputValue/>
  12. <resData/>
  13. <reqData/>
  14. </root>
  15. </instance>
  16. <script type="javascript" ev:event="xforms-ready">
  17. <![CDATA[
  18. //清空发送接点
  19. model.removenode("/root/reqData");
  20. model.makeNode("/root/reqData");
  21. var opp1 = window.opener;
  22. if(opp1.model.getValue("/root/send_flag") == "Y"){
  23. //获得实际库存垛位
  24. commSubmit("UIH050700-service","findYard","glueAction.do");
  25. }else{
  26. //获得临时库存垛位
  27. commSubmit("UIH050700-service","findTmpYard","glueAction.do");
  28. }
  29. //把返回的库存垛位放在相应节点
  30. model1.duplicate("/root/radioData","/root/resData/COIL_YARD_VO");
  31. model.refresh();
  32. ]]>
  33. </script>
  34. </model>
  35. <script type="javascript" src="../../js/boaMsg.js"/>
  36. <script type="javascript" src="../../js/boaCommon.js"/>
  37. </xhtml:head>
  38. <xhtml:body pagewidth="650" pageheight="500">
  39. <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; ">
  40. <choices>
  41. <itemset nodeset="/root/radioData/COIL_YARD_VO/COIL_YARD_Row">
  42. <label ref="LABEL"/>
  43. <value ref="VALUE"/>
  44. </itemset>
  45. </choices>
  46. <script type="javascript" ev:event="onclick">
  47. <![CDATA[
  48. var radioValue = radio1.value;
  49. model.setValue("/root/inputValue",radioValue);
  50. model.refresh();
  51. ]]>
  52. </script>
  53. </select1>
  54. <caption id="caption2" class="cell" style="left:120px; top:15px; width:140px; height:23px; "/>
  55. <input id="input1" ref="/root/inputValue" style="left:122px; top:18px; width:136px; height:17px; "/>
  56. <caption id="caption3" class="cell" style="left:20px; top:15px; width:100px; height:23px; ">请选择库存区域</caption>
  57. <button id="button2" style="left:265px; top:18px; width:85px; height:20px; background-image:..\..\images\保存.GIF; ">
  58. <caption>确定</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. var inputValue = input1.value;
  62. var opp1 = window.opener;
  63. opp1.model.setValue("/root/tempData",inputValue);
  64. opp1.model.refresh();
  65. window.close();
  66. ]]>
  67. </script>
  68. </button>
  69. </xhtml:body>
  70. </xhtml:html>