SMRAD02600_입금의뢰명세서(결재용).xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. <grnt>
  11. <grntlist1/>
  12. </grnt>
  13. </main>
  14. <init/>
  15. <send>
  16. <fromdd/>
  17. <instcd/>
  18. </send>
  19. <hidden/>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-ready">
  23. <![CDATA[
  24. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  25. makeReportPreview(0,110,1195,650);
  26. var today = getCurrentDate();
  27. var cur_yymm = parseInt(today.substring(0, 6));
  28. model.setValue("/root/send/fromdd", today);
  29. ipt_payym.refresh();
  30. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  31. model.refresh();
  32. ]]>
  33. </script>
  34. <submission id="TRRAD02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grnt"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  40. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  41. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  42. </xhtml:head>
  43. <xhtml:body style="margin-left:8; margin-right:8; ">
  44. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  45. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">입금의뢰명세서(결재용)</caption>
  46. </group>
  47. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  48. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  49. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  50. <caption>조회</caption>
  51. <script type="javascript" ev:event="DOMActivate">
  52. <![CDATA[
  53. submit("TRRAD02601");
  54. exeReportPreview("RPRAD02601", "XMLSTR");//, "/root/main/payamt");
  55. ]]>
  56. </script>
  57. </button>
  58. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  59. <caption id="cap_payinst" class="search_name" style="left:40px; top:19px; width:86px; height:17px; ">소속기관:</caption>
  60. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:121px; top:18px; width:125px; height:19px; ">
  61. <choices>
  62. <itemset>
  63. <label/>
  64. <value/>
  65. </itemset>
  66. </choices>
  67. </select1>
  68. <caption id="caption22" class="search_name" style="left:291px; top:18px; width:75px; height:17px; ">작성일:</caption>
  69. <input id="ipt_payym" ref="/root/send/fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:365px; top:18px; width:114px; height:19px; text-align:center; vertical-align:middle; "/>
  70. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:209px; height:14px; ">입금의뢰명세내역</caption>
  71. <line id="line193" class="line_1" style="x1:2px; y1:66px; x2:1192px; y2:66px; "/>
  72. <datagrid id="grd_grntpsn1" nodeset="/root/main/grnt/grntlist1" caption="지출번호^업체명^성명^금융기관^계좌(지로)번호^금액^적요" colsep="^" colwidth="55, 113, 91, 110, 167, 109, 192" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:190px; top:155px; width:890px; height:472px; ">
  73. <col ref="flagseq"/>
  74. <col ref="custnm"/>
  75. <col ref="bankman"/>
  76. <col ref="banknm"/>
  77. <col ref="bankno"/>
  78. <col ref="amtgive" format="(-)#,###" style="text-align:right; "/>
  79. <col ref="rmrk"/>
  80. <script type="javascript" ev:event="xforms-value-changed">
  81. <![CDATA[
  82. if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flag"){
  83. Maxseq();
  84. }
  85. model.refresh();
  86. /*
  87. if (grd_grntpsn1.colAttribute(grd_grntpsn1.col,"ref") == "flagwrite" && model.getValue("/root/send/paydedu/newgb") == "I") {
  88. var flagwrite = model.getValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagwrite");
  89. if (flagwrite == "Y"){
  90. var seq = model.getValue("/root/send/paydedu/flagseq");
  91. if (isNaN(seq) || seq == null || seq == ""){
  92. seq = 0;
  93. }
  94. seq = parseInt(seq) + 1;
  95. model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagseq", seq);
  96. model.setValue("/root/send/paydedu/flagseq", seq);
  97. }else{
  98. model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/flagseq", "");
  99. model.setValue("/root/main/grnt/grntlist2[" + grd_grntpsn1.row + "]/ymdgive", "");
  100. }
  101. model.refresh();
  102. }
  103. */
  104. ]]>
  105. </script>
  106. </datagrid>
  107. <button id="btn_savegrntpsn1excel" class="btn2_letter4" style="left:1122px; top:46px; width:64px; height:19px; ">
  108. <caption>엑셀저장</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  112. if (fileName != "")
  113. {
  114. grd_grntpsn1.saveExcel(fileName);
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. </group>
  120. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  121. </xhtml:body>
  122. </xhtml:html>