SPRAC00900_소득자HELP.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>소득자 관리 HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <incmpsnlist/>
  12. </list>
  13. </main>
  14. <init>
  15. <refcond>
  16. <label>소득자명</label>
  17. <value>name</value>
  18. <label>주민등록번호</label>
  19. <value>code</value>
  20. </refcond>
  21. </init>
  22. <send>
  23. <retrnm/>
  24. <refcond/>
  25. </send>
  26. <target/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. fInit();
  32. ]]>
  33. </script>
  34. <script type="javascript">
  35. <![CDATA[
  36. function fInit()
  37. {
  38. rdo_refcond.select(0);
  39. model.removeNode("/root/main/list/incmpsnlist");
  40. misfMsterDetailSet(grd_incmpsnlist, null, "TRRAC90901", "N");
  41. if(model.getValue("/root/target/defaultvalue/name") != "" && model.getValue("/root/target/defaultvalue/name") != null)
  42. {
  43. model.setValue("/root/send/retrnm", model.getValue("/root/target/defaultvalue/name"));
  44. model.setValue("/root/send/refcond", "name");
  45. misfMsterDetailRetrieve();
  46. }
  47. else if(model.getValue("/root/target/defaultvalue/code") != "" && model.getValue("/root/target/defaultvalue/code") != null)
  48. {
  49. model.setValue("/root/send/retrnm", model.getValue("/root/target/defaultvalue/code"));
  50. model.setValue("/root/send/refcond", "code");
  51. misfMsterDetailRetrieve();
  52. }
  53. else
  54. {
  55. model.copyNode("/root/main/list","/root/target/validation");
  56. model.refresh();
  57. }
  58. model.setFocus("ipt_refcond");
  59. model.refresh();
  60. }
  61. ]]>
  62. </script>
  63. <submission id="TRRAC90901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. </xhtml:head>
  69. <xhtml:body pagewidth="1000" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  70. <group id="group3" scroll="auto" style="left:8px; top:0px; width:950px; height:525px; ">
  71. <group id="group2" style="left:0px; top:5px; width:950; height:35px; ">
  72. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:950; height:35px; "/>
  73. <input id="ipt_refcond" ref="/root/send/retrnm" class="input_s_essential" style="left:360px; top:8px; width:148px; height:19px; ">
  74. <script type="javascript" ev:event="onkeypress">
  75. <![CDATA[
  76. if(event.keyCode == 13)
  77. {
  78. ipt_refcond.value = ipt_refcond.currentText;
  79. btn_search.dispatch("DOMActivate");
  80. }
  81. ]]>
  82. </script>
  83. <script type="javascript" ev:event="xforms-value-changed">
  84. <![CDATA[
  85. if(ipt_refcond.value != "")
  86. {
  87. btn_search.dispatch("DOMActivate");
  88. }
  89. ]]>
  90. </script>
  91. </input>
  92. <button id="btn_search" class="btn1_letter2" style="left:879px; top:7px; width:56px; height:22px; ">
  93. <caption>조회</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. misfMsterDetailRetrieve();
  97. if(instance1.selectNodes("/root/main/list/incmpsnlist").length == 0)
  98. {
  99. messageBox("조회된 내용이", "I004");
  100. }
  101. ]]>
  102. </script>
  103. </button>
  104. <line id="line13" class="line_4" style="x1:864px; y1:5px; x2:864px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  105. <caption id="caption2" class="search_name" style="left:274px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  106. <caption id="caption3" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  107. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:100px; top:8px; width:148px; height:20px; border-style:solid; ">
  108. <choices>
  109. <itemset nodeset="/root/init/refcond">
  110. <label ref="label"/>
  111. <value ref="value"/>
  112. </itemset>
  113. </choices>
  114. <script type="javascript" ev:event="xforms-select">
  115. <![CDATA[
  116. model.setFocus("ipt_refcond");
  117. ]]>
  118. </script>
  119. </select1>
  120. </group>
  121. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:14px; ">소득자리스트</caption>
  122. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:950; y2:64px; "/>
  123. <datagrid id="grd_incmpsnlist" nodeset="/root/main/list/incmpsnlist" caption="주민등록번호^성명^사업자등록번호^상호^우편번호^우편번호1^우편번호2^우편번호일련번호^주소^상세주소^전화번호^이메일주소^여권번호^비고^내외국인^내외국인구분^소득구분코드^거주자구분" colsep="^" colwidth="100, 97, 91, 151, 56, 0, 0, 0, 193, 137, 126, 118, 120, 200, 30, 30, 30, 30" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:69px; width:950px; height:451px; ">
  124. <col ref="rrgstno" format="999999-9999999"/>
  125. <col ref="name"/>
  126. <col ref="entrregno" format="999-99-99999"/>
  127. <col ref="custnm"/>
  128. <col ref="zipcd"/>
  129. <col ref="zipcd1"/>
  130. <col ref="zipcd2"/>
  131. <col ref="zipcdseqno"/>
  132. <col ref="supaddr"/>
  133. <col ref="infaddr"/>
  134. <col ref="cntctel"/>
  135. <col ref="emailaddr"/>
  136. <col ref="passportno"/>
  137. <col ref="cmt"/>
  138. <col ref="ionatiflag"/>
  139. <col ref="incmflag" visibility="hidden"/>
  140. <col ref="residentflag"/>
  141. <script type="javascript" ev:event="ondblclick">
  142. <![CDATA[
  143. if( grd_incmpsnlist.isCell(event.target) && grd_incmpsnlist.row >= grd_incmpsnlist.fixedRows )
  144. {
  145. btn_confirm.dispatch("DOMActivate");
  146. }
  147. ]]>
  148. </script>
  149. </datagrid>
  150. <button id="btn_openpsn" class="btn2_letter5" style="left:874px; top:44px; width:75px; height:19px; ">
  151. <caption>소득자등록</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. modal("SPRAC00611");
  155. ]]>
  156. </script>
  157. </button>
  158. </group>
  159. <group id="group1" scroll="auto" style="left:8px; top:524px; width:950; height:27px; ">
  160. <button id="btn_confirm" class="btn4_letter2" style="left:837px; top:5px; width:56px; height:22px; ">
  161. <caption>확인</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. misfPopUpListReturn(grd_incmpsnlist);
  165. //SMRAT00500_기타소득소득자별연간집계표.xrw
  166. ]]>
  167. </script>
  168. </button>
  169. <button id="btn_cancel" class="btn4_letter2" style="left:894px; top:5px; width:56px; height:22px; ">
  170. <caption>취소</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. window.close();
  174. ]]>
  175. </script>
  176. </button>
  177. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:950; y2:0px; "/>
  178. </group>
  179. </xhtml:body>
  180. </xhtml:html>