SPMNP01805_마취CART복사조회.xfdl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP01805" position="absolute 0 0 1145 620" titletext="Cart복사 조회" oninit="SPMNP01805_oninit" onload="SPMNP01805_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1135 616" id="grp_cartmain" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 362 615" id="group2">
  11. <Layouts>
  12. <Layout>
  13. <Static text="마취의" position="absolute 10 10 75 26" align="align:center middle;" id="caption2" class="tit_2"/>
  14. <Grid position="absolute 5 30 360 260" id="grd_perfid" binddataset="ds_main_MnpmcartList_perfid_codelist" oncellclick="grp_cartmain_group2_grd_perfid_oncellclick" selecttype="multirow">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="100"/>
  19. <Column size="170"/>
  20. <Column size="60"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. </Columns>
  24. <Rows>
  25. <Row size="24" band="head"/>
  26. <Row size="24"/>
  27. </Rows>
  28. <Band id="head">
  29. <Cell text="사번"/>
  30. <Cell col="1" text="이름"/>
  31. <Cell col="2" text="사용"/>
  32. <Cell col="3"/>
  33. <Cell col="4"/>
  34. </Band>
  35. <Band id="body">
  36. <Cell text="bind:datacd"/>
  37. <Cell col="1" text="bind:datanm"/>
  38. <Cell col="2" text="bind:ncnt"/>
  39. <Cell col="3" text="bind:ucnt"/>
  40. <Cell col="4" text="bind:tcnt"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <CheckBox position="absolute 80 9 215 24" id="chk_useyn" text="사용중인 처방만 보기" truevalue="Y" falsevalue="N" onclick="grp_cartmain_group2_chk_useyn_onclick"/>
  46. <Grid position="absolute 5 267 360 615" id="grd_ccrtno" binddataset="ds_main_MnpmcartList_ccrtno_codelist" oncellclick="grp_cartmain_group2_grd_ccrtno_oncellclick" selecttype="multirow">
  47. <Formats>
  48. <Format id="default">
  49. <Columns>
  50. <Column size="85"/>
  51. <Column size="200"/>
  52. <Column size="45"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="24" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell text="Cart코드"/>
  62. <Cell col="1" text="마취명"/>
  63. <Cell col="2" text="사용"/>
  64. <Cell col="3"/>
  65. <Cell col="4"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell text="bind:datacd" tooltiptext="bind:datacd"/>
  69. <Cell col="1" style="align:left top;padding:5 2 0 2;" text="bind:datanm" wordwrap="char" tooltiptext="bind:datanm"/>
  70. <Cell col="2" text="bind:tcnt"/>
  71. <Cell col="3" text="bind:ucnt"/>
  72. <Cell col="4" text="bind:ncnt"/>
  73. </Band>
  74. </Format>
  75. </Formats>
  76. </Grid>
  77. </Layout>
  78. </Layouts>
  79. </Div>
  80. <Grid position="absolute 365 30 1135 615" id="grd_good" binddataset="ds_main_MnphcagoLists_mnphcagolist" onheadclick="grp_cartmain_grd_good_onheadclick" selecttype="multirow">
  81. <Formats>
  82. <Format id="default">
  83. <Columns>
  84. <Column size="19"/>
  85. <Column size="80"/>
  86. <Column size="35"/>
  87. <Column size="0"/>
  88. <Column size="225"/>
  89. <Column size="100"/>
  90. <Column size="90"/>
  91. <Column size="90"/>
  92. <Column size="50"/>
  93. <Column size="0"/>
  94. <Column size="50"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. </Columns>
  116. <Rows>
  117. <Row size="24" band="head"/>
  118. <Row size="24"/>
  119. </Rows>
  120. <Band id="head">
  121. <Cell displaytype="checkbox" edittype="checkbox" expr="0"/>
  122. <Cell col="1" text="물품"/>
  123. <Cell col="2" text="SUB"/>
  124. <Cell col="3" text="산정"/>
  125. <Cell col="4" text="물품명"/>
  126. <Cell col="5" text="규격"/>
  127. <Cell col="6" text="모델"/>
  128. <Cell col="7" text="제조원"/>
  129. <Cell col="8" text="단위"/>
  130. <Cell col="9" text="급여"/>
  131. <Cell col="10" text="수량"/>
  132. <Cell col="11" text="CaseCart 번호"/>
  133. <Cell col="12" text="Cart물품순번"/>
  134. <Cell col="13" text="기관코드"/>
  135. <Cell col="14" text="물품구분"/>
  136. <Cell col="15" text="불출단위"/>
  137. <Cell col="16" text="물품등록일자"/>
  138. <Cell col="17" text="물품종료일자"/>
  139. <Cell col="18" text="체크"/>
  140. <Cell col="19" text="기록상태"/>
  141. <Cell col="20" text="거래처명"/>
  142. <Cell col="21" text="사용구분"/>
  143. <Cell col="22" text="물품구분"/>
  144. <Cell col="23" text="처방구분"/>
  145. <Cell col="24" text="Drug용법코드"/>
  146. <Cell col="25" text="재고량"/>
  147. <Cell col="26" text="기준누적수량"/>
  148. <Cell col="27" text="청구구분"/>
  149. <Cell col="28" text="구매구분"/>
  150. <Cell col="29" text="산정여부"/>
  151. <Cell col="30" text="수가코드"/>
  152. </Band>
  153. <Band id="body">
  154. <Cell displaytype="checkbox" edittype="checkbox" text="bind:fcheck"/>
  155. <Cell col="1" text="bind:goodcd" tooltiptext="bind:goodcd"/>
  156. <Cell col="2" text="bind:allsizespecid"/>
  157. <Cell col="3" text="bind:calculyn"/>
  158. <Cell col="4" style="align:left top;padding:5 2 0 2;" text="bind:goodengnm" wordwrap="char" tooltiptext="bind:goodengnm"/>
  159. <Cell col="5" text="bind:goodspec" tooltiptext="bind:goodspec"/>
  160. <Cell col="6" style="align:left top;padding:5 2 0 2;" text="bind:goodmodel" wordwrap="char" tooltiptext="bind:goodmodel"/>
  161. <Cell col="7" style="align:left top;padding:5 2 0 2;" text="bind:makernm" wordwrap="char" tooltiptext="bind:makernm"/>
  162. <Cell col="8" text="bind:prcpunit"/>
  163. <Cell col="9" displaytype="combo" edittype="combo" text="bind:payflagcd" enable="false"/>
  164. <Cell col="10" text="bind:goodqty"/>
  165. <Cell col="11" text="bind:ccrtno"/>
  166. <Cell col="12" text="bind:cartgoodseq"/>
  167. <Cell col="13" text="bind:instcd"/>
  168. <Cell col="14" text="bind:goodcls"/>
  169. <Cell col="15" text="bind:deliveunit"/>
  170. <Cell col="16" text="bind:fromdd"/>
  171. <Cell col="17" text="bind:todd"/>
  172. <Cell col="18" text="bind:fcheck"/>
  173. <Cell col="19" text="bind:recstat"/>
  174. <Cell col="20" text="bind:custnm"/>
  175. <Cell col="21" text="bind:useflag"/>
  176. <Cell col="22" text="bind:goodflag"/>
  177. <Cell col="23" text="bind:prcpclscd"/>
  178. <Cell col="24" text="bind:drugmthdspccd"/>
  179. <Cell col="25" text="bind:stocqty"/>
  180. <Cell col="26" text="bind:acmlbaseqty"/>
  181. <Cell col="27" text="bind:reqmthd"/>
  182. <Cell col="28" text="bind:purcflag"/>
  183. <Cell col="29" text="bind:calcscorcd"/>
  184. <Cell col="30" text="bind:insuyn"/>
  185. </Band>
  186. </Format>
  187. </Formats>
  188. </Grid>
  189. <Button position="absolute 1091 4 1133 23" id="bbt_append2" class="btn2" text="추가" onclick="grp_cartmain_bbt_append2_onclick"/>
  190. <Button position="absolute 1023 4 1087 23" id="button12" class="btn2" text="엑셀저장" onclick="grp_cartmain_button12_onclick"/>
  191. </Layout>
  192. </Layouts>
  193. </Div>
  194. </Layout>
  195. </Layouts>
  196. <Objects>
  197. <Dataset id="ds_main_MnpmcartList_perfid_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  198. <ColumnInfo>
  199. <Column id="datacd" type="STRING"/>
  200. <Column id="datanm" type="STRING"/>
  201. <Column id="ncnt" type="STRING"/>
  202. <Column id="ucnt" type="STRING"/>
  203. <Column id="tcnt" type="STRING"/>
  204. </ColumnInfo>
  205. </Dataset>
  206. <Dataset id="ds_main_MnpmcartList_ccrtno_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  207. <ColumnInfo>
  208. <Column id="datacd" type="STRING"/>
  209. <Column id="datanm" type="STRING"/>
  210. <Column id="tcnt" type="STRING"/>
  211. <Column id="ucnt" type="STRING"/>
  212. <Column id="ncnt" type="STRING"/>
  213. </ColumnInfo>
  214. </Dataset>
  215. <Dataset id="ds_main_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged">
  216. <ColumnInfo>
  217. <Column id="fcheck" type="STRING"/>
  218. <Column id="goodcd" type="STRING"/>
  219. <Column id="allsizespecid" type="STRING"/>
  220. <Column id="calculyn" type="STRING"/>
  221. <Column id="goodengnm" type="STRING"/>
  222. <Column id="goodspec" type="STRING"/>
  223. <Column id="goodmodel" type="STRING"/>
  224. <Column id="makernm" type="STRING"/>
  225. <Column id="prcpunit" type="STRING"/>
  226. <Column id="payflagcd" type="STRING"/>
  227. <Column id="goodqty" type="STRING"/>
  228. <Column id="ccrtno" type="STRING"/>
  229. <Column id="cartgoodseq" type="STRING"/>
  230. <Column id="instcd" type="STRING"/>
  231. <Column id="goodcls" type="STRING"/>
  232. <Column id="deliveunit" type="STRING"/>
  233. <Column id="fromdd" type="STRING"/>
  234. <Column id="todd" type="STRING"/>
  235. <Column id="fcheck" type="STRING"/>
  236. <Column id="recstat" type="STRING"/>
  237. <Column id="custnm" type="STRING"/>
  238. <Column id="useflag" type="STRING"/>
  239. <Column id="goodflag" type="STRING"/>
  240. <Column id="prcpclscd" type="STRING"/>
  241. <Column id="drugmthdspccd" type="STRING"/>
  242. <Column id="stocqty" type="STRING"/>
  243. <Column id="acmlbaseqty" type="STRING"/>
  244. <Column id="reqmthd" type="STRING"/>
  245. <Column id="purcflag" type="STRING"/>
  246. <Column id="calcscorcd" type="STRING"/>
  247. <Column id="insuyn" type="STRING"/>
  248. </ColumnInfo>
  249. </Dataset>
  250. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  251. <ColumnInfo>
  252. <Column id="cdgrupid" type="STRING" size="256" sumtext="그룹아이디"/>
  253. <Column id="cdid" type="STRING" size="256" sumtext="아이디"/>
  254. <Column id="supcdid" type="STRING" size="256" sumtext="상위"/>
  255. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  256. </ColumnInfo>
  257. <Rows>
  258. <Row/>
  259. </Rows>
  260. </Dataset>
  261. <Dataset id="ds_init_hardcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  262. <ColumnInfo>
  263. <Column id="cdid" type="STRING" size="256" sumtext="단위코드"/>
  264. <Column id="cdnm" type="STRING" size="256" sumtext="단위명"/>
  265. </ColumnInfo>
  266. </Dataset>
  267. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="orddeptcd" type="STRING" size="256" sumtext=" 진료과 "/>
  270. <Column id="perfid" type="STRING" size="256" sumtext=" 집도의 "/>
  271. <Column id="ccrtno" type="STRING" size="256" sumtext=" CaseCart 번호 "/>
  272. <Column id="useflag" type="STRING" size="256" sumtext=" 사용여부 "/>
  273. <Column id="qryflag" type="STRING" size="256" sumtext=" Query 구분 1:진료과,2:집도의,2:CART 코드"/>
  274. <Column id="countyn" type="STRING" size="256" sumtext=" CART물품여부 "/>
  275. <Column id="cartgubn" type="STRING" size="256" sumtext=" Cart구분(O:수술,A:마취) "/>
  276. <Column id="anstkind" type="STRING" size="256" sumtext=" 마취종류(코드정의서 M0017 참조) "/>
  277. <Column id="anstageflag" type="STRING" size="256" sumtext=" 수술마취나이구분(코드 M0246 참조) "/>
  278. <Column id="callflag" type="STRING" size="256" sumtext="호출구분(CCDS:카트물픔등록 페이지)"/>
  279. <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
  280. <Column id="refnm" type="STRING" size="256" sumtext="검색명"/>
  281. <Column id="condflag" type="STRING" size="256" sumtext="한글영문구분"/>
  282. <Column id="opuseflag" type="STRING" size="256" sumtext="수술명사용구분"/>
  283. <Column id="opnm" type="STRING" size="256" sumtext="수술명사용구분"/>
  284. <Column id="cartgoodseq" type="STRING" size="256"/>
  285. <Column id="oprsrvno" type="STRING" size="256"/>
  286. <Column id="selectflag" type="STRING" size="256"/>
  287. <Column id="prcpflag" type="STRING" size="256"/>
  288. <Column id="oproomcd" type="STRING" size="256"/>
  289. <Column id="menuparam" type="STRING" size="256"/>
  290. <Column id="insukind" type="STRING" size="256"/>
  291. <Column id="payflagcd" type="STRING" size="256"/>
  292. <Column id="grupcd" type="STRING" size="256"/>
  293. <Column id="purcflag" type="STRING" size="256"/>
  294. <Column id="instcd" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. <Rows>
  297. <Row/>
  298. </Rows>
  299. </Dataset>
  300. <Dataset id="ds_init_Wk1802_codelists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="datacd" type="STRING" size="256" sumtext="진료과,집도의,CART 코드"/>
  303. <Column id="datanm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  304. <Column id="opengnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  305. <Column id="ophngnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
  306. <Column id="ucnt" type="STRING" size="256" sumtext="CART 사용건수 "/>
  307. <Column id="ncnt" type="STRING" size="256" sumtext="CART 미사용건수 "/>
  308. <Column id="tcnt" type="STRING" size="256" sumtext="총건수 "/>
  309. </ColumnInfo>
  310. </Dataset>
  311. <Dataset id="ds_init_Wk1802_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  312. <ColumnInfo>
  313. <Column id="goodengnm" type="STRING" size="256" sumtext=" 01 물품명 "/>
  314. <Column id="makernm" type="STRING" size="256" sumtext=" 02 제조원 "/>
  315. <Column id="goodqty" type="STRING" size="256" sumtext=" 03 수량 "/>
  316. <Column id="ccrtno" type="STRING" size="256" sumtext=" 04 Cart No "/>
  317. <Column id="cartgoodseq" type="STRING" size="256" sumtext=" 05 물품순번 "/>
  318. <Column id="goodcd" type="STRING" size="256" sumtext=" 07 물품코드 "/>
  319. <Column id="allsizespecid" type="STRING" size="256" sumtext=" 08 Size 코드 "/>
  320. <Column id="payflagcd" type="STRING" size="256" sumtext=" 09 급여구분 "/>
  321. <Column id="goodcls" type="STRING" size="256" sumtext=" 10 물품(처치)구분 "/>
  322. <Column id="goodspec" type="STRING" size="256" sumtext=" 11 Size내역 "/>
  323. <Column id="goodmodel" type="STRING" size="256" sumtext=" 12 물품모델 "/>
  324. <Column id="deliveunit" type="STRING" size="256" sumtext=" 13 물품단위 "/>
  325. <Column id="prcpunit" type="STRING" size="256" sumtext=" 14 처방단위 "/>
  326. <Column id="fromdd" type="STRING" size="256" sumtext=" 15 시작일자 "/>
  327. <Column id="todd" type="STRING" size="256" sumtext=" 16 종료일자 "/>
  328. <Column id="fcheck" type="STRING" size="256" sumtext=" 17 Check Flag "/>
  329. <Column id="recstat" type="STRING" size="256" sumtext=" 18 Record 구분 "/>
  330. <Column id="custnm" type="STRING" size="256" sumtext=" 19 제조원 "/>
  331. <Column id="useflag" type="STRING" size="256" sumtext=" 20 사용구분 "/>
  332. <Column id="goodflag" type="STRING" size="256" sumtext=" 21 물품구분 "/>
  333. <Column id="prcpclscd" type="STRING" size="256" sumtext=" 22 처방분류 "/>
  334. <Column id="drugmthdspccd" type="STRING" size="256" sumtext=" 23 투여방법 및 검체코드 "/>
  335. <Column id="stocqty" type="STRING" size="256" sumtext=" 24 해당 수술방의 실재고 "/>
  336. <Column id="acmlbaseqty" type="STRING" size="256" sumtext=" 25 물품 기준수량 "/>
  337. <Column id="reqmthd" type="STRING" size="256" sumtext=" 26 청구방법 "/>
  338. <Column id="purcflag" type="STRING" size="256" sumtext=" 27 구매구분 "/>
  339. <Column id="calculyn" type="STRING" size="256" sumtext=" 28 산정여부 "/>
  340. <Column id="insuyn" type="STRING" size="256" sumtext=" 29 수가여부"/>
  341. <Column id="calcscorcd" type="STRING" size="256" sumtext=" 30 수가코드"/>
  342. <Column id="grupcd" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
  343. <Column id="cartgubn" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
  344. </ColumnInfo>
  345. </Dataset>
  346. <Dataset id="ds_init_Wk1802_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  347. <ColumnInfo>
  348. <Column id="ccrtno" type="STRING" size="256"/>
  349. <Column id="useflag" type="STRING" size="256"/>
  350. <Column id="qryflag" type="STRING" size="256"/>
  351. <Column id="useyn" type="STRING" size="256"/>
  352. <Column id="orddeptcd" type="STRING" size="256"/>
  353. <Column id="insukind" type="STRING" size="256"/>
  354. <Column id="payflagcd" type="STRING" size="256"/>
  355. </ColumnInfo>
  356. <Rows>
  357. <Row/>
  358. </Rows>
  359. </Dataset>
  360. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="cartgubn" type="STRING" size="256"/>
  363. </ColumnInfo>
  364. <Rows>
  365. <Row/>
  366. </Rows>
  367. </Dataset>
  368. </Objects>
  369. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  370. * System Name : 경대 의료정보시스템
  371. * Job Name : emr_opanstxp -> SPMNP01805
  372. * Creator : yjh
  373. * Make Date : 2016-06-22
  374. * Description :
  375. *---------------------------------------------------------------------------------------
  376. * Modify Date Modifier Modify Description
  377. *---------------------------------------------------------------------------------------
  378. * 2016-06-22 yjh TF->XP
  379. *
  380. *---------------------------------------------------------------------------------------
  381. ****************************************************************************************/
  382. //=======================================================================================
  383. // Lib Include
  384. //---------------------------------------------------------------------------------------
  385. include "com_commonxp::comm_main.xjs";
  386. include "emr_opanstxp::SPMNP01805.xjs"; //yjh : 커밋
  387. //=======================================================================================
  388. // Global Form Variable
  389. //---------------------------------------------------------------------------------------
  390. //=======================================================================================
  391. // Function
  392. //---------------------------------------------------------------------------------------
  393. //=======================================================================================
  394. // Event
  395. //---------------------------------------------------------------------------------------
  396. /****************************************************************************************
  397. * Components : Form
  398. * Components ID : SPMNP01805
  399. * Event : oninit
  400. * Argument : 01.obj : Object Event has occurred
  401. * : 02.e : Event Object
  402. * Description : 화면 처음 초기화시
  403. ****************************************************************************************/
  404. function SPMNP01805_oninit(obj:Form, e:InitEventInfo)
  405. {
  406. frmf_initForm(obj); //폼 초기화
  407. }
  408. /****************************************************************************************
  409. * Components : Form
  410. * Components ID : SPMNP01805
  411. * Event : onload
  412. * Argument : 01.obj : Object Event has occurred
  413. * : 02.e : Event Object
  414. * Description : 화면 로딩 완료시
  415. ****************************************************************************************/
  416. function SPMNP01805_onload(obj:Form, e:LoadEventInfo)
  417. {
  418. ds_init_Wk1802_cond.setColumn(0, "useflag", "A");
  419. ds_init_Wk1802_cond.setColumn(0, "qryflag", "1");
  420. fInit();
  421. }
  422. /****************************************************************************************
  423. * Components : Grid
  424. * Components ID : grd_good
  425. * Event : onheadclick
  426. * Argument : 01.obj : Object Event has occurred
  427. * : 02.e : Event Object
  428. * Description : 그리드 체크박스 클릭시
  429. ****************************************************************************************/
  430. function grp_cartmain_grd_good_onheadclick(obj:Grid, e:GridClickEventInfo)
  431. {
  432. switch( e.col ){
  433. case 0 :
  434. if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
  435. obj.setCellProperty("Head", e.col, "expr", "1");
  436. grdf_setGridCheckAll(obj, e);
  437. }else{
  438. obj.setCellProperty("Head", e.col, "expr", "0");
  439. grdf_setGridCheckAll(obj, e);
  440. }
  441. break;
  442. default :
  443. break;
  444. }
  445. }
  446. /****************************************************************************************
  447. * Components : Dataset
  448. * Components ID : ds_main_MnphcagoLists_mnphcagolist
  449. * Event : oncolumnchanged
  450. * Argument : 01.obj : Object Event has occurred
  451. * : 02.e : Event Object
  452. * Description : 데이터셋 값 변경시
  453. ****************************************************************************************/
  454. function ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  455. {
  456. switch( e.columnid ){
  457. case "fcheck" :
  458. if( e.newvalue == "0" ){
  459. grp_cartmain.grd_good.setCellProperty("Head", 0, "expr", "0");
  460. }
  461. break;
  462. default :
  463. break;
  464. }
  465. }
  466. /****************************************************************************************
  467. * Components : CheckBox
  468. * Components ID : chk_useyn
  469. * Event : onclick
  470. * Argument : 01.obj : Object Event has occurred
  471. * : 02.e : Event Object
  472. * Description : 체크박스 클릭시
  473. ****************************************************************************************/
  474. function grp_cartmain_group2_chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
  475. {
  476. fRemoveNode(1);
  477. fRemoveNode(2);
  478. fRemoveNode(3);
  479. ds_init_Wk1802_cond.setColumn(0, "qryflag", "2");
  480. fMnpmcartData_Read(1, grp_cartmain.group2.grd_perfid, ds_init_Wk1802_cond.getColumn(0, "orddeptcd"));
  481. }
  482. /****************************************************************************************
  483. * Components : Grid
  484. * Components ID : grd_perfid
  485. * Event : oncellclick
  486. * Argument : 01.obj : Object Event has occurred
  487. * : 02.e : Event Object
  488. * Description : 그리드 셀 클릭시
  489. ****************************************************************************************/
  490. function grp_cartmain_group2_grd_perfid_oncellclick(obj:Grid, e:GridClickEventInfo)
  491. {
  492. fRemoveNode(2);
  493. fRemoveNode(3);
  494. ds_init_Wk1802_cond.setColumn(0, "qryflag", "3");
  495. fMnpmcartData_Read(2, grp_cartmain.group2.grd_ccrtno, ds_init_Wk1802_cond.getColumn(0, "orddeptcd"), ds_main_MnpmcartList_perfid_codelist.getColumn(ds_main_MnpmcartList_perfid_codelist.rowposition, "datacd"));
  496. }
  497. /****************************************************************************************
  498. * Components : Grid
  499. * Components ID : grd_ccrtno
  500. * Event : oncellclick
  501. * Argument : 01.obj : Object Event has occurred
  502. * : 02.e : Event Object
  503. * Description : 그리드 셀 클릭시
  504. ****************************************************************************************/
  505. function grp_cartmain_group2_grd_ccrtno_oncellclick(obj:Grid, e:GridClickEventInfo)
  506. {
  507. fRemoveNode(3);
  508. ds_init_Wk1802_cond.setColumn(0, "ccrtno", ds_main_MnpmcartList_ccrtno_codelist.getColumn(ds_main_MnpmcartList_ccrtno_codelist.rowposition, "datacd"));
  509. fMnphcagoRead(0, grp_cartmain.grd_good, ds_init_Wk1802_cond.getColumn(0, "ccrtno"), "");
  510. }
  511. /****************************************************************************************
  512. * Components : Button
  513. * Components ID : button12
  514. * Event : onclick
  515. * Argument : 01.obj : Object Event has occurred
  516. * : 02.e : Event Object
  517. * Description : 엑셀버튼 클릭시
  518. ****************************************************************************************/
  519. function grp_cartmain_button12_onclick(obj:Button, e:ClickEventInfo)
  520. {
  521. if( grp_cartmain.grd_good.rowcount > 0 ){
  522. grdf_exportExcel(grp_cartmain.grd_good, "Cart복사물품리스트", "Cart복사물품리스트", false, "", "user", false);
  523. } else {
  524. sysf_messageBox("조회된 데이터가 ", "I004");
  525. return;
  526. }
  527. }
  528. /****************************************************************************************
  529. * Components : Button
  530. * Components ID : bbt_append2
  531. * Event : onclick
  532. * Argument : 01.obj : Object Event has occurred
  533. * : 02.e : Event Object
  534. * Description : 추가버튼 클릭시
  535. ****************************************************************************************/
  536. function grp_cartmain_bbt_append2_onclick(obj:Button, e:ClickEventInfo)
  537. {
  538. fCopyGood();
  539. }
  540. ]]></Script>
  541. </Form>
  542. </FDL>