SMPIE05300_자보이의제기(정산심사)결정통보서(N130)조회.xrw 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>자보이의제기(정산심사)결정통보서(N130/N150)조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send_n131>
  11. <flag/>
  12. <fromdd/>
  13. <todd/>
  14. <ioflag/>
  15. <calcjudgdg/>
  16. <noflag/>
  17. <no/>
  18. <insucmno/>
  19. <relbase/>
  20. <formflag/>
  21. <judgrid/>
  22. <orddeptcd/>
  23. <endyn/>
  24. <clamflag/>
  25. </send_n131>
  26. <send_n133>
  27. <calcjudgdg/>
  28. <calcnotidd/>
  29. <formflag/>
  30. <acptno/>
  31. <clamseqno/>
  32. <calcyearseqno/>
  33. <docuseqno/>
  34. </send_n133>
  35. <send_end>
  36. <calcjudgdg/>
  37. <calcnotidd/>
  38. <formflag/>
  39. <acptno/>
  40. <clamseqno/>
  41. <calcyearseqno/>
  42. <docuseqno/>
  43. <judgrid/>
  44. <endyn/>
  45. <list/>
  46. </send_end>
  47. </send>
  48. <main>
  49. <list01>
  50. <gridpiehn131>
  51. <calcjudgdg/>
  52. <calcnotidd/>
  53. <formflag/>
  54. <insuflag/>
  55. <clamno/>
  56. <fild/>
  57. <acptno/>
  58. <judgdg/>
  59. <clamseqno/>
  60. <calcyearseqno/>
  61. <decidifamtsum/>
  62. <relbase/>
  63. <remtwo/>
  64. <docuno/>
  65. <calcchrgdeptnm/>
  66. <calcchrgnm/>
  67. <calcbiztel/>
  68. <remone/>
  69. <docuenddd/>
  70. <suppcd/>
  71. </gridpiehn131>
  72. </list01>
  73. <list02>
  74. <gridpiehn133>
  75. <docuseqno/>
  76. <pid/>
  77. <patnm/>
  78. <decidifamt/>
  79. <deccntnt/>
  80. </gridpiehn133>
  81. </list02>
  82. </main>
  83. <init>
  84. <PK032list>
  85. <PK032>
  86. <cdid/>
  87. <cdnm/>
  88. </PK032>
  89. </PK032list>
  90. <P0247list>
  91. <P0247>
  92. <cdid/>
  93. <cdnm/>
  94. </P0247>
  95. </P0247list>
  96. <P0286list>
  97. <P0286>
  98. <cdid/>
  99. <cdnm/>
  100. </P0286>
  101. </P0286list>
  102. <P0291list>
  103. <P0291>
  104. <cdid/>
  105. <cdnm/>
  106. </P0291>
  107. </P0291list>
  108. <PK077list/>
  109. </init>
  110. <hidden>
  111. </hidden>
  112. <sendprinter>
  113. <gridpiehn131>
  114. <calcjudgdg/>
  115. <calcnotidd/>
  116. <formflag/>
  117. <acptno/>
  118. <judgdg/>
  119. <fild/>
  120. <ioflag/>
  121. <calcyearseqno/>
  122. <decidifamtsum/>
  123. <relbase/>
  124. <remtwo/>
  125. </gridpiehn131>
  126. <list02>
  127. <grd_piehn133>
  128. <docuseqno/>
  129. <pid/>
  130. <patnm/>
  131. <decidifamt/>
  132. <deccntnt/>
  133. </grd_piehn133>
  134. </list02>
  135. </sendprinter>
  136. </root>
  137. </instance>
  138. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  139. <submission id="TRPIE05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_n131" resultref="/root/main/list01"/>
  140. <submission id="TRPIE05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_n133" resultref="/root/main/list02"/>
  141. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  142. <submission id="TRPIE05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_n133" resultref="/root/sendprinter/"/>
  143. <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list1"/>
  144. <submission id="TRPIJ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/send" resultref="/root/hidden"/>
  145. <submission id="TXPIE05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_end" resultref="/"/>
  146. <submission id="TXPIE05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_end" resultref="/"/>
  147. </model>
  148. <script type="javascript" ev:event="xforms-ready">
  149. <![CDATA[
  150. // 공통코드 Load작업
  151. CommCode_Load();
  152. // 그리드 고정
  153. //grd_piehn131.frozenCols = grd_piehn131.colRef("calcnotidd");
  154. fInitialize();
  155. grd_piehn131.fixedcellcheckbox(0,grd_piehn131.colRef("endyn")) = true;
  156. ]]>
  157. </script>
  158. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  159. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  160. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  161. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  163. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  164. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  165. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  166. <script type="javascript">
  167. <![CDATA[
  168. function Node_Init() {
  169. // NodeSet 초기화
  170. model.resetInstanceNode("/root/main/list");
  171. model.refresh();
  172. }
  173. // 공통코드 Load작업
  174. function CommCode_Load() {
  175. submit("TRPIJ00203",false);
  176. submit("TRPIJ00202",false);
  177. zbcfGetCodeList(new Array("P0247","P0286","P0291"), new Array( "/root/init/P0247list","/root/init/P0286list","/root/init/P0291list")); // 보험자구분
  178. pamfGetCodeList(new Array("PK077"), new Array("/root/init/PK077list"));
  179. }
  180. function fSendChk() {
  181. var flag = model.getValue("/root/send/send_n131/flag"); //차수및일자
  182. var fromdd = model.getValue("/root/send/send_n131/fromdd");
  183. var todd = model.getValue("/root/send/send_n131/todd");
  184. var ioflag = model.getValue("/root/send/send_n131/ioflag");
  185. var calcjudgdg = model.getValue("/root/send/send_n131/calcjudgdg");
  186. var noflag = model.getValue("/root/send/send_n131/noflag"); //접수&청구번호
  187. var no = model.getValue("/root/send/send_n131/no");
  188. var insucmno = model.getValue("/root/send/send_n131/insucmno");
  189. // 정산차수 선택했을때 시작 종료차수 입력햇는지 확인
  190. /*
  191. if(flag == "1"){
  192. if(fromdg == "" && todg == ""){
  193. messageBox("정산차수 조건을","C001");
  194. return false;
  195. }
  196. if(fromdg != "" && todg == ""){
  197. messageBox("정산차수의 종료차수를","C001");
  198. return false;
  199. }
  200. if(fromdg == "" && todg != ""){
  201. messageBox("정산차수의 시작차수를","C001");
  202. return false;
  203. }
  204. }
  205. if(flag == "2"){
  206. if(fromdd == "" && todd == ""){
  207. messageBox("진료년월 조건을","C001");
  208. return false;
  209. }
  210. if(fromdd != "" && todd == ""){
  211. messageBox("진료년월 종료일자를","C001");
  212. return false;
  213. }
  214. if(fromdd == "" && todd != ""){
  215. messageBox("진료년월 시작일자를","C001");
  216. return false;
  217. }
  218. }
  219. if(flag == "3"){
  220. if(fromdd == "" && todd == ""){
  221. messageBox("통보일자 조건을","C001");
  222. return false;
  223. }
  224. if(fromdd != "" && todd == ""){
  225. messageBox("통보일자 종료일자를","C001");
  226. return false;
  227. }
  228. if(fromdd == "" && todd != ""){
  229. messageBox("통보일자 시작일자를","C001");
  230. return false;
  231. }
  232. }
  233. */
  234. //2009-12-08(요청사항(윤영옥)- 차수및 일자 검색시 진료열월검색시 해당구간 데이터를 모두 보여주는 조건으로 변경)
  235. /*
  236. if(noflag == "A"){
  237. if(no == ""){
  238. messageBox("접수번호를","C001");
  239. return false;
  240. }
  241. }
  242. if(noflag == "C"){
  243. if(no == ""){
  244. messageBox("청구번호를","C001");
  245. return false;
  246. }
  247. }
  248. */
  249. return true;
  250. }
  251. function fDayChk(){
  252. var appno = model.getValue("/root/send/appno1");
  253. var dd = getCurrentDate();
  254. if(appno != dd){
  255. var chk = messageBox("신청일자가 오늘일자와 다릅니다.","Q003");
  256. if(chk == "6"){
  257. return true;
  258. }else{
  259. return false;
  260. }
  261. }
  262. }
  263. function fNewLnnoSet(){
  264. var rows = grd_piehh702.rows;
  265. var frows = grd_piehh702.fixedRows;
  266. var nrows = rows - frows;
  267. var newlnno = model.getValue("/root/main/list01/gridpiehh702[" + nrows + "]/lnno")
  268. model.setValue("/root/main/list02/gridpiehh702info/lnno", newlnno);
  269. //약품조회시 처음에 insert한다는 전제하에 status를 I로 한다.
  270. var rows = grd_piehh703.rows;
  271. var frows = grd_piehh703.fixedRows;
  272. var nrows = rows - frows;
  273. for(var i = 1; i <= nrows; i++){
  274. model.setValue("/root/main/list03/gridpiehh703[" + i + "]/lnno",newlnno);
  275. grd_piehh703.rowStatus(i) = 1;
  276. }
  277. model.refresh();
  278. }
  279. function fInitialize(){
  280. model.resetInstanceNode("/root/send");
  281. model.removeNodeset("/root/main/list01/gridpiehn131");
  282. model.removeNodeset("/root/main/list02/gridpiehn133");
  283. // rdo_flag.value = "1";
  284. model.setValue("/root/send/send_n131/flag", "1");
  285. model.setValue("/root/send/send_n131/ioflag", "A");
  286. model.setValue("/root/send/send_n131/noflag", "A");
  287. model.refresh();
  288. }
  289. function fPrinter(){
  290. for (var i =1; i < grd_piehn131.rows; i++){
  291. model.removeNodeset("/root/sendprinter");
  292. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcjudgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg"))); //정산심사차수
  293. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcnotidd",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd"))); //정산통보일자
  294. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/formflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag"))); //서식구분
  295. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/acptno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno"))); //접수번호
  296. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/judgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("judgdg"))); //심사차수
  297. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/fild",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("fild"))); //분야
  298. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/ioflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("ioflag"))); //내원유형
  299. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcyearseqno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno"))); //정산연변
  300. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/decidifamtsum",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("decidifamtsum"))); //정산결정차액합
  301. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/relbase",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("relbase"))); //관련근거
  302. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/remtwo",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("remtwo"))); //참조
  303. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/instcd", getUserInfo("dutplceinstcd")); //참조
  304. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  305. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  306. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  307. // F110.2를 조회하기 위한 set작업
  308. model.setValue("/root/send/send_n133/calcjudgdg", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg")));
  309. model.setValue("/root/send/send_n133/calcnotidd", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd")));
  310. model.setValue("/root/send/send_n133/formflag", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag")));
  311. model.setValue("/root/send/send_n133/acptno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno")));
  312. model.setValue("/root/send/send_n133/clamseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("clamseqno")));
  313. model.setValue("/root/send/send_n133/calcyearseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno")));
  314. model.refresh();
  315. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  316. submit("TRPIE05302");
  317. model.removeNodeset("/root/sendprinter/list02/grd_piehn133");
  318. model.makeNode("/root/sendprinter/list02/grd_piehn133");
  319. if( getNodesetCount("/root/sendprinter/list02/grd_piehn133") > 0 ){
  320. model.copyNode("/root/sendprinter/list02", "/root/main/list02");
  321. }
  322. exeReportPreview("RPPIE03600", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  323. fsetGridSelEndYN(i, "Y");
  324. fsetGridCellColor(i);
  325. }
  326. }
  327. function fSelPrinter(){
  328. model.removeNodeset("/root/sendprinter");
  329. for (var i =1; i < grd_piehn131.rows; i++){
  330. if (model.getValue("/root/main/list01/gridpiehn131[" + i + "]/patspecyn") == "Y") {
  331. model.makeValue("/root/sendprinter/gridpiehn131/calcjudgdg",grd_piehn131.labelmatrix(i, 2)); //정산심사차수
  332. model.makeValue("/root/sendprinter/gridpiehn131/calcnotidd",grd_piehn131.labelmatrix(i, 3)); //정산통보일자
  333. model.makeValue("/root/sendprinter/gridpiehn131/formflag",grd_piehn131.labelmatrix(i, 4)); //서식구분
  334. model.makeValue("/root/sendprinter/gridpiehn131/acptno",grd_piehn131.labelmatrix(i, 8)); //접수번호
  335. model.makeValue("/root/sendprinter/gridpiehn131/judgdg",grd_piehn131.labelmatrix(i, 9)); //심사차수
  336. model.makeValue("/root/sendprinter/gridpiehn131/fild",grd_piehn131.labelmatrix(i, 7)); //분야
  337. model.makeValue("/root/sendprinter/gridpiehn131/ioflag",grd_piehn131.labelmatrix(i, 22)); //내원유형
  338. model.makeValue("/root/sendprinter/gridpiehn131/calcyearseqno",grd_piehn131.labelmatrix(i, 11)); //정산연변
  339. model.makeValue("/root/sendprinter/gridpiehn131/decidifamtsum",grd_piehn131.labelmatrix(i, 12)); //정산결정차액합
  340. model.makeValue("/root/sendprinter/gridpiehn131/relbase",grd_piehn131.labelmatrix(i, 13)); //관련근거
  341. model.makeValue("/root/sendprinter/gridpiehn131/remtwo",grd_piehn131.labelmatrix(i, 14)); //참조
  342. model.makeValue("/root/sendprinter/gridpiehn131/instcd", getUserInfo("dutplceinstcd")); //참조
  343. model.makeValue("/root/sendprinter/gridpiehn131/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  344. model.makeValue("/root/sendprinter/gridpiehn131/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  345. model.makeValue("/root/sendprinter/gridpiehn131/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  346. // N130.2를 조회하기 위한 set작업
  347. model.setValue("/root/send/send_n133/calcjudgdg", grd_piehn131.labelmatrix(i, 2));
  348. model.setValue("/root/send/send_n133/calcnotidd", grd_piehn131.labelmatrix(i, 3));
  349. model.setValue("/root/send/send_n133/formflag", grd_piehn131.labelmatrix(i, 4));
  350. model.setValue("/root/send/send_n133/acptno", grd_piehn131.labelmatrix(i, 8));
  351. model.setValue("/root/send/send_n133/clamseqno", grd_piehn131.labelmatrix(i, 10));
  352. model.setValue("/root/send/send_n133/calcyearseqno", grd_piehn131.labelmatrix(i, 11));
  353. //model.setValue("/root/send/send_n133/docuseqno", model.getValue("/root/main/list01/gridpiehn131[" + i + "]/docuseqno"));
  354. model.refresh();
  355. // N130.1의 appno, notino, reptflag 를 가지고 N110.2를 조회한다.
  356. submit("TRPIE05302");
  357. model.removeNodeset("/root/sendprinter/list02/grd_piehn133");
  358. model.makeNode("/root/sendprinter/list02/grd_piehn133");
  359. if( getNodesetCount("/root/sendprinter/list02/grd_piehn133") > 0 ){
  360. model.copyNode("/root/sendprinter/list02", "/root/main/list02");
  361. }
  362. exeReportPreview("RPPIE03600", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  363. fsetGridSelEndYN(i, "Y");
  364. fsetGridCellColor(i);
  365. }
  366. }
  367. }
  368. function fsetGridColor(){
  369. grd_piehn131.rebuildStyle(grd_piehn131.fixedRows, 1, grd_piehn131.rows-grd_piehn131.fixedRows, grd_piehn131.cols -1 );
  370. var endyncnt = model.getXPathValue("count("+grd_piehn131.nodeset + "[endyn='Y'])");
  371. var startrow = grd_piehn131.findRow("Y", grd_piehn131.fixedRows, grd_piehn131.colRef("endyn"),true,true);
  372. for (var i =0; i < endyncnt; i++){
  373. var nowrow = grd_piehn131.findRow("Y", startrow, grd_piehn131.colRef("endyn"),true,true);
  374. grd_piehn131.rowstyle(nowrow , "all", "background-color") = "#FFF000";
  375. startrow = grd_piehn131.findRow("Y", startrow, grd_piehn131.colRef("endyn"),true,true) + 1;
  376. }
  377. }
  378. function fsetGridCellColor(row){
  379. if (grd_piehn131.valueMatrix(row,grd_piehn131.colRef("endyn")) == "Y") {
  380. grd_piehn131.rowstyle(row , "all", "background-color") = "#FFF000";
  381. } else {
  382. grd_piehn131.rebuildStyle(row, 1, row, grd_piehn131.cols -1 );
  383. }
  384. }
  385. function fsetGridSelEndYN(row, endyn){
  386. model.setValue("/root/send/send_end/endyn", endyn);
  387. model.setValue("/root/send/send_end/calcjudgdg", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("calcjudgdg")));
  388. model.setValue("/root/send/send_end/calcnotidd", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("calcnotidd")));
  389. model.setValue("/root/send/send_end/formflag", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("formflag")));
  390. model.setValue("/root/send/send_end/acptno", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("acptno")));
  391. model.setValue("/root/send/send_end/clamseqno", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("clamseqno")));
  392. model.setValue("/root/send/send_end/calcyearseqno", grd_piehn131.valueMatrix(row,grd_piehn131.colRef("calcyearseqno")));
  393. submit("TXPIE05301", false);
  394. model.resetInstanceNode("/root/send/send_end");
  395. grd_piehn131.valueMatrix(row,grd_piehn131.colRef("endyn")) = endyn;
  396. }
  397. ]]>
  398. </script>
  399. </xhtml:head>
  400. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  401. <group id="group4" scroll="auto" style="left:0px; top:15px; width:1194px; height:741px; ">
  402. <datagrid id="grd_piehn131" nodeset="/root/main/list01/gridpiehn131" class="datagrid3" caption="선택^정산&#xA;심사차수^통보일자^서식구분^보험자&#xA;구분^청구번호^분야^접수번호^심사차수^청구서&#xA;일련번호^정산연번^정산심사&#xA;결정차액합^관련근거^참조란^문서번호^담당부서^담당자명^담당전화^안내사항^문서완료일자^보험회사^내원유형^완료&#xA;구분" colsep="^" colwidth="35, 80, 80, 100, 60, 80, 90, 80, 80, 100, 80, 100, 100, 150, 80, 90, 90, 90, 400, 100, 80, 100, 47" dataheight="25" ellipsis="true" explorerbar="sortmove" fixedcols="1" focuscolor="#b9e5fb" frozencols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:118px; width:1194px; height:226px; ">
  403. <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
  404. <col ref="calcjudgdg" style="text-align:center; "/>
  405. <col ref="calcnotidd" style="text-align:center; "/>
  406. <col ref="formflag" style="text-align:center; "/>
  407. <col disabled="true" ref="insuflag" type="combo" style="text-align:center; ">
  408. <choices>
  409. <itemset nodeset="/root/init/P0247list/P0247">
  410. <label ref="cdnm"/>
  411. <value ref="cdid"/>
  412. </itemset>
  413. </choices>
  414. </col>
  415. <col ref="clamno" style="text-align:center; "/>
  416. <col ref="fild" style="text-align:center; "/>
  417. <col ref="acptno" style="text-align:center; "/>
  418. <col ref="judgdg" style="text-align:center; "/>
  419. <col ref="clamseqno" style="text-align:center; "/>
  420. <col ref="calcyearseqno" style="text-align:center; "/>
  421. <col ref="decidifamtsum" format="(-)#,###" style="text-align:right; "/>
  422. <col ref="relbase" style="text-align:center; "/>
  423. <col ref="remtwo"/>
  424. <col ref="docuno" style="text-align:center; "/>
  425. <col ref="calcchrgdeptnm" style="text-align:center; "/>
  426. <col ref="calcchrgnm" style="text-align:center; "/>
  427. <col ref="calcbiztel" style="text-align:center; "/>
  428. <col ref="remone"/>
  429. <col ref="docuenddd" style="text-align:center; "/>
  430. <col ref="insucmno" type="combo" style="text-align:center; ">
  431. <choices>
  432. <itemset nodeset="/root/init/PK032list/PK032">
  433. <label ref="cdnm"/>
  434. <value ref="cdid"/>
  435. </itemset>
  436. </choices>
  437. </col>
  438. <col ref="ioflag" style="text-align:center; "/>
  439. <col checkvalue="Y,N" ref="endyn" type="checkbox"/>
  440. <script type="javascript" ev:event="ondblclick">
  441. <![CDATA[
  442. // N110.2를 조회하기 위한 set작업
  443. if(grd_piehn131.isCell(event.target) && grd_piehn131.row >= grd_piehn131.fixedRows) {
  444. var row = grd_piehn131.row;
  445. model.setValue("/root/send/send_n133/calcjudgdg", grd_piehn131.valueMatrix(row,2));
  446. model.setValue("/root/send/send_n133/calcnotidd", grd_piehn131.valueMatrix(row,3));
  447. model.setValue("/root/send/send_n133/formflag", grd_piehn131.valueMatrix(row,4));
  448. model.setValue("/root/send/send_n133/acptno", grd_piehn131.valueMatrix(row,8));
  449. model.setValue("/root/send/send_n133/clamseqno", grd_piehn131.valueMatrix(row,10));
  450. model.setValue("/root/send/send_n133/calcyearseqno", grd_piehn131.valueMatrix(row,11));
  451. // N130.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  452. submit("TRPIE05302");
  453. }
  454. ]]>
  455. </script>
  456. <script type="javascript" ev:event="onkeydown">
  457. <![CDATA[
  458. // 셀 복사 Ctrl + C 키를 누른 경우
  459. if (grd_piehn131.isCell(event.target) && grd_piehn131.row >= grd_piehn131.fixedRows) {
  460. var row = grd_piehn131.row;
  461. var col = grd_piehn131.col;
  462. var clip = grd_piehn131.labelMatrix(row, col);
  463. window.clipBoardData = clip;
  464. }
  465. ]]>
  466. </script>
  467. <script type="javascript" ev:event="oncopy">
  468. <![CDATA[
  469. grid_oncopy();
  470. ]]>
  471. </script>
  472. <script type="javascript" ev:event="xforms-value-changed">
  473. <![CDATA[
  474. if (grd_piehn131.col == grd_piehn131.colRef("endyn")) {
  475. var row = grd_piehn131.row;
  476. fsetGridSelEndYN(row, grd_piehn131.valueMatrix(row,grd_piehn131.colRef("endyn")));
  477. fsetGridCellColor(row);
  478. }
  479. ]]>
  480. </script>
  481. <script type="javascript" ev:event="onclick">
  482. <![CDATA[
  483. if (grd_piehn131.row == 0 && grd_piehn131.col == grd_piehn131.colRef("endyn")) {
  484. model.setValue("/root/send/send_end/list",grd_piehn131.getUpdateDataAll("u"));
  485. submit("TXPIE05302", false);
  486. fsetGridColor();
  487. }
  488. ]]>
  489. </script>
  490. <script type="javascript" ev:event="onaftersort">
  491. <![CDATA[
  492. grd_piehn131.gridToInstance();
  493. ]]>
  494. </script>
  495. </datagrid>
  496. <caption id="caption5" class="tit_2" style="left:5px; top:98px; width:110px; height:14px; ">N130. 1/2</caption>
  497. <datagrid id="grd_piehn133" nodeset="/root/main/list02/gridpiehn133" class="datagrid2" caption="명일련^등록번호^수진자^심사결정차액^진료과^심사자^결정내용" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 770" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:386px; width:1194px; height:351px; ">
  498. <col ref="docuseqno" style="text-align:center; "/>
  499. <col ref="pid" style="text-align:center; "/>
  500. <col ref="patnm" style="text-align:center; "/>
  501. <col ref="decidifamt" format="(-)#,###" style="text-align:right; "/>
  502. <col ref="orddeptcd" style="text-align:center; "/>
  503. <col ref="judgrid" style="text-align:center; "/>
  504. <col ref="deccntnt" style="left:420px; top:32px; width:770px; height:23px; "/>
  505. <script type="javascript" ev:event="onkeydown">
  506. <![CDATA[
  507. // 셀 복사 Ctrl + C 키를 누른 경우
  508. if (grd_piehn133.isCell(event.target) && grd_piehn133.row >= grd_piehn133.fixedRows) {
  509. var row = grd_piehn133.row;
  510. var col = grd_piehn133.col;
  511. var clip = grd_piehn133.labelMatrix(row, col);
  512. window.clipBoardData = clip;
  513. }
  514. ]]>
  515. </script>
  516. <script type="javascript" ev:event="oncopy">
  517. <![CDATA[
  518. grid_oncopy();
  519. ]]>
  520. </script>
  521. </datagrid>
  522. <line id="line2" class="line_1" style="x1:0px; y1:380px; x2:1194px; y2:380px; "/>
  523. <caption id="caption8" class="tit_2" style="left:5px; top:366px; width:65px; height:14px; ">N130.3</caption>
  524. <line id="line3" class="line_1" style="x1:0px; y1:115px; x2:1194px; y2:114px; "/>
  525. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:70px; vertical-align:top; ">
  526. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
  527. <line id="line4" class="line_4" style="x1:1115px; y1:13px; x2:1115px; y2:60px; "/>
  528. <caption id="caption9" class="search_name" style="left:270px; top:26px; width:96px; height:17px; ">보험회사 :</caption>
  529. <caption id="caption11" style="left:429px; top:8px; width:15px; height:15px; ">~</caption>
  530. <button id="btn_srch" class="btn1_letter2" style="left:1130px; top:28px; width:56px; height:22px; ">
  531. <caption>조회</caption>
  532. <script type="javascript" ev:event="DOMActivate">
  533. <![CDATA[
  534. // 조회조건 확인
  535. if(fSendChk()){
  536. model.resetInstanceNode(grd_piehn133.nodeset);
  537. // 조회조건으로N130.1 data를 조회한다.
  538. submit("TRPIE05301");
  539. fsetGridColor();
  540. }
  541. ]]>
  542. </script>
  543. </button>
  544. <select1 id="rdo_flag" ref="/root/send/send_n131/flag" appearance="full" cols="3" overflow="visible" style="left:122px; top:7px; width:210px; height:15px; border-style:none; ">
  545. <choices>
  546. <item>
  547. <label>정산차수</label>
  548. <value>1</value>
  549. </item>
  550. <item>
  551. <label>진료년월</label>
  552. <value>2</value>
  553. </item>
  554. <item>
  555. <label>통보일자</label>
  556. <value>3</value>
  557. </item>
  558. </choices>
  559. <script type="javascript" ev:event="xforms-select">
  560. <![CDATA[
  561. if (rdo_flag.value == 1) {
  562. ipt_fromdd.attribute("maxlength") = 8;
  563. ipt_todd.attribute("maxlength") = 8;
  564. ipt_fromdd.attribute("format") = "";
  565. ipt_todd.attribute("format") = "";
  566. ipt_fromdd.attribute("inputtype") = "";
  567. ipt_todd.attribute("inputtype") = "";
  568. }else if (rdo_flag.value == 2) {
  569. ipt_fromdd.attribute("format") = "yyyy-mm";
  570. ipt_todd.attribute("format") = "yyyy-mm";
  571. ipt_fromdd.attribute("inputtype") = "date";
  572. ipt_todd.attribute("inputtype") = "date";
  573. var cur_date = getCurrentDate();
  574. model.setValue("/root/send/send_n131/fromdd", cur_date.substr(0,6));
  575. model.setValue("/root/send/send_n131/todd", cur_date.substr(0,6));
  576. }else if (rdo_flag.value == 3){
  577. ipt_fromdd.attribute("format") = "yyyy-mm-dd";
  578. ipt_todd.attribute("format") = "yyyy-mm-dd";
  579. ipt_fromdd.attribute("inputtype") = "date";
  580. ipt_todd.attribute("inputtype") = "date";
  581. model.setValue("/root/send/send_n131/fromdd", getCurrentDate());
  582. model.setValue("/root/send/send_n131/todd", getCurrentDate());
  583. }
  584. model.setFocus("ipt_todd");
  585. model.refresh();
  586. ]]>
  587. </script>
  588. </select1>
  589. <select1 id="rdo_ioflag" ref="/root/send/send_n131/ioflag" appearance="full" cols="3" overflow="visible" style="left:650px; top:7px; width:135px; height:15px; border-style:none; ">
  590. <choices>
  591. <item>
  592. <label>전체</label>
  593. <value>A</value>
  594. </item>
  595. <item>
  596. <label>입원</label>
  597. <value>I</value>
  598. </item>
  599. <item>
  600. <label>외래</label>
  601. <value>O</value>
  602. </item>
  603. </choices>
  604. <script type="javascript" ev:event="xforms-value-changed">
  605. <![CDATA[
  606. var flag = model.getValue("/root/send/send_f111/dateflag");
  607. if(flag == "0"){
  608. ipt_notifromdd.disabled = false;
  609. ipt_notitodd.disabled = false;
  610. ipt_appfromdd.disabled = false;
  611. ipt_apptodd.disabled = false;
  612. }
  613. if(flag == "1"){
  614. ipt_notifromdd.disabled = false;
  615. ipt_notitodd.disabled = false;
  616. ipt_appfromdd.disabled = true;
  617. ipt_apptodd.disabled = true;
  618. }
  619. if(flag == "2"){
  620. ipt_notifromdd.disabled = true;
  621. ipt_notitodd.disabled = true;
  622. ipt_appfromdd.disabled = false;
  623. ipt_apptodd.disabled = false;
  624. }
  625. ]]>
  626. </script>
  627. </select1>
  628. <caption id="caption2" class="search_name" style="left:556px; top:6px; width:96px; height:17px; ">내원유형 :</caption>
  629. <caption id="caption3" class="search_name" style="left:5px; top:26px; width:117px; height:17px; ">정산심사차수 :</caption>
  630. <input id="ipt_calcjudgdg" ref="/root/send/send_n131/calcjudgdg" class="input_search" autonext="false" maxlength="8" appearance="input" style="left:125px; top:26px; width:100px; height:19px; ">
  631. <script type="javascript" ev:event="onkeydown">
  632. <![CDATA[
  633. inputEnterKey("btn_srch", "DOMActivate");
  634. ]]>
  635. </script>
  636. </input>
  637. <select1 id="rdo_noflag" ref="/root/send/send_n131/noflag" appearance="full" cols="3" overflow="visible" style="left:650px; top:26px; width:135px; height:15px; border-style:none; ">
  638. <choices>
  639. <item>
  640. <label>접수번호</label>
  641. <value>A</value>
  642. </item>
  643. <item>
  644. <label>청구번호</label>
  645. <value>C</value>
  646. </item>
  647. </choices>
  648. <script type="javascript" ev:event="xforms-value-changed">
  649. <![CDATA[
  650. var flag = model.getValue("/root/send/send_f111/dateflag");
  651. if(flag == "0"){
  652. ipt_notifromdd.disabled = false;
  653. ipt_notitodd.disabled = false;
  654. ipt_appfromdd.disabled = false;
  655. ipt_apptodd.disabled = false;
  656. }
  657. if(flag == "1"){
  658. ipt_notifromdd.disabled = false;
  659. ipt_notitodd.disabled = false;
  660. ipt_appfromdd.disabled = true;
  661. ipt_apptodd.disabled = true;
  662. }
  663. if(flag == "2"){
  664. ipt_notifromdd.disabled = true;
  665. ipt_notitodd.disabled = true;
  666. ipt_appfromdd.disabled = false;
  667. ipt_apptodd.disabled = false;
  668. }
  669. ]]>
  670. </script>
  671. </select1>
  672. <input id="input1" ref="/root/send/send_n131/no" class="input_search" autonext="false" maxlength="10" appearance="input" style="left:790px; top:23px; width:100px; height:19px; ">
  673. <script type="javascript" ev:event="onkeypress">
  674. <![CDATA[
  675. inputEnterKey("btn_srch", "DOMActivate");
  676. ]]>
  677. </script>
  678. </input>
  679. <select1 id="cmb_insucmno" ref="/root/send/send_n131/insucmno" class="combo_search" appearance="minimal" style="left:365px; top:26px; width:170px; height:19px; ">
  680. <choices>
  681. <itemset nodeset="/root/init/PK032list/PK032">
  682. <label ref="cdnm"/>
  683. <value ref="cdid"/>
  684. </itemset>
  685. </choices>
  686. </select1>
  687. <caption id="caption1" class="search_name" style="left:6px; top:5px; width:117px; height:17px; ">차수 및 일자 :</caption>
  688. <caption id="caption4" class="search_name" style="left:557px; top:25px; width:96px; height:17px; ">번 호 :</caption>
  689. <caption id="caption7" class="search_name" style="left:905px; top:6px; width:96px; height:17px; ">관련근거 :</caption>
  690. <input id="input2" ref="/root/send/send_n131/relbase" style="left:1000px; top:5px; width:100px; height:19px; ">
  691. <script type="javascript" ev:event="onkeydown">
  692. <![CDATA[
  693. inputEnterKey("btn_srch", "DOMActivate");
  694. ]]>
  695. </script>
  696. </input>
  697. <input id="ipt_fromdd" ref="/root/send/send_n131/fromdd" class="input_search" inputtype="date" style="left:335px; top:5px; width:90px; height:19px; ">
  698. <script type="javascript" ev:event="DOMFocusOut">
  699. <![CDATA[
  700. model.setValue("/root/send/send_n131/todd",model.getValue("/root/send/send_n131/fromdd"));
  701. model.refresh();
  702. ]]>
  703. </script>
  704. </input>
  705. <input id="ipt_todd" ref="/root/send/send_n131/todd" class="input_search" inputtype="date" style="left:444px; top:5px; width:90px; height:19px; ">
  706. <script type="javascript" ev:event="onkeypress">
  707. <![CDATA[
  708. inputEnterKey("btn_srch", "DOMActivate");
  709. ]]>
  710. </script>
  711. </input>
  712. <caption id="caption12" class="search_name" style="left:5px; top:47px; width:117px; height:17px; ">서식구분 :</caption>
  713. <select1 id="combo3" ref="/root/send/send_n131/formflag" class="combo_search" appearance="minimal" style="left:125px; top:47px; width:100px; height:19px; ">
  714. <choices>
  715. <item>
  716. <label>N130</label>
  717. <value>N130</value>
  718. </item>
  719. <item>
  720. <label>N150</label>
  721. <value>N150</value>
  722. </item>
  723. </choices>
  724. </select1>
  725. <caption id="caption10" class="search_name" style="left:270px; top:47px; width:96px; height:17px; ">심사자 :</caption>
  726. <select1 id="combo1" ref="/root/send/send_n131/judgrid" class="combo_search" appearance="minimal" style="left:365px; top:47px; width:100px; height:19px; ">
  727. <choices>
  728. <itemset nodeset="/root/list/judglist">
  729. <label ref="judgnm"/>
  730. <value ref="judgid"/>
  731. </itemset>
  732. </choices>
  733. </select1>
  734. <select1 id="combo2" ref="/root/send/send_n131/orddeptcd" class="combo_search" appearance="minimal" style="left:650px; top:45px; width:135px; height:19px; ">
  735. <choices>
  736. <itemset nodeset="/root/init/list1/deptlist">
  737. <label ref="depthngnm"/>
  738. <value ref="deptcd"/>
  739. </itemset>
  740. </choices>
  741. </select1>
  742. <caption id="caption13" class="search_name" style="left:558px; top:46px; width:96px; height:17px; ">진 료 과 :</caption>
  743. <select1 id="radio1" ref="/root/send/send_n131/endyn" appearance="full" cols="3" overflow="visible" style="left:956px; top:49px; width:144px; height:15px; border-style:none; ">
  744. <choices>
  745. <item>
  746. <label>전체</label>
  747. <value/>
  748. </item>
  749. <item>
  750. <label>완료</label>
  751. <value>Y</value>
  752. </item>
  753. <item>
  754. <label>미완료</label>
  755. <value>N</value>
  756. </item>
  757. </choices>
  758. <script type="javascript" ev:event="xforms-select">
  759. <![CDATA[
  760. if (rdo_flag.value == 1) {
  761. ipt_fromdd.attribute("maxlength") = 8;
  762. ipt_todd.attribute("maxlength") = 8;
  763. ipt_fromdd.attribute("format") = "";
  764. ipt_todd.attribute("format") = "";
  765. ipt_fromdd.attribute("inputtype") = "";
  766. ipt_todd.attribute("inputtype") = "";
  767. }else if (rdo_flag.value == 2) {
  768. ipt_fromdd.attribute("format") = "yyyy-mm";
  769. ipt_todd.attribute("format") = "yyyy-mm";
  770. ipt_fromdd.attribute("inputtype") = "date";
  771. ipt_todd.attribute("inputtype") = "date";
  772. var cur_date = getCurrentDate();
  773. model.setValue("/root/send/send_f131/fromdd", cur_date.substr(0,6));
  774. model.setValue("/root/send/send_f131/todd", cur_date.substr(0,6));
  775. }else if (rdo_flag.value == 3){
  776. ipt_fromdd.attribute("format") = "yyyy-mm-dd";
  777. ipt_todd.attribute("format") = "yyyy-mm-dd";
  778. ipt_fromdd.attribute("inputtype") = "date";
  779. ipt_todd.attribute("inputtype") = "date";
  780. model.setValue("/root/send/send_f131/fromdd", getCurrentDate());
  781. model.setValue("/root/send/send_f131/todd", getCurrentDate());
  782. }
  783. model.setFocus("ipt_todd");
  784. model.refresh();
  785. ]]>
  786. </script>
  787. </select1>
  788. <caption id="caption14" class="search_name" style="left:866px; top:47px; width:96px; height:17px; ">완료구분 :</caption>
  789. <select1 id="cmb_clamflag" ref="/root/send/send_n131/clamflag" class="combo_search" appearance="minimal" style="left:1000px; top:26px; width:100px; height:19px; ">
  790. <choices>
  791. <itemset nodeset="/root/init/P0291list/P0291">
  792. <label ref="cdnm"/>
  793. <value ref="cdid"/>
  794. </itemset>
  795. </choices>
  796. </select1>
  797. <caption id="caption15" class="search_name" style="left:905px; top:26px; width:96px; height:17px; ">청구분야 :</caption>
  798. </group>
  799. <group id="grp_spclspec" visibility="hidden" style="left:720px; top:475px; width:430px; height:230px; ">
  800. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:430px; y2:20px; "/>
  801. <caption id="caption26" class="tit_2" style="left:5px; top:5px; width:159px; height:14px; ">결정내역(현재사용안함)</caption>
  802. <textarea id="txa_guidefactsspec" editable="false" style="left:0px; top:25px; width:430px; height:180px; "/>
  803. <button id="btn_cancel" class="btn4_letter2" style="left:371px; top:206px; width:56px; height:22px; ">
  804. <caption>닫기</caption>
  805. <script type="javascript" ev:event="DOMActivate">
  806. <![CDATA[
  807. grp_spclspec.visible = false;
  808. ]]>
  809. </script>
  810. </button>
  811. </group>
  812. <button id="button26" class="btn2_letter4" style="left:1127px; top:90px; width:64px; height:19px; ">
  813. <caption>전체출력</caption>
  814. <script type="javascript" ev:event="DOMActivate">
  815. <![CDATA[
  816. fPrinter();
  817. ]]>
  818. </script>
  819. </button>
  820. <button id="button1" class="btn2_letter4" style="left:1061px; top:90px; width:64px; height:19px; ">
  821. <caption>개별출력</caption>
  822. <script type="javascript" ev:event="DOMActivate">
  823. <![CDATA[
  824. fSelPrinter();
  825. ]]>
  826. </script>
  827. </button>
  828. <button id="button2" class="btn2_letter3" style="left:896px; top:90px; width:53px; height:19px; ">
  829. <caption>셀카피</caption>
  830. <script type="javascript" ev:event="onclick">
  831. <![CDATA[
  832. grd_piehn131.attribute("selectionmode") = "free";
  833. grd_piehn133.attribute("selectionmode") = "free";
  834. ]]>
  835. </script>
  836. </button>
  837. <button id="button3" class="btn2_letter3" style="left:1006px; top:90px; width:53px; height:19px; ">
  838. <caption>행카피</caption>
  839. <script type="javascript" ev:event="onclick">
  840. <![CDATA[
  841. grd_piehn131.attribute("selectionmode") = "byrow";
  842. grd_piehn133.attribute("selectionmode") = "byrow";
  843. ]]>
  844. </script>
  845. </button>
  846. <button id="button5" class="btn2_letter3" style="left:951px; top:90px; width:53px; height:19px; ">
  847. <caption>열카피</caption>
  848. <script type="javascript" ev:event="onclick">
  849. <![CDATA[
  850. grd_piehn131.attribute("selectionmode") = "bycol";
  851. grd_piehn133.attribute("selectionmode") = "bycol";
  852. ]]>
  853. </script>
  854. </button>
  855. <button id="button4" class="btn2_letter6" style="left:808px; top:90px; width:86px; height:19px; ">
  856. <caption>전체미리보기</caption>
  857. <script type="javascript" ev:event="DOMActivate">
  858. <![CDATA[
  859. model.removeNodeset("/root/sendprinter");
  860. for (var i =1; i < grd_piehn131.rows; i++){
  861. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcjudgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg"))); //정산심사차수
  862. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcnotidd",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd"))); //정산통보일자
  863. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/formflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag"))); //서식구분
  864. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/acptno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno"))); //접수번호
  865. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/judgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("judgdg"))); //심사차수
  866. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/fild",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("fild"))); //분야
  867. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/ioflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("ioflag"))); //내원유형
  868. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/calcyearseqno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno"))); //정산연변
  869. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/decidifamtsum",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("decidifamtsum"))); //정산결정차액합
  870. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/relbase",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("relbase"))); //관련근거
  871. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/remtwo",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("remtwo"))); //참조
  872. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/instcd", getUserInfo("dutplceinstcd")); //참조
  873. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  874. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  875. model.makeValue("/root/sendprinter/gridpiehn131[" + i + "]/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  876. // F110.2를 조회하기 위한 set작업
  877. model.setValue("/root/send/send_n133/calcjudgdg", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg")));
  878. model.setValue("/root/send/send_n133/calcnotidd", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd")));
  879. model.setValue("/root/send/send_n133/formflag", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag")));
  880. model.setValue("/root/send/send_n133/acptno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno")));
  881. model.setValue("/root/send/send_n133/clamseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("clamseqno")));
  882. model.setValue("/root/send/send_n133/calcyearseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno")));
  883. model.refresh();
  884. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  885. submit("TRPIE05303");
  886. model.makeNode("/root/sendprinter/list02");
  887. }
  888. exeReportPreview("RPPIE03601", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
  889. ]]>
  890. </script>
  891. </button>
  892. <button id="button6" class="btn2_letter6" style="left:720px; top:90px; width:86px; height:19px; ">
  893. <caption>개별미리보기</caption>
  894. <script type="javascript" ev:event="DOMActivate">
  895. <![CDATA[
  896. model.removeNodeset("/root/sendprinter");
  897. var j = 0;
  898. for (var i =1; i < grd_piehn131.rows; i++){
  899. if (model.getValue("/root/main/list01/gridpiehn131[" + i + "]/patspecyn") == "Y") {
  900. j++;
  901. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/calcjudgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg"))); //정산심사차수
  902. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/calcnotidd",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd"))); //정산통보일자
  903. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/formflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag"))); //서식구분
  904. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/acptno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno"))); //접수번호
  905. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/judgdg",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("judgdg"))); //심사차수
  906. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/fild",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("fild"))); //분야
  907. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/ioflag",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("ioflag"))); //내원유형
  908. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/calcyearseqno",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno"))); //정산연변
  909. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/decidifamtsum",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("decidifamtsum"))); //정산결정차액합
  910. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/relbase",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("relbase"))); //관련근거
  911. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/remtwo",grd_piehn131.labelmatrix(i, grd_piehn131.colRef("remtwo"))); //참조
  912. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/instcd", getUserInfo("dutplceinstcd")); //참조
  913. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/sign1", model.getValue("/root/init/PK077list/PK077[cdid=1]/cdnm")); //담당
  914. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/sign2", model.getValue("/root/init/PK077list/PK077[cdid=2]/cdnm")); //팀장
  915. model.makeValue("/root/sendprinter/gridpiehn131[" + j + "]/sign3", model.getValue("/root/init/PK077list/PK077[cdid=3]/cdnm")); //과장
  916. // F110.2를 조회하기 위한 set작업
  917. model.setValue("/root/send/send_n133/calcjudgdg", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcjudgdg")));
  918. model.setValue("/root/send/send_n133/calcnotidd", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcnotidd")));
  919. model.setValue("/root/send/send_n133/formflag", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("formflag")));
  920. model.setValue("/root/send/send_n133/acptno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("acptno")));
  921. model.setValue("/root/send/send_n133/clamseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("clamseqno")));
  922. model.setValue("/root/send/send_n133/calcyearseqno", grd_piehn131.labelmatrix(i, grd_piehn131.colRef("calcyearseqno")));
  923. model.refresh();
  924. // F110.1의 appno, notino, reptflag 를 가지고 F110.2를 조회한다.
  925. submit("TRPIE05303");
  926. model.makeNode("/root/sendprinter/list02");
  927. }
  928. }
  929. if (getNodesetCount("/root/main/list01/gridpiehn131[patspecyn='Y']/patspecyn") > 0) {
  930. exeReportPreview("RPPIE03601", "XMLSTR" , "" , "" , "false" , "", "", "", "", "fasle");
  931. }
  932. ]]>
  933. </script>
  934. </button>
  935. </group>
  936. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  937. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">자보이의제기(정산심사)결정통보서(N130/N150)조회</caption>
  938. </group>
  939. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1194px; height:27px; ">
  940. <button id="btn_init" class="btn4_letter3" style="left:1119px; top:4px; width:68px; height:22px; ">
  941. <caption>초기화</caption>
  942. <script type="javascript" ev:event="DOMActivate">
  943. <![CDATA[
  944. fInitialize();
  945. ]]>
  946. </script>
  947. </button>
  948. </group>
  949. </xhtml:body>
  950. </xhtml:html>