SPPIJ02402_차액상세조회.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ02402" position="absolute 0 0 1070 610" titletext="" onload="SPPIJ02402_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="수정 내역" class="tit_2" position="absolute 5 10 91 25"/>
  8. <Shape id="line1" class="line_1" position="absolute 0 28 1070 32" style="strokepen:3 solid #33bbbbff;"/>
  9. <Grid id="grd_mechlist" taborder="1" binddataset="ds_main_list1_clod" useinputpanel="false" position="absolute 0 31 1070 610">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="25"/>
  14. <Column size="30"/>
  15. <Column size="30"/>
  16. <Column size="70"/>
  17. <Column size="19"/>
  18. <Column size="80"/>
  19. <Column size="80"/>
  20. <Column size="80"/>
  21. <Column size="170"/>
  22. <Column size="100"/>
  23. <Column size="30"/>
  24. <Column size="30"/>
  25. <Column size="30"/>
  26. <Column size="25"/>
  27. <Column size="60"/>
  28. <Column size="60"/>
  29. <Column size="110"/>
  30. <Column size="30"/>
  31. <Column size="30"/>
  32. <Column size="30"/>
  33. <Column size="25"/>
  34. <Column size="60"/>
  35. <Column size="60"/>
  36. <Column size="110"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell rowspan="2" taborder="undefined"/>
  48. <Cell col="1" colspan="2" text="항목" taborder="undefined"/>
  49. <Cell col="3" rowspan="2" text="처방일자" taborder="undefined"/>
  50. <Cell col="4" rowspan="2" text="G" taborder="undefined"/>
  51. <Cell col="5" rowspan="2" text="그룹수가" taborder="undefined"/>
  52. <Cell col="6" rowspan="2" text="수가코드" taborder="undefined"/>
  53. <Cell col="7" rowspan="2" text="EDI코드" taborder="undefined"/>
  54. <Cell col="8" rowspan="2" text="한글명" taborder="undefined"/>
  55. <Cell col="9" rowspan="2" text="수정사유" taborder="undefined"/>
  56. <Cell col="10" colspan="7" text="수정처방(심사후)" taborder="undefined"/>
  57. <Cell col="17" colspan="7" text="원처방(심사전)" taborder="undefined"/>
  58. <Cell col="24" colspan="2" text="차액" taborder="undefined"/>
  59. <Cell col="26" rowspan="2" text="처방번호" taborder="undefined"/>
  60. <Cell col="27" text="목"/>
  61. <Cell col="28" text="처방일자"/>
  62. <Cell col="29" text="G"/>
  63. <Cell col="30" text="그룹수가"/>
  64. <Cell col="31" text="수가코드"/>
  65. <Cell col="32" text="EDI코드"/>
  66. <Cell col="33" text="한글명"/>
  67. <Cell col="34" text="수정사유"/>
  68. <Cell col="35" text="급비"/>
  69. <Cell col="36" text="산정"/>
  70. <Cell col="37" text="선택"/>
  71. <Cell col="38" text="NO"/>
  72. <Cell col="39" text="총진료비"/>
  73. <Cell col="40" text="본인총액"/>
  74. <Cell col="41" text="시행일시"/>
  75. <Cell col="42" text="급비"/>
  76. <Cell col="43" text="산정"/>
  77. <Cell col="44" text="선택"/>
  78. <Cell col="45" text="NO"/>
  79. <Cell col="46" text="총진료비"/>
  80. <Cell col="47" text="본인총액"/>
  81. <Cell col="48" text="시행일시"/>
  82. <Cell col="49" text="총진료비"/>
  83. <Cell col="50" text="본인총액"/>
  84. <Cell col="51" text="처방번호"/>
  85. <Cell row="1" col="1" text="항"/>
  86. <Cell row="1" col="2" text="목"/>
  87. <Cell row="1" col="10" text="급비"/>
  88. <Cell row="1" col="11" text="산정"/>
  89. <Cell row="1" col="12" text="선택"/>
  90. <Cell row="1" col="13" text="NO"/>
  91. <Cell row="1" col="14" text="총진료비"/>
  92. <Cell row="1" col="15" text="본인총액"/>
  93. <Cell row="1" col="16" text="시행일시"/>
  94. <Cell row="1" col="17" text="급비"/>
  95. <Cell row="1" col="18" text="산정"/>
  96. <Cell row="1" col="19" text="선택"/>
  97. <Cell row="1" col="20" text="NO"/>
  98. <Cell row="1" col="21" text="총진료비"/>
  99. <Cell row="1" col="22" text="본인총액"/>
  100. <Cell row="1" col="23" text="시행일시"/>
  101. <Cell row="1" col="24" text="총진료비"/>
  102. <Cell row="1" col="25" text="본인총액"/>
  103. <Cell row="1" col="27"/>
  104. <Cell row="1" col="28"/>
  105. <Cell row="1" col="29"/>
  106. <Cell row="1" col="30"/>
  107. <Cell row="1" col="31"/>
  108. <Cell row="1" col="32"/>
  109. <Cell row="1" col="33"/>
  110. <Cell row="1" col="34"/>
  111. <Cell row="1" col="35"/>
  112. <Cell row="1" col="36"/>
  113. <Cell row="1" col="37"/>
  114. <Cell row="1" col="38"/>
  115. <Cell row="1" col="39"/>
  116. <Cell row="1" col="40"/>
  117. <Cell row="1" col="41"/>
  118. <Cell row="1" col="42"/>
  119. <Cell row="1" col="43"/>
  120. <Cell row="1" col="44"/>
  121. <Cell row="1" col="45"/>
  122. <Cell row="1" col="46"/>
  123. <Cell row="1" col="47"/>
  124. <Cell row="1" col="48"/>
  125. <Cell row="1" col="49"/>
  126. <Cell row="1" col="50"/>
  127. <Cell row="1" col="51"/>
  128. </Band>
  129. <Band id="body">
  130. <Cell celltype="head" expr="expr:currow + 1"/>
  131. <Cell col="1" style="align:center middle;" text="bind:item1"/>
  132. <Cell col="2" style="align:center middle;" text="bind:item2"/>
  133. <Cell col="3" style="align:center middle;" text="bind:prcpdd"/>
  134. <Cell col="4" style="align:center middle;" text="bind:grupflag"/>
  135. <Cell col="5" style="align:left middle;" text="bind:grupcalcscorcd"/>
  136. <Cell col="6" style="align:left middle;" text="bind:snglcalcscorcd"/>
  137. <Cell col="7" style="align:left middle;" text="bind:basecd"/>
  138. <Cell col="8" style="align:left middle;" text="bind:hngnm" wordwrap="char"/>
  139. <Cell col="9" style="align:left middle;" text="bind:judgadjtresncd"/>
  140. <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:aftpayflag" combodataset="ds_static_payflag" combocodecol="value" combodatacol="label"/>
  141. <Cell col="11" style="align:center middle;" text="bind:aftestmcd" wordwrap="char"/>
  142. <Cell col="12" style="align:center middle;" text="bind:aftspecyn"/>
  143. <Cell col="13" style="align:center middle;" text="bind:aftnochgyn"/>
  144. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:afttotordamt" mask="9,999"/>
  145. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:afttotownbamt" mask="9,999"/>
  146. <Cell col="16" displaytype="date" style="align:center middle;" text="bind:aftexecdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
  147. <Cell col="17" displaytype="combo" style="align:center middle;" text="bind:bfrpayflag" combodataset="ds_static_payflag" combocodecol="value" combodatacol="label"/>
  148. <Cell col="18" style="align:center middle;" text="bind:bfrestmcd" wordwrap="char"/>
  149. <Cell col="19" style="align:center middle;" text="bind:bfrspecyn"/>
  150. <Cell col="20" style="align:center middle;" text="bind:bfrnochgyn"/>
  151. <Cell col="21" displaytype="number" text="bind:bfrtotordamt" mask="9,999"/>
  152. <Cell col="22" displaytype="number" text="bind:bfrtotownbamt" mask="9,999"/>
  153. <Cell col="23" displaytype="date" style="align:center middle;" text="bind:bfrexecdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
  154. <Cell col="24" displaytype="number" text="bind:diftotordamt" mask="9,999"/>
  155. <Cell col="25" displaytype="number" text="bind:diftotownbamt" mask="9,999"/>
  156. <Cell col="26" style="align:center middle;" text="bind:prcpno"/>
  157. </Band>
  158. </Format>
  159. </Formats>
  160. </Grid>
  161. <Button id="btn_excel" taborder="2" text="엑셀저장" onclick="grp_biz_btn_excel_onclick" class="btn2" position="absolute 1002 3 1066 22"/>
  162. </Layout>
  163. </Layouts>
  164. <Objects>
  165. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  166. <ColumnInfo>
  167. <Column id="pid" type="STRING" size="256"/>
  168. <Column id="indd" type="STRING" size="256"/>
  169. <Column id="cretno" type="STRING" size="256"/>
  170. <Column id="insukind" type="STRING" size="256"/>
  171. <Column id="fromdd" type="STRING" size="256"/>
  172. <Column id="todd" type="STRING" size="256"/>
  173. <Column id="payflag" type="STRING" size="256"/>
  174. <Column id="item1" type="STRING" size="256"/>
  175. <Column id="item2" type="STRING" size="256"/>
  176. </ColumnInfo>
  177. <Rows>
  178. <Row>
  179. <Col id="pid"/>
  180. <Col id="indd"/>
  181. <Col id="cretno"/>
  182. <Col id="insukind"/>
  183. <Col id="fromdd"/>
  184. <Col id="todd"/>
  185. <Col id="payflag"/>
  186. <Col id="item1"/>
  187. <Col id="item2"/>
  188. </Row>
  189. </Rows>
  190. </Dataset>
  191. <Dataset id="ds_static_payflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  192. <ColumnInfo>
  193. <Column id="label" type="STRING" size="256"/>
  194. <Column id="value" type="STRING" size="256"/>
  195. </ColumnInfo>
  196. <Rows>
  197. <Row>
  198. <Col id="label">급</Col>
  199. <Col id="value">0</Col>
  200. </Row>
  201. <Row>
  202. <Col id="label">100</Col>
  203. <Col id="value">1</Col>
  204. </Row>
  205. <Row>
  206. <Col id="label">비</Col>
  207. <Col id="value">2</Col>
  208. </Row>
  209. </Rows>
  210. </Dataset>
  211. <Dataset id="ds_main_list1_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  212. <ColumnInfo>
  213. <Column id="item1" type="STRING" size="256" sumtext="항"/>
  214. <Column id="item2" type="STRING" size="256" sumtext="목"/>
  215. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  216. <Column id="grupflag" type="STRING" size="256" sumtext="G"/>
  217. <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹수가"/>
  218. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  219. <Column id="basecd" type="STRING" size="256" sumtext="EDI코드"/>
  220. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  221. <Column id="judgadjtresncd" type="STRING" size="256" sumtext="심사조정사유"/>
  222. <Column id="aftpayflag" type="STRING" size="256" sumtext="(심사후)급비"/>
  223. <Column id="aftestmcd" type="STRING" size="256" sumtext="(심사후)산정"/>
  224. <Column id="aftspecyn" type="STRING" size="256" sumtext="(심사후)선택"/>
  225. <Column id="aftnochgyn" type="STRING" size="256" sumtext="(심사후)NO"/>
  226. <Column id="afttotordamt" type="STRING" size="256" sumtext="(심사후)총진료비"/>
  227. <Column id="afttotownbamt" type="STRING" size="256" sumtext="(심사후)본인총액"/>
  228. <Column id="aftexecdd" type="STRING" size="256" sumtext="(심사후)시행일시"/>
  229. <Column id="bfrpayflag" type="STRING" size="256" sumtext="(심사전)급비"/>
  230. <Column id="bfrestmcd" type="STRING" size="256" sumtext="(심사전)산정"/>
  231. <Column id="bfrspecyn" type="STRING" size="256" sumtext="(심사전)선택"/>
  232. <Column id="bfrnochgyn" type="STRING" size="256" sumtext="(심사전)NO"/>
  233. <Column id="bfrtotordamt" type="STRING" size="256" sumtext="(심사전)총진료비"/>
  234. <Column id="bfrtotownbamt" type="STRING" size="256" sumtext="(심사전)본인총액"/>
  235. <Column id="bfrexecdd" type="STRING" size="256" sumtext="(심사전)시행일시"/>
  236. <Column id="diftotordamt" type="STRING" size="256" sumtext="(차액)총진료비"/>
  237. <Column id="diftotownbamt" type="STRING" size="256" sumtext="(차액)본인총액"/>
  238. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. </Objects>
  242. <Bind/>
  243. <Script type="xscript4.0"><![CDATA[//=======================================================================================
  244. // Lib Include
  245. //---------------------------------------------------------------------------------------
  246. include 'com_commonxp::comm_main.xjs';
  247. var arErrorCode = new HashArray();
  248. //=======================================================================================
  249. // Local methods
  250. //---------------------------------------------------------------------------------------
  251. /**
  252. * 화면을 초기화한다.
  253. * @return {[type]} [description]
  254. */
  255. function fInitialize() {
  256. // 부모 폼을 가져온다.
  257. var parentForm = this.getOwnerFrame().form;
  258. // 1. opener 에서 key 데이터를 받는다.
  259. ds_send_data1.setColumn(0, "pid", parentForm.frmf_getParameter("SPPIJ02400_pid"));
  260. ds_send_data1.setColumn(0, "indd", parentForm.frmf_getParameter("SPPIJ02400_indd"));
  261. ds_send_data1.setColumn(0, "cretno", parentForm.frmf_getParameter("SPPIJ02400_cretno"));
  262. ds_send_data1.setColumn(0, "insukind", parentForm.frmf_getParameter("SPPIJ02400_insukind"));
  263. ds_send_data1.setColumn(0, "fromdd", parentForm.frmf_getParameter("SPPIJ02400_fromdd"));
  264. ds_send_data1.setColumn(0, "todd", parentForm.frmf_getParameter("SPPIJ02400_todd"));
  265. ds_send_data1.setColumn(0, "payflag", parentForm.frmf_getParameter("SPPIJ02400_payflag"));
  266. ds_send_data1.setColumn(0, "item1", parentForm.frmf_getParameter("SPPIJ02400_item1"));
  267. ds_send_data1.setColumn(0, "item2", parentForm.frmf_getParameter("SPPIJ02400_item2"));
  268. // 2. 그리드 초기화
  269. ds_main_list1_clod.clearData();
  270. // 3. 심사전후 차액상세 금액을 조회한다.
  271. if (utlf_transNullToEmpty(ds_send_data1.getColumn(0, "pid")) != "") {
  272. ds_main_list1_clod.clearData();
  273. var oParam = {};
  274. oParam.id = "TRPIJ02402";
  275. oParam.service = "bfjudgapp.InJudgDifAmt";
  276. oParam.method = "reqGetInJudgDetlDifAmtList";
  277. oParam.inds = "req=ds_send_data1";
  278. oParam.outds = "ds_main_list1_clod=clod";
  279. oParam.async = false;
  280. //oParam.callback = "cf_TRPIJ02402";
  281. tranf_submit(oParam);
  282. ds_main_list1_clod.keystring = 'S:+item1+item2+prcpdd+prcpno';
  283. }
  284. }
  285. /**
  286. * submit 후 호출 될 공통 콜백
  287. * @param {[type]} sSvcId [description]
  288. * @param {[type]} nErrorCode [description]
  289. * @param {[type]} sErrorMsg [description]
  290. * @return {Function} [description]
  291. */
  292. function callback(sSvcId, nErrorCode, sErrorMsg){
  293. arErrorCode.push(sSvcId, nErrorCode);
  294. }
  295. //=======================================================================================
  296. // Events
  297. //---------------------------------------------------------------------------------------
  298. /**
  299. * onload 이벤트 발생 시 호출
  300. * @param {[type]} obj:Form [description]
  301. * @param {[type]} e:LoadEventInfo [description]
  302. */
  303. function SPPIJ02402_onload(obj: Form, e: LoadEventInfo) {
  304. frmf_initForm(obj);
  305. //oOpener = frmf_getoOpener();
  306. }
  307. /**
  308. * 엑셀저장 버튼 클릭 이벤트
  309. * @param {[type]} obj: Button [description]
  310. * @param {[type]} e: ClickEventInfo [description]
  311. * @return {[type]} [description]
  312. */
  313. function grp_biz_btn_excel_onclick(obj: Button, e: ClickEventInfo) {
  314. grdf_exportExcel(grd_mechlist, "excel", "SheetName", true, "", "user", false);
  315. sysf_messageBox("EXCEL 저장이 완료되었습니다.", "I999");
  316. }]]></Script>
  317. </Form>
  318. </FDL>