SMPIE02100_산재개산지급결정통지서(I040)조회.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIE02100" position="absolute 0 0 1207 782" titletext="산재개산지급결정통지서(I040)조회" oninit="SMPIE02100_oninit" onload="SMPIE02100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 757 1195 768" id="grp_btn" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 0 1194 6" linetype="horizontal" id="line32" class="line_6" anchor="all"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 13 1195 757" id="group4" scrollbars="autoboth" anchor="all">
  15. <Layouts>
  16. <Layout width="1195" height="744">
  17. <Static text="I040" position="absolute 1 80 178 102" id="caption36" class="tit_2"/>
  18. <Shape position="absolute 0 96 1194 102" linetype="horizontal" id="line27" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  19. <Button position="absolute 1115 77 1195 96" id="button12" class="btn7" text="엑셀저장" onclick="group4_button12_onclick" anchor="top right"/>
  20. <Grid position="absolute 0 101 1194 743" id="grd_i040" binddataset="ds_main_grid_gridlisti040_i040" onrbuttondown="group4_grd_i040_onrbuttondown" oncellclick="group4_grd_i040_oncellclick" onkeydown="group4_grd_i040_onkeydown" anchor="all" cellsizingtype="col">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="20"/>
  25. <Column size="80"/>
  26. <Column size="65"/>
  27. <Column size="70"/>
  28. <Column size="100"/>
  29. <Column size="90"/>
  30. <Column size="70"/>
  31. <Column size="100"/>
  32. <Column size="75"/>
  33. <Column size="75"/>
  34. <Column size="75"/>
  35. <Column size="100"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="80"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="200"/>
  44. <Column size="200"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell/>
  52. <Cell col="1" text="접수번호"/>
  53. <Cell col="2" text="차수"/>
  54. <Cell col="3" text="서식번호"/>
  55. <Cell col="4" text="청구기관코드"/>
  56. <Cell col="5" text="사업구분"/>
  57. <Cell col="6" text="발송번호"/>
  58. <Cell col="7" text="청구번호"/>
  59. <Cell col="8" text="접수일자"/>
  60. <Cell col="9" text="통지일자"/>
  61. <Cell col="10" text="지급일자"/>
  62. <Cell col="11" text="청구액"/>
  63. <Cell col="12" text="개산대상금액"/>
  64. <Cell col="13" text="개산지급액"/>
  65. <Cell col="14" text="개산지급률"/>
  66. <Cell col="15" text="개산실지급액"/>
  67. <Cell col="16" text="소득세"/>
  68. <Cell col="17" text="주민세"/>
  69. <Cell col="18" text="공제총액"/>
  70. <Cell col="19" text="개산지급률 결정사유"/>
  71. <Cell col="20" text="통지사항"/>
  72. </Band>
  73. <Band id="body">
  74. <Cell celltype="head" expr="currow+1"/>
  75. <Cell col="1" text="bind:acptno"/>
  76. <Cell col="2" text="bind:dg"/>
  77. <Cell col="3" displaytype="date" text="bind:docuno" mask="yyyy/MM"/>
  78. <Cell col="4" text="bind:healcareinstcd"/>
  79. <Cell col="5" text="bind:cmpyflag"/>
  80. <Cell col="6" text="bind:sendno"/>
  81. <Cell col="7" text="bind:clamno"/>
  82. <Cell col="8" displaytype="date" text="bind:acptdd" mask="yyyy/MM/dd"/>
  83. <Cell col="9" displaytype="date" text="bind:notidd" mask="yyyy/MM/dd"/>
  84. <Cell col="10" displaytype="date" text="bind:paydd" mask="yyyy/MM/dd"/>
  85. <Cell col="11" displaytype="number" text="bind:clamamt"/>
  86. <Cell col="12" displaytype="number" text="bind:calctrgtamt"/>
  87. <Cell col="13" displaytype="number" text="bind:calcpayamt"/>
  88. <Cell col="14" text="bind:calcpayrt"/>
  89. <Cell col="15" displaytype="number" text="bind:calcrlpayamt"/>
  90. <Cell col="16" displaytype="number" text="bind:incmtax"/>
  91. <Cell col="17" displaytype="number" text="bind:resdntax"/>
  92. <Cell col="18" displaytype="number" text="bind:dedutotamt"/>
  93. <Cell col="19" text="bind:calcpayrtdeciresn"/>
  94. <Cell col="20" text="bind:notifact"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. <Div position="absolute 0 11 1194 71" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
  100. <Layouts>
  101. <Layout>
  102. <Static text="통지일자 :" position="absolute 12 22 98 39" id="cap_toacptym" class="search_name" anchor="default"/>
  103. <Calendar position="absolute 94 21 179 40" id="ipt_fromnotidd" class="input_search" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
  104. <Static text="~" position="absolute 184 24 199 39" id="caption31" anchor="default"/>
  105. <Calendar position="absolute 198 21 283 40" id="ipt_tonotidd" class="input_search" anchor="default"/>
  106. <Static text="사업구분 :" position="absolute 811 23 901 40" id="caption34" class="search_name" anchor="default"/>
  107. <Combo position="absolute 894 21 994 40" id="cmb_cmpyflag" class="combo_search" innerdataset="@ds_init_P0504list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  108. <Static text="청구번호 :" position="absolute 335 23 425 40" id="caption35" class="search_name" anchor="default"/>
  109. <Edit position="absolute 420 21 520 40" id="ipt_clamno" class="input_search" anchor="default"/>
  110. <Static text="접수번호 :" position="absolute 569 23 659 40" id="caption30" class="search_name" anchor="default"/>
  111. <Edit position="absolute 654 21 754 40" id="ipt_acptno" class="input_search" anchor="default"/>
  112. <Shape position="absolute 1105 7 1111 54" linetype="vertical" id="line26" class="line_4" anchor="top right"/>
  113. <Button position="absolute 1123 19 1179 41" id="btn_research" class="btn1" text="조회" onclick="group4_group5_btn_research_onclick" anchor="top right"/>
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. <Button position="absolute 1006 77 1059 96" id="button10" class="btn2" text="열카피" onclick="group4_button10_onclick" anchor="top right"/>
  118. <Button position="absolute 1061 77 1114 96" id="button11" class="btn2" text="행카피" onclick="group4_button11_onclick" anchor="top right"/>
  119. <Button position="absolute 951 77 1004 96" id="button13" class="btn2" text="셀카피" onclick="group4_button13_onclick" anchor="top right"/>
  120. </Layout>
  121. </Layouts>
  122. </Div>
  123. <Static id="caption6" text="산재개산지급결정통지서(I040)조회" class="tit_1" position="absolute 1 0 329 23"/>
  124. </Layout>
  125. </Layouts>
  126. <Objects>
  127. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  128. <ColumnInfo>
  129. <Column id="fromnotidd" type="STRING" size="256"/>
  130. <Column id="tonotidd" type="STRING" size="256"/>
  131. <Column id="clamno" type="STRING" size="256"/>
  132. <Column id="acptno" type="STRING" size="256"/>
  133. <Column id="cmpyflag" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. <Rows>
  136. <Row/>
  137. </Rows>
  138. </Dataset>
  139. <Dataset id="ds_init_P0504list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="cdnm" type="STRING" size="256"/>
  142. <Column id="cdid" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. </Dataset>
  145. <Dataset id="ds_main_grid_gridlisti040_i040" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  146. <ColumnInfo>
  147. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  148. <Column id="dg" type="STRING" size="256" sumtext="차수"/>
  149. <Column id="docuno" type="STRING" size="256" sumtext="서식번호"/>
  150. <Column id="healcareinstcd" type="STRING" size="256" sumtext="청구기관코드"/>
  151. <Column id="cmpyflag" type="STRING" size="256" sumtext="사업구분"/>
  152. <Column id="sendno" type="STRING" size="256" sumtext="발송번호"/>
  153. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  154. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  155. <Column id="notidd" type="STRING" size="256" sumtext="통지일자"/>
  156. <Column id="paydd" type="STRING" size="256" sumtext="지급일자"/>
  157. <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
  158. <Column id="calctrgtamt" type="STRING" size="256" sumtext="개산대상금액"/>
  159. <Column id="calcpayamt" type="STRING" size="256" sumtext="개산지급액"/>
  160. <Column id="calcpayrt" type="STRING" size="256" sumtext="개산지급율"/>
  161. <Column id="calcrlpayamt" type="STRING" size="256" sumtext="실지급액"/>
  162. <Column id="incmtax" type="STRING" size="256" sumtext="소득세"/>
  163. <Column id="resdntax" type="STRING" size="256" sumtext="주민세"/>
  164. <Column id="dedutotamt" type="STRING" size="256" sumtext="공제총액"/>
  165. <Column id="calcpayrtdeciresn" type="STRING" size="256" sumtext="개산지급률결정사유"/>
  166. <Column id="notifact" type="STRING" size="256" sumtext="통지사항"/>
  167. </ColumnInfo>
  168. </Dataset>
  169. </Objects>
  170. <Bind>
  171. <BindItem id="item0" compid="group4.group5.ipt_fromnotidd" propid="value" datasetid="ds_send" columnid="fromnotidd"/>
  172. <BindItem id="item1" compid="group4.group5.ipt_tonotidd" propid="value" datasetid="ds_send" columnid="tonotidd"/>
  173. <BindItem id="item2" compid="group4.group5.ipt_clamno" propid="value" datasetid="ds_send" columnid="clamno"/>
  174. <BindItem id="item3" compid="group4.group5.ipt_acptno" propid="value" datasetid="ds_send" columnid="acptno"/>
  175. <BindItem id="item4" compid="group4.group5.cmb_cmpyflag" propid="value" datasetid="ds_send" columnid="cmpyflag"/>
  176. </Bind>
  177. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  178. * System Name :
  179. * Job Name :
  180. * Creator :
  181. * Make Date : 2016-05-24
  182. * Description :
  183. *---------------------------------------------------------------------------------------
  184. * Modify Date Modifier Modify Description
  185. *---------------------------------------------------------------------------------------
  186. * 2016-05-24 Live Converter TF->XP
  187. *
  188. *---------------------------------------------------------------------------------------
  189. ****************************************************************************************/
  190. include "com_commonxp::comm_main.xjs";
  191. include "pam_pamcomnxp::PAM001.xjs";
  192. include "pam_pamcomnxp::PAM.xjs";
  193. var col = "N";
  194. function SMPIE02100_oninit(obj:Form, e:InitEventInfo)
  195. {
  196. frmf_initForm(obj);
  197. }
  198. function SMPIE02100_onload(obj:Form, e:LoadEventInfo)
  199. {
  200. CommCode_Load();
  201. fInitialize();
  202. }
  203. function CommCode_Load()
  204. {
  205. var arrParam = [{dsNm: "ds_init_P0504list", cdGrpId: "P0504"}]
  206. appf_getCodeList(arrParam);
  207. ds_init_P0504list.insertRow(0);
  208. }
  209. // 초기화
  210. function fInitialize()
  211. {
  212. var today = utlf_getCurrentDate();
  213. ds_send.setColumn(0, "fromnotidd", today);
  214. ds_send.setColumn(0, "tonotidd", today);
  215. ds_send.setColumn(0, "clamno", "");
  216. ds_send.setColumn(0, "acptno", "");
  217. ds_send.setColumn(0, "cmpyflag", "-");
  218. group4.group5.ipt_fromnotidd.setFocus();
  219. }
  220. function group4_group5_btn_research_onclick(obj:Button, e:ClickEventInfo)
  221. {
  222. if ((utlf_isNull(ds_send.getColumn(0, "fromnotidd")) && utlf_isNull(ds_send.getColumn(0, "clamno")) && utlf_isNull(ds_send.getColumn(0, "acptno"))) ||
  223. (utlf_isNull(ds_send.getColumn(0, "tonotidd")) && utlf_isNull(ds_send.getColumn(0, "clamno")) && utlf_isNull(ds_send.getColumn(0, "acptno"))))
  224. {
  225. sysf_messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
  226. }
  227. else
  228. {
  229. var oParam = {};
  230. oParam.id = "TRPIE02001";
  231. oParam.service = "edimngtapp.EdiMngt";
  232. oParam.method = "reqGetInduCsJudgSpecRept401";
  233. oParam.inds = "req=ds_send";
  234. oParam.outds = "ds_main_grid_gridlisti040_i040=i040";
  235. oParam.async = false;
  236. //oParam.callback = "cf_TRPIE02001";
  237. tranf_submit(oParam);
  238. }
  239. }
  240. function group4_button12_onclick(obj:Button, e:ClickEventInfo)
  241. {
  242. var today = utlf_getCurrentDate();
  243. if(ds_main_grid_gridlisti040_i040.rowcount == 0)
  244. {
  245. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  246. }
  247. else
  248. {
  249. grdf_exportExcel(group4.grd_i040, "I040-산재개산지급통지서_"+today, "see");
  250. }
  251. }
  252. function group4_button13_onclick(obj:Button, e:ClickEventInfo)
  253. {
  254. col = "N";
  255. group4.grd_i040.selecttype = "multiarea";
  256. }
  257. function group4_button10_onclick(obj:Button, e:ClickEventInfo)
  258. {
  259. col = "Y";
  260. group4.grd_i040.selecttype = "multiarea";
  261. }
  262. function group4_button11_onclick(obj:Button, e:ClickEventInfo)
  263. {
  264. col = "N";
  265. group4.grd_i040.selecttype = "multirow";
  266. }
  267. function group4_grd_i040_oncellclick(obj:Grid, e:GridClickEventInfo)
  268. {
  269. var lv_nAreaStartRow;
  270. var lv_nAreaEndRow;
  271. var lv_nAreaStartCol;
  272. var lv_nAreaEndCol;
  273. if(col == "Y")
  274. {
  275. lv_nAreaStartRow = 0;
  276. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  277. lv_nAreaStartCol = parseInt(obj.currentcol);
  278. lv_nAreaEndCol = parseInt(obj.currentcol);
  279. grdf_initGridStyle(obj);
  280. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  281. {
  282. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  283. {
  284. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  285. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  286. }
  287. }
  288. }
  289. else
  290. {
  291. grdf_initGridStyle(obj);
  292. }
  293. }
  294. function group4_grd_i040_onkeydown(obj:Grid, e:KeyEventInfo)
  295. {
  296. if(col == "Y")
  297. {
  298. var CONST_SEPARATOR = " "; //컬럼별 구분자
  299. var lv_oBindDs = eval(obj.binddataset);
  300. var lv_sColID;
  301. var lv_sVal;
  302. var lv_sClipboard = "";
  303. var lv_nAreaStartRow;
  304. var lv_nAreaEndRow;
  305. var lv_nAreaStartCol;
  306. var lv_nAreaEndCol;
  307. if(obj.selecttype == "multiarea")
  308. {
  309. lv_nAreaStartRow = 0;
  310. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  311. lv_nAreaStartCol = parseInt(obj.currentcol);
  312. lv_nAreaEndCol = parseInt(obj.currentcol);
  313. }
  314. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  315. {
  316. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  317. {
  318. lv_sColID = obj.getCellProperty("body",nCell,"text");
  319. lv_sVal = obj.getCellValue(nRow,nCell);
  320. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  321. }
  322. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  323. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  324. }
  325. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  326. iv_sClipboard = lv_sClipboard;
  327. system.setClipboard("CF_TEXT",lv_sClipboard);
  328. }
  329. else
  330. {
  331. if (e.ctrlKey == true && e.keycode == 67 )
  332. {
  333. grdf_clipboardCopy(obj, "PAM");
  334. }
  335. }
  336. }
  337. ]]></Script>
  338. </Form>
  339. </FDL>