SMRAC01300_법인카드모니터링.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAC01300" position="absolute 0 0 1198 758" titletext="법인카드모니터링" oninit="SMRAC01300_oninit" onload="SMRAC01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="14" position="absolute 1 42 1193 82" class="div_SA2" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_search" taborder="0" text="조회" class="btn1" position="absolute 1116 8 1172 30" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  11. <Shape id="line6" linetype="vertical" position="absolute 1098 8 1104 30" anchor="top right"/>
  12. <Edit id="ipt_usernm" taborder="2" class="input_default" position="absolute 885 11 1025 30" anchor="left top" autoselect="true" autoskip="true"/>
  13. <Static id="caption11" text="사용자" class="search_name" position="absolute 816 13 880 30" anchor="left top"/>
  14. <Edit id="ipt_deptnm" taborder="3" class="input_default" position="absolute 660 11 800 30" anchor="left top" autoselect="true" autoskip="true"/>
  15. <Static id="caption7" text="부서명" class="search_name" position="absolute 591 13 655 30" anchor="left top"/>
  16. <MaskEdit id="ipt_cardno" taborder="4" mask="9999-9999-9999-9999" class="input_default" position="absolute 435 11 575 30" anchor="left top" autoselect="true" autoskip="true"/>
  17. <Static id="caption6" text="카드번호" class="search_name" position="absolute 356 13 435 30" anchor="left top"/>
  18. <Calendar id="ipt_cnfmddto" taborder="5" class="input_default" position="absolute 213 11 313 30" mask="yyyy-mm-dd" anchor="left top" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  19. <Static id="caption2" text="~" position="absolute 198 15 213 30" anchor="left top"/>
  20. <Calendar id="ipt_cnfmddfrom" taborder="6" class="input_default" position="absolute 97 11 197 30" mask="yyyy-mm-dd" anchor="left top" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  21. <Static id="cap_instcd" text="승인일자" class="search_name" position="absolute 26 13 89 30" anchor="left top"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Static text="법인카드 모니터링" position="absolute 0 0 147 25" id="caption1" class="tit_1" anchor="left top"/>
  26. <Shape id="line2" linetype="horizontal" class="line_6" position="absolute 0 38 1195 44" anchor="left top right"/>
  27. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1139 19 1195 41" onclick="btn_save_onclick" anchor="top right"/>
  28. <Button id="btn_upload" taborder="4" text="엑셀 Upload" class="btn7" position="absolute 969 93 1063 112" onclick="btn_upload_onclick" anchor="top right"/>
  29. <Static id="caption4" text="승인내역" class="tit_2" position="absolute 1 94 114 111" anchor="left top"/>
  30. <Button id="btn_excel" taborder="7" text="엑셀출력" class="btn7" position="absolute 1122 93 1194 112" onclick="btn_excel_onclick" anchor="top right"/>
  31. <Grid id="grd_itemlist" taborder="8" binddataset="ds_main_iteminfo_itemlist" useinputpanel="false" position="absolute 0 116 1195 708" anchor="all">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="25"/>
  36. <Column size="56"/>
  37. <Column size="147"/>
  38. <Column size="59"/>
  39. <Column size="39"/>
  40. <Column size="121"/>
  41. <Column size="68"/>
  42. <Column size="55"/>
  43. <Column size="61"/>
  44. <Column size="72"/>
  45. <Column size="71"/>
  46. <Column size="75"/>
  47. <Column size="100"/>
  48. <Column size="108"/>
  49. <Column size="68"/>
  50. <Column size="100"/>
  51. <Column size="205"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="24" band="head"/>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell rowspan="2" taborder="undefined"/>
  60. <Cell col="1" rowspan="2" text="본부명" taborder="undefined"/>
  61. <Cell col="2" rowspan="2" text="부서명" taborder="undefined"/>
  62. <Cell col="3" rowspan="2" text="카드번호" taborder="undefined"/>
  63. <Cell col="4" rowspan="2" text="카드&#13;&#10;구분" taborder="undefined"/>
  64. <Cell col="5" rowspan="2" text="카드소지자" taborder="undefined"/>
  65. <Cell col="6" rowspan="2" text="거래은행" taborder="undefined"/>
  66. <Cell col="7" rowspan="2" text="사용&#13;&#10;구분" taborder="undefined"/>
  67. <Cell col="8" rowspan="2" text="매출종류" taborder="undefined"/>
  68. <Cell col="9" rowspan="2" text="할부기간" taborder="undefined"/>
  69. <Cell col="10" rowspan="2" text="승인일자" taborder="undefined"/>
  70. <Cell col="11" rowspan="2" text="승인시간" taborder="undefined"/>
  71. <Cell col="12" rowspan="2" text="승인번호" taborder="undefined"/>
  72. <Cell col="13" rowspan="2" text="가맹점명/국가명" taborder="undefined"/>
  73. <Cell col="14" rowspan="2" text="승인금액&#13;&#10;(원화)" taborder="undefined"/>
  74. <Cell col="15" rowspan="2" text="환율" taborder="undefined"/>
  75. <Cell col="16" rowspan="2" text="비고" taborder="undefined"/>
  76. </Band>
  77. <Band id="body">
  78. <Cell celltype="head"/>
  79. <Cell col="1" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:headnm"/>
  80. <Cell col="2" style="align:left middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:deptnm"/>
  81. <Cell col="3" style="align:left middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cardno"/>
  82. <Cell col="4" style="align:left middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cardtp"/>
  83. <Cell col="5" style="align:left middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:usernm"/>
  84. <Cell col="6" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:banknm"/>
  85. <Cell col="7" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:ioflag"/>
  86. <Cell col="8" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:saleskind"/>
  87. <Cell col="9" style="align:right middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:instprd"/>
  88. <Cell col="10" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cnfmdt"/>
  89. <Cell col="11" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cnfmtm"/>
  90. <Cell col="12" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cnfmno"/>
  91. <Cell col="13" style="align:left middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:busnnm"/>
  92. <Cell col="14" displaytype="number" edittype="masknumber" style="align:right middle;color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cnfmamtk" mask="999,999"/>
  93. <Cell col="15" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:exchrate"/>
  94. <Cell col="16" style="color:BIND(fontcolor);color2:BIND(fontcolor);" text="bind:cmt"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. <Static id="caption9" text="특정요일(토,일,공휴일) : 파랑색(●)" position="absolute 270 736 470 755" style="color:blue;" anchor="left bottom"/>
  100. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 0 111 1195 117" anchor="left top right"/>
  101. <Button id="btn_delete" taborder="11" text="행삭제" class="btn2" position="absolute 1066 93 1119 112" onclick="btn_delete_onclick" anchor="top right"/>
  102. <Static id="caption8" text="※ 1. 엑셀자료를 Upload 할 경우, 3000건 기준 4~5분 정도 소요될 수 있습니다. 화면에 자료가 보여질 때까지 잠시만 기다려 주십시요." position="absolute 0 718 724 738" anchor="left bottom"/>
  103. <Static id="caption10" text="특정시간대(22:00~익일08:30) : 붉은색(○)" position="absolute 30 736 265 756" style="color:red;" anchor="left bottom"/>
  104. <Static id="caption12" text="2." position="absolute 15 736 30 755" anchor="left bottom"/>
  105. <Static id="cp_totalcnt" text="총" position="absolute 812 92 837 112" anchor="top right"/>
  106. <MaskEdit id="ipt_itemcnt" taborder="13" class="input_default" enable="false" position="absolute 840 93 915 112" usebitmapcache="false" type="number" trimtype="none" anchor="top right"/>
  107. <Static id="caption13" text="건" position="absolute 918 93 943 113" anchor="top right"/>
  108. <Div position="absolute 275 197 910 477" id="grp_dupinfo" visible="false" style="border:1 solid #808080ff ;">
  109. <Layouts>
  110. <Layout>
  111. <Static text="아래 승인내역이 중복되어 작업을 중단합니다." position="absolute 15 15 304 32" id="caption3" class="tit_2" style="color:red;"/>
  112. <Grid position="absolute 15 36 619 246" id="grd_duplist" binddataset="ds_temp_dupinfo_duplist">
  113. <Formats>
  114. <Format id="default">
  115. <Columns>
  116. <Column size="25"/>
  117. <Column size="90"/>
  118. <Column size="134"/>
  119. <Column size="80"/>
  120. <Column size="130"/>
  121. <Column size="130"/>
  122. </Columns>
  123. <Rows>
  124. <Row size="24" band="head"/>
  125. <Row size="24"/>
  126. </Rows>
  127. <Band id="head">
  128. <Cell/>
  129. <Cell col="1" text="수신정보구분"/>
  130. <Cell col="2" text="카드번호"/>
  131. <Cell col="3" text="승인번호"/>
  132. <Cell col="4" text="승인금액(원화)"/>
  133. <Cell col="5" text="승인금액(외화)"/>
  134. </Band>
  135. <Band id="body">
  136. <Cell celltype="head"/>
  137. <Cell col="1" text="bind:flagcd"/>
  138. <Cell col="2" text="bind:cardno"/>
  139. <Cell col="3" text="bind:cnfmno"/>
  140. <Cell col="4" text="bind:cnfmamtk"/>
  141. <Cell col="5" text="bind:cnfmamtf"/>
  142. </Band>
  143. </Format>
  144. </Formats>
  145. </Grid>
  146. <Button position="absolute 560 250 616 272" id="btn_close" class="btn4" taborder="8" text="닫기" onclick="grp_dupinfo_btn_close_onclick"/>
  147. <Shape position="absolute 14 31 619 37" linetype="horizontal" id="line1" class="line_10"/>
  148. <Button position="absolute 543 10 619 29" align="align:left middle;" id="button1" class="btn7" taborder="6" text="엑셀출력" onclick="grp_dupinfo_button1_onclick"/>
  149. </Layout>
  150. </Layouts>
  151. </Div>
  152. </Layout>
  153. </Layouts>
  154. <Objects>
  155. <Dataset id="ds_main_iteminfo_itemlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="flagcd" type="STRING"/>
  158. <Column id="cardno" type="STRING"/>
  159. <Column id="cardtp" type="STRING"/>
  160. <Column id="acctno" type="STRING"/>
  161. <Column id="banknm" type="STRING"/>
  162. <Column id="usernm" type="STRING"/>
  163. <Column id="ioflag" type="STRING"/>
  164. <Column id="cnfmno" type="STRING"/>
  165. <Column id="cnfmdt" type="STRING"/>
  166. <Column id="cnfmtm" type="STRING"/>
  167. <Column id="saleskind" type="STRING"/>
  168. <Column id="cnfmamtk" type="STRING"/>
  169. <Column id="cnfmamtf" type="STRING"/>
  170. <Column id="amtsign" type="STRING"/>
  171. <Column id="amt" type="STRING"/>
  172. <Column id="addtax" type="STRING"/>
  173. <Column id="svcamt" type="STRING"/>
  174. <Column id="instprd" type="STRING"/>
  175. <Column id="exchrate" type="STRING"/>
  176. <Column id="naticd" type="STRING"/>
  177. <Column id="natinm" type="STRING"/>
  178. <Column id="busnid" type="STRING"/>
  179. <Column id="busnnm" type="STRING"/>
  180. <Column id="induflag" type="STRING"/>
  181. <Column id="zipcd" type="STRING"/>
  182. <Column id="addr1" type="STRING"/>
  183. <Column id="addr2" type="STRING"/>
  184. <Column id="telno" type="STRING"/>
  185. <Column id="acntcd" type="STRING"/>
  186. <Column id="acntnm" type="STRING"/>
  187. <Column id="headnm" type="STRING"/>
  188. <Column id="deptnm" type="STRING"/>
  189. <Column id="cmt" type="STRING"/>
  190. <Column id="chk" type="STRING"/>
  191. <Column id="fontcolor" type="STRING" size="256"/>
  192. </ColumnInfo>
  193. </Dataset>
  194. <Dataset id="ds_temp_dupinfo_duplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  195. <ColumnInfo>
  196. <Column id="flagcd" type="STRING"/>
  197. <Column id="cardno" type="STRING"/>
  198. <Column id="cnfmno" type="STRING"/>
  199. <Column id="cnfmamtk" type="STRING"/>
  200. <Column id="cnfmamtf" type="STRING"/>
  201. </ColumnInfo>
  202. </Dataset>
  203. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="cnfmddfrom" type="STRING" size="256"/>
  206. <Column id="cnfmddto" type="STRING" size="256"/>
  207. <Column id="cardno" type="STRING" size="256"/>
  208. <Column id="deptnm" type="STRING" size="256"/>
  209. <Column id="usernm" type="STRING" size="256"/>
  210. <Column id="cmt" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. <Rows>
  213. <Row/>
  214. </Rows>
  215. </Dataset>
  216. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  217. <ColumnInfo>
  218. <Column id="itemcnt" type="STRING" size="256"/>
  219. </ColumnInfo>
  220. </Dataset>
  221. <Dataset id="Dataset00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  222. </Objects>
  223. <Bind>
  224. <BindItem id="item0" compid="grp_sea.ipt_cnfmddfrom" propid="value" datasetid="ds_send_search" columnid="cnfmddfrom"/>
  225. <BindItem id="item1" compid="grp_sea.ipt_cnfmddto" propid="value" datasetid="ds_send_search" columnid="cnfmddto"/>
  226. <BindItem id="item2" compid="grp_sea.ipt_cardno" propid="value" datasetid="ds_send_search" columnid="cardno"/>
  227. <BindItem id="item3" compid="grp_sea.ipt_deptnm" propid="value" datasetid="ds_send_search" columnid="deptnm"/>
  228. <BindItem id="item4" compid="grp_sea.ipt_usernm" propid="value" datasetid="ds_send_search" columnid="usernm"/>
  229. </Bind>
  230. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  231. * System Name :
  232. * Job Name :
  233. * Creator :
  234. * Make Date : 2017-06-19
  235. * Description :
  236. *---------------------------------------------------------------------------------------
  237. * Modify Date Modifier Modify Description
  238. *---------------------------------------------------------------------------------------
  239. * 2017-06-19 Live Converter TF->XP
  240. *
  241. *---------------------------------------------------------------------------------------
  242. ****************************************************************************************/
  243. include "com_commonxp::comm_main.xjs";
  244. include "ast_tumorelctxp::combolist.xjs";
  245. include "mis_miscommonxp::MIS.xjs";
  246. include "mis_acntcommonxp::RAD001.xjs";
  247. function SMRAC01300_oninit(obj:Form, e:InitEventInfo)
  248. {
  249. frmf_initForm(obj);
  250. }
  251. function SMRAC01300_onload(obj:Form, e:LoadEventInfo)
  252. {
  253. grdf_setRowTypeIcon(grd_itemlist, 0);
  254. grdf_setRowTypeIcon(grp_dupinfo.grd_duplist, 0);
  255. misfGridInit(grd_itemlist);
  256. misfGridInit(grp_dupinfo.grd_duplist);
  257. ds_send_search.setColumn(0, "cnfmddfrom", utlf_getCurrentDate()); //승인일자 설정
  258. ds_send_search.setColumn(0, "cnfmddto", utlf_getCurrentDate()); //승인일자 설정
  259. ds_send_search.setColumn(0, "cnfmddfrom", "20170101");
  260. ds_send_search.setColumn(0, "cnfmddto", "20170102");
  261. grp_sea.btn_search.click();
  262. }
  263. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  264. {
  265. if(ds_send_search.getColumn(0, "cnfmddfrom").length != 8)
  266. {
  267. sysf_messageBox("승인일자를 확인하십시요 ", "I999", "");
  268. grp_sea.ipt_cnfmddfrom.setFocus();
  269. return;
  270. }
  271. if(ds_send_search.getColumn(0, "cnfmddto").length != 8)
  272. {
  273. sysf_messageBox("승인일자를 확인하십시요 ", "I999", "");
  274. grp_sea.ipt_cnfmddto.setFocus();
  275. return;
  276. }
  277. misfGridInit(grd_itemlist);
  278. var oParam = {};
  279. oParam.id = "TRRAC01302";
  280. oParam.service = "acntbaseinfoapp.AcntBaseInfo";
  281. oParam.method = "reqGetCardCnfmList";
  282. oParam.inds = "req=ds_send_search";
  283. oParam.outds = "ds_main_iteminfo_itemlist=itemlist";
  284. oParam.async = false;
  285. oParam.callback = "cf_TRRAC01302";
  286. tranf_submit(oParam);
  287. }
  288. function cf_TRRAC01302(sSvcId, nErrorCode, sErrorMsg)
  289. {
  290. if(nErrorCode < 0)
  291. {
  292. return;
  293. }
  294. else
  295. {
  296. //특정요일 및 특정시간대 구분표시
  297. //가. 특정요일(토,일,공휴일) : 파랑색 --> 적용안함(2017.08.14)
  298. //나. 특정시간대(22:00~익일06:00) : 붉은색
  299. //check 컬럼에 값이 ● 이면 파랑색 ○ 이면 빨강색
  300. ds_main_iteminfo_itemlist.updatecontrol = false;
  301. for(var i = 0; i < ds_main_iteminfo_itemlist.rowcount; i++)
  302. {
  303. if(ds_main_iteminfo_itemlist.getColumn(i, "chk") == "○")
  304. {
  305. ds_main_iteminfo_itemlist.setColumn(i, "fontcolor", "#FF0000");
  306. }
  307. else
  308. {
  309. ds_main_iteminfo_itemlist.setColumn(i, "fontcolor", "");
  310. }
  311. }
  312. ds_main_iteminfo_itemlist.updatecontrol = true;
  313. //총건수 표시
  314. ipt_itemcnt.value = ds_main_iteminfo_itemlist.rowcount;
  315. }
  316. }
  317. function btn_upload_onclick(obj:Button, e:ClickEventInfo)
  318. {
  319. sysf_messageBox("엑셀 Upload를 하실 때는 반드시 양식에 맞게 입력해주셔야 합니다.", "I999", "");
  320. var fd = new FileDialog();
  321. var file = fd.open("open", FileDialog.LOAD,"%MYDOCUMENT%");
  322. file.open(VirtualFile.openRead | VirtualFile.openBinary);
  323. file.close();
  324. var objExtCommon = new ExtCommon();
  325. ds_main_iteminfo_itemlist.clearData();
  326. objExtCommon.excelImportByIndex(file.fullpath, 0,"ds_main_iteminfo_itemlist");
  327. div.grd_tmp.createFormat();
  328. if(!utlf_isNull(file))
  329. {
  330. //타이틀에 해당하는 첫행은 자동 삭제되도록 수정
  331. for(var i = 0; i < ds_main_iteminfo_itemlist.rowcount; i++)
  332. {
  333. var arrPostion = new Array();
  334. arrPostion[0] = i;
  335. grdf_setStatus(grd_itemlist, "I", arrPostion);
  336. }
  337. ipt_itemcnt.value = ds_main_iteminfo_itemlist.rowcount;
  338. sysf_messageBox("Upload 가 완료되었습니다. \n데이터를 확인 후 저장버튼을 누르십시요." , "I999", "");
  339. }
  340. }
  341. //행삭제
  342. function btn_delete_onclick(obj:Button, e:ClickEventInfo)
  343. {
  344. var sRow = ds_main_iteminfo_itemlist.rowposition;
  345. var status = ds_main_iteminfo_itemlist.getRowType(sRow);
  346. //엑셀 Upload한 상태에서만 행삭제가 가능토록 한다.
  347. if(status == 4)
  348. {
  349. sysf_messageBox("행삭제는 엑셀 Upload 후 자료 저장 전까지만 사용이 가능합니다. ", "E999", "");
  350. return;
  351. }
  352. if(sysf_messageBox( "선택한 행을 삭제하시겠습니까?", "Q999","") != 6)
  353. {
  354. return;
  355. }
  356. ds_main_iteminfo_itemlist.deleteRow(ds_main_iteminfo_itemlist.rowposition);
  357. ipt_itemcnt.value = ds_main_iteminfo_itemlist.rowcount;
  358. }
  359. //엑셀출력
  360. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  361. {
  362. grdf_exportExcel(grd_itemlist, "승인내역" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  363. }
  364. //저장
  365. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  366. {
  367. ExecData();
  368. }
  369. function ExecData()
  370. {
  371. var oParam = {};
  372. oParam.id = "TXRAC01301";
  373. oParam.service = "acntbaseinfoapp.AcntBaseInfo";
  374. oParam.method = "reqSaveCardCnfmList";
  375. oParam.inds = "req=ds_main_iteminfo_itemlist:U";
  376. oParam.outds = "ds_temp_dupinfo_duplist=duplist";
  377. oParam.async = false;
  378. oParam.callback = "cf_TXRAC01301";
  379. tranf_submit(oParam);
  380. }
  381. function cf_TXRAC01301(sSvcId, nErrorCode, sErrorMsg)
  382. {
  383. if(nErrorCode < 0) return;
  384. else
  385. { //저장 중 중복내역이 존재하면
  386. //f(grd_duplist.rows > grd_duplist.fixedRows)
  387. if(ds_temp_dupinfo_duplist.rowcount > 0)
  388. {
  389. grp_dupinfo.visible = true;
  390. }
  391. else
  392. {
  393. misfGridInit(grd_itemlist);
  394. sysf_messageBox("저장되었습니다. \n조회를 통해 저장된 자료를 다시 한번 확인하십시요. ", "I999", "");
  395. }
  396. }
  397. }
  398. function grp_dupinfo_button1_onclick(obj:Button, e:ClickEventInfo)
  399. {
  400. grdf_exportExcel(grd_itemlist, "중복내역" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  401. }
  402. function grp_dupinfo_btn_close_onclick(obj:Button, e:ClickEventInfo)
  403. {
  404. grp_dupinfo.visible = false;
  405. }
  406. ]]></Script>
  407. </Form>
  408. </FDL>