SPRAD00112_접대비명세서.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  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. <list>
  11. <servlist>
  12. <instcd/>
  13. <seqno/>
  14. <paydd/>
  15. <payamt/>
  16. <deptcd/>
  17. <deptnm/>
  18. <emplno/>
  19. <name/>
  20. <entrregno/>
  21. <custnm/>
  22. <recvcustnm/>
  23. <recventrregno/>
  24. <recvdeptnm/>
  25. <recvname/>
  26. <cmt/>
  27. <unsldd/>
  28. <unslno/>
  29. <unslseqno/>
  30. <status/>
  31. <extramembers/>
  32. </servlist>
  33. </list>
  34. </main>
  35. <send>
  36. <instcd/>
  37. <seqno/>
  38. </send>
  39. <hidden>
  40. </hidden>
  41. <init>
  42. <insertflag/>
  43. </init>
  44. <temp>
  45. <seqno/>
  46. </temp>
  47. <target/>
  48. </root>
  49. </instance>
  50. <submission id="TRRAD00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  51. <submission id="TXRAD00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/servlist" resultref="/root/temp"/>
  52. </model>
  53. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. fInitialize();
  60. ]]>
  61. </script>
  62. <script type="javascript">
  63. <![CDATA[
  64. //========================================================================================
  65. //초기화
  66. //========================================================================================
  67. function fInitialize() {
  68. cmb_insertflag.value = "01";
  69. cmb_insertflag.refresh();
  70. cmb_insertflag.dispatch("xforms-value-changed");
  71. var instcd = model.getValue("/root/target/slipinfo/instcd");
  72. var seqno = model.getValue("/root/target/slipinfo/seqno");
  73. var entrregno = model.getValue("/root/target/slipinfo/entrregno");
  74. var deptcd = model.getValue("/root/target/slipinfo/deptcd");
  75. var emplno = model.getValue("/root/target/slipinfo/emplno");
  76. var unsldd = model.getValue("/root/target/slipinfo/unsldd");
  77. var unslno = model.getValue("/root/target/slipinfo/unslno");
  78. var unslseqno = model.getValue("/root/target/slipinfo/unslseqno");
  79. var readonly = model.getValue("/root/target/slipinfo/readonly");
  80. var payamt = model.getValue("/root/target/slipinfo/amt");
  81. var cmt = model.getValue("/root/target/slipinfo/cmt");
  82. if(readonly == 'Y')
  83. {
  84. btn_save.disabled = true;
  85. btn_del.disabled = true;
  86. }
  87. model.setValue("/root/main/list/servlist/instcd", instcd);
  88. model.setValue("/root/main/list/servlist/seqno", seqno);
  89. model.setValue("/root/main/list/servlist/unsldd", unsldd);
  90. model.setValue("/root/main/list/servlist/unslno", unslno);
  91. model.setValue("/root/main/list/servlist/unslseqno", unslseqno);
  92. model.setValue("/root/main/list/servlist/paydd", "");
  93. model.setValue("/root/main/list/servlist/payamt", "");
  94. model.setValue("/root/main/list/servlist/deptcd", "");
  95. model.setValue("/root/main/list/servlist/deptnm", "");
  96. model.setValue("/root/main/list/servlist/emplno", "");
  97. model.setValue("/root/main/list/servlist/name", "");
  98. model.setValue("/root/main/list/servlist/entrregno", "");
  99. model.setValue("/root/main/list/servlist/custnm", "");
  100. model.setValue("/root/main/list/servlist/recvcustnm", "");
  101. model.setValue("/root/main/list/servlist/recventrregno", "");
  102. model.setValue("/root/main/list/servlist/recvdeptnm", "");
  103. model.setValue("/root/main/list/servlist/recvname", "");
  104. model.setValue("/root/main/list/servlist/cmt", "");
  105. model.setValue("/root/main/list/servlist/extramembers", "");
  106. model.refresh();
  107. if(instance1.selectNodes("/root/target/slipinfo").length != 0)
  108. {
  109. if (seqno != "")
  110. {
  111. model.setValue("/root/send/instcd", instcd);
  112. model.setValue("/root/send/seqno", seqno);
  113. submit("TRRAD00112");
  114. if (model.getValue("/root/main/list/servlist/instcd") == "")
  115. {
  116. fMakeInstance();
  117. fSetInsertState();
  118. }
  119. else
  120. {
  121. if(ipt_servregno.value.length == 10)
  122. {
  123. cmb_insertflag.value = "01";
  124. }
  125. else
  126. {
  127. cmb_insertflag.value = "02";
  128. }
  129. fPrntflagSet();
  130. model.makeValue("/root/main/list/servlist/status","");
  131. model.setValue("/root/main/list/servlist/status","u");
  132. model.refresh();
  133. }
  134. }
  135. else
  136. {
  137. fSetInsertState();
  138. }
  139. model.refresh();
  140. }
  141. model.setFocus("ipt_paydd");
  142. }
  143. //========================================================================================
  144. //Instance 생성
  145. //========================================================================================
  146. function fMakeInstance()
  147. {
  148. model.removenode("/root/main/list/servlist");
  149. model.makeValue("/root/main/list/servlist/instcd", model.getValue("/root/target/slipinfo/instcd"));
  150. model.makeValue("/root/main/list/servlist/seqno", model.getValue("/root/target/slipinfo/seqno"));
  151. model.makeValue("/root/main/list/servlist/unsldd", model.getValue("/root/target/slipinfo/unsldd"));
  152. model.makeValue("/root/main/list/servlist/unslno", model.getValue("/root/target/slipinfo/unslno"));
  153. model.makeValue("/root/main/list/servlist/unslseqno", model.getValue("/root/target/slipinfo/unslseqno"));
  154. model.makeValue("/root/main/list/servlist/paydd", "");
  155. model.makeValue("/root/main/list/servlist/payamt", "");
  156. model.makeValue("/root/main/list/servlist/deptcd", "");
  157. model.makeValue("/root/main/list/servlist/deptnm", "");
  158. model.makeValue("/root/main/list/servlist/emplno", "");
  159. model.makeValue("/root/main/list/servlist/name", "");
  160. model.makeValue("/root/main/list/servlist/entrregno", "");
  161. model.makeValue("/root/main/list/servlist/custnm", "");
  162. model.makeValue("/root/main/list/servlist/recvcustnm", "");
  163. model.makeValue("/root/main/list/servlist/recventrregno", "");
  164. model.makeValue("/root/main/list/servlist/recvdeptnm", "");
  165. model.makeValue("/root/main/list/servlist/recvname", "");
  166. model.makeValue("/root/main/list/servlist/cmt", "");
  167. model.makeValue("/root/main/list/servlist/extramembers", "");
  168. model.makeValue("/root/main/list/servlist/status", "i");
  169. model.refresh();
  170. }
  171. //========================================================================================
  172. //저장 상태 Setting
  173. //========================================================================================
  174. function fSetInsertState()
  175. {
  176. var payamt = model.getValue("/root/target/slipinfo/amt");
  177. var cmt = model.getValue("/root/target/slipinfo/cmt");
  178. var deptcd = model.getValue("/root/target/slipinfo/deptcd");
  179. var emplno = model.getValue("/root/target/slipinfo/emplno");
  180. var entrregno = model.getValue("/root/target/slipinfo/entrregno");
  181. model.setValue("/root/main/list/servlist/paydd", model.getValue("/root/main/list/servlist/unsldd"));
  182. ipt_paydd.refresh();
  183. model.setValue("/root/main/list/servlist/payamt", payamt);
  184. ipt_payamt.refresh();
  185. if(deptcd != "")
  186. {
  187. model.setValue("/root/main/list/servlist/deptcd", deptcd);
  188. ipt_deptcd.refresh();
  189. ipt_deptcd.dispatch("xforms-value-changed");
  190. }
  191. if(emplno != "")
  192. {
  193. model.setValue("/root/main/list/servlist/emplno", emplno);
  194. ipt_emplno.refresh();
  195. ipt_emplno.dispatch("xforms-value-changed")
  196. }
  197. if(entrregno != "")
  198. {
  199. model.setValue("/root/main/list/servlist/entrregno", entrregno);
  200. ipt_regno.refresh();
  201. ipt_regno.dispatch("xforms-value-changed")
  202. }
  203. model.setValue("/root/main/list/servlist/cmt", cmt);
  204. ipt_cmt.refresh();
  205. model.makeValue("/root/main/list/servlist/status","");
  206. model.setValue("/root/main/list/servlist/status","i");
  207. model.refresh();
  208. }
  209. //========================================================================================
  210. //저장 click
  211. //========================================================================================
  212. function fSaveClick()
  213. {
  214. if(model.getValue("/root/main/list/servlist/status") == "i")
  215. {
  216. ret = messageBox("저장하시겠습니까?","Q999");
  217. if (ret == "6")
  218. {
  219. if (submit("TXRAD00112"))
  220. {
  221. model.makeValue("/root/main/list/servlist/status","");
  222. model.setValue("/root/main/list/servlist/status","u");
  223. model.refresh();
  224. }
  225. }
  226. messageBox("저장이 완료되었습니다.","I000");
  227. }
  228. else if(model.getValue("/root/main/list/servlist/status") == "u")
  229. {
  230. ret = messageBox("수정하시겠습니까?","Q999");
  231. if (ret == "6")
  232. {
  233. if (submit("TXRAD00112"))
  234. {
  235. model.makeValue("/root/main/list/servlist/status","");
  236. model.setValue("/root/main/list/servlist/status","u");
  237. model.refresh();
  238. }
  239. }
  240. messageBox("수정이 완료되었습니다.","I000");
  241. }
  242. else
  243. {
  244. ret = messageBox("삭제하시겠습니까?","Q999");
  245. if (ret == "6")
  246. {
  247. if (submit("TXRAD00112"))
  248. {
  249. model.makeValue("/root/main/list/servlist/status","");
  250. model.setValue("/root/main/list/servlist/status","i");
  251. model.refresh();
  252. }
  253. }
  254. messageBox("삭제었습니다.","I000");
  255. }
  256. var receiveref = model.getValue("/root/target/receiveref");
  257. if(checkOpener())
  258. {
  259. opener.model.setValue(receiveref + "/servseqno", model.getValue("/root/temp/seqno/seqno"));
  260. opener.model.setValue(receiveref + "/amt", model.getValue("/root/main/list/servlist/payamt"));
  261. if(opener.model.getValue(receiveref + "/etcnotefact") == "")
  262. {
  263. opener.model.setValue(receiveref + "/etcnotefact", model.getValue("/root/main/list/servlist/cmt"));
  264. }
  265. }
  266. else
  267. {
  268. messagebox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
  269. }
  270. model.setValue("/root/main/list/servlist/seqno", model.getValue("/root/temp/seqno/seqno"));
  271. }
  272. //========================================================================================
  273. //부서코드
  274. //========================================================================================
  275. function fOpenPopupDeptHelp(pControl, pInstance)
  276. {
  277. misfOpenPopUpList("02", pControl, "", pInstance);
  278. model.refresh();
  279. }
  280. //========================================================================================
  281. //NOT NULL Check
  282. //========================================================================================
  283. function fNotNullCheck()
  284. {
  285. if(model.getValue("/root/main/list/servlist/paydd") == "")
  286. {
  287. messageBox("지출일자는" ,"I003");
  288. model.setFocus("ipt_paydd");
  289. return false;
  290. }
  291. if(model.getValue("/root/main/list/servlist/payamt") == "")
  292. {
  293. messageBox("지출금액은" ,"I003");
  294. model.setFocus("ipt_payamt");
  295. return false;
  296. }
  297. if(model.getValue("/root/main/list/servlist/deptcd") == "")
  298. {
  299. messageBox("부서는" ,"I003");
  300. model.setFocus("ipt_deptnm");
  301. return false;
  302. }
  303. if(model.getValue("/root/main/list/servlist/emplno") == "")
  304. {
  305. messageBox("사번은" ,"I003");
  306. model.setFocus("ipt_emplno");
  307. return false;
  308. }
  309. if(model.getValue("/root/main/list/servlist/entrregno") == "")
  310. {
  311. messageBox("거래처는" ,"I003");
  312. model.setFocus("ipt_paydd");
  313. return false;
  314. }
  315. if(model.getValue("/root/main/list/servlist/recventrregno") == "")
  316. {
  317. messageBox("상대방 거래처는" ,"I003");
  318. model.setFocus("ipt_paydd");
  319. return false;
  320. }
  321. if(model.getValue("/root/main/list/servlist/recvdeptnm") == "")
  322. {
  323. messageBox("상대방 부서명은" ,"I003");
  324. model.setFocus("ipt_paydd");
  325. return false;
  326. }
  327. if(model.getValue("/root/main/list/servlist/recvname") == "")
  328. {
  329. messageBox("상대방 이름은" ,"I003");
  330. model.setFocus("ipt_paydd");
  331. return false;
  332. }
  333. if(model.getValue("/root/main/list/servlist/cmt") == "")
  334. {
  335. messageBox("적요는" ,"I003");
  336. model.setFocus("ipt_paydd");
  337. return false;
  338. }
  339. return true;
  340. }
  341. function fPrntflagSet(refreshflag)
  342. {
  343. if(cmb_insertflag.value == "01")
  344. {
  345. ipt_servregno.visible = true;
  346. btn_serventregnohelp.visible = true;
  347. ipt_servregnm.visible = true;
  348. ipt_rrgstno.visible = false;
  349. ipt_servname.visible = false;
  350. caption14.value = "거래처";
  351. caption4.visible = false;
  352. caption8.visible = false;
  353. }
  354. else if(cmb_insertflag.value == "02")
  355. {
  356. ipt_servregno.visible = false;
  357. btn_serventregnohelp.visible = false;
  358. ipt_servregnm.visible = false;
  359. ipt_rrgstno.visible = true;
  360. ipt_servname.visible = true;
  361. caption14.value = "개인";
  362. caption4.visible = true;
  363. caption8.visible = true;
  364. }
  365. if(refreshflag == "Y")
  366. {
  367. ipt_servregno.value = "";
  368. ipt_servregnm.value = "";
  369. ipt_rrgstno.value = "";
  370. ipt_servname.value = "";
  371. ipt_servregno.refresh();
  372. ipt_servregnm.refresh();
  373. ipt_rrgstno.refresh();
  374. ipt_servname.refresh();
  375. }
  376. }
  377. ]]>
  378. </script>
  379. </xhtml:head>
  380. <xhtml:body pagewidth="565" pageheight="600" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  381. <group id="group1" style="left:0px; top:0px; width:544; height:13px; ">
  382. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">접대비명세서 등록</caption>
  383. </group>
  384. <group id="group2" style="left:0px; top:12px; width:548px; height:250px; ">
  385. <input id="ipt_rrgstno" ref="/root/main/list/servlist/recventrregno" class="input_essential" format="999999-9999999" style="left:200px; top:156px; width:180px; height:19px; ">
  386. <script type="javascript" ev:event="xforms-value-changed">
  387. <![CDATA[
  388. if(ipt_rrgstno.value.length != 13)
  389. {
  390. messageBox("13자리를 입력하여 주십시요.", "I000");
  391. model.setValue("/root/main/list/servlist/recventrregno", "");
  392. model.setFocus("ipt_rrgstno")
  393. }
  394. ]]>
  395. </script>
  396. <script type="javascript" ev:event="onkeypress">
  397. <![CDATA[
  398. if(event.keyCode == 13)
  399. {
  400. model.setFocus("ipt_servdept")
  401. }
  402. ]]>
  403. </script>
  404. </input>
  405. <input id="ipt_servname" ref="/root/main/list/servlist/recvcustnm" class="input_essential" style="left:392px; top:156px; width:145px; height:19px; ">
  406. <script type="javascript" ev:event="xforms-value-changed">
  407. <![CDATA[
  408. model.setValue("/root/main/list/servlist/recvname", ipt_servname.value);
  409. ipt_recvname.refresh();
  410. ]]>
  411. </script>
  412. </input>
  413. <button id="btn_serventregnohelp" class="icon_search" style="left:302px; top:158px; width:16px; height:16px; ">
  414. <caption/>
  415. <script type="javascript" ev:event="DOMActivate">
  416. <![CDATA[
  417. misfOpenPopUpList("14", ipt_regno, "", "recventrregno,recvcustnm");
  418. model.refresh();
  419. ]]>
  420. </script>
  421. </button>
  422. <input id="ipt_servregno" ref="/root/main/list/servlist/recventrregno" navindex="5" format="999-99-99999" style="left:200px; top:156px; width:97px; height:19px; text-align:center; ">
  423. <script type="javascript" ev:event="onkeypress">
  424. <![CDATA[
  425. if(event.keyCode == 13)
  426. {
  427. model.setFocus("ipt_servdept")
  428. }
  429. ]]>
  430. </script>
  431. <script type="javascript" ev:event="xforms-value-changed">
  432. <![CDATA[
  433. racfCustValidCheck("recventrregno,recvcustnm", "code");
  434. ]]>
  435. </script>
  436. </input>
  437. <input id="ipt_servregnm" ref="/root/main/list/servlist/recvcustnm" navindex="6" imemode="hangul" style="left:322px; top:156px; width:215px; height:19px; ">
  438. <script type="javascript" ev:event="onkeypress">
  439. <![CDATA[
  440. if(event.keyCode == 13)
  441. {
  442. model.setFocus("ipt_servdept")
  443. }
  444. ]]>
  445. </script>
  446. <script type="javascript" ev:event="xforms-value-changed">
  447. <![CDATA[
  448. racfCustValidCheck("recventrregno,recvcustnm", "name");
  449. ]]>
  450. </script>
  451. </input>
  452. <input id="ipt_cmt" ref="/root/main/list/servlist/cmt" class="input_essential" style="left:200px; top:228px; width:340px; height:19px; "/>
  453. <line id="line7" class="line_2" style="x1:0px; y1:132px; x2:543px; y2:132px; "/>
  454. <line id="line6" class="line_2" style="x1:0px; y1:108px; x2:543px; y2:108px; "/>
  455. <line id="line5" class="line_2" style="x1:0px; y1:84px; x2:543px; y2:84px; "/>
  456. <line id="line4" class="line_2" style="x1:0px; y1:60px; x2:543px; y2:60px; "/>
  457. <line id="line3" class="line_2" style="x1:0px; y1:36px; x2:543px; y2:36px; "/>
  458. <line id="line12" class="line_2" style="x1:0px; y1:249px; x2:543px; y2:249px; "/>
  459. <line id="line20" class="line_3" style="x1:0px; y1:249px; x2:543px; y2:249px; "/>
  460. <line id="line9" class="line_2" style="x1:0px; y1:201px; x2:543px; y2:201px; "/>
  461. <line id="line8" class="line_2" style="x1:0px; y1:177px; x2:543px; y2:177px; "/>
  462. <line id="line2" class="line_1" style="x1:0px; y1:9px; x2:543px; y2:9px; "/>
  463. <caption id="caption7" class="cell_1" style="left:65px; top:62px; width:105px; height:23px; vertical-align:middle; ">부서</caption>
  464. <caption id="caption10" class="cell_1" style="left:0px; top:14px; width:170px; height:23px; vertical-align:middle; ">지출일자</caption>
  465. <caption id="caption12" class="cell_1" style="left:65px; top:86px; width:105px; height:23px; vertical-align:middle; ">성명</caption>
  466. <caption id="caption15" class="cell_1" style="left:0px; top:227px; width:170px; height:23px; vertical-align:middle; ">접대목적 또는 지출사유</caption>
  467. <input id="ipt_payamt" ref="/root/main/list/servlist/payamt" class="input_essential" format="(-)#,###" style="left:200px; top:39px; width:120px; height:19px; ">
  468. <script type="javascript" ev:event="xforms-value-changed">
  469. <![CDATA[
  470. if(parseInt(ipt_payamt.value) > 500000)
  471. {
  472. btn_save.disabled = false;
  473. }
  474. else
  475. {
  476. btn_save.disabled = true;
  477. }
  478. ]]>
  479. </script>
  480. </input>
  481. <caption id="caption1" class="cell_1" style="left:0px; top:38px; width:170px; height:23px; vertical-align:middle; ">지출금액(원)</caption>
  482. <select1 id="cmb_insertflag" ref="/root/init/insertflag" class="combo_default" visibility="visible" appearance="minimal" style="left:65px; top:134px; width:105px; height:19px; ">
  483. <choices>
  484. <item>
  485. <label>사업자번호</label>
  486. <value>01</value>
  487. </item>
  488. <item>
  489. <label>주민번호</label>
  490. <value>02</value>
  491. </item>
  492. </choices>
  493. <script type="javascript" ev:event="xforms-value-changed">
  494. <![CDATA[
  495. fPrntflagSet("Y");
  496. ]]>
  497. </script>
  498. </select1>
  499. <input id="ipt_paydd" ref="/root/main/list/servlist/paydd" class="input_s_essential" inputtype="date" style="left:200px; top:15px; width:120px; height:19px; "/>
  500. <caption id="caption5" class="cell_1" style="left:0px; top:62px; width:64px; height:47px; text-align:left; vertical-align:middle; ">접대자</caption>
  501. <caption id="caption3" class="cell_1" style="left:0px; top:134px; width:64px; height:91px; text-align:left; vertical-align:middle; ">접대 상대방 내역</caption>
  502. <caption id="caption14" class="cell_1" style="left:65px; top:155px; width:105px; height:23px; vertical-align:middle; ">거래처</caption>
  503. <caption id="caption17" class="cell_1" style="left:65px; top:179px; width:105px; height:23px; vertical-align:middle; ">부서명</caption>
  504. <caption id="caption19" class="cell_1" style="left:65px; top:203px; width:105px; height:23px; vertical-align:middle; ">성명</caption>
  505. <line id="line10" class="line_2" style="x1:0px; y1:225px; x2:543px; y2:225px; "/>
  506. <caption id="caption2" class="cell_1" style="left:0px; top:110px; width:170px; height:23px; vertical-align:middle; ">접대장소 / 접대물품 구입처</caption>
  507. <input id="ipt_deptnm" ref="/root/main/list/servlist/deptnm" class="input_essential" style="left:322px; top:63px; width:215px; height:19px; ">
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. racfDeptValidCheck("deptcd,deptnm"); // 전체부서
  511. ]]>
  512. </script>
  513. <script type="javascript" ev:event="onkeypress">
  514. <![CDATA[
  515. if(event.keyCode == 13)
  516. {
  517. model.setFocus("ipt_emplno");
  518. }
  519. ]]>
  520. </script>
  521. </input>
  522. <button id="btn_costcntrdeptcd" class="icon_search" navindex="-1" style="left:302px; top:65px; width:16px; height:16px; ">
  523. <caption/>
  524. <script type="javascript" ev:event="DOMActivate">
  525. <![CDATA[
  526. fOpenPopupDeptHelp(ipt_emplno, "deptcd,deptnm"); //전체부서
  527. model.refresh();
  528. ]]>
  529. </script>
  530. </button>
  531. <input id="ipt_deptcd" ref="/root/main/list/servlist/deptcd" class="input_essential" navindex="-1" maxlength="10" style="left:200px; top:63px; width:97px; height:19px; ">
  532. <script type="javascript" ev:event="xforms-value-changed">
  533. <![CDATA[
  534. racfDeptValidCheck("deptcd,deptnm"); // 전체부서
  535. model.setFocus("ipt_emplno");
  536. ]]>
  537. </script>
  538. <script type="javascript" ev:event="onkeypress">
  539. <![CDATA[
  540. if(event.keyCode == 13)
  541. {
  542. model.setFocus("ipt_emplno");
  543. }
  544. ]]>
  545. </script>
  546. </input>
  547. <button id="btn_userhelp" class="icon_search" navindex="-1" style="left:302px; top:88px; width:16px; height:16px; ">
  548. <caption/>
  549. <script type="javascript" ev:event="DOMActivate">
  550. <![CDATA[
  551. misfOpenPopUpList("49", ipt_emplno, "", "emplno,name");
  552. model.refresh();
  553. ]]>
  554. </script>
  555. </button>
  556. <input id="ipt_name" ref="/root/main/list/servlist/name" class="input_essential" navindex="1" style="left:322px; top:87px; width:215px; height:19px; ">
  557. <script type="javascript" ev:event="onkeypress">
  558. <![CDATA[
  559. if(event.keyCode == 13)
  560. {
  561. model.setFocus("ipt_regno");
  562. }
  563. ]]>
  564. </script>
  565. <script type="javascript" ev:event="xforms-value-changed">
  566. <![CDATA[
  567. misfValidationCheck("49", "", "emplno,name","","","name","");
  568. model.refresh();
  569. ]]>
  570. </script>
  571. </input>
  572. <input id="ipt_emplno" ref="/root/main/list/servlist/emplno" class="input_essential" style="left:200px; top:87px; width:97px; height:19px; ">
  573. <script type="javascript" ev:event="onkeypress">
  574. <![CDATA[
  575. if(event.keyCode == 13)
  576. {
  577. model.setFocus("ipt_regno");
  578. }
  579. ]]>
  580. </script>
  581. <script type="javascript" ev:event="xforms-value-changed">
  582. <![CDATA[
  583. misfValidationCheck("49", "", "emplno,name", "", "", "code","");
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </input>
  588. <input id="ipt_servdeptnm" ref="/root/main/list/servlist/recvdeptnm" class="input_essential" style="left:200px; top:180px; width:180px; height:19px; "/>
  589. <input id="ipt_recvname" ref="/root/main/list/servlist/recvname" class="input_essential" style="left:200px; top:205px; width:180px; height:19px; "/>
  590. <input id="ipt_regnm" ref="/root/main/list/servlist/custnm" navindex="6" imemode="hangul" style="left:322px; top:111px; width:215px; height:19px; ">
  591. <script type="javascript" ev:event="onkeypress">
  592. <![CDATA[
  593. if(event.keyCode == 13)
  594. {
  595. model.setFocus("ipt_servregno");
  596. }
  597. ]]>
  598. </script>
  599. <script type="javascript" ev:event="xforms-value-changed">
  600. <![CDATA[
  601. racfCustValidCheck("entrregno,custnm", "name");
  602. ]]>
  603. </script>
  604. </input>
  605. <button id="btn_entregnohelp" class="icon_search" style="left:302px; top:111px; width:16px; height:16px; ">
  606. <caption/>
  607. <script type="javascript" ev:event="DOMActivate">
  608. <![CDATA[
  609. misfOpenPopUpList("14", ipt_regno, "", "entrregno,custnm");
  610. model.refresh();
  611. ]]>
  612. </script>
  613. </button>
  614. <input id="ipt_regno" ref="/root/main/list/servlist/entrregno" navindex="5" format="999-99-99999" style="left:200px; top:111px; width:97px; height:19px; text-align:center; ">
  615. <script type="javascript" ev:event="onkeypress">
  616. <![CDATA[
  617. if(event.keyCode == 13)
  618. {
  619. model.setFocus("ipt_servregno");
  620. }
  621. ]]>
  622. </script>
  623. <script type="javascript" ev:event="xforms-value-changed">
  624. <![CDATA[
  625. racfCustValidCheck("entrregno,custnm", "code");
  626. ]]>
  627. </script>
  628. </input>
  629. <caption id="caption40" class="cell_1" style="left:172px; top:155px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(6)</caption>
  630. <caption id="caption41" class="cell_1" style="left:172px; top:179px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(7)</caption>
  631. <caption id="caption42" class="cell_1" style="left:172px; top:203px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(8)</caption>
  632. <caption id="caption43" class="cell_1" style="left:172px; top:227px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(9)</caption>
  633. <caption id="caption35" class="cell_1" style="left:172px; top:14px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(1)</caption>
  634. <caption id="caption36" class="cell_1" style="left:172px; top:38px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(2)</caption>
  635. <caption id="caption37" class="cell_1" style="left:172px; top:62px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(3)</caption>
  636. <caption id="caption38" class="cell_1" style="left:172px; top:86px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(4)</caption>
  637. <caption id="caption39" class="cell_1" style="left:172px; top:110px; width:25px; height:23px; text-align:center; vertical-align:middle; ">(5)</caption>
  638. <caption id="caption4" class="cell_1" style="left:200px; top:134px; width:85px; height:20px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
  639. <caption id="caption8" class="cell_1" style="left:392px; top:134px; width:60px; height:20px; text-align:center; vertical-align:middle; ">이 름</caption>
  640. </group>
  641. <group id="grp_btn" scroll="auto" style="left:0px; top:266px; width:544px; height:27px; ">
  642. <button id="btn_17" class="btn4_letter2" style="left:488px; top:2; width:56px; height:22px; ">
  643. <caption>닫기</caption>
  644. <script type="javascript" ev:event="DOMActivate">
  645. <![CDATA[
  646. window.close();
  647. ]]>
  648. </script>
  649. </button>
  650. <line id="line1" class="line_6" visibility="hidden" style="x1:0px; y1:0px; x2:543px; y2:0px; "/>
  651. <button id="btn_del" class="btn4_letter2" style="left:430px; top:2; width:56px; height:22px; ">
  652. <caption>삭제</caption>
  653. <script type="javascript" ev:event="DOMActivate">
  654. <![CDATA[
  655. if(model.getValue("/root/main/list/servlist/status") == "i")
  656. {
  657. return false;
  658. }
  659. model.makeValue("/root/main/list/servlist/status","");
  660. model.setValue("/root/main/list/servlist/status","d");
  661. fSaveClick();
  662. fMakeInstance();
  663. ]]>
  664. </script>
  665. </button>
  666. <button id="btn_save" class="btn4_letter2" style="left:372px; top:2; width:56px; height:22px; ">
  667. <caption>저장</caption>
  668. <script type="javascript" ev:event="DOMActivate">
  669. <![CDATA[
  670. if(fNotNullCheck())
  671. {
  672. fSaveClick();
  673. model.setValue("/root/main/list/servlist/seqno", model.getValue("/root/temp/seqno/seqno"));
  674. }
  675. ]]>
  676. </script>
  677. </button>
  678. </group>
  679. <group id="group3" scroll="auto" style="left:0px; top:300px; width:544px; height:300px; ">
  680. <line id="line11" class="line_6" visibility="hidden" style="x1:0px; y1:0px; x2:543px; y2:0px; "/>
  681. <caption id="caption64" class="cell_1" style="left:5px; top:5px; width:530px; height:30px; font-size:12pt; font-weight:bold; text-align:center; vertical-align:middle; ">작 성 요 령</caption>
  682. <caption id="caption65" class="cell_1" style="left:5px; top:40px; width:530px; height:48px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  683. <![CDATA[1. 본 명세서는 지출일자 순으로 작성하되, 2건이상의 지출내역이 [ 접대비 업무관련성 입
  684. 증에 관한 고시 ] 제 1 조 제 2 항에 해당되는 경우 이를 1건으로 보아 작성합니다.]]>
  685. </caption>
  686. <caption id="caption66" class="cell_1" style="left:5px; top:92px; width:530px; height:58px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  687. <![CDATA[2. 접대자와 부서명(3) 및 성명(4)란은 접대업무를 수행한 당해 법인의 임직원 소속 부서 및
  688. 성명을 기재하며, 접대자가 2인 이상인 경우 성명(4)란은 주된 접대자 "OOO외 O인" 으로
  689. 기재됩니다.]]>
  690. </caption>
  691. <caption id="caption67" class="cell_1" style="left:5px; top:154px; width:530px; height:48px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  692. <![CDATA[3. 접대상대방의 상호 및 사업자등록번호(6)란은 거래처가 사업자인 경우 상호와 사업자등
  693. 록번호를 기재하며, 비사업자인 경우 성명과 주민 등록번호를 기재합니다.]]>
  694. </caption>
  695. <caption id="caption68" class="cell_1" style="left:5px; top:206px; width:530px; height:38px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  696. <![CDATA[4. 접대 상대방이 2인 이상인경우 성명(8)란은 주된 접대상대방 "OOO외 O인"으로 기재합니
  697. 다.]]>
  698. </caption>
  699. <caption id="caption69" class="cell_1" style="left:5px; top:248px; width:530px; height:38px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  700. <![CDATA[5. 접대목적 또는 지출 사유(9)란은 업무와 관련성 등을 입증할 수 있는 지출사유를 기재합
  701. 니다.]]>
  702. </caption>
  703. </group>
  704. </xhtml:body>
  705. </xhtml:html>