SPPMI03400_입원결정서삭제복원.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPPMI03400_입원결정서삭제복원.xrw
  4. * 설 명 : 입원결정서 삭제복원
  5. * 설 계 자 : 최병진
  6. * 작 성 자 : 최병진
  7. * 작 성 일 : 2008.03.10
  8. * 수정이력 :
  9. * 기 타 :
  10. * 구현예정 :
  11. -->
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>입원결정서삭제복원</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <send>
  20. <data1>
  21. <conditon>1</conditon>
  22. <pid/>
  23. <orddeptcd/>
  24. <check/>
  25. <indirecddfrom/>
  26. <indirecddto/>
  27. </data1>
  28. <data2>
  29. <sendflag/>
  30. <pid/>
  31. <inrsrvacptdd/>
  32. <orddeptcd/>
  33. <inrsrvacptseqno/>
  34. <inrsrvstat/>
  35. <inrsrvstat_before/>
  36. <inrsrvstat_after/>
  37. <inrsrvcnclresn/>
  38. <inrsrvcnclresnrem/>
  39. </data2>
  40. </send>
  41. <main>
  42. <list1>
  43. <grdinhpdeci>
  44. <inrsrvstat/>
  45. <inrsrvcnclresn/>
  46. <inrsrvcnclresnrem/>
  47. <pid/>
  48. <hngnm/>
  49. <sex/>
  50. <inrsrvacptdd/>
  51. <orddeptcd/>
  52. <inrsrvacptseqno/>
  53. <inrsrvacpttm/>
  54. <insukind/>
  55. <indirecdrid/>
  56. <indirecdd/>
  57. <orddrid/>
  58. <patinhopedd/>
  59. <inhopeward/>
  60. <inhoperoomgrdefrom/>
  61. <inhoperoomgrdeto/>
  62. <inrsrvrem/>
  63. <lastupdtdt/>
  64. <lastupdtrid/>
  65. </grdinhpdeci>
  66. </list1>
  67. </main>
  68. <hidden>
  69. <init>
  70. <disccd>
  71. <cd/>
  72. <nm/>
  73. </disccd>
  74. <insukind>
  75. <cd/>
  76. <nm/>
  77. </insukind>
  78. <suppkind>
  79. <cd/>
  80. <nm/>
  81. <up/>
  82. <io/>
  83. </suppkind>
  84. <orddeptcd>
  85. <cd/>
  86. <nm/>
  87. </orddeptcd>
  88. <orddrid>
  89. <cd/>
  90. <nm/>
  91. <dp/>
  92. <sp/>
  93. </orddrid>
  94. <wardcd>
  95. <cd/>
  96. <nm/>
  97. <of/>
  98. </wardcd>
  99. <roomcd>
  100. <cd/>
  101. <nm/>
  102. <wd/>
  103. <gr/>
  104. <ty/>
  105. <sex/>
  106. </roomcd>
  107. <flag>
  108. <prestdd/>
  109. </flag>
  110. <roomgrdecd>
  111. <cd/>
  112. <nm/>
  113. <typecd/>
  114. </roomgrdecd>
  115. <roomtypecd>
  116. <cd/>
  117. <nm/>
  118. </roomtypecd>
  119. </init>
  120. <rsltflag>
  121. <rgst_cnt>
  122. <adrv_cnt/>
  123. </rgst_cnt>
  124. </rsltflag>
  125. </hidden>
  126. <init>
  127. <P0008list>
  128. <P0008>
  129. <cdnm/>
  130. <cdid/>
  131. </P0008>
  132. </P0008list>
  133. <P0017list>
  134. <P0017>
  135. <cdnm/>
  136. <cdid/>
  137. </P0017>
  138. </P0017list>
  139. <P0020list>
  140. <P0020>
  141. <cdnm/>
  142. <cdid/>
  143. </P0020>
  144. </P0020list>
  145. <P0025list>
  146. <P0025>
  147. <cdnm/>
  148. <cdid/>
  149. </P0025>
  150. </P0025list>
  151. <P0026list>
  152. <P0026>
  153. <cdnm/>
  154. <cdid/>
  155. </P0026>
  156. </P0026list>
  157. <P0149list>
  158. <P0149>
  159. <cdnm/>
  160. <cdid/>
  161. </P0149>
  162. </P0149list>
  163. <P0039list>
  164. <P0039>
  165. <cdnm/>
  166. <cdid/>
  167. </P0039>
  168. </P0039list>
  169. <P0378list>
  170. <P0378>
  171. <cdnm/>
  172. <cdid/>
  173. </P0378>
  174. </P0378list>
  175. <P0001list>
  176. <P0001>
  177. <cdnm/>
  178. <cdid/>
  179. </P0001>
  180. </P0001list>
  181. </init>
  182. </root>
  183. </instance>
  184. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  185. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/init"/>
  186. <submission id="TXPMI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/rsltflag"/>
  187. <submission id="TRPMI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list1"/>
  188. </model>
  189. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  190. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  191. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  192. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  193. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  194. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  195. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  196. <script type="javascript" ev:event="xforms-ready">
  197. <![CDATA[
  198. makeReportPreview(0,0,0,0,"");
  199. zbcfGetCodeList(new Array("P0001","P0008","P0017","P0020","P0025","P0026","P0149","P0039","P0378"),
  200. new Array("/root/init/P0001list","/root/init/P0008list","/root/init/P0017list","/root/init/P0020list","/root/init/P0025list","/root/init/P0026list","/root/init/P0149list","/root/init/P0039list","/root/init/P0378list"));
  201. submit("TRPMI00106");
  202. cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddeptcd[orddeptflag = 'D']";
  203. // 지시일자 설정
  204. bol_indirecddchk.selected = false;
  205. cmb_condition.dispatch("xforms-value-changed");
  206. model.setValue("/root/send/data1/indirecddfrom", "");
  207. model.setValue("/root/send/data1/indirecddto", "");
  208. if (checkOpener()) {
  209. // 환자번호 자동설정
  210. // SPPMI03400_param : pid
  211. var parent_pid = opener.javascript.getParameter("SPPMI03400_param");
  212. if(parent_pid != null && parent_pid != "") {
  213. model.setValue("/root/send/data1/pid", parent_pid);
  214. submit("TRPMI03401");
  215. }
  216. }
  217. model.refresh();
  218. ]]>
  219. </script>
  220. </xhtml:head>
  221. <xhtml:body pagewidth="1211" pageheight="410" guideline="1,1204;2,405;">
  222. <datagrid id="grd_inhpdeci" nodeset="/root/main/list1/grdinhpdeci" class="datagrid2" caption="상태^결정서삭제사유^삭제 참고사항^최종수정자^최종수정일시^환자번호^환자이름^성별^접수일자^진료과^번호^시간^환자유형^지시의사^지시일자^전문의^환자희망입원일^희망입원일^희망병동^희망병실등급FROM^희망병실등급TO^참고사항" colsep="^" colwidth="50, 100, 200, 70, 120, 70, 56, 36, 73, 130, 32, 40, 96, 78, 78, 78, 92, 73, 87, 116, 116, 188" dataheight="23" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:10px; top:80px; width:1194px; height:295px; ">
  223. <col ref="inrsrvstatnm" style="text-align:center; "/>
  224. <col class="gridinput" ref="inrsrvcnclresn" type="combo">
  225. <choices>
  226. <itemset nodeset="/root/init/P0020list/P0020">
  227. <label ref="cdnm"/>
  228. <value ref="cdid"/>
  229. </itemset>
  230. </choices>
  231. </col>
  232. <col class="gridinput" imemode="hangul" ref="inrsrvcnclresnrem" type="input"/>
  233. <col ref="lastupdtrid" type="output"/>
  234. <col ref="lastupdtdt" type="output" format="yyyy-mm-dd hh:nn:ss"/>
  235. <col ref="pid"/>
  236. <col ref="hngnm" style="text-align:center; "/>
  237. <col ref="sex" style="text-align:center; "/>
  238. <col ref="inrsrvacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  239. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  240. <choices>
  241. <itemset nodeset="/root/hidden/init/orddeptcd">
  242. <label ref="nm"/>
  243. <value ref="cd"/>
  244. </itemset>
  245. </choices>
  246. </col>
  247. <col ref="inrsrvacptseqno" visibility="hidden"/>
  248. <col ref="inrsrvacpttm" format="hh:nn"/>
  249. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  250. <choices>
  251. <itemset nodeset="/root/hidden/init/insukind">
  252. <label ref="nm"/>
  253. <value ref="cd"/>
  254. </itemset>
  255. </choices>
  256. </col>
  257. <col disabled="true" ref="indirecdrid" type="combo" style="text-align:center; ">
  258. <choices>
  259. <itemset nodeset="/root/hidden/init/orddrid">
  260. <label ref="nm"/>
  261. <value ref="cd"/>
  262. </itemset>
  263. </choices>
  264. </col>
  265. <col ref="indirecdd" format="yyyy-mm-dd"/>
  266. <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
  267. <choices>
  268. <itemset nodeset="/root/hidden/init/orddrid">
  269. <label ref="nm"/>
  270. <value ref="cd"/>
  271. </itemset>
  272. </choices>
  273. </col>
  274. <col ref="patinhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  275. <col ref="inhopeward" format="yyyy-mm-dd" style="text-align:center; "/>
  276. <col ref="inhoperoomgrdefrom" type="combo" style="text-align:center; ">
  277. <choices>
  278. <itemset nodeset="/root/hidden/init/wardcd">
  279. <label ref="nm"/>
  280. <value ref="cd"/>
  281. </itemset>
  282. </choices>
  283. </col>
  284. <col disabled="true" ref="inhoperoomgrdeto" type="combo">
  285. <choices>
  286. <itemset nodeset="/root/init/P0025list/P0025">
  287. <label ref="cdnm"/>
  288. <value ref="cdid"/>
  289. </itemset>
  290. </choices>
  291. </col>
  292. <col disabled="true" ref="inrsrvrem" type="combo">
  293. <choices>
  294. <itemset nodeset="/root/init/P0025list/P0025">
  295. <label ref="cdnm"/>
  296. <value ref="cdid"/>
  297. </itemset>
  298. </choices>
  299. </col>
  300. <col ref="inrsrvrem"/>
  301. <script type="javascript" ev:event="onaftersort">
  302. <![CDATA[
  303. grd_inhpdeci.gridToInstance();
  304. ]]>
  305. </script>
  306. </datagrid>
  307. <button id="btn_search1" class="btn1_letter2" style="left:1133px; top:17px; width:56px; height:22px; ">
  308. <caption>조회</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. fSQueryRef();
  312. ]]>
  313. </script>
  314. </button>
  315. <shape id="roundrect5" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:10px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  316. <line id="line12" class="line_4" style="x1:1118px; y1:17px; x2:1118px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  317. <caption id="caption22" class="search_name" style="left:20px; top:19px; width:112px; height:17px; ">검색조건 :</caption>
  318. <caption id="caption36" class="tit_2" style="left:10px; top:55px; width:111px; height:13px; ">입원결정서</caption>
  319. <line id="line20" class="line_1" style="x1:10px; y1:80px; x2:1204px; y2:80px; "/>
  320. <button id="btn_save" class="btn4_letter2" style="left:1090px; top:380px; width:56px; height:22px; ">
  321. <caption>복원</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. var cur_row = grd_inhpdeci.row;
  325. var deci_pid = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/pid");
  326. var deci_inrsrvcnclresn = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvcnclresn");
  327. var deci_inrsrvstat = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvstat");
  328. if (deci_pid == null || deci_pid == "" ) {
  329. messageBox("환자를","C002");
  330. return false;
  331. }
  332. if (deci_inrsrvstat != "X") {
  333. messageBox("[삭제]인 상태를","C002");
  334. return false;
  335. }
  336. // 2009.02.19 이미 해당진료과로 'S', 'R' 상태가 있으면 복원하지 못하도록 막는다.
  337. var sOrdDeptCd = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/orddeptcd");
  338. for (var idx = 1 ; idx <= grd_inhpdeci.rows ; idx++) {
  339. if (idx == cur_row)
  340. continue;
  341. var sOtherOrdDeptCd = model.getValue("/root/main/list1/grdinhpdeci["+ idx +"]/orddeptcd");
  342. if (sOrdDeptCd == sOtherOrdDeptCd) {
  343. var sInRsrvStat = model.getValue("/root/main/list1/grdinhpdeci["+ idx +"]/inrsrvstat");
  344. if (sInRsrvStat == "S" || sInRsrvStat == "R") {
  345. var sStatus = null;
  346. if (sInRsrvStat == "S") {
  347. sStatus = "결정";
  348. } else {
  349. sStatus = "예약";
  350. }
  351. messageBox("이미 해당 진료과로 [" + sStatus + "]인 내역이 있습니다.\n복원할 수 없습니다.", "I");
  352. return false;
  353. }
  354. }
  355. }
  356. if (messageBox("결정서 복원을", "Q004") == 7) {
  357. return false;
  358. }
  359. model.setValue("/root/send/data2/sendflag", "RECOVERY");
  360. model.setValue("/root/send/data2/pid", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/pid"));
  361. model.setValue("/root/send/data2/inrsrvacptdd", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvacptdd"));
  362. model.setValue("/root/send/data2/orddeptcd", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/orddeptcd"));
  363. model.setValue("/root/send/data2/inrsrvacptseqno", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvacptseqno"));
  364. model.setValue("/root/send/data2/inrsrvstat", "S"); // 변경할 flag
  365. model.setValue("/root/send/data2/inrsrvstat_before", "X"); // 현재 flag
  366. model.setValue("/root/send/data2/inrsrvstat_after", "C"); // 취소하기 위한 flag
  367. model.setValue("/root/send/data2/inrsrvcnclresn", "0");
  368. model.setValue("/root/send/data2/inrsrvcnclresnrem", "-");
  369. if (submit("TXPMI03401")) {
  370. //결정서조회
  371. submit("TRPMI03401");
  372. }
  373. ]]>
  374. </script>
  375. </button>
  376. <button id="btn_cancel" class="btn4_letter2" style="left:1148px; top:380px; width:56px; height:22px; ">
  377. <caption>취소</caption>
  378. <script type="javascript" ev:event="DOMActivate">
  379. <![CDATA[
  380. model.close();
  381. ]]>
  382. </script>
  383. </button>
  384. <select1 id="cmb_orddeptcd" ref="/root/send/data1/orddeptcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:215px; top:18px; width:99px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/hidden/init/orddeptcd">
  387. <label ref="nm"/>
  388. <value ref="cd"/>
  389. </itemset>
  390. </choices>
  391. </select1>
  392. <input id="ipt_pid" ref="/root/send/data1/pid" class="input_default" navindex="2" appearance="input" style="left:215px; top:18px; width:92px; height:19px; ">
  393. <script type="javascript" ev:event="onkeypress">
  394. <![CDATA[
  395. if (event.keyCode=='13') {
  396. model.setValue("/root/send/data1/pid", ipt_pid.currentText);
  397. submit("TRPMI03401");
  398. model.refresh();
  399. }
  400. ]]>
  401. </script>
  402. </input>
  403. <select1 id="cmb_condition" ref="/root/send/data1/conditon" class="combo_search" navindex="1" appearance="minimal" style="left:110px; top:18px; width:99px; height:19px; ">
  404. <choices>
  405. <item>
  406. <label>환자번호</label>
  407. <value>1</value>
  408. </item>
  409. <item>
  410. <label>진료과</label>
  411. <value>2</value>
  412. </item>
  413. </choices>
  414. <script type="javascript" ev:event="xforms-value-changed">
  415. <![CDATA[
  416. // 환자번호
  417. var condition = model.getValue("/root/send/data1/conditon");
  418. if (condition == "1") {
  419. cmb_orddeptcd.visible = false;
  420. ipt_pid.visible= true;
  421. model.setValue("/root/send/data1/orddeptcd", "");
  422. model.setFocus("ipt_pid");
  423. }
  424. // 진료과
  425. if (condition == "2") {
  426. cmb_orddeptcd.visible = true;
  427. ipt_pid.visible= false;
  428. model.setValue("/root/send/data1/pid", "");
  429. model.setFocus("cmb_orddeptcd");
  430. }
  431. model.refresh();
  432. ]]>
  433. </script>
  434. </select1>
  435. <caption id="cpt_line" class="search_no_b" style="left:600px; top:18px; width:15px; height:17px; ">~</caption>
  436. <caption id="caption3" class="search_name" style="left:380px; top:18px; width:90px; height:17px; ">지시일자 :</caption>
  437. <input id="ipt_indirecddfrom" ref="/root/send/data1/indirecddfrom" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:495px; top:18px; width:100px; height:19px; "/>
  438. <input id="ipt_indirecddto" ref="/root/send/data1/indirecddto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:615px; top:18px; width:100px; height:19px; "/>
  439. <bool id="bol_indirecddchk" ref="/root/send/data1/check" style="left:470px; top:20px; width:15px; height:15px; ">
  440. <script type="javascript" ev:event="xforms-select">
  441. <![CDATA[
  442. ipt_indirecddfrom.disabled = false;
  443. ipt_indirecddto.disabled = false;
  444. // cpt_line.visible = true;
  445. model.setValue("/root/send/data1/indirecddfrom",getCurrentDate());
  446. model.setValue("/root/send/data1/indirecddto",getCurrentDate());
  447. model.refresh();
  448. ]]>
  449. </script>
  450. <script type="javascript" ev:event="xforms-deselect">
  451. <![CDATA[
  452. model.setValue("/root/send/data1/indirecddfrom","");
  453. model.setValue("/root/send/data1/indirecddto","");
  454. ipt_indirecddfrom.disabled = true;
  455. ipt_indirecddto.disabled = true;
  456. model.refresh();
  457. ]]>
  458. </script>
  459. </bool>
  460. <button id="button2" class="btn4_letter2" style="left:1032px; top:380px; width:56px; height:22px; ">
  461. <caption>삭제</caption>
  462. <script type="javascript" ev:event="DOMActivate">
  463. <![CDATA[
  464. var cur_row = grd_inhpdeci.row;
  465. var deci_pid = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/pid");
  466. var deci_inrsrvcnclresn = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvcnclresn");
  467. var deci_inrsrvstat = model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvstat");
  468. if (deci_pid == null || deci_pid == "" ) {
  469. messageBox("환자를","C002");
  470. return false;
  471. }
  472. // 2008.08.19 예약상태도 취소할 수 있도록 주석처리
  473. if (deci_inrsrvstat != "S" && deci_inrsrvstat != "R") {
  474. messageBox("결정, 예약인 상태를","C002");
  475. return false;
  476. }
  477. if (deci_inrsrvcnclresn == null || deci_inrsrvcnclresn == "" || deci_inrsrvcnclresn == "0" ) {
  478. messageBox("결정서 삭제 사유를","C002");
  479. return false;
  480. }
  481. if (messageBox("결정서를", "Q001") == 7) {
  482. return false;
  483. }
  484. model.setValue("/root/send/data2/sendflag", "DELETE");
  485. model.setValue("/root/send/data2/pid", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/pid"));
  486. model.setValue("/root/send/data2/inrsrvacptdd", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvacptdd"));
  487. model.setValue("/root/send/data2/orddeptcd", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/orddeptcd"));
  488. model.setValue("/root/send/data2/inrsrvacptseqno", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvacptseqno"));
  489. model.setValue("/root/send/data2/inrsrvstat", "X"); // 변경할 flag
  490. //model.setValue("/root/send/data2/inrsrvstat_before", "S"); // 현재 flag
  491. model.setValue("/root/send/data2/inrsrvstat_before", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvstat")); // 현재 flag
  492. model.setValue("/root/send/data2/inrsrvstat_after", "C"); // 취소를 위한 flag
  493. model.setValue("/root/send/data2/inrsrvcnclresn", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvcnclresn"));
  494. model.setValue("/root/send/data2/inrsrvcnclresnrem", model.getValue("/root/main/list1/grdinhpdeci["+ cur_row +"]/inrsrvcnclresnrem"));
  495. if (submit("TXPMI03401")) {
  496. //결정서조회
  497. submit("TRPMI03401");
  498. }
  499. ]]>
  500. </script>
  501. </button>
  502. <button id="ipt_search" class="btn1_letter2" navindex="3" style="left:1133px; top:17px; width:56px; height:22px; ">
  503. <caption>조회</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. //model.setValue("/root/send/data1/sendflag","D");
  507. submit("TRPMI03401");
  508. model.refresh();
  509. //fSQueryRef();
  510. ]]>
  511. </script>
  512. </button>
  513. </xhtml:body>
  514. </xhtml:html>