SMMNG04400_응급CCDBAG관리.xfdl 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNG04400" position="absolute 0 0 930 700" titletext="응급CCD BAG 등록" oninit="SMMNG04400_oninit" onload="SMMNG04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 925 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="응급CCD BAG 등록" position="absolute 0 0 156 25" id="caption6" class="tit_1"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 25 925 697" id="grp_biz" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Div position="absolute 0 0 925 35" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
  18. <Layouts>
  19. <Layout>
  20. <Static text="수술일자 :" position="absolute 5 9 79 26" id="cap_instcd" class="search_name" anchor="default"/>
  21. <Shape position="absolute 847 5 853 30" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  22. <Button position="absolute 860 8 916 30" id="btn_search" class="btn1" taborder="2" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_search_onclick"/>
  23. <Radio position="absolute 76 9 171 25" id="rdo_flag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_flag_onitemchanged">
  24. <Dataset id="innerdataset">
  25. <ColumnInfo>
  26. <Column id="codecolumn"/>
  27. <Column id="datacolumn"/>
  28. </ColumnInfo>
  29. <Rows>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">오늘</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">2</Col>
  36. <Col id="datacolumn">어제</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Radio>
  41. <Calendar position="absolute 184 8 284 27" id="ipt_opfromdd" class="input_s_essential" anchor="default" autoselect="true"/>
  42. <Calendar position="absolute 299 8 399 27" id="ipt_optodd" class="input_s_essential" anchor="default" autoselect="true"/>
  43. <Static text="~" position="absolute 287 8 302 28" id="caption1" anchor="default"/>
  44. <Radio position="absolute 581 9 803 25" id="rdo_flag2" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1">
  45. <Dataset id="innerdataset">
  46. <ColumnInfo>
  47. <Column id="codecolumn"/>
  48. <Column id="datacolumn"/>
  49. </ColumnInfo>
  50. <Rows>
  51. <Row>
  52. <Col id="codecolumn">
  53. </Col>
  54. <Col id="datacolumn">전체</Col>
  55. </Row>
  56. <Row>
  57. <Col id="codecolumn">7</Col>
  58. <Col id="datacolumn">재불출</Col>
  59. </Row>
  60. <Row>
  61. <Col id="codecolumn">8</Col>
  62. <Col id="datacolumn">수령</Col>
  63. </Row>
  64. <Row>
  65. <Col id="codecolumn">9</Col>
  66. <Col id="datacolumn">반납</Col>
  67. </Row>
  68. <Row>
  69. <Col id="codecolumn">6</Col>
  70. <Col id="datacolumn">기타</Col>
  71. </Row>
  72. </Rows>
  73. </Dataset>
  74. </Radio>
  75. <Radio position="absolute 469 9 569 25" id="rdo_cartgubn" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_grp_sea_rdo_cartgubn_onitemchanged">
  76. <Dataset id="innerdataset">
  77. <ColumnInfo>
  78. <Column id="codecolumn"/>
  79. <Column id="datacolumn"/>
  80. </ColumnInfo>
  81. <Rows>
  82. <Row>
  83. <Col id="codecolumn">O</Col>
  84. <Col id="datacolumn">수술</Col>
  85. </Row>
  86. <Row>
  87. <Col id="codecolumn">A</Col>
  88. <Col id="datacolumn">마취</Col>
  89. </Row>
  90. </Rows>
  91. </Dataset>
  92. </Radio>
  93. <Static text="구분 :" position="absolute 425 10 474 27" id="caption2" class="search_name" anchor="default"/>
  94. </Layout>
  95. </Layouts>
  96. </Div>
  97. <Static text="응급CCD BAG" position="absolute 0 48 133 64" id="caption8" class="tit_2" anchor="default"/>
  98. <Shape position="absolute 0 64 925 70" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  99. <Grid position="absolute 0 69 925 669" id="grd_baglist" class="datagrid2" binddataset="ds_main_erccd_baginfo_baglist" anchor="default" autosizingtype="none" extendsizetype="row" onheadclick="grp_biz_grd_baglist_onheadclick" cellsizingtype="both" selecttype="multirow" cellsizebandtype="allband">
  100. <Formats>
  101. <Format id="default">
  102. <Columns>
  103. <Column size="24" band="left"/>
  104. <Column size="24"/>
  105. <Column size="58"/>
  106. <Column size="0"/>
  107. <Column size="150"/>
  108. <Column size="38"/>
  109. <Column size="75"/>
  110. <Column size="70"/>
  111. <Column size="70"/>
  112. <Column size="211"/>
  113. <Column size="70"/>
  114. <Column size="66"/>
  115. <Column size="0"/>
  116. <Column size="51"/>
  117. <Column size="100"/>
  118. <Column size="100"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. </Columns>
  123. <Rows>
  124. <Row size="26" band="head"/>
  125. <Row size="24"/>
  126. </Rows>
  127. <Band id="head">
  128. <Cell/>
  129. <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
  130. <Cell col="2" text="Bag 상태"/>
  131. <Cell col="3" text="CCD Bag CD"/>
  132. <Cell col="4" text="EM CCD Bag"/>
  133. <Cell col="5" text="수술&#10;방"/>
  134. <Cell col="6" text="등록번호"/>
  135. <Cell col="7" text="환자명"/>
  136. <Cell col="8" text="집도의"/>
  137. <Cell col="9" text="수술명"/>
  138. <Cell col="10" text="Cart최종&#10;인증저장"/>
  139. <Cell col="11" text="Cart재불출&#10;담당자"/>
  140. <Cell col="12" text="Cart재불출&#10;담당자ID"/>
  141. <Cell col="13" text="수령자"/>
  142. <Cell col="14" text="재불출일시"/>
  143. <Cell col="15" text="수령일시"/>
  144. <Cell col="16" text="수령자ID"/>
  145. <Cell col="17" text="수술번호"/>
  146. <Cell col="18" text="flag"/>
  147. </Band>
  148. <Band id="body">
  149. <Cell celltype="head"/>
  150. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  151. <Cell col="2" displaytype="combo" style="padding:2 2 2 2;" text="bind:bagstatcd" combodataset="ds_cmb_bagstatcd" combocodecol="value" combodatacol="label" enable="false"/>
  152. <Cell col="3" text="bind:erbgcd"/>
  153. <Cell col="4" style="align:left;" text="bind:erbgnm"/>
  154. <Cell col="5" style="align:left;" text="bind:oproom"/>
  155. <Cell col="6" style="align:left;" text="bind:pid"/>
  156. <Cell col="7" style="align:left;" text="bind:hngnm"/>
  157. <Cell col="8" style="align:left;" text="bind:perfdrnm"/>
  158. <Cell col="9" style="align:left top;padding:4 2 2 2;" text="bind:opnm" wordwrap="word"/>
  159. <Cell col="10" style="align:left;" text="bind:cartuser"/>
  160. <Cell col="11" style="align:left;" text="bind:redlvrnm"/>
  161. <Cell col="12" style="align:left;" text="bind:redlvrid"/>
  162. <Cell col="13" style="align:left;" text="bind:recipntnm"/>
  163. <Cell col="14" style="align:left;padding:2 2 2 2;" text="bind:redlvrdt" mask="expr:utlf_isNull(redlvrdt) == true ? '' : '####-##-## ##:##'"/>
  164. <Cell col="15" style="align:left;padding:2 2 2 2;" text="bind:recipntdt" mask="expr:utlf_isNull(recipntdt) == true ? '' : '####-##-## ##:##'"/>
  165. <Cell col="16" text="bind:recipntid"/>
  166. <Cell col="17" text="bind:oprsrvno"/>
  167. <Cell col="18" text="bind:flag"/>
  168. </Band>
  169. </Format>
  170. </Formats>
  171. </Grid>
  172. <Button position="absolute 705 44 747 63" id="btn_reci" class="btn2" text="수령" anchor="default" onclick="grp_biz_btn_reci_onclick"/>
  173. <Button position="absolute 595 44 637 63" id="btn_dlv" class="btn2" text="불출" anchor="default" onclick="grp_biz_btn_dlv_onclick"/>
  174. <Button position="absolute 815 44 878 63" id="btn_prt" class="btn2" text="Bag출력" anchor="default" onclick="grp_biz_btn_prt_onclick"/>
  175. <Button position="absolute 749 44 813 63" id="btn_recicncl" class="btn2" text="수령취소" anchor="default" onclick="grp_biz_btn_recicncl_onclick"/>
  176. <Button position="absolute 639 44 703 63" id="btn_dlvcncl" class="btn2" text="불출취소" anchor="default" onclick="grp_biz_btn_dlvcncl_onclick"/>
  177. <Button position="absolute 880 44 922 63" id="button1" class="btn2" text="출력" anchor="default" onclick="grp_biz_button1_onclick"/>
  178. </Layout>
  179. </Layouts>
  180. </Div>
  181. </Layout>
  182. </Layouts>
  183. <Objects>
  184. <Dataset id="ds_ersend_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  187. <Column id="srchdd" type="STRING" size="256" sumtext="조회기준일자"/>
  188. <Column id="flag" type="STRING" size="256" sumtext="조회기준일자"/>
  189. <Column id="allflag" type="STRING" size="256" sumtext="모두조회여부"/>
  190. <Column id="opfromdd" type="STRING" size="256" sumtext="시작일자"/>
  191. <Column id="optodd" type="STRING" size="256" sumtext="종료일자"/>
  192. <Column id="flag2" type="STRING" size="256" sumtext="구분"/>
  193. <Column id="cartgubn" type="STRING" size="256" sumtext="카트구분"/>
  194. </ColumnInfo>
  195. <Rows>
  196. <Row/>
  197. </Rows>
  198. </Dataset>
  199. <Dataset id="ds_init_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  202. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  203. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  204. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  205. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  206. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  207. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  208. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  209. </ColumnInfo>
  210. </Dataset>
  211. <Dataset id="ds_main_erccd_baginfo_baglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_erccd_baginfo_baglist_oncolumnchanged">
  212. <ColumnInfo>
  213. <Column id="chkyn" type="STRING" size="256" sumtext="체크여부"/>
  214. <Column id="bagstat" type="STRING" size="256" sumtext="Bag 상태"/>
  215. <Column id="bagstatcd" type="STRING" size="256" sumtext="Bag 상태"/>
  216. <Column id="erbgcd" type="STRING" size="256" sumtext="Bag 코드"/>
  217. <Column id="erbgnm" type="STRING" size="256" sumtext="Bag 이름"/>
  218. <Column id="oproom" type="STRING" size="256" sumtext="수술방"/>
  219. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  220. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  221. <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의 "/>
  222. <Column id="opnm" type="STRING" size="256" sumtext="수술이름"/>
  223. <Column id="cartuser" type="STRING" size="256" sumtext="CARt저장"/>
  224. <Column id="redlvrnm" type="STRING" size="256" sumtext="CART불출"/>
  225. <Column id="redlvrid" type="STRING" size="256" sumtext="CART불출"/>
  226. <Column id="redlvrdt" type="STRING" size="256" sumtext="CART불출"/>
  227. <Column id="recipntnm" type="STRING" size="256" sumtext="수령자"/>
  228. <Column id="recipntid" type="STRING" size="256" sumtext="수령자"/>
  229. <Column id="recipntdt" type="STRING" size="256" sumtext="수령자"/>
  230. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술번호"/>
  231. <Column id="flag" type="STRING" size="256" sumtext="수술번호"/>
  232. </ColumnInfo>
  233. </Dataset>
  234. <Dataset id="ds_ersend_savedata_baglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  235. <ColumnInfo>
  236. <Column id="status" type="STRING" size="256" sumtext="체크여부"/>
  237. <Column id="chkyn" type="STRING" size="256" sumtext="Bag 상태"/>
  238. <Column id="bagstat" type="STRING" size="256" sumtext="Bag 상태"/>
  239. <Column id="erbgcd" type="STRING" size="256" sumtext="Bag 코드"/>
  240. <Column id="erbgnm" type="STRING" size="256" sumtext="Bag 이름"/>
  241. <Column id="oproom" type="STRING" size="256" sumtext="수술방"/>
  242. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  243. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  244. <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의 "/>
  245. <Column id="opnm" type="STRING" size="256" sumtext="수술이름"/>
  246. <Column id="cartuser" type="STRING" size="256" sumtext="CARt저장"/>
  247. <Column id="redlvrnm" type="STRING" size="256" sumtext="CART불출"/>
  248. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술번호"/>
  249. <Column id="flag" type="STRING" size="256" sumtext="구분 "/>
  250. </ColumnInfo>
  251. </Dataset>
  252. <Dataset id="ds_ersend_printdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  255. </ColumnInfo>
  256. <Rows>
  257. <Row/>
  258. </Rows>
  259. </Dataset>
  260. <Dataset id="ds_temp_erbgdtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  261. <ColumnInfo>
  262. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  263. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  264. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  265. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  266. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
  267. <Column id="goodqty" type="STRING" size="256" sumtext="기본물품수량"/>
  268. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  269. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  270. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초입력자"/>
  271. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초입력자"/>
  272. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초입력시간"/>
  273. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막입력자"/>
  274. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="마지막입력자"/>
  275. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막입력시간"/>
  276. <Column id="cureflag" type="STRING" size="256" sumtext="마지막입력시간"/>
  277. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  278. <Column id="prcpunit" type="STRING" size="256" sumtext="물품규격"/>
  279. <Column id="ccrdeliveyn" type="STRING" size="256" sumtext="ccd불출여부"/>
  280. </ColumnInfo>
  281. </Dataset>
  282. <Dataset id="ds_main_erccd_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  283. <ColumnInfo>
  284. <Column id="opfromdd" type="STRING" size="256"/>
  285. <Column id="optodd" type="STRING" size="256"/>
  286. <Column id="flag" type="STRING" size="256"/>
  287. <Column id="cartgubn" type="STRING" size="256"/>
  288. <Column id="flag2" type="STRING" size="256"/>
  289. </ColumnInfo>
  290. <Rows>
  291. <Row>
  292. <Col id="flag">1</Col>
  293. <Col id="flag2">7</Col>
  294. <Col id="cartgubn">O</Col>
  295. </Row>
  296. </Rows>
  297. </Dataset>
  298. <Dataset id="ds_cmb_bagstatcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  299. <ColumnInfo>
  300. <Column id="value" type="STRING" size="256"/>
  301. <Column id="label" type="STRING" size="256"/>
  302. </ColumnInfo>
  303. <Rows>
  304. <Row>
  305. <Col id="label">저장</Col>
  306. <Col id="value">2</Col>
  307. </Row>
  308. <Row>
  309. <Col id="label">불출</Col>
  310. <Col id="value">3</Col>
  311. </Row>
  312. <Row>
  313. <Col id="label">처방</Col>
  314. <Col id="value">4</Col>
  315. </Row>
  316. <Row>
  317. <Col id="label">확정</Col>
  318. <Col id="value">5</Col>
  319. </Row>
  320. <Row>
  321. <Col id="label">반납</Col>
  322. <Col id="value">9</Col>
  323. </Row>
  324. <Row>
  325. <Col id="label">재불출</Col>
  326. <Col id="value">7</Col>
  327. </Row>
  328. <Row>
  329. <Col id="label">수령</Col>
  330. <Col id="value">8</Col>
  331. </Row>
  332. </Rows>
  333. </Dataset>
  334. <Dataset id="ds_temp_prtinfo_suturelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  335. <ColumnInfo>
  336. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  337. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  338. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  339. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  340. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
  341. <Column id="goodqty" type="STRING" size="256" sumtext="기본물품수량"/>
  342. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  343. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  344. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초입력자"/>
  345. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초입력자"/>
  346. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초입력시간"/>
  347. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막입력자"/>
  348. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="마지막입력자"/>
  349. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막입력시간"/>
  350. <Column id="cureflag" type="STRING" size="256" sumtext="마지막입력시간"/>
  351. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  352. <Column id="prcpunit" type="STRING" size="256" sumtext="물품규격"/>
  353. <Column id="ccrdeliveyn" type="STRING" size="256" sumtext="ccd불출여부"/>
  354. </ColumnInfo>
  355. </Dataset>
  356. <Dataset id="ds_temp_prtinfo_supllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  357. <ColumnInfo>
  358. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  359. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  360. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  361. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  362. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
  363. <Column id="goodqty" type="STRING" size="256" sumtext="기본물품수량"/>
  364. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  365. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  366. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초입력자"/>
  367. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초입력자"/>
  368. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초입력시간"/>
  369. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막입력자"/>
  370. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="마지막입력자"/>
  371. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막입력시간"/>
  372. <Column id="cureflag" type="STRING" size="256" sumtext="마지막입력시간"/>
  373. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  374. <Column id="prcpunit" type="STRING" size="256" sumtext="물품규격"/>
  375. <Column id="ccrdeliveyn" type="STRING" size="256" sumtext="ccd불출여부"/>
  376. </ColumnInfo>
  377. </Dataset>
  378. <Dataset id="ds_temp_prtinfo_sheetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  379. <ColumnInfo>
  380. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  381. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  382. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  383. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  384. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
  385. <Column id="goodqty" type="STRING" size="256" sumtext="기본물품수량"/>
  386. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  387. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  388. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초입력자"/>
  389. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초입력자"/>
  390. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초입력시간"/>
  391. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막입력자"/>
  392. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="마지막입력자"/>
  393. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막입력시간"/>
  394. <Column id="cureflag" type="STRING" size="256" sumtext="마지막입력시간"/>
  395. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  396. <Column id="prcpunit" type="STRING" size="256" sumtext="물품규격"/>
  397. <Column id="ccrdeliveyn" type="STRING" size="256" sumtext="ccd불출여부"/>
  398. </ColumnInfo>
  399. </Dataset>
  400. <Dataset id="ds_temp_prtinfo_glovelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  401. <ColumnInfo>
  402. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  403. <Column id="erbgcd" type="STRING" size="256" sumtext="BAG코드"/>
  404. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  405. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  406. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize규격id"/>
  407. <Column id="goodqty" type="STRING" size="256" sumtext="기본물품수량"/>
  408. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  409. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  410. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초입력자"/>
  411. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초입력자"/>
  412. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초입력시간"/>
  413. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막입력자"/>
  414. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="마지막입력자"/>
  415. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막입력시간"/>
  416. <Column id="cureflag" type="STRING" size="256" sumtext="마지막입력시간"/>
  417. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  418. <Column id="prcpunit" type="STRING" size="256" sumtext="물품규격"/>
  419. <Column id="ccrdeliveyn" type="STRING" size="256" sumtext="ccd불출여부"/>
  420. </ColumnInfo>
  421. </Dataset>
  422. <Dataset id="ds_temp_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  423. <ColumnInfo>
  424. <Column id="erbgnm" type="STRING" size="256"/>
  425. <Column id="usernm" type="STRING" size="256"/>
  426. </ColumnInfo>
  427. <Rows>
  428. <Row/>
  429. </Rows>
  430. </Dataset>
  431. </Objects>
  432. <Bind>
  433. <BindItem id="item0" compid="grp_biz.grp_sea.rdo_flag" propid="value" datasetid="ds_main_erccd_cond" columnid="flag"/>
  434. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_opfromdd" propid="value" datasetid="ds_main_erccd_cond" columnid="opfromdd"/>
  435. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_optodd" propid="value" datasetid="ds_main_erccd_cond" columnid="optodd"/>
  436. <BindItem id="item3" compid="grp_biz.grp_sea.rdo_cartgubn" propid="value" datasetid="ds_main_erccd_cond" columnid="cartgubn"/>
  437. <BindItem id="item4" compid="grp_biz.grp_sea.rdo_flag2" propid="value" datasetid="ds_main_erccd_cond" columnid="flag2"/>
  438. </Bind>
  439. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  440. * System Name : 경대 의료정보시스템
  441. * Job Name : emr_csrxp -> SMMNG04400
  442. * Creator : yjh
  443. * Make Date : 2016-02-11
  444. * Description :
  445. *---------------------------------------------------------------------------------------
  446. * Modify Date Modifier Modify Description
  447. *---------------------------------------------------------------------------------------
  448. * 2016-02-11 yjh TF->XP
  449. *
  450. *---------------------------------------------------------------------------------------
  451. ****************************************************************************************/
  452. //=======================================================================================
  453. // Lib Include
  454. //---------------------------------------------------------------------------------------
  455. include "com_commonxp::comm_main.xjs";
  456. //=======================================================================================
  457. // Global Form Variable
  458. //---------------------------------------------------------------------------------------
  459. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  460. var opyn = "N";
  461. var arErrorCode = new HashArray();
  462. //=======================================================================================
  463. // Function
  464. //---------------------------------------------------------------------------------------
  465. /****************************************************************************************
  466. * Argument : N/A
  467. * Description :
  468. ****************************************************************************************/
  469. function fInitialize() {
  470. var cartgubn = frmf_getMenuParam();
  471. if(cartgubn == "A") {
  472. grp_biz.grp_sea.rdo_cartgubn.value = cartgubn;
  473. }
  474. ds_ersend_reqdata.setColumn(0, "cdgrupid", "'160'");
  475. ds_ersend_reqdata.setColumn(0, "srchdd", utlf_getCurrentDate());
  476. grdf_setRowTypeIcon(grp_biz.grd_baglist, 0); //그리드 상태 아이콘 보여주기
  477. var oParam = {};
  478. oParam.id = "TRMNW00001";
  479. oParam.service = "wardcareapp.WardCareMngt";
  480. oParam.method = "reqGetNursHardCdInfo";
  481. oParam.inds = "req=ds_ersend_reqdata";
  482. oParam.outds = "ds_init_codeinfo_codelist=codelist";
  483. oParam.async = false;
  484. oParam.callback = "cf_TRMNW00001";
  485. tranf_submit(oParam);
  486. }
  487. function cf_TRMNW00001(sSvcId, nErrorCode, sErrorMsg) {
  488. if(nErrorCode < 0) return;
  489. var deptcd = sysf_getUserInfo("dutplcecd");
  490. var userid = sysf_getUserInfo("userid");
  491. if(userid == "ENR") {
  492. opyn="Y";
  493. } else {
  494. if(ds_init_codeinfo_codelist.findRow("cdid", deptcd) > -1) {
  495. grp_biz.btn_dlv.enable = true;
  496. grp_biz.btn_dlvcncl.enable = true;
  497. grp_biz.btn_reci.enable = false;
  498. grp_biz.btn_recicncl.enable = false;
  499. //grp_biz.grp_sea.rdo_flag2.value = "9";
  500. opyn="N";
  501. grp_biz.grp_sea.rdo_cartgubn.enable = true;
  502. } else {
  503. grp_biz.btn_dlv.enable = false;
  504. grp_biz.btn_dlvcncl.enable = false;
  505. grp_biz.btn_reci.enable = true;
  506. grp_biz.btn_recicncl.enable = true;
  507. //grp_biz.grp_sea.rdo_flag2.value = "7";
  508. opyn="Y";
  509. grp_biz.grp_sea.rdo_cartgubn.enable = false;
  510. }
  511. }
  512. //20180409 이돈희 : EM bag 조회화면 전체를 기본 설정으로(칠곡 중앙공급실)
  513. grp_biz.grp_sea.rdo_flag2.value = "";
  514. ds_main_erccd_cond.setColumn(0, "opfromdd", utlf_getCurrentDate());
  515. ds_main_erccd_cond.setColumn(0, "optodd", utlf_getCurrentDate());
  516. //ds_main_erccd_cond.setColumn(0, "flag", "1");
  517. //ds_main_erccd_cond.setColumn(0, "cartgubn", "O");
  518. //ds_main_erccd_cond.setColumn(0, "flag2", "7");
  519. fSearch();
  520. }
  521. //조회
  522. function fSearch(){
  523. ds_ersend_reqdata.copyRow(0, ds_main_erccd_cond, 0);
  524. var oParam = {};
  525. oParam.id = "TRMNG04401";
  526. oParam.service = "csrapp.CsrMngt";
  527. oParam.method = "reqGetEmccdBagInfo";
  528. oParam.inds = "req=ds_ersend_reqdata";
  529. oParam.outds = "ds_main_erccd_baginfo_baglist=baglist";
  530. oParam.async = false;
  531. oParam.callback = "cf_TRMNG04401";
  532. tranf_submit(oParam);
  533. }
  534. function cf_TRMNG04401(sSvcId, nErrorCode, sErrorMsg) {
  535. if(nErrorCode < 0) return;
  536. ds_main_erccd_baginfo_baglist.addColumn("chkyn", "string");
  537. ds_main_erccd_baginfo_baglist.addColumn("flag", "string");
  538. grp_biz.grd_baglist.setCellProperty("Head", 1, "expr", "0");
  539. var bagstatcd = "";
  540. var sExprEdit = "expr:";
  541. var sExprsilver = "expr:";
  542. //반납상태전에것들은 수령 및 불출 하지 못하도록 disable처리함.
  543. for( var i=0 ; i<grp_biz.grd_baglist.rowcount ; i++ ){
  544. bagstatcd = ds_main_erccd_baginfo_baglist.getColumn(i, "bagstatcd");
  545. if(bagstatcd < "5") {
  546. sExprEdit += "currow == "+i+" ? 'none' : ";
  547. sExprsilver += "currow == "+i+" ? 'silver' : ";
  548. }
  549. }
  550. sExprEdit += "'checkbox'";
  551. sExprsilver += "''";
  552. if( sExprEdit != "expr:'checkbox'" ){
  553. grp_biz.grd_baglist.setCellProperty("Body", 1, "edittype", sExprEdit);
  554. grp_biz.grd_baglist.setCellProperty("Body", 1, "controlbackground", sExprsilver);
  555. }else{
  556. grp_biz.grd_baglist.setCellProperty("Body", 1, "edittype", "checkbox");
  557. }
  558. }
  559. //저장 flag(1:불출 2:수령 3:불출취소 4:수령취소)
  560. function fSave(flag){
  561. var chkyn;
  562. var node ="";
  563. var msgcnt = "";
  564. var rtn;
  565. if( ds_main_erccd_baginfo_baglist.findRow("chkyn", "1") < 0 ) {
  566. sysf_messageBox("선택된 항목이 없습니다.", "E");
  567. return;
  568. }
  569. if(flag == "1") {
  570. msgcnt = "불출 하시겠습니까?";
  571. } else if(flag == "2") {
  572. msgcnt = "수령 하시겠습니까?";
  573. if( ds_main_erccd_baginfo_baglist.findRowExpr("chkyn=='1' && bagstatcd!='7'") > -1 ){
  574. sysf_messageBox("재불출상태인 CCD만 수령이 가능합니다.", "E");
  575. return;
  576. }
  577. } else if(flag == "3") {
  578. msgcnt = "불출취소 하시겠습니까?";
  579. if( ds_main_erccd_baginfo_baglist.findRowExpr("chkyn=='1' && bagstatcd!='7'") > -1 ) {
  580. sysf_messageBox("불출상태인 CCD만 불출취소가 가능합니다.", "E");
  581. return;
  582. }
  583. } else if(flag == "4") {
  584. msgcnt = "수령취소 하시겠습니까?";
  585. if( ds_main_erccd_baginfo_baglist.findRowExpr("chkyn=='1' && bagstatcd!='8'") > -1 ) {
  586. sysf_messageBox("수령상태인 CCD만 수령취소가 가능합니다.", "E");
  587. return;
  588. }
  589. }
  590. rtn = sysf_messageBox(msgcnt, "Q");
  591. //예 했을경우에만 저장로직 탐, 자동재조회.
  592. if(rtn == "6") {
  593. for( var i=0 ; i<grp_biz.grd_baglist.rowcount ; i++ ){
  594. if( ds_main_erccd_baginfo_baglist.getColumn(i, "chkyn") == "1" ) {
  595. ds_main_erccd_baginfo_baglist.setColumn(i, "flag", flag);
  596. }
  597. }
  598. var savedata = grdf_getGridUpdateData(grp_biz.grd_baglist);
  599. grdf_setStatusColumn(savedata, "status");
  600. ds_ersend_savedata_baglist.clearData();
  601. for( var i=0 ; i<savedata.rowcount ; i++ ){
  602. var nRow = ds_ersend_savedata_baglist.addRow();
  603. ds_ersend_savedata_baglist.copyRow(nRow, savedata, i);
  604. if( ds_ersend_savedata_baglist.getColumn(i, "chkyn") == "1" ){
  605. ds_ersend_savedata_baglist.setColumn(i, "chkyn", "Y");
  606. }
  607. }
  608. var oParam = {};
  609. oParam.id = "TXMNG04401";
  610. oParam.service = "csrapp.CsrMngt";
  611. oParam.method = "reqExeEmccdBagInfo";
  612. oParam.inds = "baglist=ds_ersend_savedata_baglist";
  613. //oParam.outds = "ds_=baglist";
  614. oParam.async = false;
  615. oParam.callback = "cf_TXMNG04401";
  616. tranf_submit(oParam);
  617. }
  618. }
  619. function cf_TXMNG04401(sSvcId, nErrorCode, sErrorMsg) {
  620. if(nErrorCode < 0) return;
  621. fSearch();
  622. }
  623. function fPrint() {
  624. var chkyn;
  625. var node ="";
  626. var erbgnm="";
  627. if( ds_main_erccd_baginfo_baglist.findRow("chkyn", "1") < 0 ){
  628. sysf_messageBox("선택된 항목이 없습니다.", "E");
  629. return;
  630. }
  631. for( var i=0 ; i<grp_biz.grd_baglist.rowcount ; i++ ){
  632. chkyn = ds_main_erccd_baginfo_baglist.getColumn(i, "chkyn");
  633. erbgnm = ds_main_erccd_baginfo_baglist.getColumn(i, "erbgnm");
  634. if(chkyn == "1") {
  635. ds_ersend_printdata.setColumn(0, "erbgcd", ds_main_erccd_baginfo_baglist.getColumn(i, "erbgcd"));
  636. var oParam = {};
  637. oParam.id = "TRMNG03601";
  638. oParam.service = "csrapp.CsrMngt";
  639. oParam.method = "reqGetErbgdtList";
  640. oParam.inds = "req=ds_ersend_printdata";
  641. oParam.outds = "ds_temp_erbgdtlist=erbgdtlist";
  642. oParam.async = false;
  643. oParam.callback = "cf_TRMNG03601";
  644. tranf_submit(oParam);
  645. if( arErrorCode.pop("TRMNG03601") > -1 ){
  646. ds_temp_cond.setColumn(0, "erbgnm", erbgnm);
  647. if(opyn == "Y") {
  648. ds_temp_cond.setColumn(0, "usernm", "");
  649. } else {
  650. ds_temp_cond.setColumn(0, "usernm", sysf_getUserInfo("usernm"));
  651. }
  652. ds_temp_erbgdtlist.filter("cureflag=='1' && ccrdeliveyn=='Y'");
  653. ds_temp_prtinfo_suturelist.copyData(ds_temp_erbgdtlist, true);
  654. ds_temp_erbgdtlist.filter("cureflag=='2' && ccrdeliveyn=='Y'");
  655. ds_temp_prtinfo_supllist.copyData(ds_temp_erbgdtlist, true);
  656. ds_temp_erbgdtlist.filter("cureflag=='7' && ccrdeliveyn=='Y'");
  657. ds_temp_prtinfo_sheetlist.copyData(ds_temp_erbgdtlist, true);
  658. ds_temp_erbgdtlist.filter("cureflag=='8' && ccrdeliveyn=='Y'");
  659. ds_temp_prtinfo_glovelist.copyData(ds_temp_erbgdtlist, true);
  660. if(ds_temp_prtinfo_suturelist.rowcount == 0){
  661. ds_temp_prtinfo_suturelist.addRow();
  662. }
  663. if(ds_temp_prtinfo_supllist.rowcount == 0){
  664. ds_temp_prtinfo_supllist.addRow();
  665. }
  666. if(ds_temp_prtinfo_sheetlist.rowcount == 0){
  667. ds_temp_prtinfo_sheetlist.addRow();
  668. }
  669. if(ds_temp_prtinfo_glovelist.rowcount == 0){
  670. ds_temp_prtinfo_glovelist.addRow();
  671. }
  672. var objDOM = rptf_createDOM(); // DOM 객체 설정
  673. rptf_setNodeListToDOM(objDOM, "/root/temp/cond", ds_temp_cond);
  674. rptf_setNodeListToDOM(objDOM, "/root/temp/prtinfo/suturelist", ds_temp_prtinfo_suturelist); // 데이터셋 1
  675. rptf_setNodeListToDOM(objDOM, "/root/temp/prtinfo/supllist", ds_temp_prtinfo_supllist); // 데이터셋 2
  676. rptf_setNodeListToDOM(objDOM, "/root/temp/prtinfo/sheetlist", ds_temp_prtinfo_sheetlist); // 데이터셋 3
  677. rptf_setNodeListToDOM(objDOM, "/root/temp/prtinfo/glovelist", ds_temp_prtinfo_glovelist); // 데이터셋 4
  678. var objParam = new Object();
  679. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  680. var option = "open=1;save=1;directprint=1printdialog=0;print=1;zoom=0;";
  681. rptf_exeReportPreview30(["RPMNG04101"],[objParam], option);
  682. ds_temp_prtinfo_suturelist.clearData();
  683. ds_temp_prtinfo_supllist.clearData();
  684. ds_temp_prtinfo_sheetlist.clearData();
  685. ds_temp_prtinfo_glovelist.clearData();
  686. }
  687. }
  688. }
  689. }
  690. function cf_TRMNG03601(sSvcId, nErrorCode, sErrorMsg) {
  691. arErrorCode.push(sSvcId, nErrorCode);
  692. }
  693. function fPrint2() {
  694. if(ds_main_erccd_baginfo_baglist.rowcount == 0){
  695. ds_main_erccd_baginfo_baglist.addRow();
  696. }
  697. var objDOM = rptf_createDOM(); // DOM 객체 설정
  698. rptf_setValueToDOM(objDOM, "/root/main_erccd/cond", ds_main_erccd_cond);
  699. rptf_setNodeListToDOM(objDOM, "/root/main_erccd/baginfo/baglist", ds_main_erccd_baginfo_baglist); // 데이터셋 1
  700. var objParam = new Object();
  701. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  702. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  703. rptf_exeReportPreview30(["RPMNG04400"],[objParam], option);
  704. }
  705. //=======================================================================================
  706. // Event
  707. //---------------------------------------------------------------------------------------
  708. /****************************************************************************************
  709. * Components : Form
  710. * Components ID : SMMNG04400
  711. * Event : oninit
  712. * Argument : 01.obj : Object Event has occurred
  713. * : 02.e : Event Object
  714. * Description : 화면 처음 초기화시
  715. ****************************************************************************************/
  716. function SMMNG04400_oninit(obj:Form, e:InitEventInfo)
  717. {
  718. frmf_initForm(obj); //폼 초기화
  719. }
  720. /****************************************************************************************
  721. * Components : Form
  722. * Components ID : SMMNG04400
  723. * Event : onload
  724. * Argument : 01.obj : Object Event has occurred
  725. * : 02.e : Event Object
  726. * Description : 화면 로딩 완료시
  727. ****************************************************************************************/
  728. function SMMNG04400_onload(obj:Form, e:LoadEventInfo)
  729. {
  730. fInitialize();
  731. }
  732. /****************************************************************************************
  733. * Components : Button
  734. * Components ID : btn_search
  735. * Event : onclick
  736. * Argument : 01.obj : Object Event has occurred
  737. * : 02.e : Event Object
  738. * Description : 조회버튼 클릭시
  739. ****************************************************************************************/
  740. function grp_biz_grd_baglist_onheadclick(obj:Grid, e:GridClickEventInfo)
  741. {
  742. switch(e.col){
  743. case 1 :
  744. if( grp_biz.grd_baglist.getCellProperty("Head", e.col, "expr") == "0" ){
  745. grp_biz.grd_baglist.setCellProperty("Head", e.col, "expr", 1);
  746. for( var i=0 ; i<ds_main_erccd_baginfo_baglist.rowcount ; i++ ){
  747. if( ds_main_erccd_baginfo_baglist.getColumn(i, "bagstatcd") >= "5" ){
  748. ds_main_erccd_baginfo_baglist.setColumn(i, "chkyn", "1");
  749. }
  750. }
  751. }else{
  752. grp_biz.grd_baglist.setCellProperty("Head", e.col, "expr", 0);
  753. ds_main_erccd_baginfo_baglist.enableevent = false;
  754. ds_main_erccd_baginfo_baglist.updatecontrol = false;
  755. for( var i=0 ; i<ds_main_erccd_baginfo_baglist.rowcount ; i++ ){
  756. if( ds_main_erccd_baginfo_baglist.getColumn(i, "bagstatcd") >= "5" ){
  757. ds_main_erccd_baginfo_baglist.setColumn(i, "chkyn", "0");
  758. ds_main_erccd_baginfo_baglist.setRowType(i, 1);
  759. }
  760. }
  761. ds_main_erccd_baginfo_baglist.updatecontrol = true;
  762. ds_main_erccd_baginfo_baglist.enableevent = true;
  763. }
  764. break;
  765. default :
  766. break;
  767. }
  768. }
  769. /****************************************************************************************
  770. * Components : Dataset
  771. * Components ID : ds_main_erccd_baginfo_baglist
  772. * Event : oncolumnchanged
  773. * Argument : 01.obj : Object Event has occurred
  774. * : 02.e : Event Object
  775. * Description : ds_main_erccd_baginfo_baglist 값 변경시
  776. ****************************************************************************************/
  777. function ds_main_erccd_baginfo_baglist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  778. {
  779. switch( e.columnid ){
  780. case "chkyn" :
  781. if( e.newvalue == "0" ){
  782. grp_biz.grd_baglist.setCellProperty("Head", 1, "expr", "0");
  783. }
  784. break;
  785. default :
  786. break;
  787. }
  788. }
  789. /****************************************************************************************
  790. * Components : Button
  791. * Components ID : btn_search
  792. * Event : onclick
  793. * Argument : 01.obj : Object Event has occurred
  794. * : 02.e : Event Object
  795. * Description : 조회버튼 클릭시
  796. ****************************************************************************************/
  797. function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  798. {
  799. fSearch();
  800. }
  801. /****************************************************************************************
  802. * Components : Radio
  803. * Components ID : rdo_flag
  804. * Event : onitemchanged
  805. * Argument : 01.obj : Object Event has occurred
  806. * : 02.e : Event Object
  807. * Description : 라디오 값 변경시
  808. ****************************************************************************************/
  809. function grp_biz_grp_sea_rdo_flag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  810. {
  811. var flag = e.postvalue;
  812. var fromdd;
  813. var todd;
  814. if(flag == "1") {
  815. fromdd = utlf_getCurrentDate();
  816. todd = utlf_getCurrentDate();
  817. } else {
  818. fromdd = utlf_getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
  819. todd = utlf_getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat("YYYYMMDD");
  820. }
  821. ds_main_erccd_cond.setColumn(0, "opfromdd", fromdd);
  822. ds_main_erccd_cond.setColumn(0, "optodd", todd);
  823. }
  824. /****************************************************************************************
  825. * Components : Radio
  826. * Components ID : rdo_cartgubn
  827. * Event : onitemchanged
  828. * Argument : 01.obj : Object Event has occurred
  829. * : 02.e : Event Object
  830. * Description : 라디오 값 변경시
  831. ****************************************************************************************/
  832. function grp_biz_grp_sea_rdo_cartgubn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  833. {
  834. fSearch();
  835. }
  836. /****************************************************************************************
  837. * Components : Button
  838. * Components ID : btn_reci
  839. * Event : onclick
  840. * Argument : 01.obj : Object Event has occurred
  841. * : 02.e : Event Object
  842. * Description : 수령버튼 클릭시
  843. ****************************************************************************************/
  844. function grp_biz_btn_reci_onclick(obj:Button, e:ClickEventInfo)
  845. {
  846. fSave("2");
  847. }
  848. /****************************************************************************************
  849. * Components : Button
  850. * Components ID : btn_dlv
  851. * Event : onclick
  852. * Argument : 01.obj : Object Event has occurred
  853. * : 02.e : Event Object
  854. * Description : 불출버튼 클릭시
  855. ****************************************************************************************/
  856. function grp_biz_btn_dlv_onclick(obj:Button, e:ClickEventInfo)
  857. {
  858. fSave("1");
  859. }
  860. /****************************************************************************************
  861. * Components : Button
  862. * Components ID : btn_recicncl
  863. * Event : onclick
  864. * Argument : 01.obj : Object Event has occurred
  865. * : 02.e : Event Object
  866. * Description : 수령취소버튼 클릭시
  867. ****************************************************************************************/
  868. function grp_biz_btn_recicncl_onclick(obj:Button, e:ClickEventInfo)
  869. {
  870. fSave("4");
  871. }
  872. /****************************************************************************************
  873. * Components : Button
  874. * Components ID : btn_dlvcncl
  875. * Event : onclick
  876. * Argument : 01.obj : Object Event has occurred
  877. * : 02.e : Event Object
  878. * Description : 불출취소버튼 클릭시
  879. ****************************************************************************************/
  880. function grp_biz_btn_dlvcncl_onclick(obj:Button, e:ClickEventInfo)
  881. {
  882. fSave("3");
  883. }
  884. /****************************************************************************************
  885. * Components : Button
  886. * Components ID : btn_prt
  887. * Event : onclick
  888. * Argument : 01.obj : Object Event has occurred
  889. * : 02.e : Event Object
  890. * Description : Bag출력버튼 클릭시
  891. ****************************************************************************************/
  892. function grp_biz_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  893. {
  894. fPrint();
  895. }
  896. /****************************************************************************************
  897. * Components : Button
  898. * Components ID : button1
  899. * Event : onclick
  900. * Argument : 01.obj : Object Event has occurred
  901. * : 02.e : Event Object
  902. * Description : 출력버튼 클릭시
  903. ****************************************************************************************/
  904. function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
  905. {
  906. fPrint2();
  907. }
  908. ]]></Script>
  909. </Form>
  910. </FDL>