SPRAD00400_품의내역조회.xrw 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <main>
  10. <list>
  11. <pumlist>
  12. <pumno/>
  13. <naeyong/>
  14. <pumtot/>
  15. <pumemplnm/>
  16. <chulseq/>
  17. </pumlist>
  18. </list>
  19. </main>
  20. <popdata>
  21. <junpyodate/>
  22. <makedeptcd/>
  23. <yogudeptcd/>
  24. <pumgubun/>
  25. <instcd/>
  26. </popdata>
  27. </root>
  28. </instance>
  29. <submission id="TRRAD01507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/popdata" resultref="/root/main/list"/>
  30. <bind id="bind_totamt" ref="/root/hidden/totamt" calculate="(/root/main/orch_one/paytotamt) - (/root/main/orch_one/incmtax) -(/root/main/orch_one/resdntax)"/>
  31. <bind id="bind_amt" ref="/root/hidden/orchreturn/amt" calculate="sum(/root/main/list/orchlist/paytotamt)"/>
  32. <bind id="bind_incmtax" ref="/root/hidden/orchreturn/incmtax" calculate="sum(/root/main/list/orchlist/incmtax)"/>
  33. <bind id="bind_resdntax" ref="/root/hidden/orchreturn/resdntax" calculate="sum(/root/main/list/orchlist/resdntax)"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. fInitialize();
  44. ]]>
  45. </script>
  46. <script type="javascript">
  47. <![CDATA[
  48. function fInitialize()
  49. {
  50. model.removenode("/root/main/list/pumlist");
  51. var instcd = getUserInfo("dutplceinstcd");
  52. model.makeValue("/root/popdata/instcd", instcd);
  53. submit("TRRAD01507");
  54. }
  55. ]]>
  56. </script>
  57. </xhtml:head>
  58. <xhtml:body pagewidth="750" pageheight="350" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  59. <group id="group1" style="left:0px; top:0px; width:698px; height:13px; ">
  60. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">품의내역조회</caption>
  61. </group>
  62. <group id="group2" scroll="auto" style="left:0px; top:16px; width:700px; height:261px; ">
  63. <datagrid id="datagrid1" nodeset="/root/main/list/pumlist" caption="품의번호^건명^품의총액^작성자" colsep="^" colwidth="138, 321, 128, 87" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:698px; height:260px; ">
  64. <col ref="pumno" style="text-align:center; "/>
  65. <col ref="naeyong"/>
  66. <col ref="pumtot" format="(-)#,###" style="text-align:right; "/>
  67. <col ref="pumemplnm"/>
  68. <col ref="chulseq" visibility="hidden"/>
  69. <script type="javascript" ev:event="ondblclick">
  70. <![CDATA[
  71. button1.dispatch("DOMActivate");
  72. ]]>
  73. </script>
  74. </datagrid>
  75. </group>
  76. <group id="grp_btn" scroll="auto" style="left:0px; top:278px; width:700px; height:27px; ">
  77. <button id="btn_close" class="btn4_letter2" navindex="6" style="left:640px; top:3px; width:56px; height:22px; ">
  78. <caption>닫기</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. window.close();
  82. ]]>
  83. </script>
  84. </button>
  85. <button id="button1" class="btn4_letter2" navindex="6" style="left:580px; top:3px; width:56px; height:22px; ">
  86. <caption>확인</caption>
  87. <script type="javascript" ev:event="DOMActivate">
  88. <![CDATA[
  89. if (datagrid1.row < 1){
  90. messageBox("조회할 품의내역을 선택한 후 처리하시기 바랍니다.", "E999", "");
  91. return;
  92. }
  93. opener.javascript.model.setValue("/root/send/paydedu/pumno", model.getValue("/root/main/list/pumlist[" + datagrid1.row + "]/pumno"));
  94. opener.javascript.model.setValue("/root/send/paydedu/chulseq", model.getValue("/root/main/list/pumlist[" + datagrid1.row + "]/chulseq"));
  95. opener.javascript.btn_search.dispatch("DOMActivate");
  96. window.close();
  97. ]]>
  98. </script>
  99. </button>
  100. </group>
  101. </xhtml:body>
  102. </xhtml:html>