SMPIR31200_정산의뢰대상생성.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>정산의뢰대상생성</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <createlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <search>
  16. <ioflag>O</ioflag>
  17. <fromdd/>
  18. <todd/>
  19. <searchflag/>
  20. </search>
  21. <insertdata>
  22. <addCreate/>
  23. </insertdata>
  24. <search2>
  25. <ioflag/>
  26. <fromdd/>
  27. <todd/>
  28. <searchflag/>
  29. </search2>
  30. <tnsdata>
  31. <srchflag/>
  32. <acptno/>
  33. <judgdg/>
  34. <clamno/>
  35. <docuseqno/>
  36. </tnsdata>
  37. <updatedata>
  38. <uptlist/>
  39. </updatedata>
  40. </send>
  41. <hidden>
  42. <insertchk/>
  43. </hidden>
  44. <init>
  45. <P0008list>
  46. <P0008>
  47. <cdnm/>
  48. <cdid/>
  49. </P0008>
  50. </P0008list>
  51. <P0010list>
  52. <P0010>
  53. <cdnm/>
  54. <cdid/>
  55. </P0010>
  56. </P0010list>
  57. </init>
  58. <temp>
  59. <ioflag>O</ioflag>
  60. <fromdd/>
  61. <todd/>
  62. <searchflag>Y</searchflag>
  63. </temp>
  64. <init_pam>
  65. <init>
  66. <orddeptcd>
  67. <cd/>
  68. <nm/>
  69. <deptengabbr/>
  70. <reqdeptno/>
  71. </orddeptcd>
  72. <orddrid>
  73. <cd/>
  74. <nm/>
  75. <dp/>
  76. <sp/>
  77. </orddrid>
  78. </init>
  79. </init_pam>
  80. </root>
  81. </instance>
  82. <script type="javascript" ev:event="xforms-ready">
  83. <![CDATA[
  84. zbcfGetCodeList(new Array("P0008", "P0010"),
  85. new Array("/root/init/P0008list", "/root/init/P0010list"));
  86. fInitialize();
  87. ]]>
  88. </script>
  89. <submission id="TRPIR31201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list"/>
  90. <submission id="TRPIR31202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search2" resultref="/root/main/list"/>
  91. <submission id="TXPIR31201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/createlist"/>
  92. <submission id="TXPIR31202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata"/>
  93. </model>
  94. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  99. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  101. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  102. <script type="javascript" src="../../../pam/calcscormngtweb/js/PIC001.js"/>
  103. <script type="javascript">
  104. <![CDATA[
  105. function fInitialize(){
  106. model.removeNodeset("/root/main/list/createlist"); //그리드 초기화
  107. model.setValue("/root/temp/fromdd", ""); // 시작일자 초기화
  108. model.setValue("/root/temp/todd", ""); // 종료일자 초기화
  109. // 날짜 초기화 (시작일은 오늘 날짜)
  110. var now = new Date();
  111. var year= now.getFullYear();
  112. var mon = (now.getMonth()+1)>9 ? ''+(now.getMonth()+1) : '0'+(now.getMonth()+1);
  113. var day = now.getDate()>9 ? ''+now.getDate() : '0'+now.getDate();
  114. var fromdd = year+mon+day;
  115. model.setValue("/root/temp/fromdd", fromdd); // 시작일자 오늘 날짜로 세팅
  116. model.setFocus("ipt_fromdd"); // 시작일자에 포커스
  117. model.removeNode("/root/main/list");
  118. model.refresh();
  119. }
  120. function fSearchchk(refOpt)
  121. {
  122. // 조회 조건 데이터 체크
  123. // 시작 일자, 종료일자 -- 시작일자는 디폴트로 오늘 날짜로 세팅함
  124. // 종료일자는 시작일자 입력하면 시작일자의 월의 마지막 날자로 세팅(외래만 입원은 1일 단위)
  125. // 조회기간은 7일을 넘지 않게 함 (ex : 20120101 ~ 20120131)
  126. // 청구월 단위로 ex) 201201 조회
  127. if (refOpt =='O' || refOpt =='E'){ // O : 외래, E : 응급실 외래
  128. var sFromdd = model.getValue("/root/temp/fromdd");
  129. var sTodd = model.getValue("/root/temp/todd");
  130. // 청구월 비교
  131. var sFromym = model.getValue("/root/temp/fromdd").substr(0,6);
  132. var sToym = model.getValue("/root/temp/todd").substr(0,6);
  133. // 날자 차이 계산
  134. var sFy = sFromdd.substr(0, 4);
  135. var sFm = sFromdd.substr(4, 2);
  136. var sFd = sFromdd.substr(6, 2);
  137. var sTy = sTodd.substr(0, 4);
  138. var sTm = sTodd.substr(4, 2);
  139. var sTd = sTodd.substr(6, 2);
  140. var sSd = new Date(sFy, sFm-1, sFd);
  141. var sEd = new Date(sTy,sTm-1,sTd);
  142. var rstFrom = sSd.getTime();
  143. var rstEnd = sEd.getTime();
  144. var sDd = Math.ceil((rstEnd - rstFrom) / (24 * 60 * 60 * 1000));
  145. if (sFromdd == null || sFromdd == "" || sFromdd == " "){
  146. messageBox("시작일자가 없습니다!","E999","");
  147. model.setValue("/root/temp/fromdd","");
  148. model.refresh();
  149. model.setFocus("ipt_fromdd");
  150. return false;
  151. }
  152. if (sTodd == null || sTodd == "" || sTodd == " " || sTodd == "-"){
  153. messageBox("종료일자가 없습니다!","E999","");
  154. model.setValue("/root/temp/todd","");
  155. model.refresh();
  156. model.setFocus("ipt_todd");
  157. return false;
  158. }else if (sFromym != sToym){
  159. messageBox("시작년월과 종료년월은 같아야 합니다!","E999","");
  160. //model.setValue("/root/temp/todd","");
  161. model.refresh();
  162. model.setFocus("ipt_todd");
  163. return false;
  164. }
  165. var refflag = model.getValue("/root/temp/searchflag");
  166. if (sDd > '7' && refflag == 'Y'){
  167. messageBox("조회기간은 7일을 넘길수 없습니다!","E999","");
  168. model.setValue("/root/temp/todd","");
  169. model.refresh();
  170. model.setFocus("ipt_todd");
  171. return false;
  172. }else if (sDd < '0'){
  173. messageBox("시작일자가 종료일자보다 클수는 없습니다!","E999","");
  174. model.setValue("/root/temp/todd","");
  175. model.refresh();
  176. model.setFocus("ipt_todd");
  177. return false;
  178. }
  179. }else if (refOpt == 'I'){ // I : 입원
  180. var sFromdd = model.getValue("/root/temp/fromdd");
  181. if (sFromdd == null || sFromdd == "" || sFromdd == " "){
  182. messageBox("조회일자가 없습니다!","E999","");
  183. model.setValue("/root/temp/fromdd","");
  184. model.refresh();
  185. model.setFocus("ipt_fromdd");
  186. return false;
  187. }
  188. }
  189. return true;
  190. }
  191. ]]>
  192. </script>
  193. </xhtml:head>
  194. <xhtml:body pagewidth="1210" pageheight="752" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  195. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1160px; height:700px; ">
  196. <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:170px; height:13px; ">정산의뢰대상생성</caption>
  197. <group id="group2" style="left:5px; top:23px; width:1150px; height:40px; vertical-align:top; ">
  198. <shape id="roundrect1" class="roundrerct_search" appearance="roundrect" style="left:5px; top:2px; width:1145px; height:35px; "/>
  199. <button id="btn_srch" class="btn1_letter2" navindex="4" style="left:990px; top:9px; width:56px; height:22px; ">
  200. <caption>조회</caption>
  201. <script type="javascript" ev:event="onclick">
  202. <![CDATA[
  203. //@@@
  204. var refOpt = model.getValue("/root/temp/ioflag");
  205. var refflag = model.getValue("/root/temp/searchflag");
  206. if (fSearchchk(refOpt) == true){
  207. if (refflag == 'Y' ){
  208. model.setValue("/root/send/search/ioflag", model.getValue("/root/temp/ioflag"));
  209. model.setValue("/root/send/search/fromdd", model.getValue("/root/temp/fromdd"));
  210. model.setValue("/root/send/search/todd", model.getValue("/root/temp/todd"));
  211. model.setValue("/root/send/search/searchflag", model.getValue("/root/temp/searchflag"));
  212. submit("TRPIR31201"); // 정산의뢰대상자 조회
  213. model.setValue("/root/hidden/insertchk", "0"); //생성 후 다시 생성을 막기위해 조회를 하면 플레그 값 바꿔줌
  214. //grd_searchlist.disabled = true;
  215. } else if (refflag == 'N'){
  216. model.setValue("/root/send/search2/ioflag", model.getValue("/root/temp/ioflag"));
  217. model.setValue("/root/send/search2/fromdd", model.getValue("/root/temp/fromdd"));
  218. model.setValue("/root/send/search2/todd", model.getValue("/root/temp/todd"));
  219. model.setValue("/root/send/search2/searchflag", model.getValue("/root/temp/searchflag"));
  220. submit("TRPIR31202"); // 정산의뢰대상 생성자 조회
  221. model.setValue("/root/hidden/insertchk", "1"); // 생성 후 재생성 막기위함. 생성완료자 조회기 때문에 생성 못하게 막음
  222. //grd_searchlist.disabled = false;
  223. }
  224. }
  225. ]]>
  226. </script>
  227. <script type="javascript" ev:event="onkeyup">
  228. <![CDATA[
  229. /* if (event.keyCode == '13') {
  230. setInputNodeCurText();
  231. btn_srch.dispatch("onclick");
  232. } */
  233. ]]>
  234. </script>
  235. </button>
  236. <caption id="caption6" style="left:830px; top:11px; width:11px; height:18px; ">~</caption>
  237. <line id="line1" class="line_4" style="x1:975px; y1:4px; x2:975px; y2:31px; "/>
  238. <input id="ipt_todd" ref="/root/temp/todd" class="input_default" navindex="3" inputtype="date" style="left:850px; top:11px; width:85px; height:19px; ">
  239. <script type="javascript" ev:event="onkeyup">
  240. <![CDATA[
  241. if (event.keyCode == '13') {
  242. var sLenchk = model.getValue("/root/temp/todd");
  243. if (sLenchk.length == 8){
  244. btn_srch.dispatch("onclick");
  245. }
  246. }
  247. ]]>
  248. </script>
  249. </input>
  250. <caption id="caption5" class="search_name" style="left:660px; top:11px; width:80px; height:17px; ">정산일자 :</caption>
  251. <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_default" navindex="2" inputtype="date" style="left:742px; top:10px; width:85px; height:19px; ">
  252. <script type="javascript" ev:event="xforms-value-changed">
  253. <![CDATA[
  254. var sLenchk = model.getValue("/root/temp/fromdd");
  255. if (sLenchk.length == 8){ // 시작일자가 8자리이면 종료일자 해당 월의 마지막 날로 세팅
  256. var lastdate=new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); //각 달의 마지막 날짜
  257. var sFromyy = model.getValue("/root/temp/fromdd").substr(0, 4);
  258. var sFrommm = model.getValue("/root/temp/fromdd").substr(4, 2);
  259. if((0==sFromyy%4 && 0!=sFromyy%100) || 0==sFromyy%400){ //year를 가지고 윤년인지 검사.
  260. lastdate[1]=29; /*윤년인 경우 2월의 마지막 날짜를 29로 입력*/
  261. }
  262. var sFromdd = lastdate[sFrommm-1];
  263. var sTodd = sFromyy+sFrommm+sFromdd;
  264. model.setValue("/root/temp/todd", sTodd);
  265. ipt_todd.refresh();
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. <select1 id="opt_clammode" ref="/root/temp/ioflag" class="input_s_essential" appearance="full" cols="5" rows="1" overflow="visible" style="left:445px; top:12px; width:180px; height:15px; font-weight:bold; border-style:none; ">
  271. <choices>
  272. <item>
  273. <label>외래</label>
  274. <value>O</value>
  275. </item>
  276. <item>
  277. <label>입원</label>
  278. <value>I</value>
  279. </item>
  280. <item>
  281. <label>응급실외래</label>
  282. <value>E</value>
  283. </item>
  284. </choices>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. /* var optIOflag = model.getValue("/root/temp/ioflag");
  288. if (optIOflag == "I"){
  289. ipt_todd.visible = false;
  290. caption6.visible = false; // "~" 표시
  291. fInitialize();
  292. model.setValue("/root/temp/todd", "");
  293. }else if (optIOflag == "O"){
  294. ipt_todd.visible = true;
  295. caption6.visible = true; // "~" 표시
  296. fInitialize();
  297. model.setFocus("ipt_todd");
  298. }else if (optIOflag == "E"){
  299. ipt_todd.visible = true;
  300. caption6.visible = true; // "~" 표시
  301. fInitialize();
  302. model.setFocus("ipt_todd");
  303. }*/
  304. ]]>
  305. </script>
  306. </select1>
  307. <caption id="caption9" class="search_name" style="left:345px; top:11px; width:95px; height:17px; ">외래/입원 :</caption>
  308. <button id="btn_create" class="btn4_letter4" style="left:1060px; top:9px; width:80px; height:22px; ">
  309. <caption>대상생성</caption>
  310. <script type="javascript" ev:event="onclick">
  311. <![CDATA[
  312. var sInsertchk = model.getValue("/root/hidden/insertchk");
  313. if (sInsertchk == 0){ // 생성 후 조회를 안하고 다시 생성하는 것을 막기 위해서 추가
  314. submit("TXPIR31201");
  315. model.resetInstanceNode("/root/main/list/createlist");
  316. model.makeNode("/root/send/search2/fromdd");
  317. model.makeNode("/root/send/search2/todd");
  318. // 생성 전 조회조건을 복사
  319. //생성 직전 조회 값을 바꿀 수 있기 때문에 생성 후 결과값 조회시 잘못 조회되는 것을 막기위해
  320. model.setValue("/root/send/search2/ioflag", model.getValue("/root/send/search/ioflag"));
  321. model.setValue("/root/send/search2/fromdd", model.getValue("/root/send/search/fromdd"));
  322. model.setValue("/root/send/search2/todd", model.getValue("/root/send/search/todd"));
  323. // 조회조건 체크 로직 제외 -- 앞선 조회조건을 그대로 이용하기 때문에 필요가 없음.
  324. //var refOpt = model.getValue("/root/send/search2/ioflag");
  325. //if (fSearchchk(refOpt) == true){
  326. submit("TRPIR31202");
  327. //}
  328. model.setValue("/root/hidden/insertchk", "1"); // 생성 후 플리그 값 넣어줌 ( 생성 후 같은 데이터 생성 막기 위해)
  329. model.refresh();
  330. }else if (sInsertchk == 1){
  331. messageBox("조회를 하시고 생성을 눌러주세요!","E999","");
  332. }
  333. ]]>
  334. </script>
  335. </button>
  336. <caption id="caption1" class="search_name" style="left:20px; top:11px; width:95px; height:17px; ">조회구분 :</caption>
  337. <select1 id="rdo_search" ref="/root/temp/searchflag" class="input_s_essential" appearance="full" cols="5" rows="1" overflow="visible" style="left:111px; top:12px; width:205px; height:15px; font-weight:bold; border-style:none; ">
  338. <choices>
  339. <item>
  340. <label>생성대상자조회</label>
  341. <value>Y</value>
  342. </item>
  343. <item>
  344. <label>생성자조회</label>
  345. <value>N</value>
  346. </item>
  347. </choices>
  348. <script type="javascript" ev:event="xforms-value-changed">
  349. <![CDATA[
  350. var optIOflag = model.getValue("/root/temp/ioflag");
  351. if (optIOflag == "I"){
  352. ipt_todd.visible = false;
  353. caption6.visible = false; // "~" 표시
  354. fInitialize();
  355. model.setValue("/root/temp/todd", "");
  356. }else if (optIOflag == "O"){
  357. ipt_todd.visible = true;
  358. caption6.visible = true; // "~" 표시
  359. fInitialize();
  360. model.setFocus("ipt_todd");
  361. }else if (optIOflag == "E"){
  362. ipt_todd.visible = true;
  363. caption6.visible = true; // "~" 표시
  364. fInitialize();
  365. model.setFocus("ipt_todd");
  366. }
  367. ]]>
  368. </script>
  369. </select1>
  370. </group>
  371. <switch id="swt_add" style="left:10px; top:75px; width:1150px; height:580px; border-color:#c7a3cf; border-style:solid; ">
  372. <case id="case_summary" selected="true" style="left:0px; top:0px; width:1148px; height:600px; ">
  373. <line id="line17" class="line_1" style="x1:7px; y1:25px; x2:1142px; y2:25px; "/>
  374. <datagrid id="grd_searchlist" nodeset="/root/main/list/createlist" caption="정산일자^접수번호^명일련^환자번호^청구월^차수^caption1^진료과^구분^진료기간^진료기간^급여총액^급여총액^급여총액^청구액^청구액^청구액^보험유형^보험유형^보조유형^보조유형^주상병^V Code^의뢰완료여부^심사차수|정산일자^접수번호^명일련^환자번호^청구월^차수^caption1^진료과^구분^시작일^종료일^사후^원무^차액^사후^원무^차액^사후^원무^사후^원무^주상병^V Code^의뢰완료여부^심사차수" colsep="^" colwidth="60, 60, 50, 65, 60, 40, 21, 80, 65, 70, 70, 100, 100, 100, 100, 100, 100, 60, 60, 60, 60, 60, 60, 87, 30" explorerbar="sortshowmove" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:9px; top:30px; width:1130px; height:525px; ">
  375. <col disabled="true" ref="rcptexecdd" style="text-align:center; "/>
  376. <col disabled="true" ref="acptno" style="text-align:center; "/>
  377. <col disabled="true" ref="docuseqno" style="text-align:center; "/>
  378. <col disabled="true" ref="pid" style="text-align:center; "/>
  379. <col disabled="true" ref="clamym" style="text-align:center; "/>
  380. <col disabled="true" ref="clamdg" style="text-align:center; "/>
  381. <col disabled="true" ref="pidsn" visibility="hidden" style="text-align:center; "/>
  382. <col disabled="true" ref="orddeptcd" style="text-align:center; "/>
  383. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  384. <choices>
  385. <item>
  386. <label>입원</label>
  387. <value>I</value>
  388. </item>
  389. <item>
  390. <label>외래</label>
  391. <value>O</value>
  392. </item>
  393. <item>
  394. <label>ER 외래</label>
  395. <value>E</value>
  396. </item>
  397. </choices>
  398. </col>
  399. <col disabled="true" ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  400. <col disabled="true" ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
  401. <col disabled="true" ref="edimedcaretotamt" format="#,###" style="text-align:center; "/>
  402. <col disabled="true" ref="payamt" format="#,###" style="left:776px; top:43px; width:100px; height:23px; text-align:center; "/>
  403. <col disabled="true" ref="totamtdif" format="#,###" style="text-align:center; "/>
  404. <col disabled="true" ref="ediinsuclamamt" format="#,###" style="text-align:center; "/>
  405. <col disabled="true" ref="payinsubamt" format="#,###" style="text-align:center; "/>
  406. <col disabled="true" ref="insubamtdif" format="#,###" style="text-align:center; "/>
  407. <col disabled="true" ref="sinsukind" type="combo" style="text-align:center; ">
  408. <choices>
  409. <itemset nodeset="/root/init/P0008list/P0008">
  410. <label ref="cdnm"/>
  411. <value ref="cdid"/>
  412. </itemset>
  413. </choices>
  414. </col>
  415. <col disabled="true" ref="winsukind" type="combo" format="yyyy-mm-dd" style="text-align:center; ">
  416. <choices>
  417. <itemset nodeset="/root/init/P0008list/P0008">
  418. <label ref="cdnm"/>
  419. <value ref="cdid"/>
  420. </itemset>
  421. </choices>
  422. </col>
  423. <col disabled="true" ref="ssuppkind" type="combo" style="text-align:center; ">
  424. <choices>
  425. <itemset nodeset="/root/init/P0010list/P0010">
  426. <label ref="cdnm"/>
  427. <value ref="cdid"/>
  428. </itemset>
  429. </choices>
  430. </col>
  431. <col ref="wsuppkind" type="combo" style="text-align:center; ">
  432. <choices>
  433. <itemset nodeset="/root/init/P0010list/P0010">
  434. <label ref="cdnm"/>
  435. <value ref="cdid"/>
  436. </itemset>
  437. </choices>
  438. </col>
  439. <col disabled="true" ref="diagcd" style="text-align:center; "/>
  440. <col disabled="true" ref="spclcd" style="text-align:center; "/>
  441. <col ref="endyn" type="combo" style="text-align:center; ">
  442. <choices>
  443. <item>
  444. <label>진행중</label>
  445. <value>N</value>
  446. </item>
  447. <item>
  448. <label>완료</label>
  449. <value>Y</value>
  450. </item>
  451. <item>
  452. <label>대상아님</label>
  453. <value>X</value>
  454. </item>
  455. </choices>
  456. </col>
  457. <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
  458. <script type="javascript" ev:event="ondblclick">
  459. <![CDATA[
  460. //btn_chuga.dispatch("onclick");
  461. model.setValue("/root/send/tnsdata/srchflag", "1");
  462. model.setValue("/root/send/tnsdata/acptno", grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("acptno")));
  463. model.setValue("/root/send/tnsdata/judgdg", grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("judgdg")));
  464. model.setValue("/root/send/tnsdata/clamno", grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("clamno")));
  465. model.setValue("/root/send/tnsdata/docuseqno", grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("docuseqno")));
  466. var acptno1 = grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("acptno"));
  467. var judgdg1 = grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("judgdg"));
  468. var docuseqno1 = grd_searchlist.valueMatrix(grd_searchlist.row,grd_searchlist.colRef("docuseqno"));
  469. //modal("SMPIR31000", 3, 1, 1, "/root/send/tnsdata", "/root/send/data1");
  470. //modal("SMPIR31000","replace", "", "", "/root/send/tnsdata", "/root/send/data1");
  471. modal("SMPIR31000", "1","", "", "SMPIR31000", "/root/send/tnsdata", "/root/init/item1");
  472. ]]>
  473. </script>
  474. </datagrid>
  475. <button id="btn_save" class="btn4_letter2" style="left:1079px; top:3px; width:56px; height:22px; ">
  476. <caption>수정</caption>
  477. <script type="javascript" ev:event="onclick">
  478. <![CDATA[
  479. //row 값
  480. var update = getGridUpdateData(grd_searchlist);
  481. if(update == ""){
  482. messageBox("업데이트 정보가 없습니다.", "I");
  483. return 0;
  484. }
  485. model.setValue("/root/send/updatedata/uptlist",grd_searchlist.getupdatedata());
  486. if ( submit("TXPIR31202") ) {
  487. submit("TRPIR31202"); // 수정 후 재조회
  488. model.refresh();
  489. grd_searchlist.clearStatus();
  490. }
  491. ]]>
  492. </script>
  493. </button>
  494. </case>
  495. </switch>
  496. </group>
  497. <group id="group1" scroll="auto" style="left:10px; top:680px; width:1150px; height:35px; ">
  498. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1099px; y2:0px; "/>
  499. <button id="btn_close" class="btn4_letter2" style="left:1085px; top:5px; width:56px; height:22px; ">
  500. <caption>닫기</caption>
  501. <script type="javascript" ev:event="DOMActivate">
  502. <![CDATA[
  503. window.close(); // F5 실행시 IE를 종료시킨다.
  504. ]]>
  505. </script>
  506. </button>
  507. <button id="btn_reset" class="btn4_letter3" style="left:1010px; top:5px; width:100px; height:22px; ">
  508. <caption>초기화</caption>
  509. <script type="javascript" ev:event="DOMActivate">
  510. <![CDATA[
  511. fInitialize();
  512. ]]>
  513. </script>
  514. </button>
  515. <button id="btn_chuga" class="btn3_letter10" style="left:15px; top:5px; width:104px; height:22px; ">
  516. <caption>이의신청정산의뢰생성</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. modal("SMPIR31000", "3", "", "", "", "", "", "");
  520. ]]>
  521. </script>
  522. </button>
  523. </group>
  524. </xhtml:body>
  525. </xhtml:html>