SMRWP01530_선택진료수당지급명세서출력.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRWP01530" position="absolute 0 0 1192 751" titletext="선택진료수당지급명세서출력" onload="SMRWP01530_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_srch" taborder="1" position="absolute 0 25 1190 65" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button id="caption4" taborder="0" position="absolute 484 11 498 30" class="icon_next_month" onclick="grp_srch_caption4_onclick"/>
  11. <Button id="caption3" taborder="1" class="icon_pre_month" position="absolute 372 11 386 30" onclick="grp_srch_caption3_onclick"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Static id="caption22" text="지급월:" class="search_name" position="absolute 309 38 370 55"/>
  16. <Div position="absolute 0 13 1195 38" id="grp_btn" scrollbars="autoboth">
  17. <Layouts>
  18. <Layout/>
  19. </Layouts>
  20. </Div>
  21. <Static id="caption6" text="선택진료수당 지급 명세서 출력" class="tit_1" position="absolute 0 0 240 25"/>
  22. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1124 35 1180 57" onclick="btn_search_onclick"/>
  23. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1110 33 1116 58"/>
  24. <Button id="btn_emplno" taborder="3" class="icon_search" position="absolute 888 37 904 53" onclick="btn_emplno_onclick"/>
  25. <Static id="caption1" text="사번 :" class="search_name" position="absolute 750 38 813 55"/>
  26. <Edit id="ipt_emplnos" taborder="4" class="input_default" position="absolute 811 36 885 55" onkeydown="ipt_emplnos_onkeydown"/>
  27. <Edit id="ipt_emplnms" taborder="5" class="input_default" position="absolute 907 36 1025 55" onkeydown="ipt_emplnms_onkeydown"/>
  28. <Static id="caption21" text="급여종류:" class="search_name" position="absolute 530 38 616 55"/>
  29. <Combo id="cmb_SalDfrayFlag" taborder="6" class="combo_essential" position="absolute 611 36 736 55"/>
  30. <Static id="caption28" text="지급명세서" class="tit_2" position="absolute 0 75 144 92"/>
  31. <Shape id="line193" class="line_10" position="absolute 0 91 1190 97"/>
  32. <Combo id="cmb_instcd" taborder="8" class="combo_essential" position="absolute 109 36 288 55"/>
  33. <Static id="cap_instcd" text="기 관 :" class="search_name" position="absolute 20 38 105 55"/>
  34. <Grid id="grd_amtlist1" taborder="9" binddataset="ds_main_samtlist" useinputpanel="false" position="absolute 0 96 1190 181">
  35. <Formats>
  36. <Format id="default">
  37. <Columns>
  38. <Column size="105"/>
  39. <Column size="105"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="105"/>
  46. <Column size="105"/>
  47. <Column size="105"/>
  48. <Column size="105"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="24" band="head"/>
  52. <Row size="35" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell colspan="10" text="수익" taborder="undefined"/>
  57. <Cell col="10" rowspan="2" text="수익 계" taborder="undefined"/>
  58. <Cell row="1" text="선택진료수익&#10;(본원)"/>
  59. <Cell row="1" col="1" text="선택진료수익&#10;(칠곡)"/>
  60. <Cell row="1" col="2" text="선택진료보상금&#10;(본원)"/>
  61. <Cell row="1" col="3" text="선택진료보상금&#10;(칠곡)"/>
  62. <Cell row="1" col="4" text="선택진료보상금&#10;차감"/>
  63. <Cell row="1" col="5" text="영상선택보상&#10;(본원)"/>
  64. <Cell row="1" col="6" text="영상선택보상&#10;(칠곡)"/>
  65. <Cell row="1" col="7" text="행위료수익&#10;(본원)"/>
  66. <Cell row="1" col="8" text="행위료수익&#10;(칠곡)"/>
  67. <Cell row="1" col="9" text="과내검사수익"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell text="bind:amt0101" mask="(-)#,###"/>
  71. <Cell col="1" text="bind:amt0102" mask="(-)#,###"/>
  72. <Cell col="2" text="bind:amt0103" mask="(-)#,###"/>
  73. <Cell col="3" text="bind:amt0104" mask="(-)#,###"/>
  74. <Cell col="4" text="bind:amt0110" mask="(-)#,###"/>
  75. <Cell col="5" text="bind:amt0105" mask="(-)#,###"/>
  76. <Cell col="6" text="bind:amt0106" mask="(-)#,###"/>
  77. <Cell col="7" text="bind:amt0107" mask="(-)#,###"/>
  78. <Cell col="8" text="bind:amt0108" mask="(-)#,###"/>
  79. <Cell col="9" text="bind:amt0109" mask="(-)#,###"/>
  80. <Cell col="10" text="bind:amt0199" mask="(-)#,###"/>
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. <Grid id="grd_amtlist2" taborder="10" binddataset="ds_main_samtlist" useinputpanel="false" position="absolute 0 182 1190 252">
  86. <Formats>
  87. <Format id="default">
  88. <Columns>
  89. <Column size="105"/>
  90. <Column size="105"/>
  91. <Column size="105"/>
  92. <Column size="105"/>
  93. <Column size="105"/>
  94. <Column size="105"/>
  95. <Column size="105"/>
  96. </Columns>
  97. <Rows>
  98. <Row size="24" band="head"/>
  99. <Row size="24" band="head"/>
  100. <Row size="24"/>
  101. </Rows>
  102. <Band id="head">
  103. <Cell rowspan="2" text="수익차감 계" taborder="undefined"/>
  104. <Cell col="1" colspan="4" text="비용" taborder="undefined"/>
  105. <Cell col="5" rowspan="2" text="비용 계" taborder="undefined"/>
  106. <Cell col="6" rowspan="2" text="요율적용" taborder="undefined"/>
  107. <Cell row="1" col="1" text="공간사용료"/>
  108. <Cell row="1" col="2" text="장비비용산정액"/>
  109. <Cell row="1" col="3" text="인건비산정액"/>
  110. <Cell row="1" col="4" text="과내검사비용"/>
  111. </Band>
  112. <Band id="body">
  113. <Cell text="bind:amt0299" mask="(-)#,###"/>
  114. <Cell col="1" text="bind:amt0301" mask="(-)#,###"/>
  115. <Cell col="2" text="bind:amt0302" mask="(-)#,###"/>
  116. <Cell col="3" text="bind:amt0303" mask="(-)#,###"/>
  117. <Cell col="4" text="bind:amt0304" mask="(-)#,###"/>
  118. <Cell col="5" text="bind:amt0399" mask="(-)#,###"/>
  119. <Cell col="6" text="bind:amt0402" mask="(-)#,###"/>
  120. </Band>
  121. </Format>
  122. </Formats>
  123. </Grid>
  124. <Grid id="grd_amtlist3" taborder="11" binddataset="ds_main_samtlist" useinputpanel="false" position="absolute 0 253 1190 323">
  125. <Formats>
  126. <Format id="default">
  127. <Columns>
  128. <Column size="105"/>
  129. <Column size="105"/>
  130. <Column size="105"/>
  131. <Column size="105"/>
  132. <Column size="0"/>
  133. <Column size="105"/>
  134. <Column size="105"/>
  135. <Column size="105"/>
  136. <Column size="105"/>
  137. <Column size="105"/>
  138. <Column size="105"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="24" band="head"/>
  142. <Row size="24" band="head"/>
  143. <Row size="24"/>
  144. </Rows>
  145. <Band id="head">
  146. <Cell colspan="3" text="가산액" taborder="undefined"/>
  147. <Cell col="3" text="정액급"/>
  148. <Cell col="4" text="정액급"/>
  149. <Cell col="5" text="성과수당"/>
  150. <Cell col="6" rowspan="2" text="기본금" taborder="undefined"/>
  151. <Cell col="7" colspan="2" text="한도 외 실적분" taborder="undefined"/>
  152. <Cell col="9" colspan="2" text="지급" taborder="undefined"/>
  153. <Cell row="1" text="진료가산금"/>
  154. <Cell row="1" col="1" text="판독가산금"/>
  155. <Cell row="1" col="2" text="마취가산금"/>
  156. <Cell row="1" col="3" text="직급별인센티브"/>
  157. <Cell row="1" col="4" text="보직자가산금"/>
  158. <Cell row="1" col="5" text="※ 한도 450만원"/>
  159. <Cell row="1" col="7" text="초진수당"/>
  160. <Cell row="1" col="8" text="금요가산금"/>
  161. <Cell row="1" col="9" text="정정 및 가감액"/>
  162. <Cell row="1" col="10" text="수당지급액"/>
  163. </Band>
  164. <Band id="body">
  165. <Cell text="bind:amt0501" mask="(-)#,###"/>
  166. <Cell col="1" text="bind:amt0502" mask="(-)#,###"/>
  167. <Cell col="2" text="bind:amt0503" mask="(-)#,###"/>
  168. <Cell col="3" text="bind:amt0601" mask="(-)#,###"/>
  169. <Cell col="4" text="bind:amt0602" mask="(-)#,###"/>
  170. <Cell col="5" text="bind:amt0701" mask="(-)#,###"/>
  171. <Cell col="6" text="bind:amt0801" mask="(-)#,###"/>
  172. <Cell col="7" text="bind:amt0901" mask="(-)#,###"/>
  173. <Cell col="8" text="bind:amt0902" mask="(-)#,###"/>
  174. <Cell col="9" text="bind:amt1001" mask="(-)#,###"/>
  175. <Cell col="10" text="bind:amt9901" mask="(-)#,###"/>
  176. </Band>
  177. </Format>
  178. </Formats>
  179. </Grid>
  180. <Button id="button1" taborder="12" text="출력" class="btn1" visible="false" position="absolute 1124 58 1180 80" onclick="button1_onclick"/>
  181. <Calendar id="ipt_payym" taborder="7" class="input_default" position="absolute 388 36 482 55" mask="yyyy-mm"/>
  182. </Layout>
  183. </Layouts>
  184. <Objects>
  185. <Dataset id="ds_main_samtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  186. <ColumnInfo>
  187. <Column id="amt0101" type="STRING"/>
  188. <Column id="amt0102" type="STRING"/>
  189. <Column id="amt0103" type="STRING"/>
  190. <Column id="amt0104" type="STRING"/>
  191. <Column id="amt0110" type="STRING"/>
  192. <Column id="amt0105" type="STRING"/>
  193. <Column id="amt0106" type="STRING"/>
  194. <Column id="amt0107" type="STRING"/>
  195. <Column id="amt0108" type="STRING"/>
  196. <Column id="amt0109" type="STRING"/>
  197. <Column id="amt0199" type="STRING"/>
  198. </ColumnInfo>
  199. </Dataset>
  200. <Dataset id="ds_main_print_printdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  201. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  202. <Dataset id="ds_send_payamt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_payamt_oncolumnchanged">
  203. <ColumnInfo>
  204. <Column id="payym" type="STRING" size="256"/>
  205. <Column id="saldfrayflag" type="STRING" size="256"/>
  206. <Column id="emplno" type="STRING" size="256"/>
  207. <Column id="emplnm" type="STRING" size="256"/>
  208. <Column id="instcd" type="STRING" size="256"/>
  209. </ColumnInfo>
  210. <Rows>
  211. <Row>
  212. <Col id="payym"/>
  213. <Col id="saldfrayflag"/>
  214. <Col id="emplno"/>
  215. <Col id="emplnm"/>
  216. <Col id="instcd"/>
  217. </Row>
  218. </Rows>
  219. </Dataset>
  220. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  221. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  222. <Dataset id="ds_memoauth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  223. </Objects>
  224. <Bind>
  225. <BindItem id="item0" compid="ipt_emplnos" propid="value" datasetid="ds_send_payamt" columnid="emplno"/>
  226. <BindItem id="item1" compid="ipt_emplnms" propid="value" datasetid="ds_send_payamt" columnid="emplnm"/>
  227. <BindItem id="item2" compid="cmb_SalDfrayFlag" propid="value" datasetid="ds_send_payamt" columnid="saldfrayflag"/>
  228. <BindItem id="item3" compid="ipt_payym" propid="value" datasetid="ds_send_payamt" columnid="payym"/>
  229. <BindItem id="item4" compid="cmb_instcd" propid="value" datasetid="ds_send_payamt" columnid="instcd"/>
  230. </Bind>
  231. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  232. * System Name :
  233. * Job Name :
  234. * Creator :
  235. * Make Date : 2017-06-19
  236. * Description :
  237. *---------------------------------------------------------------------------------------
  238. * Modify Date Modifier Modify Description
  239. *---------------------------------------------------------------------------------------
  240. * 2017-06-19 Live Converter TF->XP
  241. *
  242. *---------------------------------------------------------------------------------------
  243. ****************************************************************************************/
  244. //=======================================================================================
  245. // Lib Include
  246. //---------------------------------------------------------------------------------------
  247. include "com_commonxp::comm_main.xjs";
  248. include "mis_miscommonxp::MIS.xjs";
  249. include "mis_humtrafactmngtxp::RPB001.xjs";
  250. //include "mis_paybnusmngtxp::RWP001.xjs";
  251. //=======================================================================================
  252. // Global Form Variable
  253. //---------------------------------------------------------------------------------------
  254. var arErrorCode = new HashArray();
  255. //=======================================================================================
  256. // Function
  257. //---------------------------------------------------------------------------------------
  258. /****************************************************************************************
  259. * Argument : N/A
  260. * Description : 초기화
  261. ****************************************************************************************/
  262. //=======================================================================================
  263. // Event
  264. //---------------------------------------------------------------------------------------
  265. /****************************************************************************************
  266. * Components : Form
  267. * Description : 화면 처음 초기화시 폼초기화
  268. ****************************************************************************************/
  269. function SMRWP01530_onload(obj:Form, e:LoadEventInfo)
  270. {
  271. frmf_initForm(obj); // 폼 초기화
  272. // grd_amtlist1.rowheight(1) = 35;
  273. misfComboInstCdListMulti("cmb_instcd",utlf_getCurrentDate(),"","N");
  274. misfComboComCdListMulti("R0112","cmb_SalDfrayFlag");
  275. cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  276. cmb_SalDfrayFlag.index = 0;
  277. var today = utlf_getCurrentDate();
  278. ipt_payym.value = parseInt(today.substring(0, 6));
  279. misfGetUserAuth();
  280. if (DUTY_PAY_YN == "Y" ) {
  281. cmb_instcd.enable = true;
  282. ipt_emplnos.enable = true;
  283. btn_emplno.enable = true;
  284. ipt_emplnms.enable = true;
  285. }
  286. else {
  287. cmb_instcd.enable = false;
  288. ipt_emplnos.enable = false;
  289. btn_emplno.enable = false;
  290. ipt_emplnms.enable = false;
  291. dsf_makeValue( ds_send_payamt, "emplno", "string", sysf_getUserInfo("userid"));
  292. dsf_makeValue( ds_send_payamt, "emplnm", "string", sysf_getUserInfo("usernm"));
  293. }
  294. ipt_emplnos.setFocus();
  295. }
  296. /****************************************************************************************
  297. * Components : Button
  298. * Description : 전월조회
  299. ****************************************************************************************/
  300. function grp_srch_caption3_onclick(obj:Button, e:ClickEventInfo)
  301. {
  302. var payym = ds_send_payamt.getColumn(0, "payym")+"01";
  303. payym = payym.toDate().getAddDate(-1,"M").getDateFormat("YYYYMM");
  304. ds_send_payamt.setColumn( 0, "payym", payym);
  305. btn_search.click();
  306. }
  307. /****************************************************************************************
  308. * Components : Button
  309. * Description : 후월조회
  310. ****************************************************************************************/
  311. function grp_srch_caption4_onclick(obj:Button, e:ClickEventInfo)
  312. {
  313. var payym = ds_send_payamt.getColumn(0, "payym")+"01";
  314. payym = payym.toDate().getAddDate(1,"M").getDateFormat("YYYYMM");
  315. ds_send_payamt.setColumn( 0, "payym", payym);
  316. btn_search.click();
  317. }
  318. /****************************************************************************************
  319. * Components : Edit
  320. * Description : 사원번호 입력 검색
  321. ****************************************************************************************/
  322. function ipt_emplnos_onkeydown(obj:Edit, e:KeyEventInfo)
  323. {
  324. if(e.keycode == 13)
  325. {
  326. if(ds_send_payamt.getColumn(0,"emplno") == obj.text) return;
  327. obj.updateToDataset();
  328. }
  329. }
  330. /****************************************************************************************
  331. * Components : Edit
  332. * Description : 사원명 입력 검색
  333. ****************************************************************************************/
  334. function ipt_emplnms_onkeydown(obj:Edit, e:KeyEventInfo)
  335. {
  336. if(e.keycode == 13)
  337. {
  338. if(ds_send_payamt.getColumn(0,"emplnm") == obj.text) return;
  339. obj.updateToDataset();
  340. }
  341. }
  342. /****************************************************************************************
  343. * Components : Dataset
  344. * Description : 사원번호 입력 검색
  345. ****************************************************************************************/
  346. function ds_send_payamt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  347. {
  348. if(e.columnid == "emplno") {
  349. ipt_emplnos.value = e.newvalue;
  350. ipt_emplnos.setFocus();
  351. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  352. if(!utlf_isNull(ds_send_payamt.getColumn(0,"emplnm"))) btn_search.click();
  353. }
  354. if(e.columnid == "emplnm") {
  355. ipt_emplnms.value = e.newvalue;
  356. ipt_emplnms.setFocus();
  357. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  358. if(!utlf_isNull(ds_send_payamt.getColumn(0,"emplno"))) btn_search.click();
  359. }
  360. if(e.columnid == "saldfrayflag") {
  361. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  362. cmb_instcd.enable = true;
  363. } else {
  364. cmb_instcd.enable = false;
  365. cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  366. }
  367. }
  368. }
  369. /****************************************************************************************
  370. * Components : Button
  371. * Description : 사원번호 검색 팝업
  372. ****************************************************************************************/
  373. function btn_emplno_onclick(obj:Button, e:ClickEventInfo)
  374. {
  375. var recv_list = "emplno,emplnm" ;
  376. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  377. if(!utlf_isNull(ds_send_payamt.getColumn(0,"emplno"))) btn_search.click();
  378. }
  379. /****************************************************************************************
  380. * Components : Button
  381. * Description : 조회
  382. ****************************************************************************************/
  383. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  384. {
  385. if (utlf_isNull(ds_send_payamt.getColumn(0, "emplno"))) {
  386. sysf_messageBox("조회할 사용자 정보를 입력하세요", "I999");
  387. ipt_emplnos.setFocus();
  388. return;
  389. }
  390. // misfGridInit(grd_amtlist1);
  391. // misfGridInit(grd_amtlist2);
  392. // misfGridInit(grd_amtlist3);
  393. call_TRRWP01541();
  394. grd_amtlist1.setCellProprty("body", 10, "background", "#ffffcc"); grd_amtlist1.setCellProperty("body", 10, "background2", "#ffffcc");
  395. grd_amtlist2.setCellProprty("body", 0, "background", "#ffffcc"); grd_amtlist2.setCellProperty("body", 0, "background2", "#ffffcc");
  396. grd_amtlist2.setCellProprty("body", 5, "background", "#ffffcc"); grd_amtlist2.setCellProperty("body", 5, "background2", "#ffffcc");
  397. grd_amtlist2.setCellProprty("body", 6, "background", "#ffffcc"); grd_amtlist2.setCellProperty("body", 6, "background2", "#ffffcc");
  398. grd_amtlist3.setCellProprty("body", 10, "background", "#CCFFCC"); grd_amtlist3.setCellProperty("body", 10, "background2", "#CCFFCC");
  399. var amt0110 = parseInt(ds_main_samtlist.getColumn(0, "amt0110"));
  400. var amt0105 = parseInt(ds_main_samtlist.getColumn(0, "amt0105"));
  401. var amt0106 = parseInt(ds_main_samtlist.getColumn(0, "amt0106"));
  402. var amt0602 = parseInt(ds_main_samtlist.getColumn(0, "amt0602"));
  403. if (amt0110 > 0) {
  404. grd_amtlist1.setFormatColProperty( 2, "size", 0);
  405. grd_amtlist1.setFormatColProperty( 3, "size", 0);
  406. } else {
  407. grd_amtlist1.setFormatColProperty( 2, "size", 105);
  408. grd_amtlist1.setFormatColProperty( 3, "size", 105);
  409. }
  410. if (amt0105 > 0 || amt0106 > 0) {
  411. grd_amtlist1.setFormatColProperty( 5, "size", 105);
  412. grd_amtlist1.setFormatColProperty( 6, "size", 105);
  413. } else {
  414. grd_amtlist1.setFormatColProperty( 5, "size", 0);
  415. grd_amtlist1.setFormatColProperty( 6, "size", 0);
  416. }
  417. if (amt0602 > 0) {
  418. grd_amtlist3.setFormatColProperty( 4, "size", 105);
  419. } else {
  420. grd_amtlist3.setFormatColProperty( 4, "size", 0);
  421. }
  422. }
  423. function call_TRRWP01541() {
  424. ds_send_payamt.clearData();
  425. var oParam = {};
  426. oParam.id = "TRRWP01541";
  427. oParam.service = "paybnusmngtapp.PaySpecMngt";
  428. oParam.method = "reqGetSpecAmtList";
  429. oParam.inds = "req=ds_send_payamt";
  430. oParam.outds = "ds_main_samtinfo=samtlist";
  431. oParam.async = false;
  432. //oParam.callback = "cf_TRRWP01541";
  433. tranf_submit(oParam);
  434. }
  435. function button1_onclick(obj:Button, e:ClickEventInfo)
  436. {
  437. // //submit("TRRWP01531");
  438. // //exeReportPreview("RPRWP01531", "XMLSTR");
  439. // if (model.getValue("/root/send/payamt/emplno") == "") {
  440. // messageBox("조회할 사용자 정보를 입력하세요", "I999");
  441. // model.setFocus("ipt_emplnos");
  442. // return;
  443. // }
  444. //
  445. // misfGridInit(grd_amtlist1);
  446. // misfGridInit(grd_amtlist2);
  447. // misfGridInit(grd_amtlist3);
  448. // submit("TRRWP01541");
  449. //
  450. // grd_amtlist1.colStyle(10, "data", "background-color") = "#ffffcc";
  451. // grd_amtlist2.colStyle(0, "data", "background-color") = "#ffffcc";
  452. // grd_amtlist2.colStyle(5, "data", "background-color") = "#ffffcc";
  453. // grd_amtlist2.colStyle(6, "data", "background-color") = "#ffffcc";
  454. // grd_amtlist3.colStyle(10, "data", "background-color") = "#CCFFCC";
  455. //
  456. // var amt0110 = parseInt(model.getValue("/root/main/samtlist/amt0110"));
  457. // var amt0105 = parseInt(model.getValue("/root/main/samtlist/amt0105"));
  458. // var amt0106 = parseInt(model.getValue("/root/main/samtlist/amt0106"));
  459. // var amt0602 = parseInt(model.getValue("/root/main/samtlist/amt0602"));
  460. //
  461. // if (amt0110 > 0) {
  462. // grd_amtlist1.colHidden(2) = true;
  463. // grd_amtlist1.colHidden(3) = true;
  464. // } else {
  465. // grd_amtlist1.colHidden(2) = false;
  466. // grd_amtlist1.colHidden(3) = false;
  467. // }
  468. //
  469. // if (amt0105 > 0 || amt0106 > 0) {
  470. // grd_amtlist1.colHidden(5) = false;
  471. // grd_amtlist1.colHidden(6) = false;
  472. // } else {
  473. // grd_amtlist1.colHidden(5) = true;
  474. // grd_amtlist1.colHidden(6) = true;
  475. // }
  476. //
  477. // if (amt0602 > 0) {
  478. // grd_amtlist3.colHidden(4) = false;
  479. // } else {
  480. // grd_amtlist3.colHidden(4) = true;
  481. // }
  482. //
  483. // //grd_amtlist1.rebuildStyle();
  484. //
  485. // model.refresh();
  486. }
  487. ]]></Script>
  488. </Form>
  489. </FDL>