SMPIF71900_미수월마감(자보).xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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>미수월마감 내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send01>
  11. <fromdd/>
  12. <todd/>
  13. </send01>
  14. <send02>
  15. <endflag/>
  16. <endym/>
  17. </send02>
  18. </send>
  19. <main>
  20. <list01>
  21. <griduncommend>
  22. <uncoym/>
  23. <insukind/>
  24. <clamflagnm/>
  25. <ioflagnm/>
  26. <insucmpymarknm/>
  27. <clamcnt/>
  28. <clclamamt/>
  29. <cutcnt/>
  30. <cutamt/>
  31. <tddecicnt/>
  32. <tddecicutamt/>
  33. <tdcomsamt/>
  34. <sendcnt/>
  35. <sendamt/>
  36. <rtnamt/>
  37. <rtnscheamt/>
  38. <lossamt/>
  39. <depocnt/>
  40. <depoamt/>
  41. <adddepoamt/>
  42. <bfuncoamt/>
  43. <uncoamt/>
  44. <endyn/>
  45. <clamflag/>
  46. <ioflag/>
  47. <insucmpymark/>
  48. <seqno/>
  49. <endym/>
  50. </griduncommend>
  51. </list01>
  52. <list02>
  53. <griduncommend/>
  54. </list02>
  55. </main>
  56. <init>
  57. <P0421list>
  58. <P0421>
  59. <cdid/>
  60. <cdnm/>
  61. </P0421>
  62. </P0421list>
  63. <P0426list>
  64. <P0426>
  65. <cdid>-</cdid>
  66. <cdnm>-</cdnm>
  67. </P0426>
  68. </P0426list>
  69. <P0028list>
  70. <P0028>
  71. <cdid/>
  72. <cdnm/>
  73. </P0028>
  74. </P0028list>
  75. <P0291list>
  76. <P0291>
  77. <cdid/>
  78. <cdnm/>
  79. </P0291>
  80. </P0291list>
  81. </init>
  82. <hidden/>
  83. <temp/>
  84. </root>
  85. </instance>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fInitialize();
  89. ]]>
  90. </script>
  91. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  92. <submission id="TRPIF71901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01"/>
  93. <submission id="TXPIF71901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send02" resultref="/root/result"/>
  94. <submission id="TXPIF71902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/result"/>
  95. </model>
  96. <!-- 기본적으로 많이 사용하는 공통함수-->
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  101. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  104. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  105. <script type="javascript">
  106. <![CDATA[
  107. function fInitialize() {
  108. // 팝업그룹 숨기기
  109. grp_endprcs.visible= false;
  110. grp_endcncl.visible= false;
  111. grp_lastend.visible= false;
  112. // 각 그리드 초기화 한다.
  113. model.removenode("/root/main/list01");
  114. //조회조건 기본셋팅한다.
  115. var endmonth = getCurrentDate();
  116. var endmm = endmonth.substr(0,6);
  117. ipt_fromdd.value = endmm;
  118. ipt_todd.value= endmm;
  119. model.refresh();
  120. }
  121. ]]>
  122. </script>
  123. </xhtml:head>
  124. <xhtml:body class="datagrid2" guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  125. <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
  126. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">미수월마감 내역 조회</caption>
  127. </group>
  128. <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1195px; height:699px; ">
  129. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  130. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  131. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:75px; height:17px; ">마감월 :</caption>
  132. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  133. <caption>조회</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. //model.removeNodeset("/root/main/uncomonthendinsulist/uncomonthendinsu");
  137. //model.removeNodeset("/root/main/uncomonthendproclist/uncomonthendproc");
  138. //model.resetInstanceNode("/root/main/uncomonthendinsulist/uncomonthendinsu");
  139. //model.resetInstanceNode("/root/main/uncomonthendproclist/uncomonthendproc");
  140. //model.refreshpart("/root/main/uncomonthendinsulist/uncomonthendinsu");
  141. //model.refreshpart("/root/main/uncomonthendproclist/uncomonthendproc");
  142. var fromdd = model.getValue("/root/send/send01/fromdd");
  143. var todd = model.getValue("/root/send/send01/todd");
  144. if(fromdd == "" && todd == ""){
  145. messageBox("마감월을","C001");
  146. return false;
  147. }
  148. submit("TRPIF71901");
  149. ]]>
  150. </script>
  151. </button>
  152. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  153. <input id="ipt_fromdd" ref="/root/send/send01/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:92px; top:8px; width:82px; height:19px; ">
  154. <script type="javascript" ev:event="DOMFocusOut">
  155. <![CDATA[
  156. model.setValue("/root/send/send01/todd",ipt_fromdd.value);
  157. model.refresh();
  158. ]]>
  159. </script>
  160. </input>
  161. <input id="ipt_todd" ref="/root/send/send01/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:198px; top:8px; width:82px; height:19px; "/>
  162. <caption id="caption10" style="left:179px; top:11px; width:15px; height:15px; ">~</caption>
  163. </group>
  164. <switch id="switch1" class="sw_box" style="left:0px; top:81px; width:1193px; height:614px; ">
  165. <case id="case_uncommend" selected="true">
  166. <datagrid id="grd_uncommend" nodeset="/root/main/list01/griduncommend" class="datagrid2" caption="미수&#xA;년월^보험&#xA;유형^청구&#xA;구분^내원&#xA;유형^손보사명^청구&#xA;건수^총&#xA;진료비^삭감건수^삭감액^분심결정건수^분심결정삭감액^분심수수료^반송건수^반송총진료비^환수액^환수&#xA;예정액^결손액^입금건수^입금액^추가입금^전미수금^미수금^종결&#xA;여부^caption1^caption2^caption3^caption4" colsep="^" colwidth="53, 64, 76, 73, 90, 56, 85, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:2px; width:1191px; height:607px; ">
  167. <col disabled="true" ref="uncoym" format="yyyy/mm" style="text-align:center; "/>
  168. <col disabled="true" ref="insukind" style="text-align:center; "/>
  169. <col disabled="true" ref="clamflagnm" style="text-align:center; "/>
  170. <col disabled="true" ref="ioflagnm" style="text-align:center; "/>
  171. <col disabled="true" ref="insucmpymarknm" style="text-align:center; "/>
  172. <col disabled="true" ref="clamcnt" style="text-align:center; "/>
  173. <col disabled="true" ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  174. <col disabled="true" ref="cutcnt" format="(-)#,###" style="text-align:right; "/>
  175. <col disabled="true" ref="cutamt" format="(-)#,###" style="text-align:right; "/>
  176. <col disabled="true" ref="tddecicnt" format="(-)#,###" style="text-align:right; "/>
  177. <col disabled="true" ref="tddecicutamt" format="(-)#,###" style="text-align:right; "/>
  178. <col disabled="true" ref="tdcomsamt" style="text-align:center; "/>
  179. <col disabled="true" ref="sendcnt" format="(-)#,###" style="text-align:right; "/>
  180. <col disabled="true" ref="sendamt" format="(-)#,###" style="text-align:right; "/>
  181. <col disabled="true" ref="rtnamt" format="(-)#,###" style="text-align:right; "/>
  182. <col disabled="true" ref="rtnscheamt" format="(-)#,###" style="text-align:right; "/>
  183. <col disabled="true" ref="lossamt" format="(-)#,###" style="text-align:right; "/>
  184. <col disabled="true" ref="depocnt" style="text-align:center; "/>
  185. <col disabled="true" ref="depoamt" format="(-)#,###" style="text-align:right; "/>
  186. <col disabled="true" ref="adddepoamt" format="(-)#,###" style="text-align:right; "/>
  187. <col disabled="true" ref="bfuncoamt" format="(-)#,###" style="text-align:right; "/>
  188. <col disabled="true" ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  189. <col checkvalue="Y,N" ref="endyn" type="checkbox"/>
  190. <col ref="clamflag" visibility="hidden"/>
  191. <col ref="ioflag" visibility="hidden"/>
  192. <col ref="insucmpymark" visibility="hidden"/>
  193. <col ref="seqno" visibility="hidden"/>
  194. <col ref="endym" visibility="hidden"/>
  195. </datagrid>
  196. </case>
  197. </switch>
  198. <button id="btn_uncomonthendinsu" class="btn_sw" group="tab" selected="true" style="left:0px; top:60px; width:145px; height:22px; ">
  199. <caption>미수월마감내역(자보)</caption>
  200. <!--<toggle case="case_uncomonthendinsu" ev:event="onclick"/> 이것도 되는데 조회조건선택시 변경을 위해 막음-->
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. model.toggle("case_uncommend"); // 해당 tab 으로 토글시킨다.
  204. model.refresh();
  205. ]]>
  206. </script>
  207. </button>
  208. <button id="btn_excel" class="btn2_letter4" navindex="5" style="left:1127px; top:61px; width:64px; height:19px; ">
  209. <caption>엑셀저장</caption>
  210. <script type="javascript" ev:event="onclick">
  211. <![CDATA[
  212. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  213. // 그리드 제목을 선택하면 저장이 안된다.
  214. if (grd_uncommend.rows == 1) {
  215. return;
  216. }
  217. var fileName = window.fileDialog("save", ",", false, "미수월마감내역조회(자보)_ "+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  218. if (fileName != "")
  219. {
  220. grd_uncommend.saveExcel(fileName, "미수월마감내역(자보)", true, true, "", "", "insukind:label;clamflag:label;ioflag:label;ordfildcd:label;");
  221. }
  222. ]]>
  223. </script>
  224. </button>
  225. <group id="grp_endprcs" style="left:466px; top:555px; width:235px; height:105px; background-color:#ffffff; border-color:#ffcc99; border-left-width:1px; border-top-width:1px; border-right-width:3px; border-bottom-width:3px; border-style:solid; ">
  226. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:79px; height:13px; ">마감처리</caption>
  227. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:24px; width:226px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  228. <caption id="caption3" class="search_name" style="left:13px; top:34px; width:101px; height:17px; ">마감처리월 :</caption>
  229. <input id="input1" ref="/root/send/send02/endym" class="input_search" inputtype="date" format="yyyy-mm" style="left:117px; top:34px; width:97px; height:19px; "/>
  230. <button id="button2" class="btn4_letter2" style="left:64px; top:74px; width:56px; height:22px; ">
  231. <caption>확인</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. // 마감처리시 endflag값은 '1'
  235. model.setValue("/root/send/send02/endflag", "1");
  236. if(submit("TXPIF71901")){
  237. button1.dispatch("DOMActivate");
  238. }
  239. ]]>
  240. </script>
  241. </button>
  242. <button id="button3" class="btn4_letter2" style="left:119px; top:74px; width:56px; height:22px; ">
  243. <caption>취소</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. grp_endprcs.visible= false;
  247. ]]>
  248. </script>
  249. </button>
  250. </group>
  251. <group id="grp_endcncl" style="left:705px; top:555px; width:235px; height:105px; background-color:#ffffff; border-color:#ffcc99; border-left-width:1px; border-top-width:1px; border-right-width:3px; border-bottom-width:3px; border-style:solid; ">
  252. <caption id="caption5" class="tit_1" style="left:0px; top:0px; width:79px; height:13px; ">마감취소</caption>
  253. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:24px; width:226px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  254. <caption id="caption7" class="search_name" style="left:13px; top:34px; width:101px; height:17px; ">마감취소월 :</caption>
  255. <input id="input2" ref="/root/send/send02/endym" class="input_search" inputtype="date" format="yyyy-mm" style="left:117px; top:34px; width:97px; height:19px; "/>
  256. <button id="button4" class="btn4_letter2" style="left:64px; top:74px; width:56px; height:22px; ">
  257. <caption>확인</caption>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. // 마감취소시 endflag값은 '2'
  261. model.setValue("/root/send/send02/endflag", "2");
  262. if(submit("TXPIF71901")){
  263. button1.dispatch("DOMActivate");
  264. }
  265. ]]>
  266. </script>
  267. </button>
  268. <button id="button5" class="btn4_letter2" style="left:119px; top:74px; width:56px; height:22px; ">
  269. <caption>취소</caption>
  270. <script type="javascript" ev:event="DOMActivate">
  271. <![CDATA[
  272. grp_endcncl.visible= false;
  273. ]]>
  274. </script>
  275. </button>
  276. </group>
  277. <group id="grp_lastend" style="left:943px; top:554px; width:235px; height:105px; background-color:#ffffff; border-color:#ffcc99; border-left-width:1px; border-top-width:1px; border-right-width:3px; border-bottom-width:3px; border-style:solid; ">
  278. <caption id="caption8" class="tit_1" style="left:0px; top:0px; width:79px; height:13px; ">최종마감</caption>
  279. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:24px; width:226px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  280. <caption id="caption9" class="search_name" style="left:13px; top:34px; width:101px; height:17px; ">최종마감월 :</caption>
  281. <input id="input3" ref="/root/send/send02/endym" class="input_search" inputtype="date" format="yyyy-mm" style="left:117px; top:34px; width:97px; height:19px; "/>
  282. <button id="button6" class="btn4_letter2" style="left:64px; top:74px; width:56px; height:22px; ">
  283. <caption>확인</caption>
  284. <script type="javascript" ev:event="DOMActivate">
  285. <![CDATA[
  286. // 최종마감시 endflag값은 '3'
  287. model.setValue("/root/send/send02/endflag", "3");
  288. submit("TXPIF71901");
  289. ]]>
  290. </script>
  291. </button>
  292. <button id="button7" class="btn4_letter2" style="left:119px; top:74px; width:56px; height:22px; ">
  293. <caption>취소</caption>
  294. <script type="javascript" ev:event="DOMActivate">
  295. <![CDATA[
  296. grp_lastend.visible= false;
  297. ]]>
  298. </script>
  299. </button>
  300. </group>
  301. <button id="button10" class="btn5_letter4" visibility="hidden" style="left:1062px; top:61px; width:64px; height:19px; ">
  302. <caption>종결저장</caption>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. // if(grd_uncommend.rows > 1) {
  306. model.setValue("/root/main/list02/griduncommend", grd_uncommend.getUpdateData());
  307. submit("TXPIF71902");
  308. // }
  309. ]]>
  310. </script>
  311. </button>
  312. </group>
  313. <group id="grp_btn" style="left:0px; top:717px; width:1194px; height:27px; ">
  314. <button id="btn_endcncl" class="btn4_letter4" style="left:1029px; top:4px; width:80px; height:22px; ">
  315. <caption>마감취소</caption>
  316. <script type="javascript" ev:event="DOMActivate">
  317. <![CDATA[
  318. grp_endcncl.visible= true;
  319. grp_endprcs.visible = false;
  320. grp_lastend.visible= false;
  321. ]]>
  322. </script>
  323. </button>
  324. <button id="btn_endtret" class="btn4_letter4" style="left:948px; top:4px; width:80px; height:22px; ">
  325. <caption>마감처리</caption>
  326. <script type="javascript" ev:event="DOMActivate">
  327. <![CDATA[
  328. grp_endcncl.visible= false;
  329. grp_endprcs.visible = true;
  330. grp_lastend.visible= false;
  331. ]]>
  332. </script>
  333. </button>
  334. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  335. <button id="btn_lastend" class="btn4_letter4" style="left:1111px; top:4px; width:80px; height:22px; ">
  336. <caption>최종마감</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. grp_endcncl.visible= false;
  340. grp_endprcs.visible = false;
  341. grp_lastend.visible= true;
  342. ]]>
  343. </script>
  344. </button>
  345. </group>
  346. </xhtml:body>
  347. </xhtml:html>