SMIMR00400_외부연구원등록.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  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. <outerreserinfo>
  11. <item>
  12. <userid/>
  13. <instcd/>
  14. <usertodd/>
  15. <userkind/>
  16. <usernm/>
  17. <engnm/>
  18. <gndr/>
  19. <deptcd/>
  20. <deptnm/>
  21. <jobposcd/>
  22. <jobposnm/>
  23. <frmrmertcd/>
  24. <frmrmertnm/>
  25. <acdmydgcd/>
  26. <acdmydgnm/>
  27. <homeaddr/>
  28. <hometel/>
  29. <workplceaddr/>
  30. <cmpytelno/>
  31. <faxno/>
  32. <zipcd1/>
  33. <zipcd2/>
  34. <postrecvtret/>
  35. <bankcd/>
  36. <acntno/>
  37. <depor/>
  38. <email/>
  39. <mpphonno/>
  40. <rrgstno/>
  41. <cmt/>
  42. <userfromdd/>
  43. </item>
  44. </outerreserinfo>
  45. </main>
  46. <send>
  47. <srchrrgstno1/>
  48. <srchrrgstno2/>
  49. <userflag/>
  50. </send>
  51. <init>
  52. <baseinfo>
  53. <instinfo>
  54. <instcd/>
  55. <hospnm/>
  56. </instinfo>
  57. </baseinfo>
  58. <cmb_info>
  59. <initbank>
  60. <cdid/>
  61. <cdnm/>
  62. </initbank>
  63. </cmb_info>
  64. </init>
  65. <hidden>
  66. <instcd/>
  67. </hidden>
  68. <temp>
  69. <item>
  70. <rrgstno1/>
  71. <rrgstno2/>
  72. </item>
  73. <editflag/>
  74. </temp>
  75. </root>
  76. </instance>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. zbcfGetCodeList( new Array("R0001"), new Array("/root/init/cmb_info/initbank") );
  80. model.setValue("/root/main/outerreserinfo/item/instcd", opener.javascript.getParameter("instcd"));
  81. model.setValue("/root/hidden/instcd", opener.javascript.getParameter("instcd"));
  82. if(model.getValue("/root/main/outerreserinfo/item/instcd") != "") {
  83. cmb_instcd.disabled = true;
  84. }
  85. submit("TRIRZ00000");
  86. submit("TRZBC00101", false);
  87. // 20090512 이창록 추가
  88. if(checkOpener()){
  89. var userflag = opener.javascript.getParameter("userflag"); // 사용자구분 에 따른 화면 명칭 변경
  90. // flag -> 공동연구자 =2 ,관리약사 =4, 코디네이터 =3
  91. if(userflag == "4"){
  92. caption120.attribute("text") = "신규관리약사등록" ;
  93. document.title = "신규관리약사등록";
  94. }else if(userflag == "3"){
  95. caption120.attribute("text") = "신규코디네이터등록" ;
  96. document.title = "신규코디네이터등록";
  97. }else if(userflag=="2"){
  98. caption120.attribute("text") = "외부연구원등록" ;
  99. document.title = "외부연구원등록";
  100. }
  101. }
  102. ]]>
  103. </script>
  104. <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
  105. <submission id="TXIMR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/outerreserinfo" replace="instance" resultref="/root/temp"/>
  106. <submission id="TRIMR00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerreserinfo"/>
  107. <submission id="TRZBC00101"/>
  108. </model>
  109. <script type="javascript" src="../../../crc/comsubjweb/js/common.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  113. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  115. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  116. <script type="javascript" src="../../../com/autocompleteweb/js/ZSC001.js"/>
  117. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  118. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  119. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  120. <script type="javascript">
  121. <![CDATA[
  122. function fcheck(){
  123. if(model.getValue("/root/temp/editflag") == "Y") {
  124. messageBox("주민번호를 수정하신 후에는 조회를 하시지 않으시면 저장하실수 없습니다.", "E999");
  125. return false;
  126. }
  127. if(model.getValue("/root/main/outerreserinfo/item/instcd") == "") {
  128. messageBox("심사기관은", "I003");
  129. return false;
  130. }
  131. if(model.getValue("/root/temp/item/rrgstno1") == "" || model.getValue("/root/temp/item/rrgstno2") == "" ) {
  132. messageBox("주민번호는", "I003");
  133. return;
  134. }
  135. if(model.getValue("/root/main/outerreserinfo/item/usernm") == "" ) {
  136. messageBox("성명(한글)은", "I003");
  137. return;
  138. }
  139. if(model.getValue("/root/main/outerreserinfo/item/engnm") == "" ) {
  140. messageBox("성명(영문)은", "I003");
  141. return;
  142. }
  143. if(model.getValue("/root/main/outerreserinfo/item/jobposnm") == "" ) {
  144. messageBox("직위는", "I003");
  145. return false;
  146. }
  147. if(model.getValue("/root/main/outerreserinfo/item/frmrmertnm") == "" ) {
  148. messageBox("전공은", "I003");
  149. return false;
  150. }
  151. if(model.getValue("/root/main/outerreserinfo/item/deptnm") == "" ) {
  152. messageBox("소속명은", "I003");
  153. return false;
  154. }
  155. if(model.getValue("/root/main/outerreserinfo/item/bankcd") == "" ) {
  156. messageBox("은행명은", "I003");
  157. return false;
  158. }
  159. if(model.getValue("/root/main/outerreserinfo/item/acntno") == "" ) {
  160. messageBox("계좌번호는", "I003");
  161. return false;
  162. }
  163. if(model.getValue("/root/main/outerreserinfo/item/depor") == "" ) {
  164. messageBox("예금주는", "I003");
  165. return false;
  166. }
  167. if(model.getValue("/root/main/outerreserinfo/item/zipcd1") == "" || model.getValue("/root/main/outerreserinfo/item/zipcd2") == "" ) {
  168. messageBox("우편번호는", "I003");
  169. return false;
  170. }
  171. if(model.getValue("/root/main/outerreserinfo/item/homeaddr") == "" ) {
  172. messageBox("주소는", "I003");
  173. return false;
  174. }
  175. if(model.getValue("/root/main/outerreserinfo/item/hometel") == "" ) {
  176. messageBox("전화번호는", "I003");
  177. return false;
  178. }
  179. if(model.getValue("/root/main/outerreserinfo/item/mpphonno") == "" ) {
  180. messageBox("휴대폰번호는", "I003");
  181. return false;
  182. }
  183. if(model.getValue("/root/main/outerreserinfo/item/email") == "" ) {
  184. messageBox("이메일은", "I003");
  185. return false;
  186. }
  187. }
  188. ]]>
  189. </script>
  190. </xhtml:head>
  191. <xhtml:body pagewidth="820" pageheight="400" guideline="2,354;2,353;2,353;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  192. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:800px; height:315px; ">
  193. <caption id="caption120" class="tit_2" style="left:20px; top:20px; width:158px; height:13px; ">외부연구원등록</caption>
  194. <button id="button16" class="btn2_letter2" _auth="X" style="left:685px; top:15px; width:42px; height:19px; ">
  195. <caption>저장</caption>
  196. <script type="javascript" ev:event="onclick">
  197. <![CDATA[
  198. //20090522 이창록 수정 성명(한글,영문),직위,소속 만 체크
  199. if(model.getValue("/root/temp/editflag") == "Y") {
  200. messageBox("주민번호를 수정하신 후에는 조회를 하시지 않으시면 저장하실수 없습니다.", "E999");
  201. return ;
  202. }
  203. if(model.getValue("/root/main/outerreserinfo/item/instcd") == "") {
  204. messageBox("심사기관은", "I003");
  205. model.setFocus("cmb_instcd");
  206. return ;
  207. }
  208. if(model.getValue("/root/temp/item/rrgstno1") == "" || model.getValue("/root/temp/item/rrgstno2") == "" ) {
  209. messageBox("주민번호는", "I003");
  210. return;
  211. }
  212. if( (model.getValue("/root/temp/item/rrgstno1")).length != 6 || (model.getValue("/root/temp/item/rrgstno2")).length != 7 ) {
  213. messageBox("주민번호 13자리 입력은 ", "I003");
  214. return ;
  215. }
  216. if(model.getValue("/root/main/outerreserinfo/item/usernm") == "" ) {
  217. messageBox("성명(한글)은", "I003");
  218. model.setFocus("input1");
  219. return;
  220. }
  221. if(model.getValue("/root/main/outerreserinfo/item/engnm") == "" ) {
  222. messageBox("성명(영문)은", "I003");
  223. model.setFocus("input16");
  224. return;
  225. }
  226. if(model.getValue("/root/main/outerreserinfo/item/jobposnm") == "" ) {
  227. messageBox("직위는", "I003");
  228. model.setFocus("input5");
  229. return ;
  230. }
  231. /*if(model.getValue("/root/main/outerreserinfo/item/frmrmertnm") == "" ) {
  232. messageBox("전공은", "I003");
  233. model.setFocus("input6");
  234. return ;
  235. }*/
  236. if(model.getValue("/root/main/outerreserinfo/item/deptnm") == "" ) {
  237. messageBox("소속명은", "I003");
  238. model.setFocus("input7");
  239. return ;
  240. }
  241. /*if(model.getValue("/root/main/outerreserinfo/item/bankcd") == "" ) {
  242. messageBox("은행명은", "I003");
  243. model.setFocus("combo1");
  244. return ;
  245. }
  246. if(model.getValue("/root/main/outerreserinfo/item/acntno") == "" ) {
  247. messageBox("계좌번호는", "I003");
  248. model.setFocus("input10");
  249. return ;
  250. }
  251. if(model.getValue("/root/main/outerreserinfo/item/depor") == "" ) {
  252. messageBox("예금주는", "I003");
  253. model.setFocus("input8");
  254. return ;
  255. }
  256. if(model.getValue("/root/main/outerreserinfo/item/zipcd1") == "" || model.getValue("/root/main/outerreserinfo/item/zipcd2") == "" ) {
  257. messageBox("우편번호는", "I003");
  258. model.setFocus("input11");
  259. return ;
  260. }
  261. if( (model.getValue("/root/main/outerreserinfo/item/zipcd1")).length != 3 || (model.getValue("/root/main/outerreserinfo/item/zipcd2")).length != 3 ) {
  262. messageBox("우편번호 3자리 입력은 ", "I003");
  263. return ;
  264. }
  265. if(model.getValue("/root/main/outerreserinfo/item/homeaddr") == "" ) {
  266. messageBox("주소는", "I003");
  267. model.setFocus("input12");
  268. return ;
  269. }
  270. if(model.getValue("/root/main/outerreserinfo/item/hometel") == "" ) {
  271. messageBox("전화번호는", "I003");
  272. model.setFocus("input13");
  273. return ;
  274. }
  275. if(model.getValue("/root/main/outerreserinfo/item/mpphonno") == "" ) {
  276. messageBox("휴대폰번호는", "I003");
  277. model.setFocus("input14");
  278. return ;
  279. }
  280. if(model.getValue("/root/main/outerreserinfo/item/email") == "" ) {
  281. messageBox("이메일은", "I003");
  282. model.setFocus("input17");
  283. return ;
  284. }*/
  285. var outrsrparam ="";
  286. var flag = opener.javascript.getParameter("userflag");
  287. if(flag =="2"){
  288. model.setValue("/root/main/outerreserinfo/item/userkind" ,"2");
  289. }else if(flag =="4"){
  290. model.setValue("/root/main/outerreserinfo/item/userkind" ,"4");
  291. }else if(flag =="3"){
  292. model.setValue("/root/main/outerreserinfo/item/userkind" ,"3");
  293. }
  294. if(submit("TXIMR00401")) { // 20090512 이창록 수정(parameter 변경)
  295. messageBox("저장이", "I002");
  296. submit("TRIMR00402");
  297. /*opener.javascript.setParameter("insusernm", model.getValue("/root/main/outerreserinfo/item/usernm"));
  298. opener.javascript.setParameter("insposnm", model.getValue("/root/main/outerreserinfo/item/deptnm"));
  299. opener.javascript.setParameter("insjobposnm", model.getValue("/root/main/outerreserinfo/item/jobposnm"));
  300. opener.javascript.setParameter("insworkplceaddr", model.getValue("/root/main/outerreserinfo/item/homeaddr"));
  301. opener.javascript.setParameter("inscmpytelno", model.getValue("/root/main/outerreserinfo/item/hometel"));
  302. opener.javascript.setParameter("insemail", model.getValue("/root/main/outerreserinfo/item/email"));
  303. opener.javascript.setParameter("insbankcd", model.getValue("/root/main/outerreserinfo/item/bankcd"));
  304. opener.javascript.setParameter("insacntno", model.getValue("/root/main/outerreserinfo/item/acntno"));
  305. opener.javascript.setParameter("insdepor", model.getValue("/root/main/outerreserinfo/item/depor"));
  306. opener.javascript.setParameter("inscmt", model.getValue("/root/main/outerreserinfo/item/cmt"));
  307. //opener.javascript.setParameter("insinstcd", model.getValue("/root/main/outerreserinfo/item/instcd"));
  308. opener.javascript.setParameter("insuserid", model.getValue("/root/main/outerreserinfo/item/userid"));
  309. opener.javascript.setParameter("insuserkind", model.getValue("/root/main/outerreserinfo/item/userkind"));
  310. opener.javascript.setParameter("insrrgstno", model.getValue("/root/main/outerreserinfo/item/rrgstno"));
  311. opener.javascript.setParameter("insuserseqno", model.getValue("/root/main/outerreserinfo/item/userseqno"));
  312. window.close();
  313. */
  314. var usernm = model.getValue("/root/main/outerreserinfo/item/usernm");
  315. var deptnm = model.getValue("/root/main/outerreserinfo/item/deptnm");
  316. var jobposnm = model.getValue("/root/main/outerreserinfo/item/jobposnm");
  317. var homeaddr = model.getValue("/root/main/outerreserinfo/item/homeaddr");
  318. var hometel = model.getValue("/root/main/outerreserinfo/item/hometel");
  319. var email = model.getValue("/root/main/outerreserinfo/item/email");
  320. var bankcd = model.getValue("/root/main/outerreserinfo/item/bankcd");
  321. var acntno = model.getValue("/root/main/outerreserinfo/item/acntno");
  322. var depor = model.getValue("/root/main/outerreserinfo/item/depor");
  323. var cmt = model.getValue("/root/main/outerreserinfo/item/cmt");
  324. var userid = model.getValue("/root/main/outerreserinfo/item/userid");
  325. var userkind = model.getValue("/root/main/outerreserinfo/item/userkind");
  326. var rrgstno = model.getValue("/root/main/outerreserinfo/item/rrgstno");
  327. var userseqno = model.getValue("/root/main/outerreserinfo/item/userseqno");
  328. var instcd = model.getValue("/root/main/outerreserinfo/item/instcd");
  329. outrsrparam += usernm + "▦" + deptnm + "▦" + jobposnm+"▦"+homeaddr
  330. + "▦" + hometel + "▦" + email + "▦" + bankcd + "▦" + acntno
  331. + "▦" + depor + "▦" + cmt + "▦"+ userid + "▦" + userkind
  332. + "▦" + rrgstno + "▦" + userseqno +"▦"+instcd + "▩" ;
  333. var userflag = opener.javascript.getParameter("userflag");
  334. opener.javascript.fGetOutRsrInfo(outrsrparam,userflag);
  335. }
  336. window.close();
  337. ]]>
  338. </script>
  339. </button>
  340. <button id="button1" class="btn2_letter2" style="left:730px; top:15px; width:42px; height:19px; ">
  341. <caption>닫기</caption>
  342. <script type="javascript" ev:event="onclick">
  343. <![CDATA[
  344. window.close();
  345. ]]>
  346. </script>
  347. </button>
  348. <line id="line1" class="line_1" style="x1:20px; y1:40px; x2:775px; y2:40px; "/>
  349. <caption id="caption2" class="cell_1" style="left:20px; top:50; width:80px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
  350. <input id="input2" ref="/root/temp/item/rrgstno1" class="input_s_essential" navindex="1" maxlength="6" format="999999" style="left:103px; top:52px; width:47px; height:19px; ">
  351. <script type="javascript" ev:event="xforms-value-changed">
  352. <![CDATA[
  353. model.setValue("/root/temp/editflag", "Y");
  354. ]]>
  355. </script>
  356. </input>
  357. <input id="input3" ref="/root/temp/item/rrgstno2" class="input_s_essential" navindex="2" maxlength="7" format="9999999" style="left:151px; top:52px; width:53px; height:19px; ">
  358. <script type="javascript" ev:event="xforms-value-changed">
  359. <![CDATA[
  360. model.setValue("/root/temp/editflag", "Y");
  361. ]]>
  362. </script>
  363. </input>
  364. <caption id="caption1" class="cell_1" style="left:397px; top:50; width:80px; height:23px; text-align:center; vertical-align:middle; ">성명(한글)</caption>
  365. <input id="input1" ref="/root/main/outerreserinfo/item/usernm" class="input_s_essential" navindex="4" imemode="hangul" style="left:480px; top:52; width:98px; height:19px; ">
  366. <script type="javascript" ev:event="xforms-value-changed">
  367. <![CDATA[
  368. //20090522 이창록 수정
  369. /*model.setValue("/root/main/outerreserinfo/item/depor", model.getValue("/root/main/outerreserinfo/item/usernm"));
  370. model.refresh();*/
  371. ]]>
  372. </script>
  373. </input>
  374. <caption id="caption15" class="cell_1" style="left:585px; top:50; width:85; height:23px; text-align:center; vertical-align:middle; ">성명(영문)</caption>
  375. <input id="input16" ref="/root/main/outerreserinfo/item/engnm" class="input_s_essential" navindex="5" imemode="alpha" style="left:673px; top:52; width:100px; height:19px; "/>
  376. <caption id="caption3" class="cell_1" style="left:20px; top:76; width:80px; height:23px; text-align:center; vertical-align:middle; ">심사기관</caption>
  377. <caption id="caption4" class="cell_1" style="left:225px; top:76; width:79px; height:23px; text-align:center; vertical-align:middle; ">직위</caption>
  378. <caption id="caption5" class="cell_1" style="left:397px; top:76; width:80px; height:23px; text-align:center; vertical-align:middle; ">전공</caption>
  379. <caption id="caption6" class="cell_1" style="left:585px; top:76; width:85; height:23px; text-align:center; vertical-align:middle; ">소속명</caption>
  380. <input id="input5" ref="/root/main/outerreserinfo/item/jobposnm" class="input_s_essential" navindex="7" style="left:308px; top:78; width:80px; height:19px; "/>
  381. <input id="input6" ref="/root/main/outerreserinfo/item/frmrmertnm" class="input_default" navindex="8" imemode="hangul" style="left:480px; top:78; width:98px; height:19px; "/>
  382. <input id="input7" ref="/root/main/outerreserinfo/item/deptnm" class="input_s_essential" navindex="9" imemode="hangul" style="left:673px; top:78; width:100px; height:19px; "/>
  383. <caption id="caption7" class="cell_1" style="left:20px; top:102px; width:80px; height:23px; text-align:center; vertical-align:middle; ">은행명</caption>
  384. <caption id="caption8" class="cell_1" style="left:225px; top:102px; width:80px; height:23px; text-align:center; vertical-align:middle; ">계좌번호</caption>
  385. <caption id="caption9" class="cell_1" style="left:585px; top:102px; width:85; height:23px; text-align:center; vertical-align:middle; ">예금주</caption>
  386. <input id="input10" ref="/root/main/outerreserinfo/item/acntno" class="input_default" navindex="11" style="left:308px; top:104px; width:270px; height:19px; "/>
  387. <input id="input8" ref="/root/main/outerreserinfo/item/depor" class="input_default" navindex="12" imemode="hangul" style="left:673px; top:104px; width:100px; height:19px; "/>
  388. <input id="input11" ref="/root/main/outerreserinfo/item/zipcd1" class="input_default" navindex="13" maxlength="3" format="999" style="left:103px; top:130px; width:57px; height:19px; "/>
  389. <input id="input15" ref="/root/main/outerreserinfo/item/zipcd2" class="input_default" navindex="14" maxlength="3" format="999" style="left:164px; top:130px; width:57px; height:19px; "/>
  390. <input id="input12" ref="/root/main/outerreserinfo/item/homeaddr" class="input_default" navindex="15" style="left:308px; top:130px; width:465px; height:19px; "/>
  391. <caption id="caption10" class="cell_1" style="left:20px; top:128px; width:80px; height:23px; text-align:center; vertical-align:middle; ">우편번호</caption>
  392. <caption id="caption11" class="cell_1" style="left:225px; top:128px; width:80px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
  393. <input id="input13" ref="/root/main/outerreserinfo/item/hometel" class="input_default" navindex="16" maxlength="12" style="left:103px; top:156px; width:118px; height:19px; "/>
  394. <caption id="caption12" class="cell_1" style="left:20px; top:154; width:80px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
  395. <input id="input14" ref="/root/main/outerreserinfo/item/mpphonno" class="input_default" navindex="17" maxlength="13" style="left:308px; top:156; width:170px; height:19px; "/>
  396. <caption id="caption13" class="cell_1" style="left:225px; top:154; width:80px; height:23px; text-align:center; vertical-align:middle; ">휴대폰번호</caption>
  397. <select1 id="cmb_instcd" ref="/root/main/outerreserinfo/item/instcd" class="combo_essential" navindex="6" appearance="minimal" style="left:103px; top:78px; width:118px; height:19px; ">
  398. <choices>
  399. <itemset nodeset="/root/init/baseinfo/instinfo">
  400. <label ref="hospnm"/>
  401. <value ref="instcd"/>
  402. </itemset>
  403. </choices>
  404. </select1>
  405. <button id="button8" class="icon_search" navindex="3" _auth="R" style="left:206px; top:52px; width:16px; height:16px; ">
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. var rrgstno1 = model.getValue("/root/temp/item/rrgstno1");
  409. var rrgstno2 = model.getValue("/root/temp/item/rrgstno2");
  410. var rrgs = rrgstno1 + rrgstno2;
  411. var userflag = opener.javascript.getParameter("userflag");
  412. if(!isResidentNo(rrgs)){
  413. messageBox("잘못된 주민번호","E008");
  414. return;
  415. }
  416. model.setValue("/root/send/srchrrgstno1",rrgstno1);
  417. model.setValue("/root/send/srchrrgstno2",rrgstno2);
  418. model.setValue("/root/send/userflag",userflag);
  419. submit("TRIMR00402");
  420. var rrgstno = model.getValue("/root/temp/item/rrgstno1")+ model.getValue("/root/temp/item/rrgstno2");
  421. if(model.getValue("/root/main/outerreserinfo/item/userid") !=""){
  422. model.setValue("/root/main/outerreserinfo/item/instcd", model.getValue("/root/hidden/instcd"));
  423. cmb_instcd.disabled = true;
  424. }
  425. else{
  426. model.resetInstanceNode("/root/main/outerreserinfo/item");
  427. messageBox("사용 가능한 주민번호","E008");
  428. model.setValue("/root/main/outerreserinfo/item/rrgstno", rrgstno);
  429. model.setValue("/root/main/outerreserinfo/item/instcd", opener.javascript.getParameter("instcd"));
  430. if(model.getValue("/root/main/outerreserinfo/item/instcd") != "")
  431. {
  432. cmb_instcd.disabled = true;
  433. }
  434. }
  435. model.setValue("/root/temp/editflag", "N");
  436. model.refresh();
  437. ]]>
  438. </script>
  439. <caption/>
  440. </button>
  441. <caption id="caption14" class="cell_1" style="left:225px; top:50; width:80px; height:23px; text-align:center; vertical-align:middle; ">아이디</caption>
  442. <caption id="caption16" class="cell_1" style="left:485px; top:154; width:95px; height:23px; text-align:center; vertical-align:middle; ">이메일</caption>
  443. <input id="input17" ref="/root/main/outerreserinfo/item/email" class="input_default" navindex="18" maxlength="40" style="left:583px; top:156; width:190px; height:19px; "/>
  444. <output id="output1" ref="/root/main/outerreserinfo/item/userid" class="output_fix" appearance="output" style="left:308px; top:52; width:80px; height:19px; "/>
  445. <select1 id="combo1" ref="/root/main/outerreserinfo/item/bankcd" class="combo_search" navindex="10" appearance="minimal" style="left:103px; top:104px; width:118px; height:19px; ">
  446. <choices>
  447. <itemset nodeset="/root/init/cmb_info/initbank/R0001">
  448. <label ref="cdnm"/>
  449. <value ref="cdid"/>
  450. </itemset>
  451. </choices>
  452. </select1>
  453. </group>
  454. </xhtml:body>
  455. </xhtml:html>