SMAHA03000_단체별실시예약조회.xfdl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA03000" position="absolute 0 0 1196 765" titletext="미수관리" oninit="SMAHA03000_oninit" onload="SMAHA03000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 67 1195 737" id="switch1" anchor="all">
  8. <Tabpages>
  9. <Tabpage text="실시자" id="case1">
  10. <Layouts>
  11. <Layout>
  12. <Grid position="absolute 0 0 1195 641" id="grd_exelst" binddataset="ds_main_cmpylst_exelst" autoenter="select" cellsizingtype="col" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="26" band="left"/>
  17. <Column size="139"/>
  18. <Column size="80"/>
  19. <Column size="86"/>
  20. <Column size="70"/>
  21. <Column size="116"/>
  22. <Column size="88"/>
  23. <Column size="82"/>
  24. <Column size="81"/>
  25. <Column size="81"/>
  26. <Column size="81"/>
  27. <Column size="81"/>
  28. <Column size="70"/>
  29. <Column size="100"/>
  30. <Column size="200"/>
  31. <Column size="200"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. </Columns>
  36. <Rows>
  37. <Row size="24" band="head"/>
  38. <Row size="24"/>
  39. <Row size="24" band="summ"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" text="단체명칭"/>
  44. <Cell col="2" text="사번"/>
  45. <Cell col="3" text="등록번호"/>
  46. <Cell col="4" text="성명"/>
  47. <Cell col="5" text="주민번호"/>
  48. <Cell col="6" text="건진일자"/>
  49. <Cell col="7" text="계약종류"/>
  50. <Cell col="8" text="계약금액"/>
  51. <Cell col="9" text="추가금액"/>
  52. <Cell col="10" text="선납금"/>
  53. <Cell col="11" text="회사청구금액"/>
  54. <Cell col="12" text="부서명"/>
  55. <Cell col="13" text="관계"/>
  56. <Cell col="14" text="비고(전달사항)"/>
  57. <Cell col="15" text="추가검사"/>
  58. <Cell col="16"/>
  59. <Cell col="17"/>
  60. <Cell col="18"/>
  61. </Band>
  62. <Band id="body">
  63. <Cell celltype="head" expr="currow+1"/>
  64. <Cell col="1" text="bind:cmpynm"/>
  65. <Cell col="2" text="bind:clntempid"/>
  66. <Cell col="3" text="bind:pid"/>
  67. <Cell col="4" text="bind:hngnm"/>
  68. <Cell col="5" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
  69. <Cell col="6" displaytype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  70. <Cell col="7" text="bind:contype"/>
  71. <Cell col="8" displaytype="number" text="bind:contamt"/>
  72. <Cell col="9" displaytype="number" text="bind:addexamamt"/>
  73. <Cell col="10" displaytype="number" text="bind:ownbamt"/>
  74. <Cell col="11" displaytype="number" text="bind:cmpyamt"/>
  75. <Cell col="12" text="bind:clntdeptnm"/>
  76. <Cell col="13" text="bind:famyrelanm"/>
  77. <Cell col="14" style="align:left top;" text="bind:remcnts" wordwrap="word"/>
  78. <Cell col="15" style="align:left top;" text="bind:pkgnm" wordwrap="word"/>
  79. <Cell col="16" text="bind:rsrvno"/>
  80. <Cell col="17" text="bind:condflag"/>
  81. <Cell col="18" text="bind:clamseqno"/>
  82. </Band>
  83. <Band id="summary">
  84. <Cell style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  85. <Cell col="1" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="총계"/>
  86. <Cell col="2" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  87. <Cell col="3" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  88. <Cell col="4" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  89. <Cell col="5" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  90. <Cell col="6" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  91. <Cell col="7" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  92. <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('contamt')"/>
  93. <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('addexamamt')"/>
  94. <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('ownbamt')"/>
  95. <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
  96. <Cell col="12" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  97. <Cell col="13" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  98. <Cell col="14" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  99. <Cell col="15" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
  100. <Cell col="16"/>
  101. <Cell col="17"/>
  102. <Cell col="18"/>
  103. </Band>
  104. </Format>
  105. </Formats>
  106. </Grid>
  107. </Layout>
  108. </Layouts>
  109. </Tabpage>
  110. <Tabpage text="예약자" id="case2">
  111. <Layouts>
  112. <Layout>
  113. <Grid position="absolute 0 1 1195 641" id="grd_rsrvlst" binddataset="ds_main_cmpylst_rsrvlst" anchor="all" autoenter="select" cellsizingtype="col">
  114. <Formats>
  115. <Format id="default">
  116. <Columns>
  117. <Column size="26" band="left"/>
  118. <Column size="139"/>
  119. <Column size="80"/>
  120. <Column size="86"/>
  121. <Column size="70"/>
  122. <Column size="116"/>
  123. <Column size="88"/>
  124. <Column size="82"/>
  125. <Column size="81"/>
  126. <Column size="81"/>
  127. <Column size="81"/>
  128. <Column size="81"/>
  129. <Column size="70"/>
  130. <Column size="100"/>
  131. <Column size="200"/>
  132. <Column size="200"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. </Columns>
  137. <Rows>
  138. <Row size="24" band="head"/>
  139. <Row size="24"/>
  140. </Rows>
  141. <Band id="head">
  142. <Cell/>
  143. <Cell col="1" text="단체명칭"/>
  144. <Cell col="2" text="사번"/>
  145. <Cell col="3" text="등록번호"/>
  146. <Cell col="4" text="성명"/>
  147. <Cell col="5" text="주민번호"/>
  148. <Cell col="6" text="건진일자"/>
  149. <Cell col="7" text="계약종류"/>
  150. <Cell col="8" text="계약금액"/>
  151. <Cell col="9" text="추가금액"/>
  152. <Cell col="10" text="선납금"/>
  153. <Cell col="11" text="회사청구금액"/>
  154. <Cell col="12" text="부서명"/>
  155. <Cell col="13" text="관계"/>
  156. <Cell col="14" text="비고(전달사항)"/>
  157. <Cell col="15" text="추가검사"/>
  158. <Cell col="16"/>
  159. <Cell col="17"/>
  160. <Cell col="18"/>
  161. </Band>
  162. <Band id="body">
  163. <Cell celltype="head" expr="currow+1"/>
  164. <Cell col="1" text="bind:cmpynm"/>
  165. <Cell col="2" text="bind:clntempid"/>
  166. <Cell col="3" text="bind:pid"/>
  167. <Cell col="4" text="bind:hngnm"/>
  168. <Cell col="5" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
  169. <Cell col="6" displaytype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  170. <Cell col="7" text="bind:contype"/>
  171. <Cell col="8" displaytype="number" text="bind:contamt"/>
  172. <Cell col="9" displaytype="number" text="bind:addexamamt"/>
  173. <Cell col="10" displaytype="number" text="bind:ownbamt"/>
  174. <Cell col="11" displaytype="number" text="bind:cmpyamt"/>
  175. <Cell col="12" text="bind:clntdeptnm"/>
  176. <Cell col="13" text="bind:famyrelanm"/>
  177. <Cell col="14" style="align:left top;" text="bind:remcnts" wordwrap="word"/>
  178. <Cell col="15" style="align:left top;" text="bind:pkgnm" wordwrap="word"/>
  179. <Cell col="16" text="bind:rsrvno"/>
  180. <Cell col="17" text="bind:condflag"/>
  181. <Cell col="18" text="bind:clamseqno"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. </Layout>
  187. </Layouts>
  188. </Tabpage>
  189. </Tabpages>
  190. </Tab>
  191. <Div id="grp_sea" taborder="1" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
  192. <Layouts>
  193. <Layout>
  194. <Static id="caption42" text="사업체 :" class="search_name" position="absolute 10 12 109 29"/>
  195. <Edit id="ipt_cmpycd" taborder="1" class="input_search" position="absolute 104 12 185 31" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_cmpycd_onkeyup"/>
  196. <Button id="btn_selcmpy" taborder="2" class="icon_search" position="absolute 190 13 206 29" onclick="grp_sea_btn_selcmpy_onclick"/>
  197. <Edit id="opt_cmpynm" taborder="3" readonly="true" position="absolute 210 11 360 30" autoselect="true" autoskip="true" class="output"/>
  198. <Static id="caption5" text="조회기간 :" class="search_name" position="absolute 375 11 475 28"/>
  199. <Calendar id="ipt_fromdate" taborder="4" class="input_essential" position="absolute 470 11 585 30" autoselect="true" autoskip="true"/>
  200. <Static id="caption93" text="~" class="search_n_b" position="absolute 593 11 605 28"/>
  201. <Calendar id="ipt_todate" taborder="5" class="input_essential" position="absolute 615 11 730 30" autoselect="true" autoskip="true"/>
  202. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 1107 8 1113 33" anchor="top right"/>
  203. <Button id="btn_srchtrgtman" taborder="6" text="조회" class="btn1" position="absolute 1125 10 1181 32" anchor="top right" onclick="grp_sea_btn_srchtrgtman_onclick"/>
  204. </Layout>
  205. </Layouts>
  206. </Div>
  207. <Static id="caption2" text="단체별 실시자/미실시자 현황" class="tit_1" position="absolute 0 0 260 25"/>
  208. <Button id="btn_prntpsnspec" taborder="2" text="예약자 엑셀출력" class="btn7" position="absolute 125 738 245 760" anchor="left bottom" onclick="btn_prntpsnspec_onclick"/>
  209. <Button id="btn_prntcustspec" taborder="3" text="실시자 엑셀출력" class="btn7" position="absolute 0 738 121 760" anchor="left bottom" onclick="btn_prntcustspec_onclick"/>
  210. </Layout>
  211. </Layouts>
  212. <Objects>
  213. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  214. <ColumnInfo>
  215. <Column id="cmpycd" type="STRING" size="256"/>
  216. <Column id="cmpynm" type="STRING" size="256"/>
  217. <Column id="pkgcd" type="STRING" size="256"/>
  218. <Column id="pkgnm" type="STRING" size="256"/>
  219. <Column id="fromdd" type="STRING" size="256"/>
  220. <Column id="todd" type="STRING" size="256"/>
  221. <Column id="condflag" type="STRING" size="256"/>
  222. </ColumnInfo>
  223. <Rows>
  224. <Row>
  225. <Col id="cmpycd"/>
  226. <Col id="cmpynm"/>
  227. <Col id="pkgcd"/>
  228. <Col id="pkgnm"/>
  229. <Col id="fromdd"/>
  230. <Col id="todd"/>
  231. <Col id="condflag">H</Col>
  232. </Row>
  233. </Rows>
  234. </Dataset>
  235. <Dataset id="ds_main_cmpylst_exelst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="cmpynm" type="STRING" size="256" sumtext="단체명칭"/>
  238. <Column id="clntempid" type="STRING" size="256" sumtext="사번"/>
  239. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  240. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  241. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  242. <Column id="hopedd" type="STRING" size="256" sumtext="건진일자"/>
  243. <Column id="contype" type="STRING" size="256" sumtext="계약종류"/>
  244. <Column id="contamt" type="INT" size="256" sumtext="계약금액"/>
  245. <Column id="addexamamt" type="INT" size="256" sumtext="추가금액"/>
  246. <Column id="ownbamt" type="INT" size="256" sumtext="선납금"/>
  247. <Column id="cmpyamt" type="INT" size="256" sumtext="회사청구금액"/>
  248. <Column id="clntdeptnm" type="STRING" size="256" sumtext="부서명"/>
  249. <Column id="famyrelanm" type="STRING" size="256" sumtext="관계"/>
  250. <Column id="remcnts" type="STRING" size="256" sumtext="비고(전달사항)"/>
  251. <Column id="pkgnm" type="STRING" size="256" sumtext="추가검사"/>
  252. </ColumnInfo>
  253. </Dataset>
  254. <Dataset id="ds_main_cmpylst_rsrvlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="cmpynm" type="STRING" size="256" sumtext="단체명칭"/>
  257. <Column id="clntempid" type="STRING" size="256" sumtext="사번"/>
  258. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  259. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  260. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  261. <Column id="hopedd" type="STRING" size="256" sumtext="건진일자"/>
  262. <Column id="contype" type="STRING" size="256" sumtext="계약종류"/>
  263. <Column id="contamt" type="INT" size="256" sumtext="계약금액"/>
  264. <Column id="addexamamt" type="INT" size="256" sumtext="추가금액"/>
  265. <Column id="ownbamt" type="INT" size="256" sumtext="선납금"/>
  266. <Column id="cmpyamt" type="INT" size="256" sumtext="회사청구금액"/>
  267. <Column id="clntdeptnm" type="STRING" size="256" sumtext="부서명"/>
  268. <Column id="famyrelanm" type="STRING" size="256" sumtext="관계"/>
  269. <Column id="remcnts" type="STRING" size="256" sumtext="비고(전달사항)"/>
  270. <Column id="pkgnm" type="STRING" size="256" sumtext="추가검사"/>
  271. </ColumnInfo>
  272. </Dataset>
  273. </Objects>
  274. <Bind>
  275. <BindItem id="item0" compid="grp_sea.ipt_cmpycd" propid="value" datasetid="ds_send_srchinfo" columnid="cmpycd"/>
  276. <BindItem id="item1" compid="grp_sea.opt_cmpynm" propid="value" datasetid="ds_send_srchinfo" columnid="cmpynm"/>
  277. <BindItem id="item2" compid="grp_sea.ipt_fromdate" propid="value" datasetid="ds_send_srchinfo" columnid="fromdd"/>
  278. <BindItem id="item3" compid="grp_sea.ipt_todate" propid="value" datasetid="ds_send_srchinfo" columnid="todd"/>
  279. </Bind>
  280. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  281. * System Name :
  282. * Job Name :
  283. * Creator :
  284. * Make Date : 2015-11-13
  285. * Description :
  286. *---------------------------------------------------------------------------------------
  287. * Modify Date Modifier Modify Description
  288. *---------------------------------------------------------------------------------------
  289. * 2015-11-13 Live Converter TF->XP
  290. *
  291. *---------------------------------------------------------------------------------------
  292. ****************************************************************************************/
  293. include "com_commonxp::comm_main.xjs";
  294. include "ast_healexamxp::AHA001.xjs";
  295. function SMAHA03000_oninit(obj:Form, e:InitEventInfo)
  296. {
  297. frmf_initForm(obj);
  298. }
  299. function SMAHA03000_onload(obj:Form, e:LoadEventInfo)
  300. {
  301. grdf_initGrid(switch1.case1.grd_exelst);
  302. grdf_initGrid(switch1.case2.grd_rsrvlst);
  303. var curDt = utlf_getCurrentDate();
  304. var startdate = String(curDt).substring(0, 4) + "0101";
  305. grp_sea.ipt_fromdate.value = startdate;
  306. grp_sea.ipt_todate.value = curDt;
  307. }
  308. function grp_sea_ipt_cmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  309. {
  310. if(e.keycode == 13)
  311. {
  312. obj.updateToDataset();
  313. grp_sea.btn_selcmpy.click();
  314. }
  315. }
  316. function grp_sea_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
  317. {
  318. fGetComnCd("SMAHA02300", "08" , "nm", grp_sea.ipt_cmpycd.value, grp_sea.ipt_cmpycd, grp_sea.opt_cmpynm);
  319. }
  320. function grp_sea_btn_srchtrgtman_onclick(obj:Button, e:ClickEventInfo)
  321. {
  322. if(utlf_isNull(ds_send_srchinfo.getColumn(0, "cmpycd")))
  323. {
  324. sysf_messageBox("단체코드를 확인해주세요", "E");
  325. return false;
  326. }
  327. if(utlf_isNull(ds_send_srchinfo.getColumn(0, "fromdd")))
  328. {
  329. syesf_messageBox("조회기간을 확인해주세요", "E");
  330. return false;
  331. }
  332. if(utlf_isNull(ds_send_srchinfo.getColumn(0, "todd")))
  333. {
  334. sysf_messageBox("조회기간을 확인해주세요", "E");
  335. return false;
  336. }
  337. var oParam = {};
  338. oParam.id = "TRAHA03001";
  339. oParam.service = "healexamreqapp.UncoMngt";
  340. oParam.method = "reqGetCmpyExeRsrvLst";
  341. oParam.inds = "req=ds_send_srchinfo";
  342. oParam.outds = "ds_main_cmpylst_exelst=exelst ds_main_cmpylst_rsrvlst=rsrvlst";
  343. oParam.async = false;
  344. //oParam.callback = "cf_TRAHA03001";
  345. tranf_submit(oParam);
  346. }
  347. function btn_prntcustspec_onclick(obj:Button, e:ClickEventInfo)
  348. {
  349. grdf_exportExcel(switch1.case1.grd_exelst, "excel", "SheetName", "true", "", "");
  350. }
  351. function btn_prntpsnspec_onclick(obj:Button, e:ClickEventInfo)
  352. {
  353. grdf_exportExcel(switch1.case2.grd_rsrvlst, "excel", "SheetName", "true", "", "");
  354. }
  355. ]]></Script>
  356. </Form>
  357. </FDL>