SMAED00100_치기공접수$.xrw 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060
  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>
  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. <prcpno/>
  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. </item>
  60. </acptinfo>
  61. <acptlist>
  62. <item>
  63. <mode/>
  64. <acptno/>
  65. <pid/>
  66. <hngnm/>
  67. <rrgstno1/>
  68. <rrgstno2/>
  69. <sex/>
  70. <age/>
  71. <telno/>
  72. <calcscorcd/>
  73. <prcpnm/>
  74. <rcptyn/>
  75. <prcpgenrflag/>
  76. <orddeptcd/>
  77. <orddepthngnm/>
  78. <orddrid/>
  79. <orddrnm/>
  80. <insuflag/>
  81. <prcpno/>
  82. <prcpdd/>
  83. <rsrvdd/>
  84. <execdd/>
  85. <state/>
  86. <rcptamt/>
  87. <tootfact11/>
  88. <tootfact12/>
  89. <tootfact21/>
  90. <tootfact22/>
  91. <prodroom/>
  92. <prodcd/>
  93. <enddd/>
  94. <metalcd/>
  95. <useqty/>
  96. <prodid/>
  97. <prodnm/>
  98. <outordyn/>
  99. <bigo/>
  100. <cnclyn/>
  101. </item>
  102. </acptlist>
  103. </main>
  104. <send>
  105. <srch>
  106. <srchsearch/>
  107. <srchfromdd/>
  108. <srchtodd/>
  109. <srchpid/>
  110. <srchhngnm/>
  111. <srchstate/>
  112. <srchcnclyn/>
  113. </srch>
  114. <req>
  115. <savedata/>
  116. </req>
  117. </send>
  118. <init>
  119. <combobscdlst/>
  120. </init>
  121. <hidden>
  122. <item/>
  123. </hidden>
  124. <temp>
  125. <templst/>
  126. </temp>
  127. </root>
  128. </instance>
  129. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  130. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  132. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  133. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  134. <script type="javascript" ev:event="xforms-ready">
  135. <![CDATA[
  136. fGetComboInit();
  137. fGetScreenInit();
  138. fGetAcptList();
  139. ]]>
  140. </script>
  141. <submission id="TRAVB00001"/>
  142. <submission id="TRAVB00002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/comboptcdlst"/>
  143. <submission id="TRAVB00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/combogtcdlst"/>
  144. <submission id="TRAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/acptlist"/>
  145. <submission id="TXAED00101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/main/acptinfo/item" replace="instance" resultref="/root/main/acptinfo"/>
  146. </model>
  147. <script type="javascript">
  148. <![CDATA[
  149. /**
  150. * 콤보 초기화
  151. */
  152. function fGetComboInit() {
  153. tbGetBscdList( new Array("C06", "C08", "C09", "C10", "C11", "C12", "C13", "C14", "C15", "C16", "C17", "C18"),
  154. new Array("/root/init/combobscdlst", // C06 구분
  155. "/root/init/combobscdlst", // C08 상태
  156. "/root/init/combobscdlst", // C09 유무구분
  157. "/root/init/combobscdlst", // C10 ABO형
  158. "/root/init/combobscdlst", // C11 RH형
  159. "/root/init/combobscdlst", // C12 +/-
  160. "/root/init/combobscdlst", // C12 조회조건
  161. "/root/init/combobscdlst", // C14 기증구분
  162. "/root/init/combobscdlst", // C15 이식여부
  163. "/root/init/combobscdlst", // C16 처리법
  164. "/root/init/combobscdlst", // C17 멸균법
  165. "/root/init/combobscdlst") ); // C18 방향
  166. // 코드없는값 첫번째 내용 삭제
  167. model.removeNodeset("/root/init/combobscdlst/C08[" + 1 + "]");
  168. model.removeNodeset("/root/init/combobscdlst/C09[" + 1 + "]");
  169. model.removeNodeset("/root/init/combobscdlst/C13[" + 1 + "]");
  170. model.removeNodeset("/root/init/combobscdlst/C14[" + 1 + "]");
  171. model.removeNodeset("/root/init/combobscdlst/C15[" + 1 + "]");
  172. model.removeNodeset("/root/init/combobscdlst/C19[" + 1 + "]");
  173. model.refresh();
  174. // 콤보선택
  175. cmb_srchsearch.select(1);
  176. // 부위콤보 List
  177. model.removeNodeset("/root/init/comboptcdlst/item");
  178. model.refresh();
  179. submit("TRAVB00002");
  180. // Graft Type List
  181. model.removeNodeset("/root/init/combogtcdlst/item");
  182. model.refresh();
  183. model.setValue("/root/send/srchuseyn", "Y");
  184. submit("TRAVB00003");
  185. }
  186. /**
  187. * 화면 기본 초기화
  188. */
  189. function fGetScreenInit() {
  190. var curDD = getCurrentDate();
  191. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  192. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  193. model.removeNodeset("/root/main/acptlist/item");
  194. model.resetInstanceNode("/root/main/acptinfo/item");
  195. /*
  196. model.removeNodeset("/root/main/partlist/item");
  197. model.resetInstanceNode("/root/main/partinfo/item");
  198. model.resetInstanceNode("/root/main/baseinsptinfo/item");
  199. model.removeNodeset("/root/main/etcinsptlist/item");
  200. model.resetInstanceNode("/root/main/partinfo1");
  201. model.removeNodeset("/root/main/proclist1/item");
  202. model.removeNodeset("/root/main/proclist2/item");
  203. model.removeNodeset("/root/main/batchlist/item");
  204. model.resetInstanceNode("/root/main/batchinfo/item");
  205. // GRAFTNO는 초기화, 등록일자 및 채취일자 적용
  206. model.setValue("/root/main/acptinfo/item/orddd", getCurrentDate() );
  207. model.setValue("/root/main/acptinfo/item/pickdd", getCurrentDate() );
  208. model.setValue("/root/main/acptinfo/item/dntgbd", "1");
  209. model.setValue("/root/main/acptinfo/item/dntynd", "Y");
  210. model.setValue("/root/main/acptinfo/item/bntynd", "Y");
  211. model.setValue("/root/main/acptinfo/item/chrynd", "Y");
  212. fGetScreenChangSet1();
  213. fGetScreenChangSet2();
  214. */
  215. model.refresh();
  216. }
  217. /**
  218. * 화면 변경 setting
  219. */
  220. function fGetScreenChangSet1() {
  221. /* 생존기증인경우 사망원인 및 사망일시 입력불가 */
  222. if (cmb_dntgb.value == 1 || cmb_dntgb.value == "") {
  223. ipt_deathsau.disabled = true;
  224. ipt_deathdt.disabled = true;
  225. } else {
  226. ipt_deathsau.disabled = false;
  227. ipt_deathdt.disabled = false;
  228. }
  229. }
  230. function fGetScreenChangSet2() {
  231. /* 폐기 등록시 변경 */
  232. if (cmb_state.value == "X") {
  233. cmb_delstep.disabled = false;
  234. cmb_delsau.disabled = false;
  235. ipt_deldd.disabled = false;
  236. } else {
  237. model.setValue("root/main/partinfo/item/delstepd", "");
  238. model.setValue("root/main/partinfo/item/delsaud", "");
  239. model.setValue("root/main/partinfo/item/deldd", "");
  240. model.refresh();
  241. cmb_delstep.disabled = true;
  242. cmb_delsau.disabled = true;
  243. ipt_deldd.disabled = true;
  244. }
  245. cmb_delsau.dispatch("xforms-value-changed");
  246. }
  247. /**
  248. * 기증정보 List 조회
  249. */
  250. function fGetAcptList() {
  251. /*
  252. // 조회조건이 전체 인경우는 등록번호를 지정해야함.
  253. if (cmb_srchsearch.value == 1) {
  254. if (model.getValue("/root/send/srch/srchpid") == "") {
  255. messageBox("조회조건이 전체인경우는 등록번호를 " , "C001");
  256. return;
  257. }
  258. }
  259. */
  260. var ret = submit("TRAED00101");
  261. return ret;
  262. }
  263. /**
  264. * 기증정보 Info 조회
  265. */
  266. function fGetAcptInfo() {
  267. // 조회조건 넘기기
  268. var idx = grd_maininfo.row;
  269. model.setValue("/root/send/graftno", model.getValue("/root/main/acptlist/item[ " + idx + "]/graftno") );
  270. var ret = submit("TRAVT00104");
  271. return ret;
  272. }
  273. /**
  274. * 접수정보 저장
  275. */
  276. function fSaveAcpt(vMode) {
  277. var mesg = "";
  278. if (vMode == "i") {
  279. mesg = "신규";
  280. }
  281. else if (vMode == "u") {
  282. mesg = "변경";
  283. } else {
  284. mesg = "취소";
  285. }
  286. model.setValue("/root/main/acptinfo/item/mode", vMode);
  287. if ( messageBox("조직은행 접수 " + mesg + " 정보를","Q002")== 6 ) {
  288. var ret = submit("TXAVT00101");
  289. }
  290. return ret;
  291. }
  292. /**
  293. * 부위정보 List 조회
  294. */
  295. function fGetPartList() {
  296. model.removeNodeset("/root/main/partlist/item");
  297. model.resetInstanceNode("/root/main/partinfo/item");
  298. model.resetInstanceNode("/root/main/partinfo1");
  299. cmb_delsau.dispatch("xforms-value-changed");
  300. var ret = submit("TRAVT00105");
  301. return ret;
  302. }
  303. /**
  304. * partseq max 값
  305. */
  306. function fmaxValue(grd_temp, nodename) {
  307. var maxValue = 1;
  308. var j;
  309. var Check = false;
  310. if (grd_temp.rows >= 1 ) {
  311. // 값찾기
  312. for (var i = 1; i <= 40; i++) {
  313. Check = false;
  314. // grid에서 같은 값 찾기
  315. for (j = 1; j <= grd_temp.rows; j++) {
  316. if (model.getValue(grd_temp.nodeset + "[" + j + "]/" + nodename) == i) {
  317. Check = true;
  318. break;
  319. }
  320. }
  321. if (Check == false) {
  322. return i;
  323. }
  324. }
  325. }
  326. }
  327. /**
  328. * 부위정보 저장
  329. */
  330. function fSavepart(grd_tmp) {
  331. if( ! getGridUpdateData(grd_tmp) )
  332. {
  333. alert("저장할 내역이 없습니다.");
  334. return ;
  335. }
  336. var ret = false;
  337. if ( messageBox("조직은행 부위 정보를","Q002")== 6 ) {
  338. model.setValue("/root/send/req/savedata", grd_tmp.getUpdateData() );
  339. ret = submit("TXAVT00102");
  340. }
  341. return ret;
  342. }
  343. /**
  344. * 부위상태 저장
  345. */
  346. function fSavepart_State(grd_tmp) {
  347. var ret = false;
  348. if ( messageBox("조직은행 적합성판정 정보를","Q002")== 6 ) {
  349. ret = submit("TXAVT00107");
  350. }
  351. return ret;
  352. }
  353. /**
  354. * 기본검사 조회
  355. */
  356. function fGetBaseInfo() {
  357. model.resetInstanceNode("/root/main/baseinsptinfo/item");
  358. var ret = submit("TRAVT00106");
  359. return ret;
  360. }
  361. /**
  362. * 기본검사 저장
  363. */
  364. function fSavebase() {
  365. if ( messageBox("조직은행 기본검사 정보를","Q002")== 6 ) {
  366. alert(model.getValue("/root/main/acptinfo/item/graftno") );
  367. if (model.getValue("/root/main/baseinsptinfo/item/graftno") == "") {
  368. model.setValue("/root/main/baseinsptinfo/item/graftno", model.getValue("/root/main/acptinfo/item/graftno") );
  369. alert(model.getValue("/root/main/baseinsptinfo/item/graftno"));
  370. model.setValue("/root/main/baseinsptinfo/item/mode", "i");
  371. } else {
  372. model.setValue("/root/main/baseinsptinfo/item/mode", "u");
  373. }
  374. submit("TXAVT00103");
  375. }
  376. }
  377. /**
  378. * 기타검사 조회
  379. */
  380. function fGetEtciList() {
  381. model.removeNodeset("/root/main/etcinsptlist/item");
  382. var ret = submit("TRAVT00107");
  383. return ret;
  384. }
  385. /**
  386. * 기타검사 저장
  387. */
  388. function fSaveetci() {
  389. if( ! getGridUpdateData(grd_etcinfo) )
  390. {
  391. alert("저장할 내역이 없습니다.");
  392. return ;
  393. }
  394. var rsv_cnt = grd_etcinfo.rows ;
  395. var sNode = grd_etcinfo.nodeset+ "[";
  396. for( var i = 1; i < rsv_cnt ; i++){
  397. if( model.getValue(sNode + i + "]/insptcdd" ) == "") {
  398. alert("기타검사의 값이 비어있습니다.");
  399. return ;
  400. }
  401. }
  402. var ret = false;
  403. if ( messageBox("기타검사정보를","Q002")==6 ) {
  404. model.setValue("/root/send/req/savedata", grd_etcinfo.getUpdateData());
  405. ret = submit("TXAVT00104");
  406. }
  407. return ret;
  408. }
  409. /**
  410. * 처리 List
  411. */
  412. function fGetProcList(vMode) {
  413. var ret = null;
  414. if (vMode == "1") {
  415. model.removeNodeset("/root/main/proclist1/item");
  416. model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
  417. model.setValue("/root/send/proc/bandcd", "C04" );
  418. model.setValue("/root/send/proc/bandmcd", "P01" );
  419. submit("TRAVT00108");
  420. } else {
  421. model.removeNodeset("/root/main/proclist2/item");
  422. model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
  423. model.setValue("/root/send/proc/bandcd", "C04" );
  424. model.setValue("/root/send/proc/bandmcd", "M01" );
  425. submit("TRAVT00109");
  426. }
  427. }
  428. /**
  429. * 팝업창 Call 및 파라메타 설정
  430. */
  431. function fsetPopupCall(param2) {
  432. // 선택화면 Call
  433. clearParameter("SPAVB00100_PARAM1");
  434. setParameter ("SPAVB00100_PARAM1", "T");
  435. clearParameter("SPAVB00100_PARAM2");
  436. setParameter ("SPAVB00100_PARAM2", param2);
  437. modal("SPAVB00100");
  438. }
  439. /**
  440. * Grid에 선택된값 추가
  441. */
  442. function fsetGrideAdd1(tmp_grd, i, maxrow) {
  443. var curDD = getCurrentDate();
  444. tmp_grd.addRow();
  445. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/graftno", model.getValue("/root/main/acptinfo/item/graftno") ); // GRAFTNO
  446. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/partseq", model.getValue("/root/main/partinfo1/partseq") ); // 부위SEQ
  447. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandcd", "C04" ); // 밴드코드
  448. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandmcd", model.getValue("/root/temp/templst/list[" + i + "]/etccd") ); // 밴드코드M
  449. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/procseq", fmaxValue(tmp_grd, "procseq") ); // 처리SEQ
  450. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/banddcd", model.getValue("/root/temp/templst/list[" + i + "]/etcdetlcd") ); // 밴드코드D
  451. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbmcd", "C06" ); // 구분M
  452. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbdcd", model.getValue("/root/temp/templst/list[" + i + "]/etcitemcnts") ); // 구분D
  453. if ( model.getValue("/root/temp/templst/list[" + i + "]/etccd") == "P01" ) {
  454. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/fromdt", curDD + "000000" ); // 시작시간
  455. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/todt", curDD + "000000" ); // 종료시간
  456. } else {
  457. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/qty", 1 ); // 수량
  458. }
  459. }
  460. /**
  461. * Grid에 선택된값 추가
  462. */
  463. function fsetGrideAdd2(tmp_grd, i, maxrow) {
  464. var curDD = getCurrentDate();
  465. tmp_grd.addRow();
  466. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/graftno", model.getValue("/root/main/acptinfo/item/graftno") ); // GRAFTNO
  467. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/partseq", model.getValue("/root/main/partinfo1/partseq") ); // 부위SEQ
  468. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandcd", model.getValue("/root/temp/templst/list[" + i + "]/bandcd") ); // 밴드코드
  469. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/bandmcd", model.getValue("/root/temp/templst/list[" + i + "]/bandmcd") ); // 밴드코드M
  470. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/procseq", fmaxValue(tmp_grd, "procseq") ); // 처리SEQ
  471. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/banddcd", model.getValue("/root/temp/templst/list[" + i + "]/banddcd") ); // 밴드코드D
  472. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbmcd", model.getValue("/root/temp/templst/list[" + i + "]/gbmcd") ); // 구분M
  473. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/gbdcd", model.getValue("/root/temp/templst/list[" + i + "]/gbdcd") ); // 구분D
  474. if ( model.getValue("/root/temp/templst/list[" + i + "]/bandmcd") == "P01" ) {
  475. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/fromdt", curDD + "000000" ); // 시작시간
  476. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/todt", curDD + "000000" ); // 종료시간
  477. } else {
  478. model.makeValue(tmp_grd.nodeset + "[" + maxrow + "]/qty", model.getValue("/root/temp/templst/list[" + i + "]/qty") ); // 수량
  479. }
  480. }
  481. /**
  482. * 처리 저장
  483. */
  484. function fSaveproc(grd_tmp1, grd_tmp2) {
  485. if( ! getGridUpdateData(grd_tmp1) && ! getGridUpdateData(grd_tmp2) )
  486. {
  487. alert("저장할 내역이 없습니다.");
  488. return ;
  489. }
  490. var ret = false;
  491. if ( messageBox("처리정보를","Q002")==6 ) {
  492. model.setValue("/root/send/req/savedata1", grd_tmp1.getUpdateData());
  493. model.setValue("/root/send/req/savedata2", grd_tmp2.getUpdateData());
  494. ret = submit("TXAVT00105");
  495. }
  496. return ret;
  497. }
  498. /**
  499. * 배치 List
  500. */
  501. function fGetBatchList() {
  502. model.removeNodeset("/root/main/batchlist/item");
  503. model.setValue("/root/send/proc/partseq", model.getValue("/root/main/partinfo1/partseq") );
  504. model.refresh();
  505. submit("TRAVT00110");
  506. }
  507. /**
  508. * 배치 저장
  509. */
  510. function fSaveBatch(grd_tmp) {
  511. if( ! getGridUpdateData(grd_tmp) )
  512. {
  513. alert("저장할 내역이 없습니다.");
  514. return ;
  515. }
  516. var ret = false;
  517. if ( messageBox("배치정보를","Q002")==6 ) {
  518. model.setValue("/root/send/req/savedata", grd_tmp.getUpdateData() );
  519. ret = submit("TXAVT00106");
  520. }
  521. return ret;
  522. }
  523. /**
  524. * 완료시간 - 시작시간 차의 분구하기
  525. */
  526. function fTodtFromdtMIn() {
  527. // 변수 설정
  528. var vFromdt = model.getValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/fromdt");
  529. var vTodt = model.getValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/todt");
  530. var vFormat = "YYYYMMDDhhmmss";
  531. var ret = false;
  532. // 일자가 정확한지 확인
  533. if ( 0 < vFromdt.length && vFromdt.length < 8 ) {
  534. alert("시작일자를 정확하게 입력하세요");
  535. return ret;
  536. }
  537. if ( 0 < vTodt.length && vTodt.length < 8 ) {
  538. alert("완료일자를 정확하게 입력하세요");
  539. return ret;
  540. }
  541. // 자리수 채우기
  542. for (var i = vFromdt.length; i < 14; i++)
  543. vFromdt += "0";
  544. for (var i = vTodt.length; i < 14; i++)
  545. vTodt += "0";
  546. if (isValidDateTime(vFromdt, vFormat) == false) {
  547. alert("시작일시를 정확하게 입력하세요");
  548. vFromdt = vFromdt.substr(0, 8) + "000000";
  549. alert(vFromdt);
  550. model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/fromdt", vFromdt);
  551. model.refresh();
  552. return ret;
  553. }
  554. if (isValidDateTime(vTodt, vFormat) == false) {
  555. alert("완료일시를 정확하게 입력하세요");
  556. vTodt = vTodt.substr(0, 8) + "000000";
  557. model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/todt", vTodt);
  558. model.refresh();
  559. return ret;
  560. }
  561. if (vFromdt < vTodt) {
  562. var vTat = (vTodt.toDate(vFormat).getTime() - vFromdt.toDate(vFormat).getTime()) / (1000 * 60);
  563. vTat = Math.round(vTat);
  564. model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/tat", vTat);
  565. model.refresh();
  566. } else {
  567. model.setValue(grd_processlist.nodeset + "[" + grd_processlist.row + "]/tat", "0");
  568. model.refresh();
  569. }
  570. }
  571. ]]>
  572. </script>
  573. </xhtml:head>
  574. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  575. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  576. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">치기공 접수</caption>
  577. </group>
  578. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  579. <button id="btn_del" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  580. <caption>취소</caption>
  581. <script type="javascript" ev:event="DOMActivate">
  582. <![CDATA[
  583. model.setValue("/root/main/acptinfo/item/cnclyn", "Y");
  584. fSaveAcpt("d");
  585. fGetScreenInit();
  586. fGetAcptList();
  587. ]]>
  588. </script>
  589. </button>
  590. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  591. <caption>출력</caption>
  592. </button>
  593. <button id="btn_save" class="btn4_letter2" style="left:1005px; top:3px; width:56px; height:22px; ">
  594. <caption>접수</caption>
  595. <script type="javascript" ev:event="DOMActivate">
  596. <![CDATA[
  597. if (model.getValue("/root/main/acptinfo/item/graftno") != "") {
  598. alert("접수정보를 변경할경우 변경 버튼을 누르세요");
  599. } else {
  600. model.setValue("/root/main/acptinfo/item/cnclyn", "N");
  601. fSaveAcpt("i");
  602. fGetAcptList();
  603. }
  604. ]]>
  605. </script>
  606. </button>
  607. <button id="btn_edit" class="btn4_letter2" style="left:1065px; top:3px; width:56px; height:22px; ">
  608. <caption>변경</caption>
  609. <script type="javascript" ev:event="DOMActivate">
  610. <![CDATA[
  611. if (model.getValue("/root/main/acptinfo/item/graftno") == "") {
  612. alert("신규접수인경우 접수 버튼을 누르세요");
  613. } else {
  614. if (fSaveAcpt("u") == true) {
  615. fGetPartList();
  616. }
  617. }
  618. ]]>
  619. </script>
  620. </button>
  621. <button id="btn_clear" class="btn4_letter3" style="left:933px; top:3px; width:68px; height:22px; ">
  622. <caption>초기화</caption>
  623. <script type="javascript" ev:event="DOMActivate">
  624. <![CDATA[
  625. fGetScreenInit();
  626. ]]>
  627. </script>
  628. </button>
  629. </group>
  630. <group id="grp_main" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  631. <group id="grp_srch" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  632. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  633. <line id="line16" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  634. <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:610px; top:8px; width:80px; height:19px; ">
  635. <script type="javascript" ev:event="xforms-value-changed">
  636. <![CDATA[
  637. if (ipt_srchpid.value == "") {
  638. opt_srchhngnm.value = "";
  639. }
  640. ]]>
  641. </script>
  642. </input>
  643. <output id="opt_srchhngnm" ref="/root/send/srch/srchhngnm" class="output_search" style="left:714px; top:8px; width:100px; height:19px; "/>
  644. <button id="btn_select" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  645. <caption>조회</caption>
  646. <script type="javascript" ev:event="DOMActivate">
  647. <![CDATA[
  648. fGetScreenInit();
  649. // fGetAcptList();
  650. ]]>
  651. </script>
  652. </button>
  653. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:405px; top:9px; width:100px; height:19px; "/>
  654. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:288px; top:9px; width:100px; height:19px; "/>
  655. <select1 id="cmb_srchsearch" ref="/root/send/srch/srchsearch" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:105px; height:19px; ">
  656. <choices>
  657. <itemset nodeset="/root/init/combobscdlst/C13">
  658. <label ref="cdnm"/>
  659. <value ref="cdid"/>
  660. </itemset>
  661. </choices>
  662. <script type="javascript" ev:event="xforms-value-changed">
  663. <![CDATA[
  664. var curDD = getCurrentDate();
  665. var idate = new Date();
  666. if (cmb_srchsearch.value == 4 || cmb_srchsearch.value == 5) {
  667. ipt_srchfromdd.disabled = false;
  668. ipt_srchtodd.disabled = false;
  669. } else {
  670. ipt_srchfromdd.disabled = true;
  671. ipt_srchtodd.disabled = true;
  672. }
  673. // 오늘이 선택되면 등록번호 와 성명을 지움
  674. if (cmb_srchsearch.value == 2) {
  675. model.setValue("/root/send/srch/srchpid", "" ); // 등록번호
  676. model.setValue("/root/send/srch/srchhngnm" , "" ); // 성명
  677. }
  678. if (cmb_srchsearch.value == 3) {
  679. // 일수만큼 차감하고 문자형으로 변형
  680. var chacng_date = idate.getAddDate(-7, "D").getDateFormat();
  681. model.setValue("/root/send/srch/srchfromdd" , chacng_date ); // 조회시작일자
  682. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  683. } else {
  684. model.setValue("/root/send/srch/srchfromdd" , curDD ); // 조회시작일자
  685. model.setValue("/root/send/srch/srchtodd" , curDD ); // 조회종료일자
  686. }
  687. model.refresh();
  688. ]]>
  689. </script>
  690. </select1>
  691. <button id="btn_search1" class="icon_search" style="left:694px; top:10px; width:16px; height:16px; ">
  692. <caption/>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. // 선택화면 Call
  696. modal("SPAVT00100");
  697. // 정상인 경우 가져온값 setting
  698. if (model.getValue("/root/temp/okflag") == "ok") {
  699. // 조회조건에 값넣기
  700. model.setValue("/root/send/srch/srchpid", model.getValue("/root/temp/templst/item/pid" ) );
  701. model.setValue("/root/send/srch/srchhngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
  702. // 임시 Node 삭제
  703. model.removenode("/root/temp/okflag");
  704. model.removenode("/root/temp/templst/item");
  705. model.refresh();
  706. }
  707. ]]>
  708. </script>
  709. </button>
  710. <caption id="lbl_srchpid" class="search_name" style="left:521px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  711. <caption id="lbl_srchsearch" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  712. <caption id="lbl_srchdd" class="search_name" style="left:225px; top:9px; width:60px; height:17px; ">기간 :</caption>
  713. <caption id="lbl_~" class="search_no_b" style="left:391px; top:10px; width:12px; height:17px; ">~</caption>
  714. <bool id="bool1" checkvalue="Y,N" ref="/root/send/srch/srchcnclyn" style="left:975px; top:8px; width:25px; height:20px; "/>
  715. <caption id="caption75" style="left:1000px; top:9px; width:74px; height:20px; ">취소포함</caption>
  716. <select1 id="combo2" ref="/root/send/srch/srchstate" class="combo_search" appearance="minimal" style="left:900px; top:8px; width:56px; height:19px; ">
  717. <choices>
  718. <itemset nodeset="/root/init/combobscdlstsrch/C08">
  719. <label ref="cdnm"/>
  720. <value ref="cdid"/>
  721. </itemset>
  722. </choices>
  723. </select1>
  724. <caption id="caption2" class="search_name" style="left:835px; top:9px; width:70px; height:17px; ">상태 :</caption>
  725. </group>
  726. <datagrid id="grd_maininfo" nodeset="/root/main/acptlist/item" caption="접수번호^등록번호^성명^성별^나이^처방명^처방일자^예약일자^처치일자^완료일자^상태^처방의^외주" colsep="^" colwidth="100, 70, 80, 40, 40, 275, 80, 80, 80, 80, 80, 100, 50" dataheight="23" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1195px; height:480px; text-align:center; ">
  727. <col ref="acptno" type="output"/>
  728. <col ref="pid" type="output"/>
  729. <col ref="hngnm" type="output"/>
  730. <col ref="sex" type="output"/>
  731. <col ref="age" type="output"/>
  732. <col ref="prcpnm"/>
  733. <col ref="prcpdd" format="yyyy-mm-dd"/>
  734. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  735. <col ref="execdd" format="yyyy-mm-dd"/>
  736. <col ref="enddd" format="yyyy-mm-dd"/>
  737. <col ref="state"/>
  738. <col ref="orddrnm"/>
  739. <col checkvalue="Y,N" ref="outordyn" type="checkbox"/>
  740. </datagrid>
  741. <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:72px; height:14px; ">접수정보</caption>
  742. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  743. <group id="grp_pidinfo" style="left:0px; top:560px; width:210px; height:180px; ">
  744. <caption id="lbl_pidinfo" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">환자정보</caption>
  745. <line id="line19" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
  746. <caption id="lbl_acptno" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">접수번호</caption>
  747. <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; "/>
  748. <caption id="lbl_pid" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">등록번호</caption>
  749. <input id="ipt_pid" ref="/root/main/acptinfo/item/pid" class="input_essential" maxlength="10" style="left:84px; top:47px; width:100px; height:19px; ">
  750. <script type="javascript" ev:event="onkeyup">
  751. <![CDATA[
  752. inputEnterKey("btn_search2", "DOMActivate");
  753. ]]>
  754. </script>
  755. </input>
  756. <button id="btn_search2" class="icon_search" style="left:188px; top:50px; width:16px; height:16px; ">
  757. <caption/>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. // 선택화면 Call
  761. clearParameter("SPAVT00110_PID");
  762. setParameter ("SPAVT00110_PID", ipt_pid.value);
  763. modal("SPAED00100");
  764. // 정상인 경우 가져온값 setting
  765. if (model.getValue("/root/temp/okflag") == "ok") {
  766. // 조회조건에 값넣기
  767. model.setValue("/root/main/acptinfo/item/pid", model.getValue("/root/temp/templst/item/pid" ) );
  768. model.setValue("/root/main/acptinfo/item/hngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
  769. model.setValue("/root/main/acptinfo/item/rrgstno1", model.getValue("/root/temp/templst/item/rrgstno1" ) );
  770. model.setValue("/root/main/acptinfo/item/rrgstno2", model.getValue("/root/temp/templst/item/rrgstno2" ) );
  771. model.setValue("/root/main/acptinfo/item/sex", model.getValue("/root/temp/templst/item/sex" ) );
  772. model.setValue("/root/main/acptinfo/item/age", model.getValue("/root/temp/templst/item/age" ) );
  773. model.setValue("/root/main/acptinfo/item/telno", model.getValue("/root/temp/templst/item/telno" ) );
  774. model.setValue("/root/main/acptinfo/item/abom", "C10" );
  775. model.setValue("/root/main/acptinfo/item/abod", model.getValue("/root/temp/templst/item/abo" ) );
  776. model.setValue("/root/main/acptinfo/item/rhm", "C11" );
  777. model.setValue("/root/main/acptinfo/item/rhd", model.getValue("/root/temp/templst/item/rh" ) );
  778. model.setValue("/root/main/acptinfo/item/zipcd1", model.getValue("/root/temp/templst/item/zipcd1" ) );
  779. model.setValue("/root/main/acptinfo/item/zipcd2", model.getValue("/root/temp/templst/item/zipcd2" ) );
  780. model.setValue("/root/main/acptinfo/item/zipseq", model.getValue("/root/temp/templst/item/zipcdseq" ) );
  781. model.setValue("/root/main/acptinfo/item/addr", model.getValue("/root/temp/templst/item/addr" ) );
  782. model.setValue("/root/main/acptinfo/item/address", model.getValue("/root/temp/templst/item/address" ) );
  783. model.setValue("/root/main/acptinfo/item/diagcd", model.getValue("/root/temp/templst/item/diagcd" ) );
  784. model.setValue("/root/main/acptinfo/item/diaghngnm", model.getValue("/root/temp/templst/item/diaghngnm" ) );
  785. model.setValue("/root/main/acptinfo/item/diagengnm", model.getValue("/root/temp/templst/item/diagengnm" ) );
  786. model.setValue("/root/main/acptinfo/item/opcd", model.getValue("/root/temp/templst/item/opcd" ) );
  787. model.setValue("/root/main/acptinfo/item/ophngnm", model.getValue("/root/temp/templst/item/ophngnm" ) );
  788. model.setValue("/root/main/acptinfo/item/opengnm", model.getValue("/root/temp/templst/item/opengnm" ) );
  789. model.setValue("/root/main/acptinfo/item/oproomcd", model.getValue("/root/temp/templst/item/oproomcd" ) );
  790. model.setValue("/root/main/acptinfo/item/oproomnm", model.getValue("/root/temp/templst/item/oproomnm" ) );
  791. model.setValue("/root/main/acptinfo/item/opsd", model.getValue("/root/temp/templst/item/opsdd" ) );
  792. model.setValue("/root/main/acptinfo/item/opst", model.getValue("/root/temp/templst/item/opstm" ) );
  793. model.setValue("/root/main/acptinfo/item/oped", model.getValue("/root/temp/templst/item/opedd" ) );
  794. model.setValue("/root/main/acptinfo/item/opet", model.getValue("/root/temp/templst/item/opetm" ) );
  795. // GRAFTNO는 초기화, 등록일자 및 채취일자 적용
  796. model.setValue("/root/main/acptinfo/item/orddd", getCurrentDate() );
  797. model.setValue("/root/main/acptinfo/item/pickdd", getCurrentDate() );
  798. // 임시 Node 삭제
  799. model.removenode("/root/temp/okflag");
  800. model.removenode("/root/temp/templst/item");
  801. fGetScreenChangSet1();
  802. }
  803. ]]>
  804. </script>
  805. </button>
  806. <caption id="caption1" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 명</caption>
  807. <output id="opt_hngnm" ref="/root/main/acptinfo/item/hngnm" class="output_search" style="left:84px; top:69px; width:120px; height:19px; "/>
  808. <caption id="lbl_rrgstno" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">주민번호</caption>
  809. <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; "/>
  810. <caption id="caption48" class="search_n_b" style="left:136px; top:93px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  811. <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; "/>
  812. <caption id="lbl_sexage" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">성 별</caption>
  813. <output id="opt_sex" ref="/root/main/acptinfo/item/sex" class="output_search" style="left:84px; top:113px; width:50px; height:19px; "/>
  814. <caption id="caption3" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">나 이</caption>
  815. <output id="opt_age" ref="/root/main/acptinfo/item/age" class="output_search" style="left:84px; top:135px; width:50px; height:19px; "/>
  816. <caption id="lbl_telno" class="cell_1" style="left:0px; top:157px; width:80px; height:20px; text-align:center; vertical-align:middle; ">전화번호</caption>
  817. <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; "/>
  818. </group>
  819. <group id="grp_prcpinfo" disabled="false" style="left:207px; top:560px; width:781px; height:180px; ">
  820. <caption id="caption31" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">처방정보</caption>
  821. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:781px; y2:20px; "/>
  822. <caption id="lbl_rsrvdd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">예약일자</caption>
  823. <input id="ipt_rsrvdd" ref="/root/main/acptinfo/item/rsrvdd" class="input_essential" inputtype="date" style="left:84px; top:25px; width:100px; height:19px; "/>
  824. <caption id="lbl_prcpdd" class="cell_1" style="left:188px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방일자</caption>
  825. <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; "/>
  826. <caption id="lbl_execdd" class="cell_1" style="left:376px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처치일자</caption>
  827. <input id="ipt_execdd" ref="/root/main/acptinfo/item/execdd" class="input_essential" inputtype="date" style="left:460px; top:25px; width:100px; height:19px; "/>
  828. <caption id="lbl_prcp" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방명</caption>
  829. <input id="ipt_calcscorcd" ref="/root/main/acptinfo/item/calcscorcd" class="input_default" style="left:84px; top:47px; width:100px; height:19px; "/>
  830. <input id="opt_prcpnm" ref="/root/main/acptinfo/item/prcpnm" class="input_default" style="left:188px; top:47px; width:593px; height:19px; "/>
  831. <caption id="lbl_orddr" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방의</caption>
  832. <input id="ipt_orddrid" ref="/root/main/acptinfo/item/orddrid" class="input_default" style="left:84px; top:69px; width:100px; height:19px; "/>
  833. <input id="opt_orddrnm" ref="/root/main/acptinfo/item/orddrnm" class="input_default" style="left:188px; top:69px; width:184px; height:19px; "/>
  834. <caption id="lbl_orddept" class="cell_1" style="left:376px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">처방과</caption>
  835. <input id="ipt_orddeptcd" ref="/root/main/acptinfo/item/orddeptcd" class="input_default" style="left:460px; top:69px; width:100px; height:19px; "/>
  836. <input id="opt_orddepthngnm" ref="/root/main/acptinfo/item/orddepthngnm" class="input_default" style="left:564px; top:69px; width:217px; height:19px; "/>
  837. <caption id="lbl_state" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">상태</caption>
  838. <select1 id="cmb_state" ref="/root/main/acptinfo/item/state" class="combo_search" appearance="minimal" style="left:84px; top:91px; width:100px; height:19px; ">
  839. <choices>
  840. <itemset nodeset="/root/init/combobscdlst/A002">
  841. <label ref="cdnm"/>
  842. <value ref="cdid"/>
  843. </itemset>
  844. </choices>
  845. <script type="javascript" ev:event="xforms-value-changed">
  846. <![CDATA[
  847. model.setValue("/root/main/partinfo/item/dntgbm", "A002");
  848. fGetScreenChangSet1();
  849. ]]>
  850. </script>
  851. </select1>
  852. <caption id="caption38" class="cell_1" style="left:188px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납여부</caption>
  853. <select1 id="combo10" ref="/root/main/acptinfo/item/rcptyn" class="combo_search" appearance="minimal" style="left:272px; top:91px; width:100px; height:19px; ">
  854. <choices>
  855. <itemset nodeset="/root/init/combobscdlst/A003">
  856. <label ref="cdnm"/>
  857. <value ref="cdid"/>
  858. </itemset>
  859. </choices>
  860. <script type="javascript" ev:event="xforms-value-changed">
  861. <![CDATA[
  862. model.setValue("/root/main/partinfo/item/dntgbm", "A003");
  863. fGetScreenChangSet1();
  864. ]]>
  865. </script>
  866. </select1>
  867. <caption id="caption40" class="cell_1" style="left:376px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">입/외구분</caption>
  868. <select1 id="combo11" ref="/root/main/acptinfo/item/prcpgenrflag" class="combo_search" appearance="minimal" style="left:460px; top:91px; width:100px; height:19px; ">
  869. <choices>
  870. <itemset nodeset="/root/init/combobscdlst/A001">
  871. <label ref="cdnm"/>
  872. <value ref="cdid"/>
  873. </itemset>
  874. </choices>
  875. <script type="javascript" ev:event="xforms-value-changed">
  876. <![CDATA[
  877. model.setValue("/root/main/partinfo/item/dntgbm", "A001");
  878. fGetScreenChangSet1();
  879. ]]>
  880. </script>
  881. </select1>
  882. <caption id="lbl_tootfact" class="cell_1" style="left:0px; top:113px; width:80px; height:42px; text-align:center; vertical-align:middle; ">치식</caption>
  883. <caption id="lbl_up" class="cell_1" style="left:84px; top:113px; width:25px; height:20px; text-align:left; vertical-align:middle; ">상</caption>
  884. <input id="ipt_tootfact11" ref="/root/main/acptinfo/item/tootfact11" class="input_default" style="left:113px; top:113px; width:90px; height:19px; "/>
  885. <input id="ipt_tootfact12" ref="/root/main/acptinfo/item/tootfact12" class="input_default" style="left:207px; top:113px; width:90px; height:19px; "/>
  886. <caption id="lbl_down" class="cell_1" style="left:84px; top:135px; width:25px; height:20px; text-align:left; vertical-align:middle; ">하</caption>
  887. <input id="ipt_tootfact21" ref="/root/main/acptinfo/item/tootfact21" class="input_default" style="left:113px; top:135px; width:90px; height:19px; "/>
  888. <input id="ipt_tootfact22" ref="/root/main/acptinfo/item/tootfact22" class="input_default" style="left:207px; top:135px; width:90px; height:19px; "/>
  889. <caption id="lbl_insuflag" class="cell_1" style="left:376px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">보험종류</caption>
  890. <select1 id="cmb_insuflag" ref="/root/main/acptinfo/item/rcptyn" class="combo_search" appearance="minimal" style="left:460px; top:113px; width:288px; height:19px; ">
  891. <choices>
  892. <itemset nodeset="/root/init/combobscdlst/C14">
  893. <label ref="cdnm"/>
  894. <value ref="cdid"/>
  895. </itemset>
  896. </choices>
  897. <script type="javascript" ev:event="xforms-value-changed">
  898. <![CDATA[
  899. model.setValue("/root/main/partinfo/item/dntgbm", "C14");
  900. fGetScreenChangSet1();
  901. ]]>
  902. </script>
  903. </select1>
  904. <caption id="caption46" class="cell_1" style="left:376px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">수납금액</caption>
  905. <input id="input29" ref="/root/main/acptinfo/item/rcptamt" class="input_default" format="#,###" style="left:460px; top:135px; width:93px; height:19px; text-align:right; "/>
  906. </group>
  907. <group id="grp_prodinfo" style="left:991px; top:560px; width:204px; height:180px; ">
  908. <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:110px; height:13px; ">제작정보</caption>
  909. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:204px; y2:20px; "/>
  910. <caption id="lbl_prodcd" class="cell_1" style="left:0px; top:25px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작물</caption>
  911. <select1 id="cmb_prodcd" ref="/root/main/acptinfo/item/prodcd" class="combo_search" appearance="minimal" style="left:84px; top:25px; width:120px; height:19px; ">
  912. <choices>
  913. <itemset nodeset="/root/init/combobscdlst/C14">
  914. <label ref="cdnm"/>
  915. <value ref="cdid"/>
  916. </itemset>
  917. </choices>
  918. <script type="javascript" ev:event="xforms-value-changed">
  919. <![CDATA[
  920. model.setValue("/root/main/partinfo/item/dntgbm", "C14");
  921. fGetScreenChangSet1();
  922. ]]>
  923. </script>
  924. </select1>
  925. <caption id="lbl_enddd" class="cell_1" style="left:0px; top:47px; width:80px; height:20px; text-align:center; vertical-align:middle; ">완성일자</caption>
  926. <input id="ipt_enddd" ref="/root/main/acptinfo/item/enddd" class="input_essential" inputtype="date" style="left:84px; top:47px; width:120px; height:19px; "/>
  927. <caption id="lbl_metalcd" class="cell_1" style="left:0px; top:69px; width:80px; height:20px; text-align:center; vertical-align:middle; ">금속종류</caption>
  928. <select1 id="cmb_metalcd" ref="/root/main/acptinfo/item/metalcd" class="combo_search" appearance="minimal" style="left:84px; top:69px; width:120px; height:19px; ">
  929. <choices>
  930. <itemset nodeset="/root/init/combobscdlst/C14">
  931. <label ref="cdnm"/>
  932. <value ref="cdid"/>
  933. </itemset>
  934. </choices>
  935. <script type="javascript" ev:event="xforms-value-changed">
  936. <![CDATA[
  937. model.setValue("/root/main/partinfo/item/dntgbm", "C14");
  938. fGetScreenChangSet1();
  939. ]]>
  940. </script>
  941. </select1>
  942. <caption id="lbl_useqty" class="cell_1" style="left:0px; top:91px; width:80px; height:20px; text-align:center; vertical-align:middle; ">사용량</caption>
  943. <input id="ipt_useqty" ref="/root/main/acptinfo/item/useqty" class="input_default" format="#,###.##" style="left:84px; top:91px; width:120px; height:19px; text-align:right; "/>
  944. <caption id="lbl_prodid" class="cell_1" style="left:0px; top:113px; width:80px; height:20px; text-align:center; vertical-align:middle; ">제작자명</caption>
  945. <select1 id="cmb_prodid" ref="/root/main/acptinfo/item/prodid" class="combo_search" appearance="minimal" style="left:84px; top:113px; width:120px; height:19px; ">
  946. <choices>
  947. <itemset nodeset="/root/init/combobscdlst/C14">
  948. <label ref="cdnm"/>
  949. <value ref="cdid"/>
  950. </itemset>
  951. </choices>
  952. <script type="javascript" ev:event="xforms-value-changed">
  953. <![CDATA[
  954. model.setValue("/root/main/partinfo/item/dntgbm", "C14");
  955. fGetScreenChangSet1();
  956. ]]>
  957. </script>
  958. </select1>
  959. <caption id="lbl_outordyn" class="cell_1" style="left:0px; top:135px; width:80px; height:20px; text-align:center; vertical-align:middle; ">외주여부</caption>
  960. <select1 id="cmb_outordyn" ref="/root/main/acptinfo/item/outordyn" class="combo_search" appearance="minimal" style="left:84px; top:135px; width:120px; height:19px; ">
  961. <choices>
  962. <itemset nodeset="/root/init/combobscdlst/C14">
  963. <label ref="cdnm"/>
  964. <value ref="cdid"/>
  965. </itemset>
  966. </choices>
  967. <script type="javascript" ev:event="xforms-value-changed">
  968. <![CDATA[
  969. model.setValue("/root/main/partinfo/item/dntgbm", "C14");
  970. fGetScreenChangSet1();
  971. ]]>
  972. </script>
  973. </select1>
  974. </group>
  975. <caption id="lbl_bigo" class="cell_1" style="left:207px; top:717px; width:80px; height:20px; text-align:center; vertical-align:middle; ">비고</caption>
  976. <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; "/>
  977. </group>
  978. </xhtml:body>
  979. </xhtml:html>