SPRAC00611_소득자관리.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  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. <incmpsn>
  11. <instcd/>
  12. <rrgstno/>
  13. <ionatiflag>1</ionatiflag>
  14. <residentflag>1</residentflag>
  15. <residncnati/>
  16. <incmpsnflag>2</incmpsnflag>
  17. <entrregno/>
  18. <custnm/>
  19. <name/>
  20. <zipcd/>
  21. <zipcd1/>
  22. <zipcd2/>
  23. <zipcdseqno/>
  24. <supaddr/>
  25. <infaddr/>
  26. <cntctel/>
  27. <emailaddr/>
  28. <induflag/>
  29. <incmflag/>
  30. <bankcd/>
  31. <depor/>
  32. <aactno/>
  33. <passportno/>
  34. <cmt/>
  35. <status/>
  36. </incmpsn>
  37. </main>
  38. <send>
  39. <incmpsn/>
  40. <data1>
  41. <instcd/>
  42. <rrgstno/>
  43. <name/>
  44. <retrflag/>
  45. </data1>
  46. <data2>
  47. <instcd/>
  48. <mngtcd>acntdept</mngtcd>
  49. </data2>
  50. </send>
  51. <hidden>
  52. <incmpsn/>
  53. </hidden>
  54. <init>
  55. <R0282list>
  56. <R0282>
  57. <cdnm/>
  58. <cdid/>
  59. </R0282>
  60. </R0282list>
  61. <R0278list>
  62. <R0278>
  63. <cdnm/>
  64. <cdid/>
  65. </R0278>
  66. </R0278list>
  67. <R0279list>
  68. <R0279>
  69. <cdnm/>
  70. <cdid/>
  71. </R0279>
  72. </R0279list>
  73. <R0001list>
  74. <R0001>
  75. <cdnm/>
  76. <cdid/>
  77. </R0001>
  78. </R0001list>
  79. <code>
  80. </code>
  81. </init>
  82. <temp/>
  83. <target/>
  84. </root>
  85. </instance>
  86. <submission id="TRZBC00101" method="urlencoded-post" replace="instance"/>
  87. <submission id="TRRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/incmpsn"/>
  88. <submission id="TXRAC00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/incmpsn" resultref="/root/temp"/>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. fInitialize();
  92. ]]>
  93. </script>
  94. <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/init/code/codelist"/>
  95. </model>
  96. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  98. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  99. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  100. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  101. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  102. <script type="javascript">
  103. <![CDATA[
  104. var vNoSearchFlag = 'N';
  105. //========================================================================================
  106. //초기화
  107. //========================================================================================
  108. function fInitialize() {
  109. var instcd = getUserInfo("dutplceinstcd");
  110. //공통코드 조회
  111. zbcfGetCodeList(new Array("R0282","R0278","R0279","R0001"), new Array("/root/init/R0282list","/root/init/R0278list","/root/init/R0279list","/root/init/R0001list"));
  112. model.setValue("/root/main/incmpsn/status","i");
  113. model.setValue("/root/main/incmpsn/instcd",instcd);
  114. model.copyNode("/root/hidden/incmpsn", "/root/main/incmpsn");
  115. model.setValue("/root/send/data2/instcd", instcd);
  116. submit("TRRAZ00001");
  117. if(model.getValue("/root/init/code/code/codelist/cdid") != getUserInfo("dutplcecd"))
  118. {
  119. btn_delete.disabled = true;
  120. }
  121. model.refresh();
  122. model.setFocus("ipt_rrgstno");
  123. }
  124. //========================================================================================
  125. //우편번호 Help Open
  126. //========================================================================================
  127. function fOpenPopupZipHelp(pControl, pInstance)
  128. {
  129. //04 우편번호 Helper
  130. misfOpenPopUpList("04", pControl, "", pInstance);
  131. var sZipcd = model.getValue("/root/main/incmpsn/zipcd1") + '-' + model.getValue("/root/main/incmpsn/zipcd2");
  132. model.setValue("/root/main/incmpsn/zipcd", sZipcd);
  133. model.refresh();
  134. }
  135. //========================================================================================
  136. //저장 click
  137. //========================================================================================
  138. function fSaveClick()
  139. {
  140. model.resetInstanceNode("/root/send/incmpsn");
  141. model.copyNode("/root/send/incmpsn", "/root/main/incmpsn");
  142. if(model.getValue("/root/main/incmpsn/status") == "u" && model.getValue("/root/init/code/code/codelist/cdid") != getUserInfo("dutplcecd"))
  143. {
  144. messageBox("수정 권한이 없습니다.\n" + model.getValue("/root/init/code/code/codelist/cdnm") +"에 문의하세요" ,"I000");
  145. }
  146. else
  147. {
  148. if(!fNotNullCheck()) return;
  149. if (submit("TXRAC00611"))
  150. {
  151. model.setValue("/root/main/incmpsn/status","u");
  152. model.refresh();
  153. messageBox("저장이 완료되었습니다." ,"I000");
  154. }
  155. }
  156. var receiveref = model.getValue("/root/target/receiveref");
  157. if ( checkOpener())
  158. {
  159. if(receiveref != "")
  160. {
  161. opener.model.setValue(receiveref + "/rrgstno", model.getValue("/root/main/incmpsn/rrgstno" ));
  162. opener.model.setValue(receiveref + "/name", model.getValue("/root/main/incmpsn/name" ));
  163. opener.model.setValue(receiveref + "/entrregno", model.getValue("/root/main/incmpsn/entrregno" ));
  164. opener.model.setValue(receiveref + "/custnm", model.getValue("/root/main/incmpsn/custnm" ));
  165. opener.model.setValue(receiveref + "/zipcd", model.getValue("/root/main/incmpsn/zipcd" ));
  166. opener.model.setValue(receiveref + "/zipcd1", model.getValue("/root/main/incmpsn/zipcd1" ));
  167. opener.model.setValue(receiveref + "/zipcd2", model.getValue("/root/main/incmpsn/zipcd2" ));
  168. opener.model.setValue(receiveref + "/zipcdseqno", model.getValue("/root/main/incmpsn/zipcdseqno" ));
  169. opener.model.setValue(receiveref + "/supaddr", model.getValue("/root/main/incmpsn/supaddr" ));
  170. opener.model.setValue(receiveref + "/infaddr", model.getValue("/root/main/incmpsn/infaddr" ));
  171. opener.model.setValue(receiveref + "/induflag", model.getValue("/root/main/incmpsn/induflag" ));
  172. opener.model.setValue(receiveref + "/incmflag", model.getValue("/root/main/incmpsn/incmflag" ));
  173. }
  174. }
  175. else
  176. {
  177. messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  178. }
  179. }
  180. //========================================================================================
  181. //삭제 click
  182. //========================================================================================
  183. function fDeleteClick() {
  184. model.setValue("/root/main/incmpsn/status", "d");
  185. fSaveClick();
  186. model.removenode("/root/main/incmpsn");
  187. model.makeNode("/root/main/incmpsn");
  188. model.copyNode("/root/main/incmpsn","/root/hidden/incmpsn");
  189. model.setValue("/root/main/incmpsn/status","i");
  190. messageBox("삭제되었습니다.", "I000");
  191. model.refresh();
  192. }
  193. //========================================================================================
  194. //조회
  195. //========================================================================================
  196. function fSearch(sType)
  197. {
  198. var instcd = model.getValue("/root/main/incmpsn/instcd");
  199. var rrgstno = model.getValue("/root/main/incmpsn/rrgstno");
  200. var ionatiflag = model.getValue("/root/main/incmpsn/ionatiflag");
  201. var name = model.getValue("/root/main/incmpsn/name");
  202. model.copyNode("/root/hidden/incmpsn", "/root/main/incmpsn")
  203. model.setValue("/root/send/data1/instcd", instcd);
  204. model.setValue("/root/send/data1/rrgstno", rrgstno);
  205. model.setValue("/root/send/data1/name", name);
  206. model.setValue("/root/send/data1/retrflag", sType);
  207. model.refresh();
  208. if (rrgstno != "" || name != "")
  209. {
  210. submit("TRRAC00611");
  211. model.refresh();
  212. if (model.getValue("/root/main/incmpsn/instcd") == "")
  213. {
  214. model.makeNode("/root/main/incmpsn");
  215. model.copyNode("/root/main/incmpsn", "/root/hidden/incmpsn");
  216. model.resetInstanceNode("/root/main/incmpsn");
  217. model.setValue("/root/main/incmpsn/instcd", model.getValue("/root/hidden/incmpsn/instcd"));
  218. model.setValue("/root/main/incmpsn/rrgstno", model.getValue("/root/hidden/incmpsn/rrgstno"));
  219. model.setValue("/root/main/incmpsn/ionatiflag", ionatiflag);
  220. model.setValue("/root/main/incmpsn/incmpsnflag", "2");
  221. model.setValue("/root/main/incmpsn/residentflag", "1");
  222. model.setValue("/root/main/incmpsn/status", "i");
  223. model.refresh();
  224. }
  225. else
  226. {
  227. model.setValue("/root/main/incmpsn/status","u");
  228. model.refresh();
  229. }
  230. rdo_ionatiflag.dispatch("xforms-value-changed");
  231. rdo_incmpsnflag.dispatch("xforms-value-changed");
  232. }
  233. else
  234. {
  235. model.setValue("/root/main/incmpsn/status","i");
  236. model.refresh();
  237. }
  238. }
  239. //========================================================================================
  240. //조회
  241. //========================================================================================
  242. function fNotNullCheck()
  243. {
  244. if(model.getValue("/root/main/incmpsn/rrgstno") == "")
  245. {
  246. messageBox("주민등록번호는" ,"I003");
  247. model.setFocus("ipt_rrgstno");
  248. return false;
  249. }
  250. if(model.getValue("/root/main/incmpsn/name") == "")
  251. {
  252. messageBox("성명은" ,"I003");
  253. model.setFocus("ipt_name");
  254. return false;
  255. }
  256. return true;
  257. }
  258. //========================================================================================
  259. //주민등록번호 체크
  260. //========================================================================================
  261. function fCheckNumber()
  262. {
  263. var sRrgstno = ipt_rrgstno.value;
  264. if(model.getValue(rdo_residentflag.attribute("ref")) == "1" &&
  265. ( (!radfJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "1" )
  266. ||(!radfFgnJuminCheck(sRrgstno) && model.getValue(rdo_ionatiflag.attribute("ref")) == "9")))
  267. {
  268. messageBox("잘못된 주민등록번호 입니다." ,"I000");
  269. return false;
  270. }
  271. else
  272. {
  273. return true;
  274. }
  275. }
  276. ]]>
  277. </script>
  278. </xhtml:head>
  279. <xhtml:body pagewidth="560" pageheight="450" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  280. <group id="group1" style="left:0px; top:0px; width:544; height:13px; ">
  281. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">소득자 관리</caption>
  282. </group>
  283. <group id="group2" scroll="auto" style="left:0px; top:12px; width:543px; height:403px; ">
  284. <line id="line7" class="line_2" style="x1:0px; y1:205px; x2:543px; y2:205px; "/>
  285. <line id="line6" class="line_2" style="x1:0px; y1:181px; x2:543px; y2:181px; "/>
  286. <line id="line5" class="line_2" style="x1:0px; y1:157px; x2:543px; y2:157px; "/>
  287. <line id="line4" class="line_2" style="x1:0px; y1:60px; x2:543px; y2:60px; "/>
  288. <line id="line3" class="line_2" style="x1:0px; y1:36px; x2:543px; y2:36px; "/>
  289. <line id="line9" class="line_3" style="x1:0px; y1:397px; x2:543px; y2:397px; "/>
  290. <line id="line8" class="line_2" style="x1:0px; y1:229px; x2:543px; y2:229px; "/>
  291. <caption id="caption47" class="cell_1" style="left:0px; top:62px; width:100px; height:23px; vertical-align:middle; ">내/외국인구분</caption>
  292. <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:543px; y2:9px; "/>
  293. <caption id="caption2" class="cell_1" style="left:260px; top:86px; width:100px; height:23px; vertical-align:middle; ">거주지국</caption>
  294. <caption id="caption3" class="cell_1" style="left:0px; top:38px; width:100px; height:23px; vertical-align:middle; ">성명</caption>
  295. <caption id="caption4" class="cell_1" style="left:0px; top:159px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
  296. <caption id="caption5" class="cell_1" style="left:0px; top:183px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
  297. <caption id="caption7" class="cell_1" style="left:0px; top:375px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
  298. <caption id="caption10" class="cell_1" style="left:0px; top:207px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
  299. <input id="ipt_cmt" ref="/root/main/incmpsn/cmt" class="input_default" navindex="18" style="left:103px; top:376px; width:440px; height:19px; ">
  300. <script type="javascript" ev:event="onkeypress">
  301. <![CDATA[
  302. if (event.keyCode == "13") {
  303. model.setFocus("btn_save");
  304. }
  305. ]]>
  306. </script>
  307. </input>
  308. <line id="line10" class="line_2" style="x1:0px; y1:253px; x2:543px; y2:253px; "/>
  309. <caption id="caption1" class="cell_1" style="left:0px; top:231px; width:100px; height:23px; vertical-align:middle; ">전화번호</caption>
  310. <input id="ipt_cntctel" ref="/root/main/incmpsn/cntctel" class="input_default" navindex="11" style="left:103px; top:232px; width:150px; height:19px; ">
  311. <script type="javascript" ev:event="onkeypress">
  312. <![CDATA[
  313. if (event.keyCode == "13") {
  314. model.setFocus("ipt_emailaddr");
  315. }
  316. ]]>
  317. </script>
  318. </input>
  319. <line id="line11" class="line_2" style="x1:0px; y1:132px; x2:543px; y2:132px; "/>
  320. <caption id="caption8" class="cell_1" style="left:0px; top:14px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  321. <input id="ipt_rrgstno" ref="/root/main/incmpsn/rrgstno" class="input_essential" navindex="1" maxlength="13" format="999999-9999999" style="left:103px; top:15px; width:150px; height:19px; ">
  322. <script type="javascript" ev:event="xforms-value-changed">
  323. <![CDATA[
  324. fSearch("code");
  325. ]]>
  326. </script>
  327. <script type="javascript" ev:event="onkeypress">
  328. <![CDATA[
  329. if (event.keyCode == "13") {
  330. model.setFocus("ipt_name");
  331. }
  332. ]]>
  333. </script>
  334. </input>
  335. <input id="ipt_name" ref="/root/main/incmpsn/name" class="input_essential" navindex="2" style="left:103px; top:39px; width:150px; height:19px; ">
  336. <script type="javascript" ev:event="xforms-value-changed">
  337. <![CDATA[
  338. // fSearch("name");
  339. ]]>
  340. </script>
  341. <script type="javascript" ev:event="onkeypress">
  342. <![CDATA[
  343. if (event.keyCode == "13")
  344. {
  345. model.setFocus("rdo_ionatiflag");
  346. }
  347. ]]>
  348. </script>
  349. </input>
  350. <select1 id="rdo_ionatiflag" ref="/root/main/incmpsn/ionatiflag" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:63px; width:145px; height:20px; border-style:none; ">
  351. <choices>
  352. <item>
  353. <label>내국인</label>
  354. <value>1</value>
  355. </item>
  356. <item>
  357. <label>외국인</label>
  358. <value>9</value>
  359. </item>
  360. </choices>
  361. </select1>
  362. <caption id="caption9" class="cell_1" style="left:0px; top:110px; width:100px; height:23px; vertical-align:middle; ">소득자 구분</caption>
  363. <line id="line13" class="line_2" style="x1:0px; y1:84px; x2:543px; y2:84px; "/>
  364. <select1 id="rdo_incmpsnflag" ref="/root/main/incmpsn/incmpsnflag" navindex="5" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:113px; width:145px; height:20px; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>사업자</label>
  368. <value>1</value>
  369. </item>
  370. <item>
  371. <label>개인</label>
  372. <value>2</value>
  373. </item>
  374. </choices>
  375. <script type="javascript" ev:event="xforms-value-changed">
  376. <![CDATA[
  377. if (model.getValue("/root/main/incmpsn/incmpsnflag") == "1") {
  378. ipt_entrregno.disabled = false;
  379. ipt_custnm.disabled = false;
  380. } else {
  381. model.setValue("/root/main/incmpsn/entrregno","");
  382. model.setValue("/root/main/incmpsn/custnm","");
  383. model.refresh();
  384. ipt_entrregno.disabled = true;
  385. ipt_custnm.disabled = true;
  386. }
  387. ]]>
  388. </script>
  389. </select1>
  390. <line id="line14" class="line_2" style="x1:0px; y1:108px; x2:543px; y2:108px; "/>
  391. <caption id="caption11" class="cell_1" style="left:0px; top:134px; width:100px; height:23px; vertical-align:middle; ">사업자등록번호</caption>
  392. <input id="ipt_entrregno" ref="/root/main/incmpsn/entrregno" class="input_default" disabled="true" navindex="6" format="999-99-99999" showmask="true" style="left:103px; top:135px; width:150px; height:19px; ">
  393. <script type="javascript" ev:event="onkeypress">
  394. <![CDATA[
  395. if (event.keyCode == "13") {
  396. model.setFocus("ipt_custnm");
  397. }
  398. ]]>
  399. </script>
  400. </input>
  401. <caption id="caption12" class="cell_1" style="left:260px; top:134px; width:100px; height:23px; vertical-align:middle; ">상호</caption>
  402. <input id="ipt_custnm" ref="/root/main/incmpsn/custnm" class="input_default" disabled="true" navindex="7" style="left:363px; top:135px; width:180px; height:19px; ">
  403. <script type="javascript" ev:event="onkeypress">
  404. <![CDATA[
  405. if (event.keyCode == "13") {
  406. model.setFocus("btn_zipcd");
  407. }
  408. ]]>
  409. </script>
  410. </input>
  411. <line id="line15" class="line_2" style="x1:0px; y1:277px; x2:543px; y2:277px; "/>
  412. <caption id="caption13" class="cell_1" style="left:0px; top:255px; width:100px; height:23px; vertical-align:middle; ">e-mail주소</caption>
  413. <input id="ipt_emailaddr" ref="/root/main/incmpsn/emailaddr" class="input_essential" navindex="12" style="left:103px; top:256px; width:252px; height:19px; ">
  414. <script type="javascript" ev:event="onkeypress">
  415. <![CDATA[
  416. if (event.keyCode == "13") {
  417. model.setFocus("cmb_induflag");
  418. }
  419. ]]>
  420. </script>
  421. </input>
  422. <line id="line16" class="line_2" style="x1:0px; y1:301px; x2:543px; y2:301px; "/>
  423. <caption id="caption14" class="cell_1" style="left:0px; top:279px; width:100px; height:23px; vertical-align:middle; ">업종/소득구분</caption>
  424. <line id="line17" class="line_2" style="x1:0px; y1:325px; x2:543px; y2:325px; "/>
  425. <caption id="caption15" class="cell_1" style="left:0px; top:303px; width:100px; height:23px; vertical-align:middle; ">계좌번호</caption>
  426. <input id="ipt_depor" ref="/root/main/incmpsn/depor" class="input_default" navindex="17" style="left:363px; top:328px; width:177px; height:19px; ">
  427. <script type="javascript" ev:event="onkeypress">
  428. <![CDATA[
  429. if (event.keyCode == "13") {
  430. model.setFocus("ipt_cmt");
  431. }
  432. ]]>
  433. </script>
  434. </input>
  435. <line id="line18" class="line_2" style="x1:0px; y1:349px; x2:543px; y2:349px; "/>
  436. <line id="line19" class="line_2" style="x1:0px; y1:373px; x2:543px; y2:373px; "/>
  437. <caption id="caption16" class="cell_1" style="left:0px; top:327px; width:100px; height:23px; vertical-align:middle; ">은행</caption>
  438. <caption id="caption17" class="cell_1" style="left:260px; top:327px; width:100px; height:23px; vertical-align:middle; ">예금주</caption>
  439. <input id="ipt_aactno" ref="/root/main/incmpsn/aactno" class="input_default" navindex="15" style="left:103px; top:304px; width:150px; height:19px; ">
  440. <script type="javascript" ev:event="onkeypress">
  441. <![CDATA[
  442. if (event.keyCode == "13") {
  443. model.setFocus("cmb_bankcd");
  444. }
  445. ]]>
  446. </script>
  447. </input>
  448. <select1 id="cmb_residncnati" ref="/root/main/incmpsn/residncnati" disabled="true" navindex="4" appearance="minimal" editmode="inputsearch" itemcount="20" showvalue="true" style="left:363px; top:87px; width:150px; height:19px; ">
  449. <choices>
  450. <itemset nodeset="/root/init/R0282list/R0282">
  451. <label ref="cdnm"/>
  452. <value ref="cdid"/>
  453. </itemset>
  454. </choices>
  455. </select1>
  456. <button id="btn_zipcd" class="icon_search" style="left:222px; top:162px; width:16px; height:16px; ">
  457. <caption/>
  458. <script type="javascript" ev:event="DOMActivate">
  459. <![CDATA[
  460. fOpenPopupZipHelp(opt_zipcd1,"zipcd1,zipcd2,supaddr,zipcdseqno");
  461. ]]>
  462. </script>
  463. </button>
  464. <output id="opt_zipcd1" ref="/root/main/incmpsn/zipcd1" visibility="hidden" style="left:266px; top:161px; width:35px; height:19px; text-align:left; "/>
  465. <output id="opt_zipcd2" ref="/root/main/incmpsn/zipcd2" visibility="hidden" style="left:301px; top:161px; width:30px; height:19px; text-align:left; "/>
  466. <input id="ipt_supaddr" ref="/root/main/incmpsn/supaddr" class="input_default" navindex="9" style="left:103px; top:184px; width:440px; height:19px; ">
  467. <script type="javascript" ev:event="onkeypress">
  468. <![CDATA[
  469. if (event.keyCode == "13") {
  470. model.setFocus("ipt_infaddr");
  471. }
  472. ]]>
  473. </script>
  474. </input>
  475. <input id="ipt_zipcd" ref="/root/main/incmpsn/zipcd" class="input_default" navindex="8" editable="false" style="left:103px; top:160px; width:115px; height:19px; "/>
  476. <output id="opt_zipcdseqno" ref="/root/main/incmpsn/zipcdseqno" visibility="hidden" style="left:331px; top:161px; width:25px; height:19px; text-align:left; "/>
  477. <input id="ipt_infaddr" ref="/root/main/incmpsn/infaddr" class="input_default" navindex="10" style="left:103px; top:208px; width:340px; height:19px; ">
  478. <script type="javascript" ev:event="onkeypress">
  479. <![CDATA[
  480. if (event.keyCode == "13") {
  481. model.setFocus("ipt_cntctel");
  482. }
  483. ]]>
  484. </script>
  485. </input>
  486. <select1 id="cmb_bankcd" ref="/root/main/incmpsn/bankcd" navindex="16" appearance="minimal" style="left:103px; top:328px; width:150px; height:19px; ">
  487. <choices>
  488. <itemset nodeset="/root/init/R0001list/R0001">
  489. <label ref="cdnm"/>
  490. <value ref="cdid"/>
  491. </itemset>
  492. </choices>
  493. </select1>
  494. <select1 id="cmb_induflag" ref="/root/main/incmpsn/induflag" navindex="13" appearance="minimal" style="left:103px; top:280px; width:227px; height:19px; ">
  495. <choices>
  496. <itemset nodeset="/root/init/R0278list/R0278">
  497. <label ref="cdnm"/>
  498. <value ref="cdid"/>
  499. </itemset>
  500. </choices>
  501. </select1>
  502. <select1 id="cmb_incmflag" ref="/root/main/incmpsn/incmflag" navindex="14" appearance="minimal" style="left:346px; top:280px; width:197px; height:19px; ">
  503. <choices>
  504. <itemset nodeset="/root/init/R0279list/R0279">
  505. <label ref="cdnm"/>
  506. <value ref="cdid"/>
  507. </itemset>
  508. </choices>
  509. </select1>
  510. <caption id="caption18" style="left:334px; top:280px; width:10px; height:20px; ">/</caption>
  511. <input id="ipt_passportno" ref="/root/main/incmpsn/passportno" class="input_default" navindex="18" style="left:103px; top:352px; width:440px; height:19px; ">
  512. <script type="javascript" ev:event="onkeypress">
  513. <![CDATA[
  514. if (event.keyCode == "13") {
  515. model.setFocus("btn_save");
  516. }
  517. ]]>
  518. </script>
  519. </input>
  520. <caption id="caption19" class="cell_1" style="left:0px; top:351px; width:100px; height:23px; vertical-align:middle; ">여권번호</caption>
  521. <caption id="caption20" class="cell_1" style="left:0px; top:86px; width:100px; height:23px; vertical-align:middle; ">거주자 구분</caption>
  522. <select1 id="rdo_residentflag" ref="/root/main/incmpsn/residentflag" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:103px; top:87px; width:152px; height:20px; border-style:none; ">
  523. <choices>
  524. <item>
  525. <label>거주자</label>
  526. <value>1</value>
  527. </item>
  528. <item>
  529. <label>비거주자</label>
  530. <value>2</value>
  531. </item>
  532. </choices>
  533. <script type="javascript" ev:event="xforms-value-changed">
  534. <![CDATA[
  535. if (model.getValue("/root/main/incmpsn/residentflag") == "1")
  536. {
  537. model.setValue("/root/main/incmpsn/residncnati", "");
  538. ipt_rrgstno.attribute("format") = '999999-9999999';
  539. cmb_residncnati.disabled = true;
  540. }
  541. else
  542. {
  543. ipt_rrgstno.attribute("format") = "";
  544. cmb_residncnati.disabled = false;
  545. }
  546. model.refresh();
  547. ]]>
  548. </script>
  549. </select1>
  550. </group>
  551. <group id="grp_btn" scroll="auto" style="left:0px; top:422px; width:544px; height:27px; ">
  552. <button id="btn_close" class="btn4_letter2" style="left:487px; top:3px; width:56px; height:22px; ">
  553. <caption>닫기</caption>
  554. <script type="javascript" ev:event="onclick">
  555. <![CDATA[
  556. window.close();
  557. ]]>
  558. </script>
  559. </button>
  560. <line id="line1" class="line_6" visibility="hidden" style="x1:0px; y1:1px; x2:543px; y2:1px; "/>
  561. <button id="btn_delete" class="btn4_letter2" visibility="hidden" style="left:375px; top:3px; width:56px; height:22px; ">
  562. <caption>삭제</caption>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. fDeleteClick();
  566. ]]>
  567. </script>
  568. </button>
  569. <button id="btn_save" class="btn4_letter2" style="left:431px; top:3px; width:56px; height:22px; ">
  570. <caption>저장</caption>
  571. <script type="javascript" ev:event="DOMActivate">
  572. <![CDATA[
  573. if(!fCheckNumber()) return false;
  574. fSaveClick();
  575. ]]>
  576. </script>
  577. </button>
  578. </group>
  579. </xhtml:body>
  580. </xhtml:html>