SMRAF01000_차입금관리.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  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. <list1>
  11. <loanlist>
  12. </loanlist>
  13. </list1>
  14. <list2>
  15. <loaninfo>
  16. <instcd/>
  17. <lncd/>
  18. <acntcd/>
  19. <acntnm/>
  20. <lncls/>
  21. <conno/>
  22. <lnnm/>
  23. <entrregno/>
  24. <custnm/>
  25. <lnamt/>
  26. <joindd/>
  27. <exprdd/>
  28. <restrate/>
  29. <restflag/>
  30. <useyn/>
  31. <cmt/>
  32. <prinrepay/>
  33. <dfmnmm/>
  34. <repayprid/>
  35. <restpay/>
  36. <restpayflag/>
  37. <payprid/>
  38. <mtgag/>
  39. <status/>
  40. </loaninfo>
  41. </list2>
  42. </main>
  43. <send>
  44. <retrparams>
  45. <entrregno/>
  46. <custnm/>
  47. <useyn>Y</useyn>
  48. </retrparams>
  49. <retrparams2>
  50. <instcd/>
  51. <lncd/>
  52. </retrparams2>
  53. </send>
  54. <init/>
  55. <source>
  56. <wndparams>
  57. <instcd/>
  58. <lncd/>
  59. </wndparams>
  60. </source>
  61. <hidden>
  62. <loaninfo>
  63. <instcd/>
  64. <lncd/>
  65. <acntcd/>
  66. <acntnm/>
  67. <lncls/>
  68. <conno/>
  69. <lnnm/>
  70. <entrregno/>
  71. <custnm/>
  72. <lnamt>0</lnamt>
  73. <joindd/>
  74. <exprdd/>
  75. <restrate>0</restrate>
  76. <restflag>1</restflag>
  77. <useyn>Y</useyn>
  78. <cmt/>
  79. <prinrepay>1</prinrepay>
  80. <dfmnmm/>
  81. <repayprid/>
  82. <restpay>1</restpay>
  83. <restpayflag>1</restpayflag>
  84. <payprid/>
  85. <mtgag>1</mtgag>
  86. <status>i</status>
  87. </loaninfo>
  88. </hidden>
  89. <temp/>
  90. </root>
  91. </instance>
  92. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  95. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  96. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  97. <submission id="TXRAF01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list2/loaninfo" resultref="/root/temp"/>
  98. <submission id="TRRAF01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list1"/>
  99. <submission id="TRRAF01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams2" resultref="/root/main/list2"/>
  100. </model>
  101. <script type="javascript" ev:event="xforms-ready">
  102. <![CDATA[
  103. model.removenode( "/root/main/loanlist");
  104. model.refresh();
  105. fGetloanlist();
  106. grd_loanlist.rowHeight(0) = 33;
  107. ]]>
  108. </script>
  109. <script type="javascript">
  110. <![CDATA[
  111. //저장버튼을 눌렸을 경우
  112. function fInsloanInfo()
  113. {
  114. if(!isRequiredControls("ipt_lncd", "ipt_acntcd", "cmb_lncls", "ipt_lnentrregno", "ipt_lnamt", "ipt_joindd", "ipt_exprdd", "ipt_restrate"))
  115. {
  116. return;
  117. }
  118. var dlgRslt = messageBox("차입금정보를 ", "Q002");
  119. if(dlgRslt != "6") return;
  120. var sStatus = model.getValue("/root/main/list2/loaninfo/status");
  121. if(sStatus != "u")
  122. {
  123. model.setValue("/root/main/list2/loaninfo/status", "i");
  124. }
  125. submit("TXRAF01001");
  126. if(ipt_lncd.disabled == false)
  127. {
  128. ipt_lncd.disabled = true;
  129. }
  130. submit("TRRAF01001");
  131. window.reload();
  132. }
  133. //삭제할 경우
  134. function fDelloanInfo()
  135. {
  136. if(!isRequiredControls("ipt_lncd")) return;
  137. model.setValue("/root/main/list2/loaninfo/status","d");
  138. var dlgRslt = messageBox("차입금정보를 ", "Q001");
  139. if(dlgRslt != "6") return;
  140. if(submit("TXRAF01001"))
  141. {
  142. submit("TRRAF01001");
  143. model.resetInstanceNode("/root/main/list2/loaninfo");
  144. }
  145. model.refresh();
  146. }
  147. //데이타를 가지고 와야함..
  148. function fGetloanInfo(lncd)
  149. {
  150. if(lncd.getTrim() == "") return;
  151. model.setValue("/root/send/retrparams2/lncd", lncd);
  152. model.setValue("/root/send/retrparams2/instcd", getUserInfo("dutplceinstcd"));
  153. //gride의 row를 선택하면
  154. submit("TRRAF01002");
  155. //gride를 조회하기 위해서 저장을 할경우를 대비해서 상태를 U로 만들어 논다.
  156. if(model.getValue("/root/main/list2/loaninfo/lncd") == "")
  157. {
  158. fInitlnInfo();
  159. model.setValue("/root/main/list2/loaninfo/lncd", lncd);
  160. }
  161. else
  162. {
  163. ipt_lncd.disabled = true;
  164. }
  165. model.refresh();
  166. model.setFocus("ipt_acntcd");
  167. }
  168. function fGetloanlist()
  169. {
  170. submit("TRRAF01001");
  171. model.refresh();
  172. //그리드 선택
  173. if (model.getValue("/root/main/loanlist/lncd") != "")
  174. {
  175. grd_loanlist.isSelected(1) = true;
  176. // fGetloanInfo(model.getValue("/root/main/list2/loanlist/lncd"));
  177. }
  178. }
  179. function fInitlnInfo()
  180. {
  181. model.removenode("/root/main/list2/loaninfo");
  182. model.makeNode("/root/main/list2/loaninfo");
  183. model.copyNode("/root/main/list2/loaninfo", "/root/hidden/loaninfo");
  184. model.setValue("/root/main/list2/loaninfo/instcd", getUserInfo("dutplceinstcd"));
  185. model.refresh();
  186. ipt_lncd.disabled = false;
  187. }
  188. ]]>
  189. </script>
  190. </xhtml:head>
  191. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  192. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  193. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">차입금관리</caption>
  194. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  195. </group>
  196. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  197. <group id="grp_sea" style="left:0px; top:10px; width:1195; height:35px; vertical-align:top; ">
  198. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" bankground-color="#fffbf2" ellipseheight="10" style="left:0px; top:0px; width:1195; height:35px; border-color:#ffd799; "/>
  199. <button id="btn_search" class="btn1_letter2" navindex="30" style="left:1123px; top:7px; width:56px; height:22px; text-align:left; ">
  200. <caption>조회</caption>
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. fGetloanlist();
  204. ]]>
  205. </script>
  206. </button>
  207. <caption id="caption7" class="search_name" style="left:16px; top:9px; width:75px; height:17px; ">발행처 :</caption>
  208. <line id="line5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  209. <caption id="caption8" class="search_name" style="left:475px; top:9px; width:86px; height:17px; ">사용여부 :</caption>
  210. <select1 id="radio1" ref="/root/send/retrparams/useyn" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:565px; top:9px; width:245px; height:20px; border-style:none; ">
  211. <choices>
  212. <item>
  213. <label>Yes</label>
  214. <value>Y</value>
  215. </item>
  216. <item>
  217. <label>No</label>
  218. <value>N</value>
  219. </item>
  220. <item>
  221. <label>All</label>
  222. <value/>
  223. </item>
  224. </choices>
  225. </select1>
  226. <button id="btn_custhelp" class="icon_search" style="left:201px; top:11px; width:16px; height:16px; ">
  227. <caption/>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm");
  231. model.refresh();
  232. ]]>
  233. </script>
  234. </button>
  235. <input id="ipt_custnm" ref="/root/send/retrparams/custnm" class="input_s_essential" navindex="99" style="left:221px; top:8px; width:220px; height:19px; ">
  236. <script type="javascript" ev:event="onkeypress">
  237. <![CDATA[
  238. if(event.keyCode == 13)
  239. {
  240. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  241. misfValidationCheck("14", "", "entrregno,custnm", "", "", "name");
  242. model.refresh();
  243. model.setFocus("rdo_baseacntyn");
  244. }
  245. ]]>
  246. </script>
  247. </input>
  248. <input id="ipt_entrregno" ref="/root/send/retrparams/entrregno" class="input_s_essential" navindex="99" maxlength="10" format="999-99-99999" style="left:92px; top:8px; width:105px; height:19px; text-align:center; ">
  249. <script type="javascript" ev:event="onkeypress">
  250. <![CDATA[
  251. if(event.keyCode == 13)
  252. {
  253. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  254. misfValidationCheck("14", "", "entrregno,custnm", "", "", "code");
  255. model.refresh();
  256. model.setFocus("rdo_baseacntyn");
  257. }
  258. ]]>
  259. </script>
  260. </input>
  261. </group>
  262. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:710px; y2:70px; text-align:center; "/>
  263. <datagrid id="grd_loanlist" nodeset="/root/main/list1/loanlist" allowuserresize="false" caption="기관코드^차입금&#xA;번호^계정과목^차입금구분^발행처^취득금액^발행일자^만기일자^이자율" colsep="^" colwidth="0, 55, 90, 67, 140, 115, 70, 70, 55" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:75px; width:710px; height:665px; ">
  264. <col ref="instcd" visibility="hidden"/>
  265. <col ref="lncd" style="text-align:center; "/>
  266. <col ref="acntnm"/>
  267. <col disabled="true" ref="lncls" type="combo" style="text-align:center; ">
  268. <choices>
  269. <item>
  270. <label>운영자금</label>
  271. <value>001</value>
  272. </item>
  273. <item>
  274. <label>시설자금</label>
  275. <value>002</value>
  276. </item>
  277. <item>
  278. <label>리스</label>
  279. <value>003</value>
  280. </item>
  281. <item>
  282. <label>의료채권</label>
  283. <value>004</value>
  284. </item>
  285. <item>
  286. <label>기타</label>
  287. <value>005</value>
  288. </item>
  289. </choices>
  290. </col>
  291. <col ref="custnm"/>
  292. <col ref="lnamt" format="#,###" style="text-align:right; padding-right:2; "/>
  293. <col ref="joindd" format="yyyy-mm-dd" style="text-align:left; "/>
  294. <col ref="exprdd" format="yyyy-mm-dd"/>
  295. <col ref="restrate" format="#,###.## %" style="text-align:right; "/>
  296. <script type="javascript" ev:event="onclick">
  297. <![CDATA[
  298. if(grd_loanlist.row >= grd_loanlist.fixedRows)
  299. {
  300. fGetloanInfo( grd_loanlist.textmatrix( grd_loanlist.row, grd_loanlist.colRef("lncd")));
  301. grd_loanlist.dispatch("onmouseup");
  302. }
  303. model.setValue("/root/main/list2/loaninfo/status", "u");
  304. ]]>
  305. </script>
  306. <script type="javascript" ev:event="onaftersort">
  307. <![CDATA[
  308. grd_loanlist.gridToInstance();
  309. ]]>
  310. </script>
  311. </datagrid>
  312. <line id="line1" class="line_1" style="x1:715px; y1:70px; x2:1195px; y2:70px; "/>
  313. <line id="line13" class="line_2" style="x1:715px; y1:98px; x2:1195px; y2:98px; "/>
  314. <caption id="cap_joindd" class="cell_1" style="left:715px; top:230px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입일자</caption>
  315. <input id="ipt_lncd" ref="/root/main/list2/loaninfo/lncd" class="input_s_essential" navindex="1" maxlength="3" style="left:842px; top:76px; width:105px; height:19px; text-align:center; ">
  316. <script type="javascript" ev:event="xforms-value-changed">
  317. <![CDATA[
  318. fGetloanInfo(ipt_lncd.currentText);
  319. ]]>
  320. </script>
  321. </input>
  322. <line id="line4" class="line_2" style="x1:715px; y1:124px; x2:1195px; y2:124px; "/>
  323. <caption id="cap_lncd" class="cell_1" style="left:715px; top:74px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입금번호</caption>
  324. <line id="line7" class="line_2" style="x1:715px; y1:150px; x2:1195px; y2:150px; "/>
  325. <caption id="cap_restrate" class="cell_1" style="left:715px; top:282px; width:125px; height:23px; text-align:left; vertical-align:middle; ">이자율</caption>
  326. <input id="ipt_joindd" ref="/root/main/list2/loaninfo/joindd" class="input_s_essential" navindex="13" inputtype="date" style="left:842px; top:232px; width:152px; height:19px; text-align:center; "/>
  327. <line id="line14" class="line_2" style="x1:715px; y1:150px; x2:1195px; y2:150px; "/>
  328. <line id="line19" class="line_3" style="x1:715px; y1:397px; x2:1195px; y2:397px; "/>
  329. <button id="btn_fine2" class="icon_search" style="left:953px; top:104px; width:16px; height:16px; ">
  330. <caption/>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. misfOpenPopUpList("05", ipt_acntcd, "", "acntcd,acntnm");
  334. model.refresh();
  335. ]]>
  336. </script>
  337. </button>
  338. <input id="ipt_acntcd" ref="/root/main/list2/loaninfo/acntcd" class="input_s_essential" navindex="2" maxlength="8" style="left:842px; top:102px; width:105px; height:19px; text-align:center; ">
  339. <script type="javascript" ev:event="onkeypress">
  340. <![CDATA[
  341. if(event.keyCode == 13)
  342. {
  343. ipt_acntcd.value = ipt_acntcd.currentText;
  344. misfValidationCheck("05", "", "acntcd,acntnm");
  345. model.refresh();
  346. }
  347. ]]>
  348. </script>
  349. <script type="javascript" ev:event="xforms-value-changed">
  350. <![CDATA[
  351. misfValidationCheck("05", "", "acntcd,acntnm");
  352. model.refresh();
  353. ]]>
  354. </script>
  355. </input>
  356. <input id="ipt_acntnm" ref="/root/main/list2/loaninfo/acntnm" class="input_search" navindex="3" style="left:973px; top:102px; width:220px; height:19px; ">
  357. <script type="javascript" ev:event="onkeypress">
  358. <![CDATA[
  359. if(event.keyCode == 13)
  360. {
  361. ipt_acntnm.value = ipt_acntnm.currentText;
  362. misfValidationCheck("05", "", "acntcd,acntnm");
  363. model.refresh();
  364. }
  365. ]]>
  366. </script>
  367. <script type="javascript" ev:event="xforms-value-changed">
  368. <![CDATA[
  369. misfValidationCheck("05", "", "acntcd,acntnm");
  370. model.refresh();
  371. ]]>
  372. </script>
  373. </input>
  374. <caption id="cap_acntcd" class="cell_1" style="left:715px; top:100px; width:125px; height:23px; text-align:left; vertical-align:middle; ">계정과목</caption>
  375. <caption id="caption21" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">차입금목록</caption>
  376. <caption id="caption1" class="tit_2" style="left:720px; top:55px; width:131px; height:14px; ">차입금정보</caption>
  377. <button id="btn_excsave" class="btn2_letter4" style="left:646px; top:50px; width:64px; height:19px; text-align:center; ">
  378. <caption>엑셀저장</caption>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. misfSaveExcel(grd_loanlist, getUserInfo("dutplceinstnm") + " 차입금목록");
  382. ]]>
  383. </script>
  384. </button>
  385. <line id="line21" class="line_2" style="x1:715px; y1:254px; x2:1195px; y2:254px; "/>
  386. <line id="line22" class="line_2" style="x1:715px; y1:280px; x2:1195px; y2:280px; "/>
  387. <caption id="caption23" class="cell_1" style="left:715px; top:308px; width:125px; height:23px; text-align:left; vertical-align:middle; ">사용여부</caption>
  388. <line id="line23" class="line_2" style="x1:716px; y1:332px; x2:1194px; y2:332px; "/>
  389. <select1 id="rdo_useyn" ref="/root/main/list2/loaninfo/useyn" navindex="18" overflow="hidden" appearance="full" cols="2" style="left:847px; top:311px; width:148px; height:16px; border-style:none; ">
  390. <choices>
  391. <item>
  392. <label>Yes</label>
  393. <value>Y</value>
  394. </item>
  395. <item>
  396. <label>No</label>
  397. <value>N</value>
  398. </item>
  399. </choices>
  400. </select1>
  401. <input id="ipt_restrate" ref="/root/main/list2/loaninfo/restrate" class="input_s_essential" navindex="15" format="#,###.## %" style="left:842px; top:284px; width:152px; height:19px; text-align:right; "/>
  402. <caption id="cap_lncls" class="cell_1" style="left:715px; top:126px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입금구분</caption>
  403. <button id="btn_init" class="btn2_letter2" style="left:1150px; top:50px; width:42px; height:19px; ">
  404. <caption>신규</caption>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. fInitlnInfo();
  408. ]]>
  409. </script>
  410. </button>
  411. <select1 id="cmb_lncls" ref="/root/main/list2/loaninfo/lncls" class="combo_s_essential" navindex="4" appearance="minimal" style="left:842px; top:128px; width:213px; height:19px; text-align:left; ">
  412. <choices>
  413. <item>
  414. <label>운영자금</label>
  415. <value>001</value>
  416. </item>
  417. <item>
  418. <label>시설자금</label>
  419. <value>002</value>
  420. </item>
  421. <item>
  422. <label>리스</label>
  423. <value>003</value>
  424. </item>
  425. <item>
  426. <label>의료채권</label>
  427. <value>004</value>
  428. </item>
  429. <item>
  430. <label>기타</label>
  431. <value>005</value>
  432. </item>
  433. </choices>
  434. </select1>
  435. <line id="line26" class="line_2" style="x1:714px; y1:176px; x2:1194px; y2:176px; "/>
  436. <caption id="caption12" class="cell_1" style="left:715px; top:334px; width:125px; height:62px; text-align:left; vertical-align:middle; ">비고</caption>
  437. <caption id="cap_lnamt" class="cell_1" style="left:715px; top:204px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입금액</caption>
  438. <caption id="cap_lnentrregno" class="cell_1" style="left:715px; top:178px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입처</caption>
  439. <caption id="cap_exprdd" class="cell_1" style="left:715px; top:256px; width:125px; height:23px; text-align:left; vertical-align:middle; ">만기일자</caption>
  440. <caption id="cap_lnnm" class="cell_1" style="left:715px; top:152px; width:125px; height:23px; text-align:left; vertical-align:middle; ">차입금명칭</caption>
  441. <caption id="caption13" class="cell_1" style="left:715px; top:432px; width:125px; height:46px; text-align:left; vertical-align:middle; ">원금상환</caption>
  442. <input id="ipt_exprdd" ref="/root/main/list2/loaninfo/exprdd" class="input_s_essential" navindex="14" inputtype="date" style="left:842px; top:258px; width:152px; height:19px; text-align:center; "/>
  443. <line id="line10" class="line_2" style="x1:716px; y1:228px; x2:1195px; y2:228px; "/>
  444. <line id="line9" class="line_2" style="x1:714px; y1:202px; x2:1194px; y2:202px; "/>
  445. <line id="line11" class="line_2" style="x1:715px; y1:306px; x2:1195px; y2:306px; "/>
  446. <line id="line15" class="line_2" style="x1:715px; y1:479px; x2:1195px; y2:479px; "/>
  447. <input id="ipt_lnnm" ref="/root/main/list2/loaninfo/lnnm" class="input_search" navindex="5" maxlength="20" style="left:842px; top:154px; width:213px; height:19px; "/>
  448. <input id="ipt_lnentrregno" ref="/root/main/list2/loaninfo/entrregno" class="input_s_essential" maxlength="10" format="999-99-99999" style="left:842px; top:180px; width:105px; height:19px; text-align:center; ">
  449. <script type="javascript" ev:event="onkeypress">
  450. <![CDATA[
  451. if(event.keyCode == 13)
  452. {
  453. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  454. misfValidationCheck("14", "", "entrregno,custnm", "", "", "code");
  455. model.refresh();
  456. }
  457. ]]>
  458. </script>
  459. <script type="javascript" ev:event="xforms-value-changed">
  460. <![CDATA[
  461. misfValidationCheck("14", "", "entrregno,custnm", "", "", "code");
  462. model.refresh();
  463. ]]>
  464. </script>
  465. </input>
  466. <button id="btn_suspcusthelp" class="icon_search" style="left:953px; top:183px; width:16px; height:16px; ">
  467. <caption/>
  468. <script type="javascript" ev:event="DOMActivate">
  469. <![CDATA[
  470. misfOpenPopUpList("14", ipt_lnentrregno, "", "entrregno,custnm");
  471. model.refresh();
  472. ]]>
  473. </script>
  474. </button>
  475. <caption id="caption3" class="tit_2" style="left:720px; top:409px; width:95px; height:13px; ">부가정보</caption>
  476. <line id="line6" class="line_1" style="x1:715px; y1:424px; x2:1195px; y2:424px; "/>
  477. <caption id="caption5" class="cell_1" style="left:845px; top:456px; width:64px; height:21px; text-align:left; vertical-align:middle; ">거치기간</caption>
  478. <input id="ipt_dfmnmm" ref="/root/main/list2/loaninfo/dfmnmm" class="input_search" navindex="22" maxlength="3" format="#,###" style="left:911px; top:457px; width:40px; height:19px; text-align:center; "/>
  479. <caption id="caption9" style="left:953px; top:459px; width:31px; height:15px; ">개월</caption>
  480. <caption id="caption10" class="cell_1" style="left:1010px; top:456px; width:64px; height:21px; text-align:left; vertical-align:middle; ">상환주기</caption>
  481. <input id="ipt_repayprid" ref="/root/main/list2/loaninfo/repayprid" class="input_search" navindex="23" maxlength="3" format="#,###" style="left:1076px; top:457px; width:40px; height:19px; text-align:center; "/>
  482. <caption id="caption11" style="left:1118px; top:459px; width:31px; height:15px; ">개월</caption>
  483. <caption id="caption14" class="cell_1" style="left:1010px; top:505px; width:64px; height:21px; text-align:left; vertical-align:middle; ">지급주기</caption>
  484. <caption id="caption17" style="left:1118px; top:508px; width:31px; height:15px; ">개월</caption>
  485. <line id="line8" class="line_2" style="x1:715px; y1:528px; x2:1195px; y2:528px; "/>
  486. <caption id="caption18" class="cell_1" style="left:715px; top:481px; width:125px; height:46px; text-align:left; vertical-align:middle; ">이자지급</caption>
  487. <select1 id="rdo_restpay" ref="/root/main/list2/loaninfo/restpay" navindex="24" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:845px; top:484px; width:165px; height:17px; border-style:none; ">
  488. <choices>
  489. <item>
  490. <label>할인식</label>
  491. <value>1</value>
  492. </item>
  493. <item>
  494. <label>이자지급식</label>
  495. <value>2</value>
  496. </item>
  497. </choices>
  498. </select1>
  499. <input id="ipt_payprid" ref="/root/main/list2/loaninfo/payprid" class="input_search" navindex="26" maxlength="3" format="#,###" style="left:1076px; top:506px; width:40px; height:19px; text-align:center; "/>
  500. <select1 id="rdo_restpayflag" ref="/root/main/list2/loaninfo/restpayflag" navindex="25" overflow="visible" appearance="full" cellspacing="32" cols="2" style="left:845px; top:507px; width:165px; height:17px; border-style:none; ">
  501. <choices>
  502. <item>
  503. <label>선급</label>
  504. <value>1</value>
  505. </item>
  506. <item>
  507. <label>후급</label>
  508. <value>2</value>
  509. </item>
  510. </choices>
  511. </select1>
  512. <caption id="caption19" class="cell_1" style="left:715px; top:530px; width:125px; height:23px; text-align:left; vertical-align:middle; ">이자지급</caption>
  513. <select1 id="rdo_mtgag" ref="/root/main/list2/loaninfo/mtgag" navindex="27" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:845px; top:533px; width:348px; height:17px; border-style:none; ">
  514. <choices>
  515. <item>
  516. <label>없음</label>
  517. <value>1</value>
  518. </item>
  519. <item>
  520. <label>고정자산</label>
  521. <value>2</value>
  522. </item>
  523. <item>
  524. <label>제예금</label>
  525. <value>3</value>
  526. </item>
  527. <item>
  528. <label>유가증권</label>
  529. <value>4</value>
  530. </item>
  531. </choices>
  532. </select1>
  533. <line id="line12" class="line_3" style="x1:715px; y1:554px; x2:1195px; y2:554px; "/>
  534. <button id="btn_openreg" class="btn1_letter7" navindex="30" style="left:1070px; top:560px; width:116px; height:22px; text-align:left; ">
  535. <caption>원리금상환등록</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. var sInstcd = model.getValue("/root/main/list2/loaninfo/instcd");
  539. var sLnCd = model.getValue("/root/main/list2/loaninfo/lncd");
  540. var sStatus = model.getValue("/root/main/list2/loaninfo/status");
  541. if(sStatus == "i")
  542. {
  543. messageBox("신규입력중인 차입금은 원리금 상환 등록을", "E001");
  544. return;
  545. }
  546. if(sInstcd == "" || sLnCd == "")
  547. {
  548. messageBox("차입금을", "C002");
  549. return;
  550. }
  551. model.setValue("/root/source/wndparams/instcd", model.getValue("/root/main/list2/loaninfo/instcd"));
  552. model.setValue("/root/source/wndparams/lncd", model.getValue("/root/main/list2/loaninfo/lncd"));
  553. modal("SPRAF01100", "", "", "", "", "/root/source", "/root/target");
  554. model.refresh();
  555. ]]>
  556. </script>
  557. </button>
  558. <select1 id="rdo_restflag" ref="/root/main/list2/loaninfo/restflag" navindex="16" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:1000px; top:285px; width:115px; height:17px; border-style:none; ">
  559. <choices>
  560. <item>
  561. <label>변동</label>
  562. <value>1</value>
  563. </item>
  564. <item>
  565. <label>고정</label>
  566. <value>2</value>
  567. </item>
  568. </choices>
  569. </select1>
  570. <input id="ipt_lncustnm" ref="/root/main/list2/loaninfo/custnm" class="input_search" navindex="6" style="left:973px; top:180px; width:220px; height:19px; ">
  571. <script type="javascript" ev:event="onkeypress">
  572. <![CDATA[
  573. if(event.keyCode == 13)
  574. {
  575. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  576. misfValidationCheck("14", "", "entrregno,custnm", "", "", "name");
  577. model.refresh();
  578. }
  579. ]]>
  580. </script>
  581. <script type="javascript" ev:event="xforms-value-changed">
  582. <![CDATA[
  583. misfValidationCheck("14", "", "entrregno,custnm", "", "", "name");
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </input>
  588. <input id="ipt_lnamt" ref="/root/main/list2/loaninfo/lnamt" class="input_s_essential" navindex="11" maxlength="40" format="#,###" style="left:842px; top:206px; width:152px; height:19px; text-align:right; padding-right:2; "/>
  589. <textarea id="txt_cmt" ref="/root/main/list2/loaninfo/cmt" class="input_search" navindex="19" style="left:842px; top:336px; width:348px; height:57px; "/>
  590. <select1 id="rdo_prinrepay" ref="/root/main/list2/loaninfo/prinrepay" navindex="21" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:845px; top:435px; width:165px; height:17px; border-style:none; ">
  591. <choices>
  592. <item>
  593. <label>만기일시</label>
  594. <value>1</value>
  595. </item>
  596. <item>
  597. <label>분할</label>
  598. <value>2</value>
  599. </item>
  600. </choices>
  601. </select1>
  602. </group>
  603. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  604. <button id="btn_save" class="btn4_letter2" style="left:1075px; top:2px; width:56px; height:22px; ">
  605. <caption>저장</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. fInsloanInfo();
  609. ]]>
  610. </script>
  611. </button>
  612. <button id="btn_delete" class="btn4_letter2" style="left:1135px; top:2px; width:56px; height:22px; ">
  613. <caption>삭제</caption>
  614. <script type="javascript" ev:event="DOMActivate">
  615. <![CDATA[
  616. fDelloanInfo();
  617. ]]>
  618. </script>
  619. </button>
  620. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  621. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:2px; top:3px; width:56px; height:22px; ">
  622. <caption>출력</caption>
  623. </button>
  624. </group>
  625. </xhtml:body>
  626. </xhtml:html>