SMRAC01000_소득자관리.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  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>계정코드 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list1>
  11. <incmlist/>
  12. </list1>
  13. <list2>
  14. <incmpsn>
  15. <instcd/>
  16. <rrgstno/>
  17. <name/>
  18. <ionatiflag>1</ionatiflag>
  19. <residentflag>1</residentflag>
  20. <residncnati/>
  21. <incmpsnflag>2</incmpsnflag>
  22. <entrregno/>
  23. <custnm/>
  24. <zipcd/>
  25. <zipcd1/>
  26. <zipcd2/>
  27. <zipcdseqno/>
  28. <supaddr/>
  29. <infaddr/>
  30. <cntctel/>
  31. <emailaddr/>
  32. <induflag/>
  33. <incmflag/>
  34. <aactno/>
  35. <bankcd/>
  36. <depor/>
  37. <passportno/>
  38. <cmt/>
  39. <status/>
  40. </incmpsn>
  41. </list2>
  42. <info>
  43. </info>
  44. </main>
  45. <send>
  46. <retrparams>
  47. <instcd/>
  48. <rrgstno/>
  49. <name/>
  50. <retrflag>name</retrflag>
  51. <retrref/>
  52. </retrparams>
  53. <retrparams2>
  54. <instcd/>
  55. <rrgstno/>
  56. <name/>
  57. <retrflag/>
  58. </retrparams2>
  59. </send>
  60. <init/>
  61. <hidden>
  62. <incmpsn/>
  63. <tmpincmpsn>
  64. <instcd/>
  65. <rrgstno/>
  66. <name/>
  67. <ionatiflag>1</ionatiflag>
  68. <residentflag/>
  69. <residncnati/>
  70. <incmpsnflag>2</incmpsnflag>
  71. <entrregno/>
  72. <custnm/>
  73. <zipcd/>
  74. <zipcd1/>
  75. <zipcd2/>
  76. <zipcdseqno/>
  77. <supaddr/>
  78. <infaddr/>
  79. <cntctel/>
  80. <emailaddr/>
  81. <induflag/>
  82. <incmflag/>
  83. <aactno/>
  84. <bankcd/>
  85. <depor/>
  86. <passportno/>
  87. <cmt/>
  88. <status/>
  89. </tmpincmpsn>
  90. </hidden>
  91. <temp>
  92. </temp>
  93. </root>
  94. </instance>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  98. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  99. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  100. <script type="javascript" ev:event="xforms-ready">
  101. <![CDATA[
  102. fCheckAuth();//권한체크
  103. fOpenForm();//그리드 초기화
  104. btn_search.dispatch("DOMActivate");
  105. ]]>
  106. </script>
  107. <script type="javascript">
  108. <![CDATA[
  109. //========================================================================================
  110. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  111. //========================================================================================
  112. function fCheckAuth()
  113. {
  114. btn_search.disabled = !checkAuth("R") ;
  115. btn_save.disabled = !checkAuth("X") ;
  116. }
  117. //========================================================================================
  118. //화면 로드시 초기화 함수
  119. //========================================================================================
  120. function fOpenForm()
  121. {
  122. model.removenode("/root/main/list");
  123. model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  124. misfComboComCdListMulti("R0282,R0278,R0279,R0001", "cmb_residncnati,cmb_induflag,cmb_incmflag,cmb_bankcd");
  125. model.setValue("/root/main/list2/incmpsn/status", "i");
  126. rdo_retrflag.dispatch("xforms-value-changed");
  127. model.refresh();
  128. }
  129. function fRetrieve()
  130. {
  131. var sRetrFlag = model.getValue("/root/send/retrparams/retrflag");
  132. if(sRetrFlag == "code")
  133. {
  134. model.setValue("/root/send/retrparams/rrgstno", model.getValue("/root/send/retrparams/retrref"));
  135. model.setValue("/root/send/retrparams/name", "");
  136. }
  137. else if(sRetrFlag == "name")
  138. {
  139. model.setValue("/root/send/retrparams/rrgstno", "");
  140. model.setValue("/root/send/retrparams/name", model.getValue("/root/send/retrparams/retrref"));
  141. }
  142. submit("TRRAC01001");
  143. }
  144. function fSave()
  145. {
  146. var sRrgstNo = model.getValue("/root/main/list2/incmpsn/rrgstno");
  147. var sName = model.getValue("/root/main/list2/incmpsn/name");
  148. var sResidentflag = model.getValue("/root/main/list2/incmpsn/residentflag");
  149. var sResidncnati = model.getValue("/root/main/list2/incmpsn/residncnati");
  150. if(sRrgstNo.getTrim().length != 13 && model.getValue(rdo_residentflag.attribute("ref")) == "1")
  151. {
  152. messageBox("주민등록번호를", "C001");
  153. return;
  154. }
  155. if(sName.getTrim() == "")
  156. {
  157. messageBox("성명을", "C001");
  158. return;
  159. }
  160. if(sResidentflag == "2" && sResidncnati == "")
  161. {
  162. messageBox("거주지국을 선택하세요", "C001");
  163. return;
  164. }
  165. submit("TXRAC00611");
  166. var sStatus = model.getValue("/root/main/list2/incmpsn/status");
  167. if(sStatus == "u")
  168. {
  169. model.copyNode(grd_incmlist.nodeset + "[" + grd_incmlist.row + "]", "/root/main/list2/incmpsn");
  170. }
  171. else if(sStatus == "i")
  172. {
  173. grd_incmlist.addRow();
  174. model.copyNode(grd_incmlist.nodeset + "[" + grd_incmlist.row + "]", "/root/main/list2/incmpsn");
  175. }
  176. model.refresh();
  177. }
  178. function fRetrieveExistList(sType)
  179. {
  180. var instcd = getUserInfo("dutplceinstcd");
  181. var rrgstno = model.getValue("/root/main/list2/incmpsn/rrgstno");
  182. var name = model.getValue("/root/main/list2/incmpsn/name");
  183. model.copyNode("/root/hidden/incmpsn", "/root/main/list2/incmpsn")
  184. model.setValue("/root/send/retrparams2/instcd", instcd);
  185. model.setValue("/root/send/retrparams2/rrgstno", rrgstno);
  186. model.setValue("/root/send/retrparams2/name", name);
  187. model.setValue("/root/send/retrparams2/retrflag", sType);
  188. if (rrgstno != "" || name != "")
  189. {
  190. submit("TRRAC00611");
  191. // if(model.getValue("/root/main/list2/incmpsn/instcd") == "")
  192. // {
  193. if(instance1.selectNodes("/root/hidden/incmpsn").length == 0)
  194. {
  195. model.makeNode("/root/main/list2/incmpsn");
  196. model.copyNode("/root/main/list2/incmpsn", "/root/hidden/tmpincmpsn");
  197. model.setValue("/root/main/list2/incmpsn/instcd", instcd);
  198. model.setValue("/root/main/list2/incmpsn/rrgstno", rrgstno);
  199. model.setValue("/root/main/list2/incmpsn/ionatiflag", "1");
  200. model.setValue("/root/main/list2/incmpsn/incmpsnflag", "2");
  201. model.setValue("/root/main/list2/incmpsn/residentflag", "1");
  202. model.setValue("/root/main/list2/incmpsn/status", "i");
  203. model.refresh();
  204. }
  205. else
  206. {
  207. model.makeNode("/root/main/list2/incmpsn");
  208. model.copyNode("/root/main/list2/incmpsn", "/root/hidden/incmpsn");
  209. model.setValue("/root/main/list2/incmpsn/status","u");
  210. model.refresh();
  211. ipt_rrgstno.disabled = true;
  212. }
  213. // }
  214. // else
  215. // {
  216. // model.refresh();
  217. // }
  218. rdo_ionatiflag.dispatch("xforms-value-changed");
  219. rdo_incmpsnflag.dispatch("xforms-value-changed");
  220. }
  221. else
  222. {
  223. model.setValue("/root/main/list2/incmpsn/status","i");
  224. model.refresh();
  225. }
  226. }
  227. function fResetControl()
  228. {
  229. model.removenode("/root/main/list2/incmpsn");
  230. model.makeNode("/root/main/list2/incmpsn");
  231. model.copyNode("/root/main/list2/incmpsn", "/root/hidden/tmpincmpsn");
  232. model.setValue("/root/main/list2/incmpsn/status", "i");
  233. model.refresh();
  234. ipt_rrgstno.disabled = false;
  235. ipt_name.disabled = false;
  236. }
  237. //========================================================================================
  238. //주민등록번호 체크
  239. //========================================================================================
  240. function fCheckNumber()
  241. {
  242. var sRrgstno = model.getValue("/root/main/list2/incmpsn/rrgstno");
  243. if(model.getValue(rdo_residentflag.attribute("ref")) == "1" &&
  244. ( (!radfJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "1" )
  245. ||(!radfFgnJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "9")))
  246. {
  247. messageBox("잘못된 주민등록번호 입니다." ,"I000");
  248. return false;
  249. }
  250. else
  251. {
  252. return true;
  253. }
  254. }
  255. ]]>
  256. </script>
  257. <submission id="TRRAC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list1"/>
  258. <submission id="TRRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/hidden/incmpsn"/>
  259. <submission id="TXRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/incmpsn" resultref="/root/temp"/>
  260. </model>
  261. </xhtml:head>
  262. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1196;1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  263. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  264. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">소득자 관리</caption>
  265. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  266. </group>
  267. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195; height:744px; ">
  268. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:558px; y2:69px; "/>
  269. <group id="group4" style="left:0px; top:10px; width:558px; height:35px; vertical-align:top; ">
  270. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:558px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  271. <caption id="caption7" class="search_name" style="left:11px; top:10px; width:99px; height:17px; ">조회조건 :</caption>
  272. <line id="line3" class="line_4" style="top:54; x1:471px; y1:7px; x2:471px; y2:29px; "/>
  273. <input id="ipt_retrref" ref="/root/send/retrparams/retrref" class="input_s_essential" navindex="1" style="left:250px; top:9px; width:165px; height:19px; ">
  274. <script type="javascript" ev:event="onkeypress">
  275. <![CDATA[
  276. if(event.keyCode == 13)
  277. {
  278. model.setFocus("btn_search");
  279. }
  280. ]]>
  281. </script>
  282. <script type="javascript" ev:event="xforms-value-changed">
  283. <![CDATA[
  284. fRetrieve();
  285. ]]>
  286. </script>
  287. </input>
  288. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:486px; top:7px; width:56px; height:22px; text-align:left; ">
  289. <caption>조회</caption>
  290. <script type="javascript" ev:event="DOMActivate">
  291. <![CDATA[
  292. fRetrieve()
  293. ]]>
  294. </script>
  295. </button>
  296. <select1 id="rdo_retrflag" ref="/root/send/retrparams/retrflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:97px; top:10px; width:145px; height:15px; border-style:none; ">
  297. <choices>
  298. <item>
  299. <label>주민등록번호</label>
  300. <value>code</value>
  301. </item>
  302. <item>
  303. <label>성명</label>
  304. <value>name</value>
  305. </item>
  306. </choices>
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. if(model.getValue("/root/send/retrparams/retrflag") == "code")
  310. {
  311. ipt_retrref.attribute("format") = "999999-9999999";
  312. }
  313. else
  314. {
  315. ipt_retrref.attribute("format") = "";
  316. }
  317. model.setFocus("ipt_retrref");
  318. model.refresh();
  319. ]]>
  320. </script>
  321. </select1>
  322. </group>
  323. <line id="line4" class="line_1" style="x1:563px; y1:30px; x2:1195px; y2:30px; "/>
  324. <caption id="caption21" class="tit_2" style="left:5px; top:54px; width:118px; height:13px; ">소득자 목록</caption>
  325. <caption id="caption22" class="tit_2" style="left:568px; top:15px; width:118px; height:14px; ">소득자 정보</caption>
  326. <datagrid id="grd_incmlist" nodeset="/root/main/list1/incmlist" caption="주민등록번호^성명^내/외국인^소득자구분^기관코드^거주지구분^거주지국^사업자등록번호^거래처명^우편번호^우편번호1^우편번호2^우편번호일련번호^상위주소^하위주소^전화번호^e-Mail^업종구분^소득구분^은행코드^예금주^계좌번호^여권번호^비고^Status" colwidth="130, 140, 110, 110, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" dataheight="25" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:74px; width:558px; height:646px; ">
  327. <col class="text_center" ref="rrgstno" format="999999-9999999"/>
  328. <col ref="name" style="text-align:center; "/>
  329. <col disabled="true" ref="ionatiflag" type="combo" style="text-align:center; ">
  330. <choices>
  331. <item>
  332. <label>내국인</label>
  333. <value>1</value>
  334. </item>
  335. <item>
  336. <label>외국인</label>
  337. <value>9</value>
  338. </item>
  339. </choices>
  340. </col>
  341. <col disabled="true" ref="incmpsnflag" type="combo" style="text-align:center; ">
  342. <choices>
  343. <item>
  344. <label>사업자</label>
  345. <value>1</value>
  346. </item>
  347. <item>
  348. <label>개인</label>
  349. <value>2</value>
  350. </item>
  351. </choices>
  352. </col>
  353. <col ref="instcd" visibility="hidden"/>
  354. <col ref="residentflag" visibility="hidden"/>
  355. <col ref="residncnati" visibility="hidden"/>
  356. <col ref="entrregno" visibility="hidden"/>
  357. <col ref="custnm" visibility="hidden"/>
  358. <col ref="zipcd" visibility="hidden"/>
  359. <col ref="zipcd1" visibility="hidden"/>
  360. <col ref="zipcd2" visibility="hidden"/>
  361. <col ref="zipcdseqno" visibility="hidden"/>
  362. <col ref="supaddr" visibility="hidden"/>
  363. <col ref="infaddr" visibility="hidden"/>
  364. <col ref="cntctel" visibility="hidden"/>
  365. <col ref="emailaddr" visibility="hidden"/>
  366. <col ref="induflag" visibility="hidden"/>
  367. <col ref="incmflag" visibility="hidden"/>
  368. <col ref="bankcd" visibility="hidden"/>
  369. <col ref="depor" visibility="hidden"/>
  370. <col ref="aactno" visibility="hidden"/>
  371. <col ref="passportno" visibility="hidden"/>
  372. <col ref="cmt" visibility="hidden"/>
  373. <col ref="status" visibility="hidden"/>
  374. <col ref="rrgstnovalidyn" visibility="hidden"/>
  375. <script type="javascript" ev:event="onrowchanged">
  376. <![CDATA[
  377. model.copyNode("/root/main/list2/incmpsn", grd_incmlist.nodeset + "[" + grd_incmlist.row + "]");
  378. model.setValue("/root/main/list2/incmpsn/status", "u");
  379. grd_incmlist.dispatch("onmouseup");
  380. model.refresh();
  381. ipt_rrgstno.disabled = true;
  382. ]]>
  383. </script>
  384. <script type="javascript" ev:event="onaftersort">
  385. <![CDATA[
  386. grd_incmlist.gridToInstance();
  387. model.refresh();
  388. ]]>
  389. </script>
  390. </datagrid>
  391. <button id="btn_add" class="btn2_letter2" style="left:1149px; top:10px; width:42px; height:19px; ">
  392. <caption>신규</caption>
  393. <script type="javascript" ev:event="DOMActivate">
  394. <![CDATA[
  395. fResetControl();
  396. ]]>
  397. </script>
  398. </button>
  399. <button id="btn_excsave" class="btn2_letter4" style="left:494px; top:49px; width:64px; height:19px; text-align:left; ">
  400. <caption>엑셀저장</caption>
  401. <script type="javascript" ev:event="onclick">
  402. <![CDATA[
  403. misfSaveExcel(grd_incmlist);
  404. ]]>
  405. </script>
  406. </button>
  407. <line id="line8" class="line_2" style="x1:564px; y1:294px; x2:1194px; y2:294px; "/>
  408. <select1 id="cmb_residncnati" ref="/root/main/list2/incmpsn/residncnati" disabled="true" navindex="14" appearance="minimal" editmode="inputsearch" itemcount="20" showvalue="true" style="left:667px; top:141px; width:150px; height:19px; ">
  409. <choices>
  410. <itemset nodeset="/root/init/R0282list/R0282">
  411. <label ref="cdnm"/>
  412. <value ref="cdid"/>
  413. </itemset>
  414. </choices>
  415. </select1>
  416. <line id="line9" class="line_3" style="x1:564px; y1:527px; x2:1194px; y2:527px; "/>
  417. <button id="btn_zipcd" class="icon_search" style="left:786px; top:246px; width:16px; height:16px; ">
  418. <caption/>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. misfOpenPopUpList("04", opt_zipcd1, "", "zipcd1,zipcd2,supaddr,zipcdseqno");
  422. var sZipcd = model.getValue("/root/main/list2/incmpsn/zipcd1") + '-' + model.getValue("/root/main/list2/incmpsn/zipcd2");
  423. model.setValue("/root/main/list2/incmpsn/zipcd", sZipcd);
  424. model.refresh();
  425. ]]>
  426. </script>
  427. </button>
  428. <line id="line10" class="line_2" style="x1:564px; y1:320px; x2:1194px; y2:320px; "/>
  429. <input id="ipt_cmt" ref="/root/main/list2/incmpsn/cmt" class="input_default" navindex="28" style="left:667px; top:530px; width:440px; height:19px; ">
  430. <script type="javascript" ev:event="onkeypress">
  431. <![CDATA[
  432. if (event.keyCode == "13") {
  433. model.setFocus("btn_save");
  434. }
  435. ]]>
  436. </script>
  437. </input>
  438. <input id="ipt_rrgstno" ref="/root/main/list2/incmpsn/rrgstno" class="input_essential" navindex="11" style="left:667px; top:38px; width:150px; height:19px; font-weight:bold; ">
  439. <script type="javascript" ev:event="xforms-value-changed">
  440. <![CDATA[
  441. fRetrieveExistList("code");
  442. ]]>
  443. </script>
  444. <script type="javascript" ev:event="onkeypress">
  445. <![CDATA[
  446. if (event.keyCode == "13") {
  447. model.setFocus("ipt_name");
  448. }
  449. ]]>
  450. </script>
  451. </input>
  452. <line id="line11" class="line_2" style="x1:564px; y1:164px; x2:1194px; y2:164px; "/>
  453. <select1 id="cmb_incmflag" ref="/root/main/list2/incmpsn/incmflag" navindex="24" appearance="minimal" style="left:667px; top:401px; width:197px; height:19px; ">
  454. <choices>
  455. <itemset nodeset="/root/init/R0279list/R0279">
  456. <label ref="cdnm"/>
  457. <value ref="cdid"/>
  458. </itemset>
  459. </choices>
  460. </select1>
  461. <output id="opt_zipcd1" ref="/root/main/list2/incmpsn/zipcd1" visibility="hidden" style="left:830px; top:245px; width:35px; height:19px; text-align:left; "/>
  462. <line id="line13" class="line_2" style="x1:564px; y1:112px; x2:1194px; y2:112px; "/>
  463. <caption id="caption1" class="cell_1" style="left:564px; top:321px; width:100px; height:23px; vertical-align:middle; ">전화번호</caption>
  464. <caption id="caption10" class="cell_1" style="left:564px; top:295px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
  465. <output id="opt_zipcd2" ref="/root/main/list2/incmpsn/zipcd2" visibility="hidden" style="left:865px; top:245px; width:30px; height:19px; text-align:left; "/>
  466. <input id="ipt_aactno" ref="/root/main/list2/incmpsn/aactno" class="input_default" navindex="25" style="left:667px; top:427px; width:150px; height:19px; ">
  467. <script type="javascript" ev:event="onkeypress">
  468. <![CDATA[
  469. if (event.keyCode == "13") {
  470. model.setFocus("cmb_bankcd");
  471. }
  472. ]]>
  473. </script>
  474. </input>
  475. <input id="ipt_custnm" ref="/root/main/list2/incmpsn/custnm" class="input_default" disabled="true" navindex="17" style="left:667px; top:219px; width:180px; height:19px; ">
  476. <script type="javascript" ev:event="onkeypress">
  477. <![CDATA[
  478. if (event.keyCode == "13") {
  479. model.setFocus("btn_zipcd");
  480. }
  481. ]]>
  482. </script>
  483. </input>
  484. <caption id="caption11" class="cell_1" style="left:564px; top:191px; width:100px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
  485. <line id="line14" class="line_2" style="x1:564px; y1:138px; x2:1194px; y2:138px; "/>
  486. <caption id="caption2" class="cell_1" style="left:564px; top:139px; width:100px; height:23px; vertical-align:middle; ">거주지국</caption>
  487. <line id="line15" class="line_2" style="x1:564px; y1:346px; x2:1194px; y2:346px; "/>
  488. <caption id="caption12" class="cell_1" style="left:564px; top:217px; width:100px; height:23px; vertical-align:middle; ">상호</caption>
  489. <caption id="caption3" class="cell_1" style="left:564px; top:113px; width:100px; height:23px; vertical-align:middle; ">성명</caption>
  490. <input id="ipt_zipcd" ref="/root/main/list2/incmpsn/zipcd" class="input_default" navindex="18" editable="false" style="left:667px; top:245px; width:115px; height:19px; "/>
  491. <input id="ipt_supaddr" ref="/root/main/list2/incmpsn/supaddr" class="input_default" navindex="19" style="left:667px; top:271px; width:440px; height:19px; ">
  492. <script type="javascript" ev:event="onkeypress">
  493. <![CDATA[
  494. if (event.keyCode == "13") {
  495. model.setFocus("ipt_infaddr");
  496. }
  497. ]]>
  498. </script>
  499. </input>
  500. <line id="line16" class="line_2" style="x1:564px; y1:372px; x2:1194px; y2:372px; "/>
  501. <caption id="caption13" class="cell_1" style="left:564px; top:347px; width:100px; height:23px; vertical-align:middle; ">e-mail주소</caption>
  502. <caption id="caption5" class="cell_1" style="left:564px; top:243px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
  503. <select1 id="cmb_bankcd" ref="/root/main/list2/incmpsn/bankcd" navindex="26" appearance="minimal" style="left:667px; top:453px; width:150px; height:19px; ">
  504. <choices>
  505. <itemset nodeset="/root/init/R0001list/R0001">
  506. <label ref="cdnm"/>
  507. <value ref="cdid"/>
  508. </itemset>
  509. </choices>
  510. </select1>
  511. <input id="ipt_depor" ref="/root/main/list2/incmpsn/depor" class="input_default" navindex="27" style="left:667px; top:479px; width:150px; height:19px; ">
  512. <script type="javascript" ev:event="onkeypress">
  513. <![CDATA[
  514. if (event.keyCode == "13") {
  515. model.setFocus("ipt_cmt");
  516. }
  517. ]]>
  518. </script>
  519. </input>
  520. <line id="line17" class="line_2" style="x1:564px; y1:424px; x2:1194px; y2:424px; "/>
  521. <caption id="caption14" class="cell_1" style="left:564px; top:373px; width:100px; height:23px; vertical-align:middle; ">업종구분</caption>
  522. <input id="ipt_emailaddr" ref="/root/main/list2/incmpsn/emailaddr" class="input_essential" navindex="22" style="left:667px; top:349px; width:252px; height:19px; ">
  523. <script type="javascript" ev:event="onkeypress">
  524. <![CDATA[
  525. if (event.keyCode == "13") {
  526. model.setFocus("cmb_induflag");
  527. }
  528. ]]>
  529. </script>
  530. </input>
  531. <select1 id="rdo_incmpsnflag" ref="/root/main/list2/incmpsn/incmpsnflag" navindex="15" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:167px; width:145px; height:20px; border-style:none; ">
  532. <choices>
  533. <item>
  534. <label>사업자</label>
  535. <value>1</value>
  536. </item>
  537. <item>
  538. <label>개인</label>
  539. <value>2</value>
  540. </item>
  541. </choices>
  542. <script type="javascript" ev:event="xforms-value-changed">
  543. <![CDATA[
  544. if (model.getValue("/root/main/list2/incmpsn/incmpsnflag") == "1")
  545. {
  546. ipt_entrregno.disabled = false;
  547. ipt_custnm.disabled = false;
  548. }
  549. else
  550. {
  551. model.setValue("/root/main/list2/incmpsn/entrregno","");
  552. model.setValue("/root/main/list2/incmpsn/custnm","");
  553. model.refresh();
  554. ipt_entrregno.disabled = true;
  555. ipt_custnm.disabled = true;
  556. }
  557. ]]>
  558. </script>
  559. </select1>
  560. <caption id="caption8" class="cell_1" style="left:564px; top:269px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
  561. <caption id="caption47" class="cell_1" style="left:564px; top:62px; width:100px; height:23px; vertical-align:middle; ">내/외국인구분</caption>
  562. <output id="opt_zipcdseqno" ref="/root/main/list2/incmpsn/zipcdseqno" visibility="hidden" style="left:895px; top:245px; width:25px; height:19px; text-align:left; "/>
  563. <line id="line18" class="line_2" style="x1:564px; y1:450px; x2:1194px; y2:450px; "/>
  564. <caption id="caption15" class="cell_1" style="left:564px; top:425px; width:100px; height:23px; vertical-align:middle; ">계좌번호</caption>
  565. <input id="ipt_name" ref="/root/main/list2/incmpsn/name" class="input_essential" navindex="12" style="left:667px; top:115px; width:150px; height:19px; ">
  566. <script type="javascript" ev:event="xforms-value-changed">
  567. <![CDATA[
  568. // fSearch("name");
  569. ]]>
  570. </script>
  571. <script type="javascript" ev:event="onkeypress">
  572. <![CDATA[
  573. if (event.keyCode == "13")
  574. {
  575. model.setFocus("rdo_ionatiflag");
  576. }
  577. ]]>
  578. </script>
  579. </input>
  580. <caption id="caption16" class="cell_1" style="left:564px; top:451px; width:100px; height:23px; vertical-align:middle; ">은행</caption>
  581. <line id="line19" class="line_2" style="x1:564px; y1:476px; x2:1194px; y2:476px; "/>
  582. <input id="ipt_entrregno" ref="/root/main/list2/incmpsn/entrregno" class="input_default" disabled="true" navindex="16" format="999-99-99999" showmask="true" style="left:667px; top:193px; width:150px; height:19px; ">
  583. <script type="javascript" ev:event="onkeypress">
  584. <![CDATA[
  585. if (event.keyCode == "13") {
  586. model.setFocus("ipt_custnm");
  587. }
  588. ]]>
  589. </script>
  590. </input>
  591. <select1 id="rdo_ionatiflag" ref="/root/main/list2/incmpsn/ionatiflag" navindex="13" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:65px; width:145px; height:15px; border-style:none; ">
  592. <choices>
  593. <item>
  594. <label>내국인</label>
  595. <value>1</value>
  596. </item>
  597. <item>
  598. <label>외국인</label>
  599. <value>9</value>
  600. </item>
  601. </choices>
  602. </select1>
  603. <caption id="caption9" class="cell_1" style="left:564px; top:530px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
  604. <line id="line5" class="line_2" style="x1:564px; y1:60px; x2:1194px; y2:60px; "/>
  605. <select1 id="cmb_induflag" ref="/root/main/list2/incmpsn/induflag" navindex="23" appearance="minimal" style="left:667px; top:376px; width:227px; height:19px; ">
  606. <choices>
  607. <itemset nodeset="/root/init/R0278list/R0278">
  608. <label ref="cdnm"/>
  609. <value ref="cdid"/>
  610. </itemset>
  611. </choices>
  612. </select1>
  613. <caption id="caption17" class="cell_1" style="left:564px; top:477px; width:100px; height:23px; vertical-align:middle; ">예금주</caption>
  614. <caption id="caption18" class="cell_1" style="left:564px; top:36px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  615. <line id="line6" class="line_2" style="x1:564px; y1:86px; x2:1194px; y2:86px; "/>
  616. <caption id="caption20" class="cell_1" style="left:564px; top:165px; width:100px; height:23px; vertical-align:middle; ">소득자구분</caption>
  617. <line id="line7" class="line_2" style="x1:564px; y1:190px; x2:1194px; y2:190px; "/>
  618. <line id="line12" class="line_2" style="x1:564px; y1:267px; x2:1107px; y2:267px; "/>
  619. <input id="ipt_infaddr" ref="/root/main/list2/incmpsn/infaddr" class="input_default" navindex="20" style="left:667px; top:297px; width:340px; height:19px; ">
  620. <script type="javascript" ev:event="onkeypress">
  621. <![CDATA[
  622. if (event.keyCode == "13") {
  623. model.setFocus("ipt_cntctel");
  624. }
  625. ]]>
  626. </script>
  627. </input>
  628. <input id="ipt_cntctel" ref="/root/main/list2/incmpsn/cntctel" class="input_default" navindex="21" style="left:667px; top:324px; width:150px; height:19px; ">
  629. <script type="javascript" ev:event="onkeypress">
  630. <![CDATA[
  631. if (event.keyCode == "13") {
  632. model.setFocus("ipt_emailaddr");
  633. }
  634. ]]>
  635. </script>
  636. </input>
  637. <line id="line20" class="line_2" style="x1:564px; y1:268px; x2:1194px; y2:268px; "/>
  638. <caption id="caption23" class="cell_1" style="left:564px; top:399px; width:100px; height:23px; vertical-align:middle; ">소득구분</caption>
  639. <line id="line21" class="line_2" style="x1:564px; y1:398px; x2:1194px; y2:398px; "/>
  640. <line id="line22" class="line_2" style="x1:564px; y1:216px; x2:1194px; y2:216px; "/>
  641. <caption id="caption19" class="cell_1" style="left:564px; top:503px; width:100px; height:23px; vertical-align:middle; ">여권번호</caption>
  642. <line id="line23" class="line_2" style="x1:564px; y1:501px; x2:1194px; y2:501px; "/>
  643. <input id="ipt_passportno" ref="/root/main/list2/incmpsn/passportno" class="input_default" navindex="28" style="left:667px; top:505px; width:440px; height:19px; ">
  644. <script type="javascript" ev:event="onkeypress">
  645. <![CDATA[
  646. if (event.keyCode == "13")
  647. {
  648. model.setFocus("ipt_cmt");
  649. }
  650. ]]>
  651. </script>
  652. </input>
  653. <button id="button1" class="btn2_letter10" style="left:100px; top:49px; width:130px; height:19px; text-align:left; ">
  654. <caption>주민등록번호오류검사</caption>
  655. <script type="javascript" ev:event="onclick">
  656. <![CDATA[
  657. openLoadingBar("작업중");
  658. for(var i = grd_incmlist.fixedRows ; i < grd_incmlist.rows ; i++)
  659. {
  660. var sRrgstno = grd_incmlist.valueMatrix(i, grd_incmlist.colRef("rrgstno"));
  661. if((grd_incmlist.valueMatrix(i, grd_incmlist.colRef("residentflag")) == "1") &&
  662. ((!radfJuminCheck(sRrgstno) && grd_incmlist.valueMatrix(i, grd_incmlist.colRef("ionatiflag")) == "1" )
  663. || (!radfFgnJuminCheck(sRrgstno) && grd_incmlist.valueMatrix(i, grd_incmlist.colRef("ionatiflag")) == "9")))
  664. {
  665. grd_incmlist.rowStyle(i, "data", "background-color") = "#ff99cc";
  666. model.setValue(grd_incmlist.nodeset + "[" + i + "]/rrgstnovalidyn", "N");
  667. }
  668. }
  669. grd_incmlist.refresh();
  670. closeLoadingBar();
  671. ]]>
  672. </script>
  673. </button>
  674. <caption id="caption24" class="cell_1" style="left:564px; top:88px; width:100px; height:23px; vertical-align:middle; ">거주자 구분</caption>
  675. <select1 id="rdo_residentflag" ref="/root/main/list2/incmpsn/residentflag" navindex="13" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:667px; top:91px; width:158px; height:15px; border-style:none; ">
  676. <choices>
  677. <item>
  678. <label>거주자</label>
  679. <value>1</value>
  680. </item>
  681. <item>
  682. <label>비거주자</label>
  683. <value>2</value>
  684. </item>
  685. </choices>
  686. <script type="javascript" ev:event="xforms-value-changed">
  687. <![CDATA[
  688. if (model.getValue("/root/main/list2/incmpsn/residentflag") == "1")
  689. {
  690. model.setValue("/root/main/list2/incmpsn/residncnati", "");
  691. cmb_residncnati.disabled = true;
  692. }
  693. else
  694. {
  695. cmb_residncnati.disabled = false;
  696. }
  697. model.refresh();
  698. ]]>
  699. </script>
  700. </select1>
  701. <caption id="caption25" style="left:820px; top:38px; width:137px; height:20px; font-weight:bold; color:#0000ff; text-align:left; ">( '-' 없이 입력하세요)</caption>
  702. </group>
  703. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  704. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  705. <button id="btn_save" class="btn4_letter2" style="left:1076px; top:3px; width:56px; height:22px; ">
  706. <caption>저장</caption>
  707. <script type="javascript" ev:event="DOMActivate">
  708. <![CDATA[
  709. if(!fCheckNumber()) return false;
  710. fSave();
  711. ]]>
  712. </script>
  713. </button>
  714. <button id="btn_delete" class="btn4_letter2" style="left:1135px; top:3px; width:56px; height:22px; ">
  715. <caption>삭제</caption>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. var dlgRslt = messageBox("선택하신 소득자를", "Q001");
  719. if(dlgRslt == 6)
  720. {
  721. model.setValue("/root/main/list2/incmpsn/status", "d");
  722. submit("TXRAC00611");
  723. fRetrieve();
  724. fResetControl();
  725. }
  726. ]]>
  727. </script>
  728. </button>
  729. </group>
  730. </xhtml:body>
  731. </xhtml:html>