SMAHS01000_건진할인현황.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <disclst>
  11. <item>
  12. <disccd/>
  13. <discnm/>
  14. <healexamflag/>
  15. <disccnt/>
  16. <discamt/>
  17. </item>
  18. </disclst>
  19. <discdetllst>
  20. <item>
  21. <healexamflag/>
  22. <seqno/>
  23. <pid/>
  24. <hngnm/>
  25. <cmpynm/>
  26. <pkgcd/>
  27. <orddd/>
  28. <totamt/>
  29. <uncoamt/>
  30. <discamt/>
  31. <rcptamt/>
  32. <empid/>
  33. <empnm/>
  34. <emprelacd/>
  35. <recmempid/>
  36. <recmempnm/>
  37. <remcnts/>
  38. </item>
  39. </discdetllst>
  40. <redudetllst>
  41. <item>
  42. <healexamflag/>
  43. <seqno/>
  44. <pid/>
  45. <hngnm/>
  46. <cmpynm/>
  47. <pkgcd/>
  48. <orddd/>
  49. <totamt/>
  50. <uncoamt/>
  51. <reduamt/>
  52. <rcptamt/>
  53. <recmempid/>
  54. <recmempnm/>
  55. <remcnts/>
  56. </item>
  57. </redudetllst>
  58. <export/>
  59. </main>
  60. <send>
  61. <srchfromdd/>
  62. <srchtodd/>
  63. <srchinstcd/>
  64. <srchdisccd/>
  65. <srchhealexamflag/>
  66. <srchhealexamdetlflag/>
  67. <srchhealexamflag2/>
  68. <srchhealexamdetlflag2/>
  69. </send>
  70. <hidden>
  71. </hidden>
  72. <init>
  73. <baseinfo>
  74. <healexamflaglist/>
  75. <chealexamdetlflaglist/>
  76. <ghealexamdetlflaglist/>
  77. <healexamdetlflaglist/>
  78. <pamcdlst/>
  79. <relacdlst/>
  80. </baseinfo>
  81. </init>
  82. </root>
  83. </instance>
  84. <submission id="TRZBC00101"/>
  85. <submission id="TRAHS01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/disclst"/>
  86. <submission id="TRAHS01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/discdetllst"/>
  87. <submission id="TRAHS01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/redudetllst"/>
  88. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  89. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  95. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  96. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  97. <script type="javascript" ev:event="xforms-ready">
  98. <![CDATA[
  99. //일자초기화
  100. model.setValue("/root/send/srchfromdd" , getCurrentDate());
  101. model.setValue("/root/send/srchtodd" , getCurrentDate());
  102. //기관코드 초기화
  103. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd"));
  104. //공통코드 조회
  105. zbcfGetCodeList( new Array("A0068", "A0069", "A0070", "P0438"),
  106. new Array("/root/init/baseinfo/healexamflaglist"
  107. , "/root/init/baseinfo/chealexamdetlflaglist"
  108. , "/root/init/baseinfo/ghealexamdetlflaglist"
  109. , "/root/init/baseinfo/relacdlst"));
  110. //할인코드 조회
  111. submit("TRAHA00104", false);
  112. //전체 넣기
  113. model.duplicate("/root/init/baseinfo/healexamflaglist","/root/init/baseinfo/healexamflaglist/A0068[1]", "*[1]");
  114. model.setValue("/root/init/baseinfo/healexamflaglist/A0068[1]/cdid", "A");
  115. model.setValue("/root/init/baseinfo/healexamflaglist/A0068[1]/cdnm", "전체");
  116. model.refresh();
  117. cmb_srchhealexamflag.select(0);
  118. cmb_srchhealexamdetlflag.select(0);
  119. cmb_srchhealexamflag2.select(0);
  120. cmb_srchhealexamdetlflag2.select(0);
  121. // model.setValue("/root/send/srchfromdd" , "20110101");
  122. // model.setValue("/root/send/srchtodd" , "20121231");
  123. // model.refresh();
  124. ]]>
  125. </script>
  126. <script type="javascript">
  127. <![CDATA[
  128. /*
  129. * 화면merge와 카드종류 소계 및 총계를 생성한다.
  130. */
  131. function fSetRcptSum(vFlag) {
  132. if(vFlag == "A"){
  133. grd_disclst.subtotalPosition = "below";
  134. grd_disclst.multiTotals = true;
  135. grd_disclst.subtotal("clear", 0, 0);
  136. //총계
  137. for(var i =0; i < grd_disclst.cols ; i++){
  138. if(i >= grd_disclst.colRef("disccnt") && i <= grd_disclst.colRef("discamt")){
  139. grd_disclst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_disclst.colRef("discnm"), "총계" );
  140. }
  141. }
  142. }else if(vFlag == "B"){
  143. grd_discdetllst.autoMerge = false;
  144. grd_discdetllst.mergeCells = "bycolrec";
  145. grd_discdetllst.subtotalPosition = "below";
  146. grd_discdetllst.multiTotals = true;
  147. grd_discdetllst.subtotal("clear", 0, 0);
  148. //총계
  149. for(var i =0; i < grd_discdetllst.cols ; i++) {
  150. if( i >= grd_discdetllst.colRef("totamt") && i <= grd_discdetllst.colRef("rcptamt")){
  151. grd_discdetllst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_discdetllst.colRef("healexamflag") , "총계" );
  152. }
  153. //화면 merge
  154. if(i == grd_discdetllst.colRef("healexamflag")){
  155. grd_discdetllst.mergeCol(i) = true;
  156. }else{
  157. grd_discdetllst.mergeCol(i) = false;
  158. }
  159. }
  160. grd_discdetllst.merge();
  161. }else if(vFlag == "C"){
  162. grd_redudetllst.autoMerge = false;
  163. grd_redudetllst.mergeCells = "bycolrec";
  164. grd_redudetllst.subtotalPosition = "below";
  165. grd_redudetllst.multiTotals = true;
  166. grd_redudetllst.subtotal("clear", 0, 0);
  167. //총계
  168. for(var i =0; i < grd_redudetllst.cols ; i++) {
  169. if( i >= grd_redudetllst.colRef("totamt") && i <= grd_redudetllst.colRef("rcptamt")){
  170. grd_redudetllst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_redudetllst.colRef("healexamflag") , "총계" );
  171. }
  172. //화면 merge
  173. if( i == grd_redudetllst.colRef("healexamflag")){
  174. grd_redudetllst.mergeCol(i) = true;
  175. }else{
  176. grd_redudetllst.mergeCol(i) = false;
  177. }
  178. }
  179. grd_redudetllst.merge();
  180. }
  181. }
  182. ]]>
  183. </script>
  184. </model>
  185. </xhtml:head>
  186. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
  187. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  188. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">건진할인현황</caption>
  189. </group>
  190. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  191. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  192. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:73px; height:17px; ">기간 :</caption>
  193. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_search" navindex="7" inputtype="date" style="left:82px; top:8px; width:105px; height:19px; "/>
  194. <caption id="caption93" class="search_n_b" style="left:193px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  195. <input id="input1" ref="/root/send/srchtodd" class="input_search" navindex="7" inputtype="date" style="left:210px; top:8px; width:105px; height:19px; "/>
  196. <line id="line3" class="line_4" visibility="hidden" style="x1:1063px; y1:7px; x2:1063px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  197. <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  198. <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
  199. <caption>조회</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. var idx = swt_disc.selectedIndex
  203. var ret = false;
  204. var vFlag = "";
  205. if(idx == "0"){
  206. ret = submit("TRAHS01001");
  207. vFlag = "A";
  208. }else if(idx == "1"){
  209. ret = submit("TRAHS01002");
  210. vFlag = "B";
  211. }else if(idx == "2"){
  212. ret = submit("TRAHS01003");
  213. vFlag = "C";
  214. }
  215. if(ret){
  216. fSetRcptSum(vFlag);
  217. model.refresh();
  218. }
  219. ]]>
  220. </script>
  221. </button>
  222. <button id="btn_excelsave" class="btn6_letter4" visibility="visible" style="left:976px; top:7px; width:80px; height:22px; ">
  223. <caption>액셀저장</caption>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. var idx = swt_disc.selectedIndex;
  227. var fileName = window.fileDialog("save", ", ", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  228. if(fileName == "") return;
  229. if(idx == "0") {
  230. grd_disclst.saveExcel(fileName, "SheetName", true, true, "", "", false);
  231. }else if(idx == "1"){
  232. grd_discdetllst.saveExcel(fileName, "SheetName", true, true, "", "", false);
  233. }else if(idx == "2"){
  234. grd_redudetllst.saveExcel(fileName, "SheetName", true, true, "", "", false);
  235. }
  236. ]]>
  237. </script>
  238. </button>
  239. <button id="btn_prt" class="btn6_letter2" style="left:1070px; top:7px; width:56px; height:22px; ">
  240. <caption>출력</caption>
  241. <script type="javascript" ev:event="DOMActivate">
  242. <![CDATA[
  243. model.makeValue("/root/main/export/srchfromdd", model.getValue("/root/send/srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
  244. model.makeValue("/root/main/export/srchtodd", model.getValue("/root/send/srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
  245. var idx = swt_disc.selectedIndex;
  246. if(idx == "0") {
  247. exeReportPreview("RPAHS01001", "XMLSTR", "/root/main/export","", "false","","","","","false");
  248. }else if(idx == "1") {
  249. exeReportPreview("RPAHS01002", "XMLSTR", "/root/main/export","", "false","","","","","false");
  250. }else if(idx == "2") {
  251. exeReportPreview("RPAHS01003", "XMLSTR", "/root/main/export","", "false","","","","","false");
  252. }
  253. ]]>
  254. </script>
  255. </button>
  256. </group>
  257. <button id="btn_disc" class="btn_sw" group="tab" selected="true" style="left:5px; top:67px; width:140px; height:22px; ">
  258. <caption>할인계정별 전체현황</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. model.toggle("case_disc");
  262. btn_disc.selected = true;
  263. ]]>
  264. </script>
  265. </button>
  266. <button id="btn_discdetl" class="btn_sw" group="tab" style="left:145px; top:67px; width:140px; height:22px; ">
  267. <caption>계정감면 내역(할인)</caption>
  268. <script type="javascript" ev:event="DOMActivate">
  269. <![CDATA[
  270. model.toggle("case_discdetl");
  271. btn_discdetl.selected = true;
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="btn_redudetl" class="btn_sw" group="tab" style="left:285px; top:67px; width:140px; height:22px; ">
  276. <caption>임의감면 내역(감면)</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. model.toggle("case_redudetl");
  280. btn_redudetl.selected = true;
  281. ]]>
  282. </script>
  283. </button>
  284. <switch id="swt_disc" style="left:4px; top:89px; width:1203px; height:691px; ">
  285. <case id="case_disc" selected="true">
  286. <datagrid id="grd_disclst" nodeset="/root/main/disclst/item" caption="할인코드^할인계정명^건진종류^할인건수^할인금액^입금액^미수액^비고" colsep="^" colwidth="150, 500, 100, 150, 200" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1191px; height:679px; ">
  287. <col ref="disccd" style="text-align:left; padding-left:5; "/>
  288. <col ref="discnm" style="text-align:left; padding-left:5; "/>
  289. <col ref="healexamflag" style="text-align:center; "/>
  290. <col ref="disccnt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  291. <col ref="discamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  292. <script type="javascript" ev:event="ondblclick">
  293. <![CDATA[
  294. if(grd_disclst.row > 0 && grd_disclst.row < grd_disclst.rows ) {
  295. model.setValue("/root/send/srchdisccd" , grd_disclst.valueMatrix(grd_disclst.row , grd_disclst.colRef("disccd")) );
  296. cmb_srchhealexamflag.select(0);
  297. btn_discdetl.dispatch("DOMActivate");
  298. btn_search.dispatch("DOMActivate");
  299. }
  300. ]]>
  301. </script>
  302. <script type="javascript" ev:event="onaftersort">
  303. <![CDATA[
  304. grd_disclst.gridToInstance();
  305. fSetRcptSum("A");
  306. ]]>
  307. </script>
  308. <script type="javascript" ev:event="onbeforesort">
  309. <![CDATA[
  310. grd_disclst.subtotal("clear", 0, 0);
  311. grd_disclst.rebuild();
  312. ]]>
  313. </script>
  314. </datagrid>
  315. </case>
  316. <case id="case_discdetl">
  317. <line id="line1" class="line_1" style="x1:5px; y1:2px; x2:1196px; y2:2px; "/>
  318. <line id="line6" class="line_1" style="x1:5px; y1:27px; x2:1196px; y2:27px; "/>
  319. <caption id="cap_cmpyflag" class="cell_1" style="left:6px; top:7px; width:55px; height:19px; vertical-align:middle; ">할인코드</caption>
  320. <select1 id="cmb_disc" ref="/root/send/srchdisccd" appearance="minimal" style="left:65px; top:7px; width:240px; height:19px; ">
  321. <choices>
  322. <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
  323. <label ref="nm"/>
  324. <value ref="cd"/>
  325. </itemset>
  326. </choices>
  327. </select1>
  328. <caption id="caption1" class="cell_1" style="left:311px; top:7px; width:55px; height:19px; vertical-align:middle; ">건진구분</caption>
  329. <select1 id="cmb_srchhealexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:368px; top:7px; width:110px; height:19px; ">
  330. <choices>
  331. <itemset nodeset="/root/init/baseinfo/healexamflaglist/A0068">
  332. <label ref="cdnm"/>
  333. <value ref="cdid"/>
  334. </itemset>
  335. </choices>
  336. <script type="javascript" ev:event="xforms-select">
  337. <![CDATA[
  338. var value = model.getValue("/root/send/srchhealexamflag");
  339. model.removeNodeset("/root/init/baseinfo/healexamdetlflaglist/item");
  340. model.makeValue("/root/init/baseinfo/healexamdetlflaglist/item/cdid" , "A");
  341. model.makeValue("/root/init/baseinfo/healexamdetlflaglist/item/cdnm" , "전체");
  342. if(value == "A"){
  343. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/chealexamdetlflaglist/A0069", "after");
  344. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/ghealexamdetlflaglist/A0070", "after");
  345. }else if(value == "C"){
  346. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/chealexamdetlflaglist/A0069", "after");
  347. }else if(value == "G"){
  348. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/ghealexamdetlflaglist/A0070", "after");
  349. }
  350. cmb_srchhealexamdetlflag.select(0);
  351. model.refresh();
  352. ]]>
  353. </script>
  354. </select1>
  355. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:488px; top:7px; width:110px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglist/item">
  358. <label ref="cdnm"/>
  359. <value ref="cdid"/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <datagrid id="grd_discdetllst" nodeset="/root/main/discdetllst/item" autoresize="true" caption="건진종류^순번^할인계정^등록번호^성명^건진코드명^건진일자^총금액^미수금액^할인액^실수납액^단체명^직원정보^사원명^관계^직원소개^사원명^비고" colsep="^" colwidth="120, 40, 221, 80, 80, 80, 85, 90, 90, 90, 90, 150, 90, 90, 90, 90, 90, 800" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:30px; width:1191px; height:654px; ">
  364. <col ref="healexamflag" style="text-align:center; "/>
  365. <col ref="seqno" format="yyyy-mm-dd" style="text-align:right; padding-right:5; "/>
  366. <col ref="discunconm" style="text-align:left; padding-left:5; "/>
  367. <col ref="pid" style="text-align:left; padding-left:5; "/>
  368. <col ref="hngnm" style="text-align:center; "/>
  369. <col ref="pkgcd" style="text-align:left; padding-left:5; "/>
  370. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  371. <col ref="totamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  372. <col ref="uncoamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  373. <col ref="discamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  374. <col ref="rcptamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  375. <col ref="cmpynm" style="text-align:left; padding-left:5; "/>
  376. <col ref="empid" style="text-align:left; padding-left:5; "/>
  377. <col ref="empnm" style="text-align:center; "/>
  378. <col disabled="true" ref="emprelacd" type="combo" style="text-align:left; padding-left:5; ">
  379. <choices>
  380. <itemset nodeset="/root/init/baseinfo/relacdlst/P0438">
  381. <label ref="cdnm"/>
  382. <value ref="cdid"/>
  383. </itemset>
  384. </choices>
  385. </col>
  386. <col ref="recmempid" style="text-align:left; padding-left:5; "/>
  387. <col ref="recmempnm" style="text-align:center; "/>
  388. <col ref="remcnts" style="text-align:left; padding-left:5; "/>
  389. <script type="javascript" ev:event="onaftersort">
  390. <![CDATA[
  391. grd_discdetllst.gridToInstance();
  392. fSetRcptSum("B");
  393. ]]>
  394. </script>
  395. <script type="javascript" ev:event="onbeforesort">
  396. <![CDATA[
  397. grd_discdetllst.subtotal("clear",0,0);
  398. grd_discdetllst.rebuild();
  399. ]]>
  400. </script>
  401. </datagrid>
  402. </case>
  403. <case id="case_redudetl">
  404. <line id="line4" class="line_1" style="x1:5px; y1:2px; x2:1196px; y2:2px; "/>
  405. <line id="line5" class="line_1" style="x1:5px; y1:27px; x2:1196px; y2:27px; "/>
  406. <caption id="caption4" class="cell_1" style="left:6px; top:7px; width:55px; height:19px; vertical-align:middle; ">건진구분</caption>
  407. <select1 id="cmb_srchhealexamflag2" ref="/root/send/srchhealexamflag2" class="combo_search" appearance="minimal" style="left:63px; top:7px; width:110px; height:19px; ">
  408. <choices>
  409. <itemset nodeset="/root/init/baseinfo/healexamflaglist/A0068">
  410. <label ref="cdnm"/>
  411. <value ref="cdid"/>
  412. </itemset>
  413. </choices>
  414. <script type="javascript" ev:event="xforms-select">
  415. <![CDATA[
  416. var value = model.getValue("/root/send/srchhealexamflag2");
  417. model.removeNodeset("/root/init/baseinfo/healexamdetlflaglist/item");
  418. model.makeValue("/root/init/baseinfo/healexamdetlflaglist/item/cdid" , "A");
  419. model.makeValue("/root/init/baseinfo/healexamdetlflaglist/item/cdnm" , "전체");
  420. if(value == "A"){
  421. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/chealexamdetlflaglist/A0069", "after");
  422. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/ghealexamdetlflaglist/A0070", "after");
  423. }else if(value == "C"){
  424. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/chealexamdetlflaglist/A0069", "after");
  425. }else if(value == "G"){
  426. copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item","/root/init/baseinfo/ghealexamdetlflaglist/A0070", "after");
  427. }
  428. cmb_srchhealexamdetlflag2.select(0);
  429. model.refresh();
  430. ]]>
  431. </script>
  432. </select1>
  433. <select1 id="cmb_srchhealexamdetlflag2" ref="/root/send/srchhealexamdetlflag2" class="combo_search" appearance="minimal" style="left:183px; top:7px; width:110px; height:19px; ">
  434. <choices>
  435. <itemset nodeset="/root/init/baseinfo/healexamdetlflaglist/item">
  436. <label ref="cdnm"/>
  437. <value ref="cdid"/>
  438. </itemset>
  439. </choices>
  440. </select1>
  441. <datagrid id="grd_redudetllst" nodeset="/root/main/redudetllst/item" autoresize="true" caption="건진종류^순번^등록번호^성명^건진코드명^건진일자^총금액^미수금액^감면액^실수납액^단체명^사원번호^사원명^비고" colsep="^" colwidth="120, 40, 90, 90, 90, 90, 90, 90, 90, 90, 150, 90, 90, 800" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:30px; width:1191px; height:654px; ">
  442. <col ref="healexamflag" style="text-align:center; "/>
  443. <col ref="seqno" format="yyyy-mm-dd" style="text-align:right; padding-right:5; "/>
  444. <col ref="pid" style="text-align:left; padding-left:5; "/>
  445. <col ref="hngnm" style="text-align:center; "/>
  446. <col ref="pkgcd" style="text-align:left; padding-left:5; "/>
  447. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  448. <col ref="totamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  449. <col ref="uncoamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  450. <col ref="reduamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  451. <col ref="rcptamt" format="(-,+)#,###" style="text-align:right; padding-right:5; "/>
  452. <col ref="cmpynm" style="text-align:left; padding-left:5; "/>
  453. <col ref="recmempid" style="text-align:left; padding-left:5; "/>
  454. <col ref="recmempnm" style="text-align:center; "/>
  455. <col ref="remcnts" style="text-align:left; padding-left:5; "/>
  456. <script type="javascript" ev:event="onaftersort">
  457. <![CDATA[
  458. grd_redudetllst.gridToInstance();
  459. fSetRcptSum("C");
  460. ]]>
  461. </script>
  462. <script type="javascript" ev:event="onbeforesort">
  463. <![CDATA[
  464. grd_redudetllst.subtotal("clear", 0, 0);
  465. grd_redudetllst.rebuild();
  466. ]]>
  467. </script>
  468. </datagrid>
  469. </case>
  470. </switch>
  471. </xhtml:body>
  472. </xhtml:html>