SMARC00300_의뢰환자 진료비 현황.xfdl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMARC00300" position="absolute 0 0 1200 782" titletext="의뢰환자 진료비현황" oninit="SMARC00300_oninit" onload="SMARC00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" anchor="left top right" taborder="0" class="div_SA" position="absolute 0 24 1195 84">
  8. <Layouts>
  9. <Layout>
  10. <Button id="button5" taborder="1" text="조회" class="btn1" position="absolute 1122 19 1178 41" anchor="top right" onclick="group1_button5_onclick"/>
  11. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 1096 7 1102 54" anchor="top right"/>
  12. <Static id="caption9" text="등록일자 :" class="search_name" position="absolute 20 9 114 26"/>
  13. <Static id="caption11" text="진료과 :" class="search_name" position="absolute 415 35 509 52"/>
  14. <Static id="caption13" text="병원구분 :" class="search_name" position="absolute 415 8 506 25"/>
  15. <Static id="caption5" text="~" class="search_no_b" position="absolute 219 9 231 26"/>
  16. <Calendar id="input5" taborder="2" class="input_search" position="absolute 115 8 215 27" autoselect="true" autoskip="true"/>
  17. <Calendar id="input1" taborder="3" class="input_search" position="absolute 235 8 335 27"/>
  18. <Static id="caption4" text="의뢰의사 :" class="search_name" position="absolute 20 36 114 53"/>
  19. <Static id="caption3" text="의뢰병원명 :" class="search_name" position="absolute 715 9 814 26"/>
  20. <Combo id="cmb_hospgrade" taborder="4" innerdataset="ds_init_hospgrade_A0429" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 510 7 630 26"/>
  21. <Edit id="ipt_coophospnm" taborder="5" class="input_search" position="absolute 820 8 940 27"/>
  22. <Edit id="ipt_drnm" taborder="6" class="input_search" position="absolute 115 35 215 54"/>
  23. <Combo id="cmb_orddeptcd" taborder="7" innerdataset="ds_init_dept_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 510 34 630 53"/>
  24. <Combo id="cmb_cptype" taborder="8" innerdataset="ds_init_cmbcond_cptype_A0420" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 820 35 940 54"/>
  25. <Static id="cmb_onestop" text="One-Stop :" class="search_name" position="absolute 715 36 842 53"/>
  26. <CheckBox id="chk_clsmatyn" taborder="9" position="absolute 960 34 1015 54" text="동문" truevalue="Y" onclick="group1_chk_clsmatyn_onclick"/>
  27. </Layout>
  28. </Layouts>
  29. </Div>
  30. <Shape id="line1" class="line_10" position="absolute 0 110 1195 116" anchor="left top right"/>
  31. <Static id="caption1" text="의뢰환자 진료비 현황" class="tit_2" position="absolute 0 94 152 116"/>
  32. <Button id="btn_excel" taborder="1" text="엑셀" class="btn7" position="absolute 1137 91 1195 110" anchor="top right" onclick="btn_excel_onclick"/>
  33. <Grid id="grd_list" taborder="2" binddataset="ds_main_list_cooppatlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 115 1195 753" anchor="all">
  34. <Formats>
  35. <Format id="default">
  36. <Columns>
  37. <Column size="28"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="60"/>
  41. <Column size="40"/>
  42. <Column size="35"/>
  43. <Column size="80"/>
  44. <Column size="90"/>
  45. <Column size="90"/>
  46. <Column size="90"/>
  47. <Column size="100"/>
  48. <Column size="60"/>
  49. <Column size="400"/>
  50. <Column size="60"/>
  51. <Column size="80"/>
  52. <Column size="80"/>
  53. <Column size="120"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="100"/>
  57. <Column size="100"/>
  58. <Column size="100"/>
  59. <Column size="100"/>
  60. <Column size="100"/>
  61. <Column size="100"/>
  62. <Column size="100"/>
  63. </Columns>
  64. <Rows>
  65. <Row size="24" band="head"/>
  66. <Row size="24"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell/>
  70. <Cell col="1" text="환자명"/>
  71. <Cell col="2" colspan="2" text="주민번호" taborder="undefined"/>
  72. <Cell col="4" text="성별"/>
  73. <Cell col="5" text="나이"/>
  74. <Cell col="6" text="등록번호"/>
  75. <Cell col="7" text="등록일자"/>
  76. <Cell col="8" text="의뢰일자"/>
  77. <Cell col="9" text="진료일자"/>
  78. <Cell col="10" text="진료과"/>
  79. <Cell col="11" text="진료의사"/>
  80. <Cell col="12" text="상병명"/>
  81. <Cell col="13" colspan="2" text="지역" taborder="undefined"/>
  82. <Cell col="15" text="병원구분"/>
  83. <Cell col="16" text="의뢰병원명"/>
  84. <Cell col="17" text="의뢰의사명"/>
  85. <Cell col="18" text="의뢰경로"/>
  86. <Cell col="19" text="One-Stop"/>
  87. <Cell col="20" text="보험유형"/>
  88. <Cell col="21" text="초재진구분"/>
  89. <Cell col="22" text="외래진료비"/>
  90. <Cell col="23" text="입원진료비"/>
  91. <Cell col="24" text="수술비"/>
  92. <Cell col="25" text="합계"/>
  93. </Band>
  94. <Band id="body">
  95. <Cell celltype="head" expr="currow+1"/>
  96. <Cell col="1" text="bind:hngnm"/>
  97. <Cell col="2" text="bind:rrgstno1"/>
  98. <Cell col="3" text="bind:rrgstno2"/>
  99. <Cell col="4" text="bind:sex"/>
  100. <Cell col="5" text="bind:age"/>
  101. <Cell col="6" text="bind:pid"/>
  102. <Cell col="7" displaytype="date" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
  103. <Cell col="8" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
  104. <Cell col="9" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
  105. <Cell col="10" displaytype="text" text="bind:orddeptnm"/>
  106. <Cell col="11" text="bind:orddrnm"/>
  107. <Cell col="12" displaytype="text" text="bind:diagnm"/>
  108. <Cell col="13" displaytype="combo" style="align:center middle;" text="bind:sidocd" combodataset="ds_init_areacd" combocodecol="sidocd" combodatacol="sidonm" enable="false"/>
  109. <Cell col="14" displaytype="text" style="align:center middle;" text="bind:sidocddetl" combodataset="ds_init_areacddelt" combocodecol="sidocddetl" combodatacol="sidonmdetl"/>
  110. <Cell col="15" displaytype="combo" style="align:center middle;" text="bind:hospgrade" combodataset="ds_init_hospgrade1_A0429" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  111. <Cell col="16" displaytype="text" text="bind:coophospnm"/>
  112. <Cell col="17" text="bind:drnm"/>
  113. <Cell col="18" displaytype="combo" style="align:center middle;" text="bind:reqpath" combodataset="ds_init_reqpath" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  114. <Cell col="19" displaytype="combo" style="align:center middle;" text="bind:cptype" combodataset="ds_init_cptype_A0420" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  115. <Cell col="20" displaytype="combo" style="align:center middle;" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  116. <Cell col="21" displaytype="combo" style="align:center middle;" text="bind:fsexamflag" combodataset="ds_init_fsexamflag_P0021" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  117. <Cell col="22" displaytype="number" text="bind:oamt"/>
  118. <Cell col="23" displaytype="number" text="bind:iamt"/>
  119. <Cell col="24" displaytype="number" text="bind:opamt"/>
  120. <Cell col="25" displaytype="number" text="bind:totamt"/>
  121. </Band>
  122. </Format>
  123. </Formats>
  124. </Grid>
  125. <Static id="caption2" text="의뢰환자 진료비 현황" class="tit_1" position="absolute 0 0 163 24"/>
  126. <Button id="button10" taborder="3" text="초기화" class="btn4" position="absolute 1126 755 1194 777" anchor="right bottom" onclick="button10_onclick"/>
  127. </Layout>
  128. </Layouts>
  129. <Objects>
  130. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  131. <ColumnInfo>
  132. <Column id="f_date" type="STRING" size="256"/>
  133. <Column id="t_date" type="STRING" size="256"/>
  134. <Column id="coophospnm" type="STRING" size="256"/>
  135. <Column id="drnm" type="STRING" size="256"/>
  136. <Column id="orddeptcd" type="STRING" size="256"/>
  137. <Column id="cptype" type="STRING" size="256"/>
  138. <Column id="clsmatyn" type="STRING" size="256"/>
  139. <Column id="hospgrade" type="STRING" size="256"/>
  140. </ColumnInfo>
  141. <Rows>
  142. <Row>
  143. <Col id="f_date"/>
  144. <Col id="t_date"/>
  145. <Col id="coophospnm"/>
  146. <Col id="drnm"/>
  147. <Col id="orddeptcd"/>
  148. <Col id="cptype"/>
  149. <Col id="clsmatyn"/>
  150. <Col id="hospgrade"/>
  151. </Row>
  152. </Rows>
  153. </Dataset>
  154. <Dataset id="ds_main_list_cooppatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  155. <ColumnInfo>
  156. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  157. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  158. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  159. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  160. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  161. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  162. <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자"/>
  163. <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
  164. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  165. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  166. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
  167. <Column id="diagnm" type="STRING" size="256" sumtext="상병명"/>
  168. <Column id="areacd" type="STRING" size="256" sumtext="지역"/>
  169. <Column id="hospgrade" type="STRING" size="256" sumtext="병원구분"/>
  170. <Column id="coophospnm" type="STRING" size="256" sumtext="의뢰병원명"/>
  171. <Column id="drnm" type="STRING" size="256" sumtext="의뢰의사"/>
  172. <Column id="reqpath" type="STRING" size="256" sumtext="의뢰경로"/>
  173. <Column id="cptype" type="STRING" size="256" sumtext="one-stop"/>
  174. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  175. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
  176. <Column id="oamt" type="STRING" size="256" sumtext="외래진료비"/>
  177. <Column id="iamt" type="STRING" size="256" sumtext="입원진료비"/>
  178. <Column id="opamt" type="STRING" size="256" sumtext="수술비"/>
  179. <Column id="totamt" type="STRING" size="256" sumtext="합계"/>
  180. </ColumnInfo>
  181. </Dataset>
  182. <Dataset id="ds_init_areacddelt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  183. <Dataset id="ds_init_areacd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  184. <Dataset id="ds_cmb_areadetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  185. <Dataset id="ds_init_hospgrade_A0429" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  186. <Dataset id="ds_init_hospgrade1_A0429" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  187. <Dataset id="ds_init_cptype_A0420" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  188. <Dataset id="ds_init_reqpath_A0421" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  189. <Dataset id="ds_init_fsexamflag_P0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  190. <Dataset id="ds_init_insukind_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  191. <Dataset id="ds_init_cmbcond_cptype_A0420" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  192. <Dataset id="ds_init_dept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  193. </Objects>
  194. <Bind>
  195. <BindItem id="item0" compid="group1.input5" propid="value" datasetid="ds_send_search" columnid="f_date"/>
  196. <BindItem id="item1" compid="group1.ipt_drnm" propid="value" datasetid="ds_send_search" columnid="drnm"/>
  197. <BindItem id="item2" compid="group1.input1" propid="value" datasetid="ds_send_search" columnid="t_date"/>
  198. <BindItem id="item3" compid="group1.cmb_hospgrade" propid="value" datasetid="ds_send_search" columnid="hospgrade"/>
  199. <BindItem id="item4" compid="group1.cmb_orddeptcd" propid="value" datasetid="ds_send_search" columnid="orddeptcd"/>
  200. <BindItem id="item5" compid="group1.cmb_cptype" propid="value" datasetid="ds_send_search" columnid="cptype"/>
  201. <BindItem id="item6" compid="group1.ipt_coophospnm" propid="value" datasetid="ds_send_search" columnid="coophospnm"/>
  202. <BindItem id="item7" compid="group1.chk_clsmatyn" propid="value" datasetid="ds_send_search" columnid="clsmatyn"/>
  203. </Bind>
  204. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  205. * System Name :
  206. * Job Name :
  207. * Creator :
  208. * Make Date : 2015-11-13
  209. * Description :
  210. *---------------------------------------------------------------------------------------
  211. * Modify Date Modifier Modify Description
  212. *---------------------------------------------------------------------------------------
  213. * 2015-11-13 Live Converter TF->XP
  214. *
  215. *---------------------------------------------------------------------------------------
  216. ****************************************************************************************/
  217. include "com_commonxp::comm_main.xjs";
  218. function SMARC00300_oninit(obj:Form, e:InitEventInfo)
  219. {
  220. frmf_initForm(obj);
  221. }
  222. function SMARC00300_onload(obj:Form, e:LoadEventInfo)
  223. {
  224. grdf_initGrid(grd_list);
  225. fInit();
  226. }
  227. function fInit()
  228. {
  229. // 오늘 날짜로 세팅
  230. var CurrentDate = utlf_getCurrentDate();
  231. ds_send_search.setColumn(0, "f_date", CurrentDate);
  232. ds_send_search.setColumn(0, "t_date", CurrentDate);
  233. // 진료과
  234. var instcd = sysf_getUserInfo("dutplceinstcd");
  235. var standard_yn = "rcptuseyn";
  236. var ord_deptflag = 'D';
  237. var rslt_ref = "ds_init_dept_dept";
  238. var sort_method = "depthngnm";
  239. sort_field = "depthngnm"
  240. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, "", "", "", "", rslt_ref, false, "");
  241. // 공통코드 목록 가져오기
  242. var arrParam = [{dsNm: "ds_init_hospgrade_A0429", cdGrpId: "A0429" }
  243. , {dsNm: "ds_init_hospgrade1_A0429", cdGrpId: "A0429" }
  244. , {dsNm: "ds_init_cptype_A0420", cdGrpId: "A0420" }
  245. , {dsNm: "ds_init_reqpath_A0421", cdGrpId: "A0421" }
  246. , {dsNm: "ds_init_fsexamflag_P0021", cdGrpId: "P0021" }
  247. , {dsNm: "ds_init_insukind_P0008", cdGrpId: "P0008" }
  248. , {dsNm: "ds_init_cmbcond_cptype_A0420", cdGrpId: "A0420" }];
  249. appf_getCodeList(arrParam, true);
  250. //진료협력에서 관리하는 전체 지역코드 조회
  251. var oParam = {};
  252. oParam.id = "TXARH00101";
  253. oParam.service = "healcarecoopapp.CoopHospMngt";
  254. oParam.method = "reqGetAreaList";
  255. oParam.inds = "req=ds_send";
  256. oParam.outds = "ds_init_areacddelt=hosparea";
  257. oParam.async = false;
  258. tranf_submit(oParam);
  259. //병의원 정보 저장 시, 사용할 수 있도록 copy
  260. ds_cmb_areadetl.copyData(ds_init_areacddelt);
  261. //진료협력에서 관리하는 시/도 지역코드 조회
  262. var oParam = {};
  263. oParam.id = "TXARH00101";
  264. oParam.service = "healcarecoopapp.CoopHospMngt";
  265. oParam.method = "reqGetAreaSDList";
  266. oParam.inds = "req=ds_send";
  267. oParam.outds = "ds_init_areacd=hosparea";
  268. oParam.async = false;
  269. tranf_submit(oParam);
  270. frmf_addComboItem("group1.cmb_orddeptcd", "- 전 체 -", "", "above");
  271. frmf_addComboItem("group1.cmb_hospgrade", "협력병의원", "CA", "above");
  272. frmf_addComboItem("group1.cmb_hospgrade", "- 전 체 -", "", "above");
  273. frmf_addComboItem("group1.cmb_cptype", "- 전 체 -", "", "above");
  274. ds_main_list_cooppatlist.clearData();
  275. }
  276. function group1_chk_clsmatyn_onclick(obj:CheckBox, e:ClickEventInfo)
  277. {
  278. if(obj.value == "Y"){}
  279. else
  280. {
  281. ds_send_search.setColumn(0, "clsmatyn", "");
  282. }
  283. }
  284. function group1_button5_onclick(obj:Button, e:ClickEventInfo)
  285. {
  286. if ( !fCheckDate() ) return; //필수 저장여부 체크
  287. fSearch();
  288. }
  289. function fCheckDate()
  290. {
  291. var fromdd = ds_send_search.getColumn(0, "f_date");
  292. var todd = ds_send_search.getColumn(0, "t_date");
  293. if( ! utlf_isValidDateTime( fromdd, 'YYYYMMDD') || ! utlf_isValidDateTime( todd, 'YYYYMMDD') )
  294. {
  295. sysf_messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
  296. return false;
  297. }
  298. if( utlf_getDateInterval(fromdd, todd) > 6 )
  299. {
  300. sysf_messageBox("조회가능한 최대 기간은 1주일입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
  301. return false;
  302. }
  303. if( utlf_getDateInterval(fromdd, todd) < 0 )
  304. {
  305. sysf_messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
  306. return false;
  307. }
  308. // 날짜 계산
  309. var daycnt = utlf_getDateInterval(fromdd, todd);
  310. // 1일이 아닌 경우는 조건을 타야 함
  311. if (daycnt != 0)
  312. {
  313. // 진료과 체크
  314. if (utlf_isNull(ds_send_search.getColumn(0, "orddeptcd")))
  315. {
  316. sysf_messageBox("일자구분에서 하루 이상의 기간을 선택했을 경우, 진료과는 조회 필수 조건입니다. 진료과를 입력하세요.", "E999", "");
  317. return false;
  318. }
  319. if (String(group1.ipt_coophospnm.text).length > 0 && String(group1.ipt_coophospnm.text).length < 2)
  320. {
  321. sysf_messageBox("의뢰병원명은 2글자 이상으로 해주십시요!","E999","");
  322. group1.ipt_coophospnm.setFocus();
  323. return false;
  324. }
  325. if (String(group1.ipt_drnm.text).length > 0 && String(group1.ipt_drnm.text).length < 2)
  326. {
  327. sysf_messageBox("의뢰의사명은 2글자 이상으로 해주십시요!","E999","");
  328. group1.ipt_drnm.setFocus();
  329. return false;
  330. }
  331. }
  332. return true;
  333. }
  334. function fSearch()
  335. {
  336. var oParam = {};
  337. oParam.id = "TRARC00301";
  338. oParam.service = "healcarecoopapp.ReqMngt";
  339. oParam.method = "reqGetCoopPatAmtList";
  340. oParam.inds = "req=ds_send_search";
  341. oParam.outds = "ds_main_list_cooppatlist=cooppatlist";
  342. oParam.async = false;
  343. oParam.callback = "cf_TRARC00301";
  344. tranf_submit(oParam);
  345. }
  346. function cf_TRARC00301(sSvcId, nErrorCode, sErrorMsg) {
  347. if(nErrorCode < 0)
  348. {
  349. sysf_messageBox("조회를", "E009");
  350. return;
  351. }
  352. }
  353. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  354. {
  355. fExcel();
  356. }
  357. function fExcel()
  358. {
  359. if (ds_main_list_cooppatlist.rowcount == 0) return;
  360. grdf_exportExcel(grd_list, "의뢰환자 진료비현황 리스트", "Sheet1", "true", "", "");
  361. }
  362. function button10_onclick(obj:Button, e:ClickEventInfo)
  363. {
  364. fAllClear();
  365. }
  366. function fAllClear()
  367. {
  368. ds_send_search.clearData();
  369. ds_send_search.addRow();
  370. // 오늘 날짜로 세팅
  371. var CurrentDate = utlf_getCurrentDate();
  372. ds_send_search.setColumn(0, "f_date", CurrentDate);
  373. ds_send_search.setColumn(0, "t_date", CurrentDate);
  374. group1.cmb_hospgrade.index = 0;
  375. group1.cmb_orddeptcd.index = 0;
  376. group1.cmb_cptype.index = 0;
  377. ds_main_list_cooppatlist.clearData();
  378. }
  379. ]]></Script>
  380. </Form>
  381. </FDL>