SMAED00100_치기공접수.xrw 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAED00100.xrw
  4. * 설 명 : 치기공접수
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2010.09.26
  8. * 수정이력 : 2010.09.26 손승현 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head tag="&quot;&quot;">
  14. <xhtml:title>치 기공접수</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <item>
  21. <mode/>
  22. <acptno/>
  23. <pid/>
  24. <hngnm/>
  25. <rrgstno1/>
  26. <rrgstno2/>
  27. <sex/>
  28. <age/>
  29. <telno/>
  30. <calcscorcd/>
  31. <prcpnm/>
  32. <rcptyn/>
  33. <prcpgenrflag/>
  34. <orddeptcd/>
  35. <orddepthngnm/>
  36. <orddrid/>
  37. <orddrnm/>
  38. <insuflag/>
  39. <execprcpuniqno/>
  40. <prcpdd/>
  41. <rsrvdd/>
  42. <execdd/>
  43. <state/>
  44. <rcptamt/>
  45. <tootfact11/>
  46. <tootfact12/>
  47. <tootfact21/>
  48. <tootfact22/>
  49. <prodroom/>
  50. <prodcd/>
  51. <enddd/>
  52. <metalcd/>
  53. <useqty/>
  54. <prodid/>
  55. <prodnm/>
  56. <outordyn/>
  57. <bigo/>
  58. <cnclyn/>
  59. <initinsukind/>
  60. <mig/>
  61. <acptyear/>
  62. <rcptdd/>
  63. <useqty_b/>
  64. <prcpqty/>
  65. </item>
  66. </acptinfo>
  67. <acptlist>
  68. <item>
  69. <mode/>
  70. <acptno/>
  71. <pid/>
  72. <hngnm/>
  73. <rrgstno1/>
  74. <rrgstno2/>
  75. <sex/>
  76. <age/>
  77. <telno/>
  78. <calcscorcd/>
  79. <prcpnm/>
  80. <rcptyn/>
  81. <prcpgenrflag/>
  82. <orddeptcd/>
  83. <orddepthngnm/>
  84. <orddrid/>
  85. <orddrnm/>
  86. <insuflag/>
  87. <execprcpuniqno/>
  88. <prcpdd/>
  89. <rsrvdd/>
  90. <execdd/>
  91. <state/>
  92. <rcptamt/>
  93. <tootfact11/>
  94. <tootfact12/>
  95. <tootfact21/>
  96. <tootfact22/>
  97. <prodroom/>
  98. <prodcd/>
  99. <enddd/>
  100. <metalcd/>
  101. <useqty/>
  102. <prodid/>
  103. <prodnm/>
  104. <outordyn/>
  105. <bigo/>
  106. <cnclyn/>
  107. <initinsukind/>
  108. <mig/>
  109. <acptyear/>
  110. <rcptdd/>
  111. <useqty_b/>
  112. </item>
  113. </acptlist>
  114. <eqmtlist>
  115. <item>
  116. <sortno/>
  117. <basecd/>
  118. <basecdflagdesc/>
  119. <basecdcnts/>
  120. <basesuppdeptcd/>
  121. <basecdflag/>
  122. </item>
  123. </eqmtlist>
  124. <eqmtcnlist>
  125. <item>
  126. <sortno/>
  127. <basecd/>
  128. <basecdflagdesc/>
  129. <basecdcnts/>
  130. <basesuppdeptcd/>
  131. <basecdflag/>
  132. </item>
  133. </eqmtcnlist>
  134. <execrcodelist>
  135. <execrcode>
  136. <sortno/>
  137. <basecd/>
  138. <basecdflagdesc/>
  139. <basecdcnts/>
  140. <basecdflag/>
  141. <basesuppdeptcd/>
  142. <seq/>
  143. </execrcode>
  144. </execrcodelist>
  145. <codelist>
  146. <item>
  147. <suppdeptcd/>
  148. <grupcdid/>
  149. <cdid/>
  150. <cdnm/>
  151. <detldesc/>
  152. <useyn/>
  153. <dispseq/>
  154. <cntlyn1/>
  155. <cntlcd1/>
  156. </item>
  157. </codelist>
  158. <codelist1>
  159. <item>
  160. <suppdeptcd/>
  161. <grupcdid/>
  162. <cdid/>
  163. <cdnm/>
  164. <detldesc/>
  165. <useyn/>
  166. <dispseq/>
  167. <cntlyn1/>
  168. <cntlcd1/>
  169. </item>
  170. </codelist1>
  171. <acptnum>
  172. <item/>
  173. </acptnum>
  174. <examcurecdlist>
  175. <item>
  176. <excucd/>
  177. <excucdnm/>
  178. <excuroomcd/>
  179. <excupartcd/>
  180. <execbaseflag/>
  181. <rcptacptyn/>
  182. <rcptrsrvyn/>
  183. <prcptdayaftrcptyn/>
  184. <excuclscd/>
  185. <lrgcd/>
  186. <mdlcd/>
  187. <ioexamflag/>
  188. <excucdrem/>
  189. <angioaltprcpcd/>
  190. <angiouseyn/>
  191. <autroomassgyn/>
  192. <autroomassgcd/>
  193. <section/>
  194. <rslttmplcd/>
  195. <ocrtmplcd/>
  196. <eqmtifyn/>
  197. <readdrid3/>
  198. <readdrid3nm/>
  199. <rsltclscd1/>
  200. <rsltclscd2/>
  201. <partcntstats/>
  202. <phocntstats/>
  203. <rsrvexcupossyn/>
  204. <rsrvexcuroomposscd/>
  205. <rsrvexcuroomposscd2/>
  206. <rsrvplceflag/>
  207. <excutm/>
  208. <rsrvexmptmplcd/>
  209. <rsrvmultitmplcd/>
  210. <rsrvexmptmplexecrnm/>
  211. <rsrvexmpcnt/>
  212. <fastyn/>
  213. <enemayn/>
  214. <rsrvaprvtmplcd/>
  215. <modality/>
  216. <slepyn/>
  217. <dcusrsrvyn/>
  218. <pacsnocretyn/>
  219. <prestddappyn/>
  220. <anotestyn/>
  221. <sytserdispyn/>
  222. <sytshealdispyn/>
  223. <anotestyn/>
  224. <glycostestyn/>
  225. <bonedentestyn/>
  226. <prcpexecdeptcd/>
  227. <basesuppdeptcd/>
  228. <excutodd/>
  229. <curetims/>
  230. <excurem/>
  231. <nextexcuroomcd/>
  232. <rsrvsono/>
  233. <etceqmtifyn/>
  234. <emryn/>
  235. <rsrvupdtcncllimdayno/>
  236. <rsltdispyn/>
  237. <rsltdispgbn/>
  238. <excupatrem/>
  239. </item>
  240. </examcurecdlist>
  241. <tootcode/>
  242. <stockcount/>
  243. <stocklist/>
  244. <rsltclst/>
  245. <rcptamtinfo/>
  246. <stckcnt>
  247. <item>
  248. <stockqty/>
  249. </item>
  250. </stckcnt>
  251. </main>
  252. <send>
  253. <srch>
  254. <srchsearch/>
  255. <srchfromdd/>
  256. <srchtodd/>
  257. <srchpid/>
  258. <srchhngnm/>
  259. <srchstate/>
  260. <srchcnclyn/>
  261. <grupcdid/>
  262. <suppdeptcd/>
  263. <dutplceinstcd/>
  264. <prodroom/>
  265. <prcpdd/>
  266. <srchexamcurecd/>
  267. <srchexamcurenm/>
  268. <basesuppdeptcd/>
  269. <newoldyb/>
  270. <excuroomcd/>
  271. <basecdcnts/>
  272. <prcpno/>
  273. <metalcd/>
  274. <useqty/>
  275. <srchoutordyn/>
  276. <srchmetalcd/>
  277. <calcscorcd/>
  278. </srch>
  279. <req>
  280. <savedata/>
  281. </req>
  282. <globalinstance>
  283. <instance1/>
  284. </globalinstance>
  285. <basecd/>
  286. <basecdflag/>
  287. <instcd/>
  288. <ordlist1>
  289. <mainordlist>
  290. <check/>
  291. <pid/>
  292. <hngnm/>
  293. <sna/>
  294. <rrgstno1/>
  295. <rrgstno2/>
  296. <orddepthngnm/>
  297. <orddrnm/>
  298. <portprcpflag/>
  299. <calcscorcd/>
  300. <prcpdd/>
  301. <execprcpstatcd/>
  302. <roomcd/>
  303. <srchrsrvdt/>
  304. <prcpnm/>
  305. <rsrvrid/>
  306. <execdt/>
  307. <execrid1/>
  308. <execrnm/>
  309. <rcptyn/>
  310. <hight/>
  311. <weight/>
  312. <prcpexecdeptnm/>
  313. <execdeptnm/>
  314. <hometel/>
  315. <mpphontel/>
  316. <statcd/>
  317. <basecd/>
  318. <execprcpuniqno/>
  319. <prcpexecdeptcd/>
  320. <excuroomcd/>
  321. <inflag/>
  322. <rcptacptyn/>
  323. <execbaseflag/>
  324. <excupartcd/>
  325. <modality/>
  326. <execrem/>
  327. <prcpdelivefact/>
  328. <carecnfmdd/>
  329. <prcpkindcd/>
  330. <rcptno/>
  331. <acptseqno/>
  332. <prcpgenrflag/>
  333. <orddd/>
  334. <orddeptcd/>
  335. <orddrid/>
  336. <prcpno/>
  337. <eqmtifyn/>
  338. <basesuppdeptcd/>
  339. <cretno/>
  340. <wardcd/>
  341. <rsrvdt/>
  342. <rgstdeptcd/>
  343. <rgstrid/>
  344. <inclprcpcd/>
  345. <lrgcd/>
  346. <mdlcd/>
  347. <actorddd/>
  348. <actcretno/>
  349. <examroomnm/>
  350. <prcphistno/>
  351. <pacsnocretyn/>
  352. <tmpldata/>
  353. <prcpdt/>
  354. <rsrvrnm/>
  355. <deptengabbr/>
  356. <cnclresncdnm/>
  357. <rsrvexmptmplcd/>
  358. <age/>
  359. <tretflagcd/>
  360. <rsrvexcuroomposscd/>
  361. <prcphopedd/>
  362. <precureprcpflag/>
  363. <clincstdycd/>
  364. <aftrcptinfo/>
  365. <centcd/>
  366. <prcpclscd/>
  367. <ioflag/>
  368. <bf_srchrsrvtm/>
  369. <emryn/>
  370. <prcpqty/>
  371. <unrsrvexecyn/>
  372. <insukind/>
  373. <ordrsrvdt/>
  374. <rcptdd/>
  375. </mainordlist>
  376. </ordlist1>
  377. <ssmetalcd/>
  378. </send>
  379. <init>
  380. <combobscdlst/>
  381. <combobscdlstsrch>
  382. <item>
  383. <suppdeptcd/>
  384. <grupcdid/>
  385. <cdid/>
  386. <cdnm/>
  387. <detldesc/>
  388. <useyn/>
  389. <dispseq/>
  390. <cntlyn1/>
  391. <cntlcd1/>
  392. </item>
  393. </combobscdlstsrch>
  394. <comboYn>
  395. <item>
  396. <label>Y</label>
  397. <value>Y</value>
  398. </item>
  399. <item>
  400. <label>N</label>
  401. <value>N</value>
  402. </item>
  403. </comboYn>
  404. <baseinfo>
  405. <initinsukind/>
  406. </baseinfo>
  407. </init>
  408. <hidden>
  409. <item>
  410. <count/>
  411. </item>
  412. </hidden>
  413. <temp>
  414. <templst/>
  415. </temp>
  416. <rexprnt>
  417. <acptlist>
  418. <item/>
  419. </acptlist>
  420. </rexprnt>
  421. <temp_1>
  422. <templst/>
  423. </temp_1>
  424. <temp_2/>
  425. </root>
  426. </instance>
  427. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  428. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  429. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  430. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  431. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  432. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  433. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  434. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  435. <script type="javascript" ev:event="xforms-ready">
  436. <![CDATA[
  437. fGetScreenInit();
  438. fGetComboInit();
  439. fGetAcptList();
  440. ]]>
  441. </script>
  442. <submission id="TRAVB00001"/>
  443. <submission id="TRAAA00001"/>
  444. <submission id="TRAVB00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
  445. <submission id="TRAVB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combogtcdlst"/>
  446. <submission id="TRAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/acptlist"/>
  447. <submission id="TXAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/acptinfo/item" replace="instance" resultref="/root/main/acptinfo"/>
  448. <submission id="TRAED00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
  449. <submission id="TRAED00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtlist"/>
  450. <submission id="TRAED00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtcnlist"/>
  451. <submission id="TRAEB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/execrcodelist"/>
  452. <submission id="TRAEB00010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/codelist"/>
  453. <submission id="TRAED00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acptnum"/>
  454. <submission id="TRAEB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/examcurecdlist"/>
  455. <submission id="TRZBC00101"/>
  456. <submission id="TXAED00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  457. <submission id="TXAED00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  458. <submission id="TXAED00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" resultref="/root/hidden"/>
  459. <submission id="TRAED00106"/>
  460. <submission id="TRAED00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/tootcode"/>
  461. <submission id="TRAED00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stocklist"/>
  462. <submission id="TXAED00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  463. <submission id="TRAED00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsltclst"/>
  464. <submission id="TRAED00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ordlist1/mainordlist" replace="instance" resultref="/root/main/rcptamtinfo"/>
  465. <submission id="TRAED00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/stckcnt"/>
  466. </model>
  467. <script type="javascript">
  468. <![CDATA[
  469. var init = true;
  470. var count = 1;
  471. var click_useqty = 0;
  472. var click_metalcd = "";
  473. /**
  474. * 콤보 초기화
  475. */
  476. function fGetComboInit() {
  477. astGetComboList( new Array( "V001", "V002" ),
  478. new Array( "/root/temp_1/templst" , "/root/temp_1/templst" ));
  479. // 콤보선택
  480. cmb_srchsearch.select(1);
  481. combo2.select(1);
  482. aezfSetSuppDeptcd();
  483. model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  484. submit("TRAED00102");
  485. //처방상태 공통코드 갖고오기
  486. zbcfGetCodeList( new Array("P0008"), new Array("/root/init/baseinfo/initinsukind") );
  487. submit("TRZBC00101", false);
  488. // "A001",
  489. var i , j;
  490. var rows;
  491. for (i=1; i <=3;i++){
  492. if(i==1){
  493. model.setValue("/root/send/srch/grupcdid" , "A001");
  494. submit("TRAEB00010");
  495. rows = getNodesetCount("/root/main/codelist/item");
  496. for(j = 1; j <= rows; j++ ){
  497. model.makeNode("/root/main/codelist1/item[" + j + "]");
  498. model.copyNode("/root/main/codelist1/item[" + j + "]", "/root/main/codelist/item[" + j + "]" );
  499. }
  500. }
  501. if(i==2){
  502. model.resetInstanceNode("/root/main/codelist/item");
  503. model.setValue("/root/send/srch/grupcdid" , "B001");
  504. submit("TRAEB00010");
  505. rows = getNodesetCount("/root/main/codelist/item");
  506. for(j = 1; j <= rows; j++ ){
  507. model.makeNode("/root/main/codelist2/item[" + j + "]");
  508. model.copyNode("/root/main/codelist2/item[" + j + "]", "/root/main/codelist/item[" + j + "]" );
  509. }
  510. }
  511. if(i==3) {
  512. model.resetInstanceNode("/root/main/codelist/item");
  513. model.setValue("/root/send/srch/grupcdid" , "C001");
  514. submit("TRAEB00010");
  515. }
  516. }
  517. // 금속종류 코드 LIST(대분류)
  518. model.setValue("/root/send/basecdflag", "H");
  519. submit("TRAED00103");
  520. // model.makeValue("/root/main/eqmtlist/item");
  521. addComboItem("cmb_metalcd", "전체", "all", "above");
  522. cmb_metalcd.value = "all";
  523. // cmb_metalcd" ref="/root/send/srch/srchmetalcd
  524. // 제작물 코드LIST (중분류)
  525. model.setValue("/root/send/basecdflag", "I");
  526. submit("TRAED00104");
  527. var eqmCnt = getNodesetCount("/root/main/eqmtcnlist/item");
  528. for(var i = 1 ; i <= eqmCnt ; i++ ){
  529. model.makeNode("/root/init/eqmtcnlist/item[" + i + "]");
  530. model.copyNode("/root/init/eqmtcnlist/item[" + i + "]", "/root/main/eqmtcnlist/item[" + i + "]");
  531. }
  532. // 실시자 조회
  533. model.setValue("/root/send/basecdflag", "E");
  534. submit("TRAEB00801");
  535. // 재고LIST 조회
  536. submit("TRAED00300");
  537. cmb_srchsearch.value = "01";
  538. ipt_srchfromdd.disabled = true;
  539. ipt_srchtodd.disabled = true;
  540. model.refresh();
  541. }
  542. /**
  543. * 화면 기본 초기화
  544. */
  545. function fGetScreenInit() {
  546. if(init == true) { // xforms-ready시 , 초기화 버튼 클릭시에만 조회값으로 셋팅 되어있는 날짜 초기화.
  547. var curDD = getCurrentDate();
  548. model.resetInstanceNode("/root/send");
  549. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  550. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  551. model.setValue("/root/main/acptinfo/item/enddd", getCurrentDate() );
  552. }
  553. model.removeNodeset("/root/main/acptlist/item");
  554. model.resetInstanceNode("/root/main/acptinfo/item");
  555. model.resetInstanceNode("/root/main/examcurecdlist/item");
  556. cmb_metalcd.select(0);
  557. model.refresh();
  558. }
  559. /**
  560. * 접수정보 LIST의 내용 클릭시, 아래 환자, 처방정보에 뿌려주기.
  561. */
  562. function fGetAcptListClick() {
  563. // 접수정보LIST에 조회된 내용이 있는지 확인.
  564. var idx = grd_maininfo.rows;
  565. if(idx > 2) {
  566. if(grd_maininfo.row != 0) {
  567. model.removeNodeset("/root/main/acptinfo/item");
  568. var rows = grd_maininfo.row;
  569. model.makeNode("/root/main/acptinfo/item");
  570. model.copyNode("/root/main/acptinfo/item", "/root/main/acptlist/item["+ (parseInt(rows)-1) + "]");
  571. var useqty_b = model.getValue("/root/main/acptinfo/item/useqty_b");
  572. if ( useqty_b != "0") {
  573. combo1.disabled = true;
  574. } else {
  575. combo1.disabled = false;
  576. }
  577. }
  578. }
  579. model.refresh();
  580. }
  581. /**
  582. * 접수정보 List 조회
  583. */
  584. function fGetAcptList() {
  585. var search = model.getValue("/root/send/srch/srchsearch");
  586. var state = model.getValue("/root/send/srch/srchstate");
  587. if( state != "01" && state != "02" ) {
  588. model.setValue("/root/send/srch/srchstate", "" );
  589. }
  590. if( search != "01" && search != "02" && search != "03") {
  591. model.setValue("/root/send/srch/srchsearch", "00" );
  592. }
  593. submit("TRAED00101");
  594. model.resetInstanceNode("/root/main/acptinfo/item");
  595. model.refresh();
  596. }
  597. /**
  598. * 접수, 변경, 취소
  599. */
  600. function fSaveAcpt(vMode) {
  601. var mesg = "";
  602. var mapfile = "";
  603. model.removeNodeset("/root/send/ordlist1/mainordlist/item");
  604. if (vMode == "i") {
  605. mesg = "신규";
  606. mapfile = "TXAED00102";
  607. }
  608. else if (vMode == "u") {
  609. mesg = "변경";
  610. mapfile = "TXAED00103";
  611. } else {
  612. mesg = "취소";
  613. mapfile = "TXAED00104";
  614. }
  615. if ( messageBox("치기공 접수 " + mesg + " 정보를","Q002")== 6 ) {
  616. // 검사실 코드
  617. if("" != model.getValue("/root/main/acptinfo/item/calcscorcd")){
  618. fGetExamCureCodeList();
  619. }
  620. if (vMode == "i") {
  621. if( model.getValue("/root/main/examcurecdlist/item/excuroomcd") == ""){
  622. messageBox("처방코드에 대한 검사실이 존재하지", "I011", "처방코드의 검사실을 확인하세요.");
  623. return 0;
  624. }
  625. // 신규시 접수번호 가지고 오기
  626. model.setValue("/root/send/srch/prodroom", model.getValue("/root/main/examcurecdlist/item/excuroomcd").substr(3,2));
  627. model.setValue("/root/send/srch/prcpdd", model.getValue("/root/main/acptinfo/item/prcpdd"));
  628. submit("TRAED00105");
  629. model.setValue("/root/main/acptinfo/item/acptno", model.getValue("/root/main/acptnum/item/acptno"));
  630. model.setValue("/root/main/acptinfo/item/acptyear", getCurrentDate().substring(0,4));
  631. }
  632. if( model.getValue("/root/main/acptinfo/item/rcptdd" ) == "") {
  633. model.makeValue("/root/main/acptinfo/item/rcptdd", model.getValue("/root/main/acptinfo/item/prcpdd" ) );
  634. }
  635. model.duplicate("/root/send/ordlist1/mainordlist", "/root/main/acptinfo/item[1]");
  636. model.setValue("/root/send/ordlist1/mainordlist/execrid1", getUserId() );
  637. model.setValue("/root/main/acptinfo/item/prodnm", cmb_prodid.label);
  638. model.setValue("/root/send/ordlist1/mainordlist/basesuppdeptcd" , model.getValue("/root/send/globalinstance/instance1"));
  639. if (vMode == "d") {
  640. model.removenode("/root/send/ordlist1/mainordlist/orddrnm");
  641. model.removenode("/root/send/ordlist1/mainordlist/rrgstno1");
  642. model.removenode("/root/send/ordlist1/mainordlist/rrgstno2");
  643. model.removenode("/root/send/ordlist1/mainordlist/hngnm");
  644. model.removenode("/root/send/ordlist1/mainordlist/execprcpuniqno");
  645. model.removenode("/root/send/ordlist1/mainordlist/pid");
  646. model.removenode("/root/send/ordlist1/mainordlist/age");
  647. model.removenode("/root/send/ordlist1/mainordlist/calcscorcd");
  648. model.removenode("/root/send/ordlist1/mainordlist/prcpnm");
  649. model.removenode("/root/send/ordlist1/mainordlist/rcptyn");
  650. model.removenode("/root/send/ordlist1/mainordlist/prcpgenrflag");
  651. model.removenode("/root/send/ordlist1/mainordlist/orddeptcd");
  652. model.removenode("/root/send/ordlist1/mainordlist/orddepthngnm");
  653. model.removenode("/root/send/ordlist1/mainordlist/orddrid");
  654. model.removenode("/root/send/ordlist1/mainordlist/prcpdd");
  655. }
  656. var ret = submit(mapfile);
  657. } else {
  658. return 0;
  659. }
  660. model.refresh();
  661. return ret;
  662. }
  663. /**
  664. * 검사실 코드 조회
  665. */
  666. function fGetExamCureCodeList() {
  667. model.resetInstanceNode("/root/main/examcurecdlist/item");
  668. model.setValue("/root/send/srch/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  669. model.setValue("/root/send/srch/srchexamcurecd", model.getValue("/root/main/acptinfo/item/calcscorcd"));
  670. submit("TRAEB00201");
  671. }
  672. ]]>
  673. </script>
  674. </xhtml:head>
  675. <xhtml:body guideline="1,1194;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  676. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  677. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">치기공 접수</caption>
  678. </group>
  679. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  680. <button id="btn_del" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  681. <caption>취소</caption>
  682. <script type="javascript" ev:event="DOMActivate">
  683. <![CDATA[
  684. if (model.getValue("/root/main/acptinfo/item/acptno") != "") {
  685. model.setValue("/root/main/acptinfo/item/cnclyn", "Y");
  686. var ret = fSaveAcpt("d");
  687. init = false;
  688. /////fGetScreenInit();
  689. /////fGetAcptList();
  690. } else {
  691. messageBox("선택된 접수정보가", "I004", "선택 후 다시 시도해주세요.");
  692. }
  693. ]]>
  694. </script>
  695. </button>
  696. <button id="btn_prt" class="btn6_letter6" style="left:1px; top:3px; width:56px; height:22px; ">
  697. <caption>기록표 출력</caption>
  698. <script type="javascript" ev:event="DOMActivate">
  699. <![CDATA[
  700. if(model.getValue("/root/main/acptinfo/item/acptno") != ""){
  701. model.makeNode("/root/hidden/rex");
  702. model.copyNode("/root/hidden/rex", "/root/main/acptinfo/item");
  703. if( model.getValue("/root/hidden/rex/metalcd") == "all" ){
  704. model.setValue("/root/hidden/rex/metalcd", "" );
  705. } else {
  706. model.setValue("/root/hidden/rex/metalcd", combo1.label );
  707. }
  708. if( model.getValue("/root/hidden/rex/prodcd") == "all" ){
  709. model.setValue("/root/hidden/rex/prodcd", "" );
  710. } else {
  711. model.setValue("/root/hidden/rex/prodcd", cmb_prodcd.label );
  712. }
  713. model.setValue("/root/hidden/rex/enddd", ipt_enddd.label);
  714. exeReportPreview("RPAED00100", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  715. } else {
  716. messageBox("접수된 환자의 기록만 출력이", "I006", "접수된 환자를 선택 후 출력하십시오.");
  717. }
  718. model.refresh();
  719. ]]>
  720. </script>
  721. </button>
  722. <button id="btn_save" class="btn4_letter2" style="left:1015px; top:3px; width:56px; height:22px; ">
  723. <caption>접수</caption>
  724. <script type="javascript" ev:event="DOMActivate">
  725. <![CDATA[
  726. if(model.getValue("/root/main/acptinfo/item/pid") != "") {
  727. if (model.getValue("/root/main/acptinfo/item/acptno") != "") {
  728. messageBox("이미 접수된 정보", "I009" , "접수정보를 변경하려면 변경 버튼을 누르세요.");
  729. } else {
  730. model.setValue("/root/send/ssmetalcd", model.getValue("/root/main/acptinfo/item/metalcd"));
  731. if( submit("TRAED00203") ){
  732. if ( parseFloat(model.getValue("/root/stckcnt/item/stockqty")) >= ( parseFloat(model.getValue("/root/main/acptinfo/item/useqty")) - parseFloat(model.getValue("/root/main/acptinfo/item/useqty_b")) ) ){
  733. init = false;
  734. model.setValue("/root/main/acptinfo/item/cnclyn", "N");
  735. var ret = fSaveAcpt("i");
  736. if (ret) { //true 이면
  737. btn_prt.dispatch("DOMActivate");
  738. fGetAcptList();
  739. }
  740. }else{
  741. messageBox("현재 재고량 보다 사용량이 더", "E003", "다시 입력해주세요.");
  742. }
  743. }
  744. }
  745. } else {
  746. messageBox("입력된 접수정보가", "I004" , "조회 후 접수하세요.");
  747. }
  748. ]]>
  749. </script>
  750. </button>
  751. <button id="btn_edit" class="btn4_letter2" style="left:1075px; top:3px; width:56px; height:22px; ">
  752. <caption>변경</caption>
  753. <script type="javascript" ev:event="DOMActivate">
  754. <![CDATA[
  755. if(model.getValue("/root/main/acptinfo/item/pid") != null) {
  756. if (model.getValue("/root/main/acptinfo/item/acptno") == "") {
  757. messageBox("입력된 접수번호가 ", "I004" , "신규접수인경우 접수 버튼을 누르세요.");
  758. } else {
  759. model.setValue("/root/send/ssmetalcd", model.getValue("/root/main/acptinfo/item/metalcd"));
  760. if( submit("TRAED00203") ){
  761. // 해당 금속의 재고량보다 사용량이 적을 경우
  762. if ( parseFloat(model.getValue("/root/stckcnt/item/stockqty")) >= ( parseFloat(model.getValue("/root/main/acptinfo/item/useqty")) - parseFloat(model.getValue("/root/main/acptinfo/item/useqty_b")) ) ){
  763. init = false;
  764. var ret = fSaveAcpt("u");
  765. fGetAcptList();
  766. }else{
  767. messageBox("현재 재고량 보다 사용량이 더", "E003", "다시 입력해주세요.");
  768. }
  769. }
  770. }
  771. } else {
  772. messageBox("선택된 접수 정보가 ", "I004");
  773. }
  774. ]]>
  775. </script>
  776. </button>
  777. <button id="btn_clear" class="btn4_letter3" style="left:943px; top:3px; width:68px; height:22px; ">
  778. <caption>초기화</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. init = true;
  782. fGetScreenInit();
  783. // fGetComboInit();
  784. ]]>
  785. </script>
  786. </button>
  787. <button id="btn_metalmng" class="btn6_letter10" visibility="hidden" style="left:106px; top:3px; width:104px; height:22px; ">
  788. <caption>기공물 관리대장 출력</caption>
  789. <script type="javascript" ev:event="DOMActivate">
  790. <![CDATA[
  791. model.resetInstanceNode("/root/rexprnt/acptlist/item");
  792. var acptlistCnt = getNodesetCount("/root/main/acptlist/item");
  793. var eqmtlistCnt = getNodesetCount("/root/main/eqmtlist/item");
  794. var eqmtcnlistCnt = getNodesetCount("/root/init/eqmtcnlist/item");
  795. if( acptlistCnt > 0 ) {
  796. for(var i = 1; i <= acptlistCnt ; i++ ) {
  797. model.makeNode("/root/rexprnt/acptlist/item["+ i +"]");
  798. model.copyNode("/root/rexprnt/acptlist/item["+ i +"]", "/root/main/acptlist/item["+ i +"]")
  799. //금속종류명 셋팅
  800. for(var a = 1; a <= eqmtlistCnt ; a++ ){
  801. if( model.getValue("/root/rexprnt/acptlist/item["+ i +"]/metalcd") == model.getValue("/root/main/eqmtlist/item[" + a + "]/basecd") ) {
  802. model.setValue("/root/rexprnt/acptlist/item["+ i +"]/metalcd" , model.getValue("/root/main/eqmtlist/item[" + a + "]/basecdflagdesc") );
  803. }
  804. }
  805. // 제작물명 셋팅
  806. for(var j = 1; j <= eqmtcnlistCnt ; j++ ){
  807. if( model.getValue("/root/rexprnt/acptlist/item["+ i +"]/prodcd") == model.getValue("/root/init/eqmtcnlist/item[" + j + "]/basecd") ) {
  808. model.setValue("/root/rexprnt/acptlist/item["+ i +"]/prodcd" , model.getValue("/root/init/eqmtcnlist/item[" + j + "]/basecdflagdesc") );
  809. }
  810. }
  811. }
  812. exeReportPreview("RPAED00101", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  813. } else {
  814. messageBox("환자LIST", "I004", "조회 또는 접수 후 출력하십시오.");
  815. }
  816. model.refresh();
  817. ]]>
  818. </script>
  819. </button>
  820. </group>
  821. <group id="grp_main" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  822. <group id="grp_srch" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  823. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  824. <line id="line16" class="line_4" style="x1:1115px; y1:7px; x2:1115px; y2:29px; "/>
  825. <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:531px; top:8px; width:70px; height:19px; ">
  826. <script type="javascript" ev:event="xforms-value-changed">
  827. <![CDATA[
  828. if (ipt_srchpid.value == "") {
  829. opt_srchhngnm.value = "";
  830. }
  831. ]]>
  832. </script>
  833. <script type="javascript" ev:event="onkeyup">
  834. <![CDATA[
  835. if ( event.keyCode == "13" ) {
  836. inputEnterKey("btn_select","DOMActivate");
  837. }
  838. ]]>
  839. </script>
  840. </input>
  841. <output id="opt_srchhngnm" ref="/root/send/srch/srchhngnm" class="output_search" style="left:624px; top:8px; width:80px; height:19px; "/>
  842. <button id="btn_select" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  843. <caption>조회</caption>
  844. <script type="javascript" ev:event="DOMActivate">
  845. <![CDATA[
  846. init = false;
  847. fGetScreenInit();
  848. fGetAcptList();
  849. ]]>
  850. </script>
  851. </button>
  852. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:342px; top:8px; width:90px; height:19px; "/>
  853. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:233px; top:8px; width:90px; height:19px; "/>
  854. <select1 id="cmb_srchsearch" ref="/root/send/srch/srchsearch" class="combo_search" appearance="minimal" style="left:102px; top:8px; width:60px; height:19px; ">
  855. <choices>
  856. <itemset nodeset="/root/temp_1/templst/V001">
  857. <label ref="cdnm"/>
  858. <value ref="cdid"/>
  859. </itemset>
  860. </choices>
  861. <script type="javascript" ev:event="xforms-value-changed">
  862. <![CDATA[
  863. var curDD = getCurrentDate();
  864. var idate = new Date();
  865. if (cmb_srchsearch.value == "03" ) {
  866. ipt_srchfromdd.disabled = false;
  867. ipt_srchtodd.disabled = false;
  868. } else {
  869. ipt_srchfromdd.disabled = true;
  870. ipt_srchtodd.disabled = true;
  871. }
  872. // 오늘이 선택되면 등록번호 와 성명을 지움
  873. if (cmb_srchsearch.value == "01") {
  874. model.setValue("/root/send/srch/srchpid", "" ); // 등록번호
  875. model.setValue("/root/send/srch/srchhngnm" , "" ); // 성명
  876. }
  877. if (cmb_srchsearch.value == "02") {
  878. // 일수만큼 차감하고 문자형으로 변형
  879. var chacng_date = idate.getAddDate(-7, "D").getDateFormat();
  880. model.setValue("/root/send/srch/srchfromdd" , chacng_date ); // 조회시작일자
  881. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  882. } else {
  883. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  884. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  885. }
  886. model.refresh();
  887. ]]>
  888. </script>
  889. </select1>
  890. <button id="btn_search1" class="icon_search" style="left:604px; top:10px; width:16px; height:16px; ">
  891. <caption/>
  892. <script type="javascript" ev:event="DOMActivate">
  893. <![CDATA[
  894. // 선택화면 Call
  895. modal("SPAVT00100");
  896. // 정상인 경우 가져온값 setting
  897. if (model.getValue("/root/temp/okflag") == "ok") {
  898. // 조회조건에 값넣기
  899. model.setValue("/root/send/srch/srchpid", model.getValue("/root/temp/templst/item/pid" ) );
  900. model.setValue("/root/send/srch/srchhngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
  901. // 임시 Node 삭제
  902. model.removenode("/root/temp/okflag");
  903. model.removenode("/root/temp/templst/item");
  904. model.refresh();
  905. }
  906. ]]>
  907. </script>
  908. </button>
  909. <caption id="lbl_srchpid" class="search_name" style="left:442px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  910. <caption id="lbl_srchsearch" class="search_name" style="left:12px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  911. <caption id="lbl_srchdd" class="search_name" style="left:170px; top:9px; width:60px; height:17px; ">기간 :</caption>
  912. <caption id="lbl_~" class="search_no_b" style="left:327px; top:10px; width:12px; height:17px; ">~</caption>
  913. <bool id="bool1" checkvalue="Y,N" ref="/root/send/srch/srchoutordyn" style="left:978px; top:8px; width:25px; height:20px; "/>
  914. <caption id="caption75" style="left:1001px; top:9px; width:52px; height:20px; ">외주</caption>
  915. <select1 id="combo2" ref="/root/send/srch/srchstate" class="combo_search" appearance="minimal" style="left:779px; top:8px; width:56px; height:19px; ">
  916. <choices>
  917. <itemset nodeset="/root/temp_1/templst/V002">
  918. <label ref="cdnm"/>
  919. <value ref="cdid"/>
  920. </itemset>
  921. </choices>
  922. </select1>
  923. <caption id="caption2" class="search_name" style="left:716px; top:9px; width:70px; height:17px; ">상태 :</caption>
  924. <caption id="caption4" class="search_name" style="left:843px; top:8px; width:65px; height:17px; ">금속 :</caption>
  925. <select1 id="cmb_metalcd" ref="/root/send/srch/srchmetalcd" class="combo_search" appearance="minimal" style="left:907px; top:8px; width:65px; height:19px; ">
  926. <choices>
  927. <itemset nodeset="/root/main/eqmtlist/item">
  928. <label ref="basecdflagdesc"/>
  929. <value ref="basecd"/>
  930. </itemset>
  931. </choices>
  932. </select1>
  933. <bool id="bool_srchcnclyn" checkvalue="Y,N" ref="/root/send/srch/srchcnclyn" style="left:1032px; top:8px; width:25px; height:20px; "/>
  934. <caption id="caption7" style="left:1055px; top:9px; width:52px; height:20px; ">취소여부</caption>
  935. </group>
  936. <multilinegrid id="grd_maininfo" nodeset="/root/main/acptlist/item" caption="접수번호^등록번호^성별^처방명^처방일자^처치일자^상태^금속종류^제작자^사용량^수량|접수번호^환자명^나이^처방명^예약일자^완료일자^상태^제작물^외주여부^사용량^수량" colsep="^" colwidth="100, 95, 60, 270, 95, 95, 70, 100, 100, 80, 80" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" focuscolor="#b9e5fb" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:75px; width:1195px; height:480px; text-align:center; ">
  937. <row>
  938. <col ref="acptno" rowspan="2" type="output" format="9999-99-9999"/>
  939. <col ref="pid" type="output"/>
  940. <col ref="sex" type="output"/>
  941. <col ref="prcpnm" rowspan="2" text-alig="left" style="text-align:left; "/>
  942. <col ref="prcpdd" format="yyyy-mm-dd"/>
  943. <col ref="execdd" format="yyyy-mm-dd"/>
  944. <col disabled="true" ref="state" rowspan="2" type="combo">
  945. <choices>
  946. <itemset nodeset="/root/main/codelist/item">
  947. <label ref="cdnm"/>
  948. <value ref="cdid"/>
  949. </itemset>
  950. </choices>
  951. </col>
  952. <col disabled="true" ref="metalcd" type="combo" style="text-align:center; ">
  953. <choices>
  954. <itemset nodeset="/root/main/eqmtlist/item">
  955. <label ref="basecdflagdesc"/>
  956. <value ref="basecd"/>
  957. </itemset>
  958. </choices>
  959. </col>
  960. <col disabled="true" ref="prodid" type="combo" style="text-align:center; ">
  961. <choices>
  962. <itemset nodeset="/root/main/execrcodelist/execrcode">
  963. <label ref="basecdflagdesc"/>
  964. <value ref="basecd"/>
  965. </itemset>
  966. </choices>
  967. </col>
  968. <col ref="useqty" rowspan="2" style="text-align:right; "/>
  969. <col ref="prcpqty" rowspan="2" style="text-align:right; "/>
  970. </row>
  971. <row>
  972. <col ref="hngnm" type="output"/>
  973. <col ref="age" type="output"/>
  974. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  975. <col ref="enddd" format="yyyy-mm-dd"/>
  976. <col disabled="true" ref="prodcd" type="combo" style="text-align:center; ">
  977. <choices>
  978. <itemset nodeset="/root/main/eqmtcnlist/item">
  979. <label ref="basecdflagdesc"/>
  980. <value ref="basecd"/>
  981. </itemset>
  982. </choices>
  983. </col>
  984. <col ref="outordyn" style="text-align:center; "/>
  985. </row>
  986. <script type="javascript" ev:event="ondblclick">
  987. <![CDATA[
  988. fGetAcptListClick();
  989. ]]>
  990. </script>
  991. </multilinegrid>
  992. <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:72px; height:14px; ">접수정보</caption>
  993. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  994. <group id="grp_pidinfo" style="left:0px; top:560px; width:210px; height:180px; ">
  995. <caption id="lbl_pidinfo" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">환자정보</caption>
  996. <line id="line19" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
  997. <caption id="lbl_acptno" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">접수번호</caption>
  998. <input id="ipt_acptno" ref="/root/main/acptinfo/item/acptno" class="input_essential" disabled="true" format="9999-99-9999" style="left:84px; top:25px; width:120px; height:19px; "/>
  999. <caption id="lbl_pid" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">등록번호</caption>
  1000. <input id="ipt_pid" ref="/root/main/acptinfo/item/pid" class="input_essential" maxlength="10" style="left:84px; top:47px; width:100px; height:19px; ">
  1001. <script type="javascript" ev:event="onkeyup">
  1002. <![CDATA[
  1003. inputEnterKey("btn_search2", "DOMActivate");
  1004. ]]>
  1005. </script>
  1006. </input>
  1007. <button id="btn_search2" class="icon_search" style="left:187px; top:48px; width:16px; height:16px; ">
  1008. <caption/>
  1009. <script type="javascript" ev:event="DOMActivate">
  1010. <![CDATA[
  1011. model.resetInstanceNode("/root/send/ordlist1/mainordlist");
  1012. // 선택화면 Call
  1013. clearParameter("SPAVT00110_PID");
  1014. model.getValue("/root/main/acptinfo/item/pid");
  1015. setParameter ("SPAVT00110_PID", ipt_pid.value);
  1016. modal("SPAED00100");
  1017. // 정상인 경우 가져온값 setting
  1018. if (model.getValue("/root/temp/okflag") == "ok") {
  1019. // 조회조건에 값넣기
  1020. model.setValue("/root/main/acptinfo/item/pid", model.getValue("/root/send/ordlist1/mainordlist/pid" ) );
  1021. model.setValue("/root/main/acptinfo/item/hngnm", model.getValue("/root/send/ordlist1/mainordlist/hngnm" ) );
  1022. model.setValue("/root/main/acptinfo/item/rrgstno1", model.getValue("/root/send/ordlist1/mainordlist/rrgstno1" ) );
  1023. model.setValue("/root/main/acptinfo/item/rrgstno2", model.getValue("/root/send/ordlist1/mainordlist/rrgstno2" ) );
  1024. model.setValue("/root/main/acptinfo/item/age", model.getValue("/root/send/ordlist1/mainordlist/age" ) );
  1025. model.setValue("/root/main/acptinfo/item/sex", model.getValue("/root/send/ordlist1/mainordlist/sna").substr(0 , 1) );
  1026. model.setValue("/root/main/acptinfo/item/calcscorcd", model.getValue("/root/send/ordlist1/mainordlist/calcscorcd" ) );
  1027. model.setValue("/root/main/acptinfo/item/prcpnm", model.getValue("/root/send/ordlist1/mainordlist/prcpnm" ) );
  1028. model.setValue("/root/main/acptinfo/item/orddrid", model.getValue("/root/send/ordlist1/mainordlist/orddrid" ) );
  1029. model.setValue("/root/main/acptinfo/item/orddrnm", model.getValue("/root/send/ordlist1/mainordlist/orddrnm" ) );
  1030. model.setValue("/root/main/acptinfo/item/orddeptcd", model.getValue("/root/send/ordlist1/mainordlist/orddeptcd" ) );
  1031. model.setValue("/root/main/acptinfo/item/orddepthngnm", model.getValue("/root/send/ordlist1/mainordlist/orddepthngnm" ) );
  1032. model.setValue("/root/main/acptinfo/item/prcpdd", model.getValue("/root/send/ordlist1/mainordlist/prcpdd" ) );
  1033. model.setValue("/root/main/acptinfo/item/prcpqty", model.getValue("/root/send/ordlist1/mainordlist/prcpqty" ) );
  1034. model.setValue("/root/main/acptinfo/item/rcptyn", model.getValue("/root/send/ordlist1/mainordlist/rcptyn" ) );
  1035. model.setValue("/root/main/acptinfo/item/insuflag", model.getValue("/root/send/ordlist1/mainordlist/insukind" ) );
  1036. model.setValue("/root/main/acptinfo/item/execprcpuniqno", model.getValue("/root/send/ordlist1/mainordlist/execprcpuniqno" ) );
  1037. model.setValue("/root/main/acptinfo/item/prcpgenrflag", model.getValue("/root/send/ordlist1/mainordlist/prcpgenrflag" ) );
  1038. model.setValue("/root/main/acptinfo/item/execdd", model.getValue("/root/send/ordlist1/mainordlist/execdt" ).substr(0,8) );
  1039. model.setValue("/root/main/acptinfo/item/useqty", "0" );
  1040. model.setValue("/root/main/acptinfo/item/useqty_b", "0" );
  1041. if( model.getValue("/root/send/ordlist1/mainordlist/rcptdd" ) == "") {
  1042. model.setValue("/root/main/acptinfo/item/rcptdd", model.getValue("/root/send/ordlist1/mainordlist/prcpdd" ) );
  1043. }else{
  1044. model.setValue("/root/main/acptinfo/item/rcptdd", model.getValue("/root/send/ordlist1/mainordlist/rcptdd" ) );
  1045. }
  1046. //20171123 참고사항 보여주기
  1047. model.setValue("/root/main/acptinfo/item/bigo", model.getValue("/root/send/ordlist1/mainordlist/prcpdelivefact" ) );
  1048. // 외래일 경우에만 수납금액 조회 2010.12.20
  1049. //입원일 경우도 수납금액 조회하도록 요청 by kya 2011.07.08
  1050. //if( model.getValue("/root/send/ordlist1/mainordlist/ioflag") == "O" ){
  1051. if( submit("TRAED00109") ) {
  1052. var total = 0;
  1053. if(model.getValue("/root/main/rcptamtlst/item/hospaddamt") == "" ){
  1054. model.makeValue("/root/main/rcptamtlst/item/hospaddamt", "0");
  1055. }
  1056. if(model.getValue("/root/main/rcptamtlst/item/calcamt") == ""){
  1057. model.makeValue("/root/main/rcptamtlst/item/calcamt", "0");
  1058. }
  1059. total = parseFloat(model.getValue("/root/main/rcptamtlst/item/hospaddamt")) + parseFloat(model.getValue("/root/main/rcptamtlst/item/calcamt"));
  1060. // alert( total + " = " + model.getValue("/root/main/rcptamtlst/item/ownbamt") + " + " + model.getValue("/root/main/rcptamtlst/item/oscldiscamt") );
  1061. model.setValue("/root/main/acptinfo/item/rcptamt", total );
  1062. model.removenode("/root/main/rcptamtlst");
  1063. }
  1064. //}
  1065. // 치식사항 조회
  1066. model.setValue("/root/send/srch/prcpno", model.getValue("/root/send/ordlist1/mainordlist/prcpno" ) );
  1067. model.setValue("/root/send/srch/prcpdd", model.getValue("/root/send/ordlist1/mainordlist/prcpdd" ) );
  1068. submit("TRAED00107");
  1069. /////////////////// 치석사항 나누기 //////////////////
  1070. var tootfact11 = "";
  1071. var tootfact12 = "";
  1072. var tootfact21 = "";
  1073. var tootfact22 = "";
  1074. var tootfact = model.getValue("/root/main/tootcode/item/tootfact");
  1075. if( tootfact != "" ) {
  1076. var tootarry = new Array();
  1077. tootarry = tootfact.split("#");
  1078. for ( i = 1 ; i < tootarry.length ; i++ ) {
  1079. if("1" == tootarry[i].substring(0,1) || "5" == tootarry[i].substring(0,1) ) {
  1080. tootfact11 = tootfact11 + " " + tootarry[i].substring(1,2);
  1081. } else if ("2" == tootarry[i].substring(0,1) || "6" == tootarry[i].substring(0,1) ) {
  1082. tootfact12 = tootfact12 + " " + tootarry[i].substring(1,2);
  1083. } else if ("3" == tootarry[i].substring(0,1) || "7" == tootarry[i].substring(0,1) ) {
  1084. tootfact21 = tootfact21 + " " + tootarry[i].substring(1,2);
  1085. } else if ("4" == tootarry[i].substring(0,1) || "8" == tootarry[i].substring(0,1) ) {
  1086. tootfact22 = tootfact22 + " " + tootarry[i].substring(1,2);
  1087. } else {
  1088. tootfact11 = tootfact11 + " " + tootarry[i].substring(1,2);
  1089. }
  1090. }
  1091. /////////////////// #11, #21 치식 정렬 바꾸기 //////////////////
  1092. var temp11 = "";
  1093. var tootarry_11 = new Array();
  1094. var last_11 = "";
  1095. tootarry_11 = tootfact11.split(" ");
  1096. for ( var i = 0 ; i < tootfact11.length ; i++ ) {
  1097. for( var j = 1 ; j < tootfact11.length ; j++ ) {
  1098. if( tootarry_11[i] > tootarry_11[j] ){
  1099. temp11 = tootarry_11[i];
  1100. tootarry_11[i] = tootarry_11[j];
  1101. tootarry_11[j] = temp11;
  1102. }
  1103. }
  1104. }
  1105. var temp21 = "";
  1106. var tootarry_21 = new Array();
  1107. var last_21 = "";
  1108. tootarry_21 = tootfact21.split(" ");
  1109. for ( var i = 0 ; i < tootfact21.length ; i++ ) {
  1110. for( var j = 1 ; j < tootfact21.length ; j++ ) {
  1111. if( tootarry_21[i] > tootarry_21[j] ){
  1112. temp21 = tootarry_21[i];
  1113. tootarry_21[i] = tootarry_21[j];
  1114. tootarry_21[j] = temp21;
  1115. }
  1116. }
  1117. }
  1118. }
  1119. for ( var i = 0 ; i < tootarry_11.length ; i++ ) {
  1120. last_11 = last_11 + " " + tootarry_11[i];
  1121. }
  1122. for ( var i = 0 ; i < tootarry_21.length ; i++ ) {
  1123. last_21 = last_21 + " " + tootarry_21[i];
  1124. }
  1125. model.setValue("/root/main/acptinfo/item/tootfact11", last_11 );
  1126. model.setValue("/root/main/acptinfo/item/tootfact12", tootfact12);
  1127. model.setValue("/root/main/acptinfo/item/tootfact21", last_21 );
  1128. model.setValue("/root/main/acptinfo/item/tootfact22", tootfact22 );
  1129. // 입.외구분 셋팅
  1130. if(model.getValue("/root/main/acptinfo/item/prcpgenrflag") == "O" ) {
  1131. combo11.value = "O";
  1132. }
  1133. if(model.getValue("/root/main/acptinfo/item/prcpgenrflag") == "I" ) {
  1134. combo11.value = "I";
  1135. }
  1136. if(model.getValue("/root/main/acptinfo/item/prcpgenrflag") == "H" ) {
  1137. combo11.value = "H";
  1138. }
  1139. model.setValue("/root/send/srch/calcscorcd", model.getValue("/root/send/ordlist1/mainordlist/calcscorcd" ) );
  1140. submit("TRAED00108");
  1141. model.setValue("/root/main/acptinfo/item/metalcd" , model.getValue("/root/main/rsltclst/item/rsltclscd1") );
  1142. combo1.dispatch("xforms-value-changed");
  1143. model.setValue("/root/main/acptinfo/item/prodcd" , model.getValue("/root/main/rsltclst/item/rsltclscd2") );
  1144. // 임시 Node 삭제
  1145. model.removenode("/root/temp/okflag");
  1146. model.refresh();
  1147. }
  1148. ]]>
  1149. </script>
  1150. </button>
  1151. <caption id="caption1" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 명</caption>
  1152. <output id="opt_hngnm" ref="/root/main/acptinfo/item/hngnm" class="output_search" style="left:84px; top:69px; width:120px; height:19px; "/>
  1153. <caption id="lbl_rrgstno" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">주민번호</caption>
  1154. <input id="ipt_rrgstno1" ref="/root/main/acptinfo/item/rrgstno1" class="output_search" maxlength="6" format="999999" style="left:84px; top:91px; width:50px; height:19px; "/>
  1155. <caption id="caption48" class="search_n_b" style="left:136px; top:93px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1156. <input id="ipt_rrgstno2" ref="/root/main/acptinfo/item/rrgstno2" class="output_search" maxlength="7" format="9999999" style="left:149px; top:91px; width:55px; height:19px; "/>
  1157. <caption id="lbl_sexage" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 별</caption>
  1158. <output id="opt_sex" ref="/root/main/acptinfo/item/sex" class="output_search" style="left:84px; top:113px; width:50px; height:19px; "/>
  1159. <caption id="caption3" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">나 이</caption>
  1160. <output id="opt_age" ref="/root/main/acptinfo/item/age" class="output_search" style="left:84px; top:135px; width:50px; height:19px; "/>
  1161. <caption id="lbl_telno" class="cell_1" style="left:0px; top:157px; width:80px; height:20px; text-align:center; vertical-align:middle; ">전화번호</caption>
  1162. <input id="ipt_telno" ref="/root/main/acptinfo/item/telno" class="input_default" imemode="hangul" maxlength="100" style="left:84px; top:157px; width:120px; height:19px; "/>
  1163. </group>
  1164. <group id="grp_prcpinfo" disabled="true" style="left:207px; top:560px; width:781px; height:180px; ">
  1165. <caption id="caption31" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">처방정보</caption>
  1166. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:781px; y2:20px; "/>
  1167. <caption id="lbl_rsrvdd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">예약일자</caption>
  1168. <input id="ipt_rsrvdd" ref="/root/main/acptinfo/item/rsrvdd" class="input_essential" inputtype="date" style="left:84px; top:25px; width:100px; height:19px; "/>
  1169. <caption id="lbl_prcpdd" class="cell_1" style="left:188px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방일자</caption>
  1170. <input id="ipt_prcpdd" ref="/root/main/acptinfo/item/prcpdd" class="input_essential" disabled="true" inputtype="date" style="left:272px; top:25px; width:100px; height:19px; "/>
  1171. <caption id="lbl_execdd" class="cell_1" style="left:376px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처치일자</caption>
  1172. <input id="ipt_execdd" ref="/root/main/acptinfo/item/execdd" class="input_essential" inputtype="date" style="left:460px; top:25px; width:100px; height:19px; "/>
  1173. <caption id="lbl_prcp" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방명</caption>
  1174. <input id="ipt_calcscorcd" ref="/root/main/acptinfo/item/calcscorcd" class="input_default" style="left:84px; top:47px; width:100px; height:19px; "/>
  1175. <input id="opt_prcpnm" ref="/root/main/acptinfo/item/prcpnm" class="input_default" style="left:188px; top:47px; width:591px; height:19px; "/>
  1176. <caption id="lbl_orddr" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방의</caption>
  1177. <input id="ipt_orddrid" ref="/root/main/acptinfo/item/orddrid" class="input_default" style="left:84px; top:69px; width:100px; height:19px; "/>
  1178. <input id="opt_orddrnm" ref="/root/main/acptinfo/item/orddrnm" class="input_default" style="left:188px; top:69px; width:184px; height:19px; "/>
  1179. <caption id="lbl_orddept" class="cell_1" style="left:376px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방과</caption>
  1180. <input id="ipt_orddeptcd" ref="/root/main/acptinfo/item/orddeptcd" class="input_default" style="left:460px; top:69px; width:100px; height:19px; "/>
  1181. <input id="opt_orddepthngnm" ref="/root/main/acptinfo/item/orddepthngnm" class="input_default" style="left:564px; top:69px; width:215px; height:19px; "/>
  1182. <caption id="lbl_state" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">상태</caption>
  1183. <select1 id="cmb_state" ref="/root/main/acptinfo/item/state" class="combo_search" appearance="minimal" style="left:84px; top:91px; width:100px; height:19px; ">
  1184. <choices>
  1185. <itemset nodeset="/root/main/codelist/item">
  1186. <label ref="cdnm"/>
  1187. <value ref="cdid"/>
  1188. </itemset>
  1189. </choices>
  1190. </select1>
  1191. <caption id="caption38" class="cell_1" style="left:188px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납여부</caption>
  1192. <select1 id="combo10" ref="/root/main/acptinfo/item/rcptyn" class="combo_search" appearance="minimal" style="left:272px; top:91px; width:100px; height:19px; color:#c0c0c0; ">
  1193. <choices>
  1194. <itemset nodeset="/root/main/codelist2/item">
  1195. <label ref="cdnm"/>
  1196. <value ref="cdid"/>
  1197. </itemset>
  1198. </choices>
  1199. <script type="javascript" ev:event="xforms-value-changed">
  1200. <![CDATA[
  1201. // model.setValue("/root/main/partinfo/item/dntgbm", "B001");
  1202. ]]>
  1203. </script>
  1204. </select1>
  1205. <caption id="caption40" class="cell_1" style="left:376px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">입/외구분</caption>
  1206. <select1 id="combo11" ref="/root/main/acptinfo/item/prcpgenrflag" class="combo_search" appearance="minimal" style="left:460px; top:91px; width:100px; height:19px; ">
  1207. <choices>
  1208. <itemset nodeset="/root/main/codelist1/item">
  1209. <label ref="cdnm"/>
  1210. <value ref="cdid"/>
  1211. </itemset>
  1212. </choices>
  1213. </select1>
  1214. <caption id="lbl_tootfact" class="cell_1" style="left:0px; top:113px; width:80px; height:42px; text-align:center; vertical-align:middle; ">치식</caption>
  1215. <caption id="lbl_up" class="cell_1" style="left:84px; top:113px; width:25px; height:20px; text-align:left; vertical-align:middle; ">상</caption>
  1216. <input id="ipt_tootfact11" ref="/root/main/acptinfo/item/tootfact11" class="input_default" style="left:113px; top:113px; width:127px; height:19px; text-align:right; padding-right:5; "/>
  1217. <input id="ipt_tootfact12" ref="/root/main/acptinfo/item/tootfact12" class="input_default" style="left:245px; top:113px; width:127px; height:19px; text-align:left; "/>
  1218. <caption id="lbl_down" class="cell_1" style="left:84px; top:135px; width:25px; height:20px; text-align:left; vertical-align:middle; ">하</caption>
  1219. <input id="ipt_tootfact21" ref="/root/main/acptinfo/item/tootfact21" clas="input_default" style="left:113px; top:135px; width:127px; height:19px; text-align:right; padding-right:5; "/>
  1220. <input id="ipt_tootfact22" ref="/root/main/acptinfo/item/tootfact22" class="input_default" style="left:245px; top:135px; width:127px; height:19px; text-align:left; "/>
  1221. <caption id="lbl_insuflag" class="cell_1" style="left:376px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">보험종류</caption>
  1222. <select1 id="cmb_insuflag" ref="/root/main/acptinfo/item/insuflag" class="combo_search" appearance="minimal" style="left:460px; top:113px; width:288px; height:19px; ">
  1223. <choices>
  1224. <itemset nodeset="/root/init/baseinfo/initinsukind/P0008">
  1225. <label ref="cdnm"/>
  1226. <value ref="cdid"/>
  1227. </itemset>
  1228. </choices>
  1229. </select1>
  1230. <caption id="caption46" class="cell_1" style="left:376px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납금액</caption>
  1231. <input id="input29" ref="/root/main/acptinfo/item/rcptamt" class="input_default" format="#,###" style="left:460px; top:135px; width:100px; height:19px; text-align:right; "/>
  1232. <caption id="caption5" style="left:562px; top:137px; width:25px; height:15px; ">원</caption>
  1233. <caption id="caption8" class="cell_1" style="left:565px; top:90px; width:55px; height:20px; text-align:center; vertical-align:middle; ">수량</caption>
  1234. <input id="input1" ref="/root/main/acptinfo/item/prcpqty" class="input_default" style="left:624px; top:91px; width:60px; height:19px; "/>
  1235. </group>
  1236. <group id="grp_prodinfo" style="left:991px; top:560px; width:204px; height:180px; ">
  1237. <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">제작정보</caption>
  1238. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
  1239. <caption id="lbl_prodcd" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작물</caption>
  1240. <select1 id="cmb_prodcd" ref="/root/main/acptinfo/item/prodcd" class="combo_search" appearance="minimal" style="left:84px; top:48px; width:120px; height:19px; ">
  1241. <choices>
  1242. <itemset nodeset="/root/main/eqmtcnlist/item">
  1243. <label ref="basecdflagdesc"/>
  1244. <value ref="basecd"/>
  1245. </itemset>
  1246. </choices>
  1247. </select1>
  1248. <caption id="lbl_enddd" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">완성일자</caption>
  1249. <input id="ipt_enddd" ref="/root/main/acptinfo/item/enddd" class="input_essential" inputtype="date" style="left:84px; top:70px; width:120px; height:19px; "/>
  1250. <caption id="lbl_metalcd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">금속종류</caption>
  1251. <select1 id="combo1" ref="/root/main/acptinfo/item/metalcd" class="combo_search" appearance="minimal" style="left:84px; top:25px; width:120px; height:19px; ">
  1252. <choices>
  1253. <itemset nodeset="/root/main/eqmtlist/item">
  1254. <label ref="basecdflagdesc"/>
  1255. <value ref="basecd"/>
  1256. </itemset>
  1257. </choices>
  1258. <script type="javascript" ev:event="xforms-value-changed">
  1259. <![CDATA[
  1260. model.setValue("/root/send/srch/basecdcnts", model.getValue("/root/main/acptinfo/item/metalcd" ));
  1261. model.setValue("/root/send/basecdflag", "I");
  1262. submit("TRAED00104");
  1263. ]]>
  1264. </script>
  1265. </select1>
  1266. <caption id="lbl_useqty" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">사용량</caption>
  1267. <input id="ipt_useqty" ref="/root/main/acptinfo/item/useqty" class="input_default" format="###.#" mask="include" roundmode="round" roundposition="-3" showmask="true" style="left:84px; top:91px; width:120px; height:19px; text-align:right; ">
  1268. <script type="javascript" ev:event="xforms-value-changed">
  1269. <![CDATA[
  1270. var useqty = ipt_useqty.label;
  1271. if( useqty >= 1000 ) {
  1272. messageBox ( "사용량은 999 이하의 양을" , "C001" );
  1273. ipt_useqty.value = "";
  1274. }
  1275. ]]>
  1276. </script>
  1277. </input>
  1278. <caption id="lbl_prodid" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작자명</caption>
  1279. <select1 id="cmb_prodid" ref="/root/main/acptinfo/item/prodid" class="combo_search" appearance="minimal" style="left:84px; top:113px; width:120px; height:19px; ">
  1280. <choices>
  1281. <itemset nodeset="/root/main/execrcodelist/execrcode">
  1282. <label ref="basecdflagdesc"/>
  1283. <value ref="basecd"/>
  1284. </itemset>
  1285. </choices>
  1286. <script type="javascript" ev:event="xforms-value-changed">
  1287. <![CDATA[
  1288. model.setValue("/root/main/acptinfo/item/prodnm", cmb_prodid.label);
  1289. ]]>
  1290. </script>
  1291. </select1>
  1292. <caption id="lbl_outordyn" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">외주여부</caption>
  1293. <select1 id="cmb_outordyn" ref="/root/main/acptinfo/item/outordyn" class="combo_search" appearance="minimal" style="left:84px; top:135px; width:120px; height:19px; ">
  1294. <choices>
  1295. <itemset nodeset="/root/init/comboYn/item">
  1296. <label ref="label"/>
  1297. <value ref="value"/>
  1298. </itemset>
  1299. </choices>
  1300. <script type="javascript" ev:event="xforms-value-changed">
  1301. <![CDATA[
  1302. model.setValue("/root/main/acptinfo/item/outordyn", cmb_outordyn.label);
  1303. ]]>
  1304. </script>
  1305. </select1>
  1306. </group>
  1307. <caption id="lbl_bigo" class="cell_1" style="left:207px; top:717px; width:80px; height:20px; text-align:center; vertical-align:middle; ">비고</caption>
  1308. <input id="ipt_bigo" ref="/root/main/acptinfo/item/bigo" class="input_default" imemode="hangul" maxlength="100" style="left:291px; top:717px; width:697px; height:19px; "/>
  1309. </group>
  1310. </xhtml:body>
  1311. </xhtml:html>