SPMNG00701_멸균품목내역.xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNG00701" position="absolute 0 0 747 714" titletext="멸균/세척품내역 조회" oninit="SPMNG00701_oninit" onload="SPMNG00701_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 18 747 714" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="roundrect1" type="roundrectangle" position="absolute 0 7 747 95" anchor="default"/>
  11. <Static text="청구부서" position="absolute 0 100 82 117" id="caption1" class="tit_2" anchor="default"/>
  12. <Shape position="absolute 0 116 312 122" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  13. <Button position="absolute 248 97 312 116" id="button1" class="btn2" text="선택적용" anchor="default" onclick="grp_biz_button1_onclick"/>
  14. <Grid position="absolute 0 121 312 673" id="grd_reqdinfinfolist" class="datagrid2" binddataset="ds_main_reqdinfinfo_reqdinfinfolist" autofittype="col" anchor="default" oncelldblclick="grp_biz_grd_reqdinfinfolist_oncelldblclick">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="20" band="left"/>
  19. <Column size="0"/>
  20. <Column size="34"/>
  21. <Column size="47"/>
  22. <Column size="3"/>
  23. <Column size="49"/>
  24. <Column size="143"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="28" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell/>
  36. <Cell col="1" text="선택"/>
  37. <Cell col="2" text="청구&#10;반납"/>
  38. <Cell col="3" text="청구&#10;구분"/>
  39. <Cell col="4" text="&#10;차수"/>
  40. <Cell col="5" text="청구&#10;차수"/>
  41. <Cell col="6" text="청구/반납 부서"/>
  42. <Cell col="7" text="reqdeptcd"/>
  43. <Cell col="8" text="reqdd"/>
  44. <Cell col="9" text="dinfdivs"/>
  45. <Cell col="10" text="caption1"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell celltype="head" expr="expr:currow + 1"/>
  49. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  50. <Cell col="2" displaytype="combo" style="align:center;" text="bind:reqrtnflag" combodataset="ds_cbo_reqrtnflag" combocodecol="value" combodatacol="label" enable="false"/>
  51. <Cell col="3" displaytype="combo" style="align:center;" text="bind:deliveflag" combodataset="ds_cbo_deliveflag" combocodecol="value" combodatacol="label" enable="false"/>
  52. <Cell col="4" displaytype="combo" text="bind:reqpridflag" enable="false"/>
  53. <Cell col="5" style="align:left top;padding:4 2 2 2;" text="bind:reqseqnm" wordwrap="word"/>
  54. <Cell col="6" text="bind:reqdeptnm"/>
  55. <Cell col="7" text="bind:reqdeptcd"/>
  56. <Cell col="8" text="bind:reqdd"/>
  57. <Cell col="9" text="bind:dinfdivs"/>
  58. <Cell col="10" text="bind:dutycd"/>
  59. </Band>
  60. </Format>
  61. </Formats>
  62. </Grid>
  63. <Shape position="absolute 668 32 674 73" linetype="vertical" id="line3" class="line_4" anchor="default"/>
  64. <Button position="absolute 681 40 737 62" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_biz_btn_search_onclick"/>
  65. <Static text="조회 조건 :" position="absolute 10 15 101 32" id="caption3" class="search_name" anchor="default"/>
  66. <Combo position="absolute 394 40 459 59" id="cmb_reqpridflag" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_cmb_reqpridflag_onitemchanged">
  67. <Dataset id="innerdataset">
  68. <ColumnInfo>
  69. <Column id="codecolumn"/>
  70. <Column id="datacolumn"/>
  71. </ColumnInfo>
  72. <Rows>
  73. <Row>
  74. <Col id="codecolumn">
  75. </Col>
  76. <Col id="datacolumn">전체</Col>
  77. </Row>
  78. <Row>
  79. <Col id="codecolumn">1</Col>
  80. <Col id="datacolumn">1차</Col>
  81. </Row>
  82. <Row>
  83. <Col id="codecolumn">2</Col>
  84. <Col id="datacolumn">2차</Col>
  85. </Row>
  86. <Row>
  87. <Col id="codecolumn">3</Col>
  88. <Col id="datacolumn">3차</Col>
  89. </Row>
  90. <Row>
  91. <Col id="codecolumn">-</Col>
  92. <Col id="datacolumn">응급</Col>
  93. </Row>
  94. </Rows>
  95. </Dataset>
  96. </Combo>
  97. <Static text="청구차수:" position="absolute 312 41 388 58" id="caption2" class="search_name" anchor="default"/>
  98. <Combo position="absolute 394 14 489 33" id="cmb_deptcd" class="combo_s_essential" innerdataset="@ds_init_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" anchor="default" onitemchanged="grp_biz_cmb_deptcd_onitemchanged"/>
  99. <Static text="부서구분 :" position="absolute 96 15 175 32" id="caption20" class="search_name" anchor="default"/>
  100. <Static text="청구부서 :" position="absolute 312 15 392 32" id="caption10" class="search_name" anchor="default"/>
  101. <Combo position="absolute 176 14 271 33" id="cmb_csrreqdeptcd" class="combo_s_essential" innerdataset="@ds_temp_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" anchor="default" onitemchanged="grp_biz_cmb_csrreqdeptcd_onitemchanged"/>
  102. <Static text="멸균구분 :" position="absolute 96 68 167 85" id="caption4" class="search_name" anchor="default"/>
  103. <Grid position="absolute 315 121 747 366" id="grd_reqdinfgoodinfolist" class="datagrid2" binddataset="ds_main_reqdinfdetlinfo_reqdinfgoodinfolist" autofittype="col" anchor="default" onheadclick="grp_biz_grd_reqdinfgoodinfolist_onheadclick" oncelldblclick="grp_biz_grd_reqdinfgoodinfolist_oncelldblclick">
  104. <Formats>
  105. <Format id="default">
  106. <Columns>
  107. <Column size="20" band="left"/>
  108. <Column size="37"/>
  109. <Column size="0"/>
  110. <Column size="37"/>
  111. <Column size="148"/>
  112. <Column size="51"/>
  113. <Column size="40"/>
  114. <Column size="40"/>
  115. <Column size="40"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. </Columns>
  129. <Rows>
  130. <Row size="28" band="head"/>
  131. <Row size="24"/>
  132. </Rows>
  133. <Band id="head">
  134. <Cell/>
  135. <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
  136. <Cell col="2" text="청구/반납 부서"/>
  137. <Cell col="3" text="물품&#13;&#10;코드"/>
  138. <Cell col="4" text="물품명"/>
  139. <Cell col="5" text="수술방"/>
  140. <Cell col="6" text="확인&#10;수량"/>
  141. <Cell col="7" text="멸균&#10;수량"/>
  142. <Cell col="8" text="잔여&#10;수량"/>
  143. <Cell col="9" text="잔여수량2"/>
  144. <Cell col="10" text="청구&#10;수량"/>
  145. <Cell col="11" text="netflag"/>
  146. <Cell col="12" text="instcd"/>
  147. <Cell col="13" text="reqdd"/>
  148. <Cell col="14" text="reqno"/>
  149. <Cell col="15" text="reqseqno"/>
  150. <Cell col="16" text="reqdeptcd"/>
  151. <Cell col="17" text="workdd"/>
  152. <Cell col="18" text="fixasetcd"/>
  153. <Cell col="19" text="goodflag"/>
  154. <Cell col="20" text="usetims"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell celltype="head" expr="currow + 1"/>
  158. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:chkyn == '1' || chkyn == 'Y' ? '1' : '0'"/>
  159. <Cell col="2" text="bind:reqdeptnm"/>
  160. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:goodcd" wordwrap="word"/>
  161. <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:goodnm" wordwrap="word"/>
  162. <Cell col="5" text="bind:oproomnm"/>
  163. <Cell col="6" text="bind:certdinfqty"/>
  164. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:dinfqty"/>
  165. <Cell col="8" edittype="none" text="bind:remainqty"/>
  166. <Cell col="9" text="bind:remainqty2"/>
  167. <Cell col="10" text="bind:reqdinfqty"/>
  168. <Cell col="11" text="bind:netflag"/>
  169. <Cell col="12" text="bind:instcd"/>
  170. <Cell col="13" text="bind:reqdd"/>
  171. <Cell col="14" text="bind:reqno"/>
  172. <Cell col="15" text="bind:reqseqno"/>
  173. <Cell col="16" text="bind:reqdeptcd"/>
  174. <Cell col="17" text="bind:workdd"/>
  175. <Cell col="18" text="bind:fixasetcd"/>
  176. <Cell col="19" text="bind:goodflag"/>
  177. <Cell col="20" text="bind:usetims"/>
  178. </Band>
  179. </Format>
  180. </Formats>
  181. </Grid>
  182. <Static text="청구멸균품 내역" position="absolute 315 100 439 116" id="caption7" class="tit_2" anchor="default"/>
  183. <Shape position="absolute 315 116 747 122" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
  184. <Static text="청구일자 :" position="absolute 96 41 175 58" id="cap_reqdd" class="search_name" anchor="default"/>
  185. <Calendar position="absolute 176 40 264 59" id="ipt_reqdd" class="input_s_essential" mask="yyyy-mm-dd" anchor="default" autoselect="true"/>
  186. <Radio position="absolute 176 70 541 85" id="rdo_dinfdivs" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" anchor="default">
  187. <Dataset id="innerdataset">
  188. <ColumnInfo>
  189. <Column id="codecolumn"/>
  190. <Column id="datacolumn"/>
  191. </ColumnInfo>
  192. <Rows>
  193. <Row>
  194. <Col id="codecolumn">
  195. </Col>
  196. <Col id="datacolumn">전체</Col>
  197. </Row>
  198. <Row>
  199. <Col id="codecolumn">1</Col>
  200. <Col id="datacolumn">고압증기멸균</Col>
  201. </Row>
  202. <Row>
  203. <Col id="codecolumn">2</Col>
  204. <Col id="datacolumn">가스멸균</Col>
  205. </Row>
  206. <Row>
  207. <Col id="codecolumn">3</Col>
  208. <Col id="datacolumn">건열멸균</Col>
  209. </Row>
  210. <Row>
  211. <Col id="codecolumn">4</Col>
  212. <Col id="datacolumn">플라즈마멸균</Col>
  213. </Row>
  214. </Rows>
  215. </Dataset>
  216. </Radio>
  217. <Button position="absolute 361 368 425 387" id="btn_acpt" class="btn2" text="선택적용" anchor="default" onclick="grp_biz_btn_acpt_onclick"/>
  218. <Grid position="absolute 315 389 747 673" id="grd_copyinfo" class="datagrid2" binddataset="ds_main_reqcopyinfo_reqdinfgoodinfolist" anchor="default" autofittype="col" oncelldblclick="grp_biz_grd_copyinfo_oncelldblclick">
  219. <Formats>
  220. <Format id="default">
  221. <Columns>
  222. <Column size="20" band="left"/>
  223. <Column size="29"/>
  224. <Column size="61"/>
  225. <Column size="28"/>
  226. <Column size="103"/>
  227. <Column size="52"/>
  228. <Column size="40"/>
  229. <Column size="40"/>
  230. <Column size="40"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. <Column size="0"/>
  243. </Columns>
  244. <Rows>
  245. <Row size="28" band="head"/>
  246. <Row size="24"/>
  247. </Rows>
  248. <Band id="head">
  249. <Cell/>
  250. <Cell col="1"/>
  251. <Cell col="2" text="청구/반납 "/>
  252. <Cell col="3" text="물품&#13;&#10;코드"/>
  253. <Cell col="4" text="물품명"/>
  254. <Cell col="5" text="수술방"/>
  255. <Cell col="6" text="확인&#10;수량"/>
  256. <Cell col="7" text="멸균&#10;수량"/>
  257. <Cell col="8" text="잔여&#10;수량"/>
  258. <Cell col="9" text="잔여수량2"/>
  259. <Cell col="10" text="청구&#10;수량"/>
  260. <Cell col="11" text="netflag"/>
  261. <Cell col="12" text="instcd"/>
  262. <Cell col="13" text="reqdd"/>
  263. <Cell col="14" text="reqno"/>
  264. <Cell col="15" text="reqseqno"/>
  265. <Cell col="16" text="reqdeptcd"/>
  266. <Cell col="17" text="workdd"/>
  267. <Cell col="18" text="fixasetcd"/>
  268. <Cell col="19" text="goodflag"/>
  269. <Cell col="20" text="usetims"/>
  270. </Band>
  271. <Band id="body">
  272. <Cell celltype="head" expr="currow + 1"/>
  273. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  274. <Cell col="2" text="bind:reqdeptnm"/>
  275. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:goodcd" wordwrap="word"/>
  276. <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:goodnm" wordwrap="word"/>
  277. <Cell col="5" text="bind:oproomnm"/>
  278. <Cell col="6" text="bind:certdinfqty"/>
  279. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:dinfqty"/>
  280. <Cell col="8" edittype="none" text="bind:remainqty"/>
  281. <Cell col="9" text="bind:remainqty2"/>
  282. <Cell col="10" text="bind:reqdinfqty"/>
  283. <Cell col="11" text="bind:netflag"/>
  284. <Cell col="12" text="bind:instcd"/>
  285. <Cell col="13" text="bind:reqdd"/>
  286. <Cell col="14" text="bind:reqno"/>
  287. <Cell col="15" text="bind:reqseqno"/>
  288. <Cell col="16" text="bind:reqdeptcd"/>
  289. <Cell col="17" text="bind:workdd"/>
  290. <Cell col="18" text="bind:fixasetcd"/>
  291. <Cell col="19" text="bind:goodflag"/>
  292. <Cell col="20" text="bind:usetims"/>
  293. </Band>
  294. </Format>
  295. </Formats>
  296. </Grid>
  297. <Button position="absolute 317 368 359 387" id="button2" class="btn2" text="복사" anchor="default" onclick="grp_biz_button2_onclick"/>
  298. <Radio position="absolute 556 60 656 95" id="radio2" visible="false" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  299. <Dataset id="innerdataset">
  300. <ColumnInfo>
  301. <Column id="codecolumn"/>
  302. <Column id="datacolumn"/>
  303. </ColumnInfo>
  304. <Rows>
  305. <Row>
  306. <Col id="codecolumn">D</Col>
  307. <Col id="datacolumn">멸균</Col>
  308. </Row>
  309. <Row>
  310. <Col id="codecolumn">W</Col>
  311. <Col id="datacolumn">세척</Col>
  312. </Row>
  313. </Rows>
  314. </Dataset>
  315. </Radio>
  316. <Radio position="absolute 176 70 546 85" id="rdo_cleanflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" anchor="default">
  317. <Dataset id="innerdataset">
  318. <ColumnInfo>
  319. <Column id="codecolumn"/>
  320. <Column id="datacolumn"/>
  321. </ColumnInfo>
  322. <Rows>
  323. <Row>
  324. <Col id="codecolumn">
  325. </Col>
  326. <Col id="datacolumn">전체</Col>
  327. </Row>
  328. <Row>
  329. <Col id="codecolumn">1</Col>
  330. <Col id="datacolumn">게팅게</Col>
  331. </Row>
  332. <Row>
  333. <Col id="codecolumn">2</Col>
  334. <Col id="datacolumn">밀레</Col>
  335. </Row>
  336. <Row>
  337. <Col id="codecolumn">3</Col>
  338. <Col id="datacolumn">손세척</Col>
  339. </Row>
  340. </Rows>
  341. </Dataset>
  342. </Radio>
  343. <CheckBox position="absolute 526 42 646 57" id="chk_dressingyn" anchor="default" text="Dressing세트만" truevalue="Y" onclick="grp_biz_chk_dressingyn_onclick"/>
  344. <Static text="Dressing Set만 조회시에는 CSR물품 마스터에 Dressing Set유무를 'Y'로 지정 하셔야만 가능합니다." position="absolute 5 675 735 695" id="caption5" anchor="default" style="font:Dotum,9,bold;"/>
  345. <CheckBox id="chk_nodressing" taborder="1" text="Dressing세트 제외" truevalue="N" position="absolute 526 18 646 33" anchor="default" onclick="grp_biz_chk_nodressing_onclick"/>
  346. </Layout>
  347. </Layouts>
  348. </Div>
  349. <Static text="멸균/세척품내역 조회" position="absolute 0 0 186 25" id="caption6" class="tit_1"/>
  350. </Layout>
  351. </Layouts>
  352. <Objects>
  353. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  354. <ColumnInfo>
  355. <Column id="srchflag" type="STRING" size="256"/>
  356. <Column id="csrreqdeptcd" type="STRING" size="256"/>
  357. <Column id="reqdeptcd" type="STRING" size="256"/>
  358. <Column id="reqpridflag" type="STRING" size="256"/>
  359. <Column id="delivestat" type="STRING" size="256"/>
  360. <Column id="rtnflag" type="STRING" size="256"/>
  361. <Column id="reqdd" type="STRING" size="256"/>
  362. <Column id="goodflag" type="STRING" size="256"/>
  363. <Column id="dinfdivs" type="STRING" size="256"/>
  364. <Column id="dutycd" type="STRING" size="256"/>
  365. <Column id="dressingyn" type="STRING" size="256"/>
  366. <Column id="nodressing" type="STRING" size="256" sumtext="드레싱 세트만 제외"/>
  367. </ColumnInfo>
  368. <Rows>
  369. <Row>
  370. <Col id="srchflag">01</Col>
  371. <Col id="csrreqdeptcd"/>
  372. <Col id="reqdeptcd"/>
  373. <Col id="reqpridflag"/>
  374. <Col id="delivestat">bfdlv</Col>
  375. <Col id="rtnflag"/>
  376. <Col id="reqdd"/>
  377. <Col id="goodflag"/>
  378. <Col id="dinfdivs"/>
  379. <Col id="dutycd"/>
  380. <Col id="dressingyn"/>
  381. </Row>
  382. </Rows>
  383. </Dataset>
  384. <Dataset id="ds_main_reqdinfinfo_reqdinfinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="deliveflag" type="STRING" size="255"/>
  387. <Column id="reqpridflag" type="STRING" size="255"/>
  388. <Column id="reqdeptnm" type="STRING" size="255"/>
  389. <Column id="reqdeptcd" type="STRING" size="255"/>
  390. <Column id="reqdd" type="STRING" size="255"/>
  391. <Column id="dinfdivs" type="STRING" size="255"/>
  392. <Column id="dutycd" type="STRING" size="255"/>
  393. <Column id="reqrtnflag" type="STRING" size="255"/>
  394. <Column id="reqseqnm" type="STRING" size="255"/>
  395. </ColumnInfo>
  396. </Dataset>
  397. <Dataset id="ds_main_reqdinfdetlinfo_reqdinfgoodinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqdinfdetlinfo_reqdinfgoodinfolist_oncolumnchanged">
  398. <ColumnInfo>
  399. <Column id="chkyn" type="STRING" size="255"/>
  400. <Column id="goodcd" type="STRING" size="255"/>
  401. <Column id="goodnm" type="STRING" size="255"/>
  402. <Column id="certdinfqty" type="BIGDECIMAL" size="255"/>
  403. <Column id="reqdinfqty" type="BIGDECIMAL" size="255"/>
  404. <Column id="instcd" type="STRING" size="255"/>
  405. <Column id="reqdd" type="STRING" size="255"/>
  406. <Column id="reqno" type="STRING" size="255"/>
  407. <Column id="reqseqno" type="STRING" size="255"/>
  408. <Column id="reqdeptcd" type="STRING" size="255"/>
  409. <Column id="netflag" type="STRING" size="255"/>
  410. <Column id="reqdeptnm" type="STRING" size="255"/>
  411. <Column id="aldinfqty" type="BIGDECIMAL" size="255"/>
  412. <Column id="dinfqty" type="BIGDECIMAL" size="255"/>
  413. <Column id="remainqty" type="BIGDECIMAL" size="255"/>
  414. <Column id="dutycd" type="STRING" size="255"/>
  415. <Column id="reqrtnflag" type="STRING" size="255"/>
  416. <Column id="deliveseqno" type="STRING" size="255"/>
  417. <Column id="rtnseqno" type="STRING" size="255"/>
  418. <Column id="oproomnm" type="STRING" size="255"/>
  419. </ColumnInfo>
  420. </Dataset>
  421. <Dataset id="ds_main_reqcopyinfo_reqdinfgoodinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  422. <ColumnInfo>
  423. <Column id="chkyn" type="STRING" size="255"/>
  424. <Column id="goodcd" type="STRING" size="255"/>
  425. <Column id="goodnm" type="STRING" size="255"/>
  426. <Column id="certdinfqty" type="BIGDECIMAL" size="255"/>
  427. <Column id="reqdinfqty" type="BIGDECIMAL" size="255"/>
  428. <Column id="instcd" type="STRING" size="255"/>
  429. <Column id="reqdd" type="STRING" size="255"/>
  430. <Column id="reqno" type="STRING" size="255"/>
  431. <Column id="reqseqno" type="STRING" size="255"/>
  432. <Column id="reqdeptcd" type="STRING" size="255"/>
  433. <Column id="netflag" type="STRING" size="255"/>
  434. <Column id="reqdeptnm" type="STRING" size="255"/>
  435. <Column id="aldinfqty" type="BIGDECIMAL" size="255"/>
  436. <Column id="dinfqty" type="BIGDECIMAL" size="255"/>
  437. <Column id="remainqty" type="BIGDECIMAL" size="255"/>
  438. <Column id="dutycd" type="STRING" size="255"/>
  439. <Column id="reqrtnflag" type="STRING" size="255"/>
  440. <Column id="deliveseqno" type="STRING" size="255"/>
  441. <Column id="rtnseqno" type="STRING" size="255"/>
  442. <Column id="oproomnm" type="STRING" size="255"/>
  443. </ColumnInfo>
  444. </Dataset>
  445. <Dataset id="ds_temp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  446. <ColumnInfo>
  447. <Column id="instcd" type="STRING" size="255"/>
  448. <Column id="csrreqdeptcd" type="STRING" size="255"/>
  449. <Column id="csrreqdeptnm" type="STRING" size="255"/>
  450. <Column id="useyn" type="STRING" size="255"/>
  451. <Column id="updtspec" type="STRING" size="255"/>
  452. <Column id="cmt" type="STRING" size="255"/>
  453. <Column id="fstrgstrid" type="STRING" size="255"/>
  454. <Column id="fstrgstrnm" type="STRING" size="255"/>
  455. <Column id="fstrgstdt" type="STRING" size="255"/>
  456. <Column id="lastupdtrid" type="STRING" size="255"/>
  457. <Column id="lastupdtrnm" type="STRING" size="255"/>
  458. <Column id="lastupdtdt" type="STRING" size="255"/>
  459. </ColumnInfo>
  460. </Dataset>
  461. <Dataset id="ds_init_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  462. <ColumnInfo>
  463. <Column id="deptcd" type="STRING" size="255"/>
  464. <Column id="deptnm" type="STRING" size="255"/>
  465. <Column id="csrreqdeptcd" type="STRING" size="255"/>
  466. <Column id="csrreqdeptnm" type="STRING" size="255"/>
  467. <Column id="useyn" type="STRING" size="255"/>
  468. <Column id="cmt" type="STRING" size="255"/>
  469. <Column id="lastupdtrid" type="STRING" size="255"/>
  470. <Column id="lastupdtrnm" type="STRING" size="255"/>
  471. <Column id="lastupdtdt" type="STRING" size="255"/>
  472. <Column id="fstrgstdt" type="STRING" size="255"/>
  473. <Column id="instcd" type="STRING" size="255"/>
  474. </ColumnInfo>
  475. </Dataset>
  476. <Dataset id="ds_cond_reqpridflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  477. <ColumnInfo>
  478. <Column id="label" type="STRING" size="256"/>
  479. <Column id="value" type="STRING" size="256"/>
  480. </ColumnInfo>
  481. <Rows>
  482. <Row>
  483. <Col id="label">전체</Col>
  484. </Row>
  485. <Row>
  486. <Col id="label">1차</Col>
  487. <Col id="value">1</Col>
  488. </Row>
  489. <Row>
  490. <Col id="value">2</Col>
  491. <Col id="label">2차</Col>
  492. </Row>
  493. <Row>
  494. <Col id="value">3</Col>
  495. <Col id="label">3차</Col>
  496. </Row>
  497. <Row>
  498. <Col id="value">-</Col>
  499. <Col id="label">응급</Col>
  500. </Row>
  501. </Rows>
  502. </Dataset>
  503. <Dataset id="ds_cbo_reqrtnflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  504. <ColumnInfo>
  505. <Column id="label" type="STRING" size="256"/>
  506. <Column id="value" type="STRING" size="256"/>
  507. </ColumnInfo>
  508. <Rows>
  509. <Row>
  510. <Col id="label">청구</Col>
  511. <Col id="value">1</Col>
  512. </Row>
  513. <Row>
  514. <Col id="value">2</Col>
  515. <Col id="label">반납</Col>
  516. </Row>
  517. </Rows>
  518. </Dataset>
  519. <Dataset id="ds_cbo_deliveflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  520. <ColumnInfo>
  521. <Column id="label" type="STRING" size="256"/>
  522. <Column id="value" type="STRING" size="256"/>
  523. </ColumnInfo>
  524. <Rows>
  525. <Row>
  526. <Col id="label">정규</Col>
  527. <Col id="value">1</Col>
  528. </Row>
  529. <Row>
  530. <Col id="label">응급</Col>
  531. <Col id="value">2</Col>
  532. </Row>
  533. </Rows>
  534. </Dataset>
  535. <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  536. <ColumnInfo>
  537. <Column id="instcd" type="STRING" size="256"/>
  538. <Column id="useyn" type="STRING" size="256"/>
  539. </ColumnInfo>
  540. </Dataset>
  541. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  542. <ColumnInfo>
  543. <Column id="instcd" type="STRING" size="256"/>
  544. <Column id="deptcd" type="STRING" size="256"/>
  545. <Column id="refcond" type="STRING" size="256"/>
  546. <Column id="csrreqdeptcd" type="STRING" size="256"/>
  547. <Column id="useyn" type="STRING" size="256"/>
  548. </ColumnInfo>
  549. </Dataset>
  550. <Dataset id="ds_hidden_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  551. <ColumnInfo>
  552. <Column id="deptcd" type="STRING" size="255"/>
  553. <Column id="depthngnm" type="STRING" size="255"/>
  554. <Column id="csrreqdeptcd2" type="STRING" size="255"/>
  555. </ColumnInfo>
  556. </Dataset>
  557. </Objects>
  558. <Bind>
  559. <BindItem id="item0" compid="grp_biz.cmb_csrreqdeptcd" propid="value" datasetid="ds_cond" columnid="csrreqdeptcd"/>
  560. <BindItem id="item1" compid="grp_biz.cmb_deptcd" propid="value" datasetid="ds_cond" columnid="reqdeptcd"/>
  561. <BindItem id="item2" compid="grp_biz.ipt_reqdd" propid="value" datasetid="ds_cond" columnid="reqdd"/>
  562. <BindItem id="item3" compid="grp_biz.cmb_reqpridflag" propid="value" datasetid="ds_cond" columnid="reqpridflag"/>
  563. <BindItem id="item4" compid="grp_biz.radio2" propid="value" datasetid="ds_cond" columnid="dutycd"/>
  564. <BindItem id="item5" compid="grp_biz.rdo_cleanflag" propid="value" datasetid="ds_cond" columnid="dinfdivs"/>
  565. <BindItem id="item6" compid="grp_biz.rdo_dinfdivs" propid="value" datasetid="ds_cond" columnid="dinfdivs"/>
  566. <BindItem id="item7" compid="grp_biz.chk_dressingyn" propid="value" datasetid="ds_cond" columnid="dressingyn"/>
  567. <BindItem id="item8" compid="grp_biz.chk_nodressing" propid="value" datasetid="ds_cond" columnid="nodressing"/>
  568. </Bind>
  569. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  570. * System Name :
  571. * Job Name :
  572. * Creator :
  573. * Make Date : 2017-07-11
  574. * Description :
  575. *---------------------------------------------------------------------------------------
  576. * Modify Date Modifier Modify Description
  577. *---------------------------------------------------------------------------------------
  578. * 2017-07-11 Live Converter TF->XP
  579. *
  580. *---------------------------------------------------------------------------------------
  581. ****************************************************************************************/
  582. include "com_commonxp::comm_main.xjs";
  583. var arErrorCode = new HashArray();
  584. function SPMNG00701_oninit(obj:Form, e:InitEventInfo)
  585. {
  586. frmf_initForm(obj); //폼 초기화
  587. }
  588. function SPMNG00701_onload(obj:Form, e:LoadEventInfo)
  589. {
  590. fInitialize();
  591. }
  592. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  593. function fInitialize()
  594. {
  595. dsf_makeValue(ds_cond, "dressingyn", "string", "");
  596. var dinfHeader = "^청구/반납^물품\n코드^물품명^수술방^확인\n수량^멸균\n수량^잔여\n수량^청구\n수량^netflag^instcd^reqdd^reqno^reqseqno^reqdeptcd^workdd^fixasetcd^goodflag^usetims";
  597. var cleanHeader = "^청구/반납^물품\n코드^물품명^수술방^확인\n수량^세척\n수량^잔여\n수량^청구\n수량^netflag^instcd^reqdd^reqno^reqseqno^reqdeptcd^workdd^fixasetcd^goodflag^usetims";
  598. frmf_clearParameter("dutycd");
  599. var dutycd = opener.frmf_getParameter("dutycd");
  600. var divscd = opener.frmf_getParameter("divscd");
  601. ds_cond.setColumn(0, "dutycd", dutycd);
  602. if(dutycd == "W") {
  603. grp_biz.caption4.text = "세척구분";
  604. grp_biz.caption7.text = "세척품 내역";
  605. grp_biz.grd_reqdinfgoodinfolist.setCellProperty("Head", 7, "text", "세척\n수량");
  606. //grp_biz.grd_reqdinfgoodinfolist.caption = cleanHeader;
  607. //grp_biz.grd_copyinfo.caption = cleanHeader;
  608. grp_biz.rdo_dinfdivs.visible = false;
  609. grp_biz.rdo_cleanflag.visible = true;
  610. } else {
  611. grp_biz.caption4.text = "멸균구분";
  612. grp_biz.caption7.text = "청구멸균품 내역";
  613. //grd_reqdinfgoodinfolist.caption = dinfHeader;
  614. //grd_copyinfo.caption = dinfHeader;
  615. grp_biz.rdo_dinfdivs.visible = true;
  616. grp_biz.rdo_cleanflag.visible = false;
  617. if(!utlf_isNull(divscd)) {
  618. if(divscd == "AC" || divscd == "ST") {
  619. grp_biz.rdo_dinfdivs.value= "1";
  620. } else if(divscd == "DH") {
  621. grp_biz.rdo_dinfdivs.value= "3";
  622. } else if(divscd == "EO") {
  623. grp_biz.rdo_dinfdivs.value= "2";
  624. } else if(divscd == "PL") {
  625. grp_biz.rdo_dinfdivs.value= "4";
  626. }
  627. }
  628. }
  629. ds_main_reqdinfinfo_reqdinfinfolist.clearData();
  630. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.clearData();
  631. ds_cond.setColumn(0, "reqdd", utlf_getCurrentDate());
  632. dsf_makeValue(ds_send_goodreq, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  633. dsf_makeValue(ds_send_goodreq, "useyn", "string", "Y");
  634. dsf_makeValue(ds_cond, "srchflag", "string", "D");
  635. //부서구분 조회
  636. var oParam = {};
  637. oParam.id = "TRMNG00401";
  638. oParam.service = "csrapp.CsrMngt";
  639. oParam.method = "reqGetDeptFlagList";
  640. oParam.inds = "req=ds_send_goodreq";
  641. oParam.outds = "ds_temp_csrreqdeptlist=csrreqdeptlist";
  642. oParam.async = false;
  643. tranf_submit(oParam);
  644. frmf_addComboItem( "grp_biz.cmb_csrreqdeptcd", "전체", "", "above");
  645. grp_biz.cmb_csrreqdeptcd.value = "";
  646. ds_send_reqdata.clearData();
  647. dsf_makeValue(ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  648. dsf_makeValue(ds_send_reqdata, "deptcd", "string", sysf_getUserInfo("dutplcecd"));
  649. dsf_makeValue(ds_send_reqdata, "refcond", "string", "deptcd");
  650. var oParam = {};
  651. oParam.id = "TRMNG00303";
  652. oParam.service = "csrapp.CsrMngt";
  653. oParam.method = "reqGetCsrDeptList2";
  654. oParam.inds = "req=ds_send_reqdata";
  655. oParam.outds = "ds_hidden_deptcodelist=deptcodelist";
  656. oParam.async = false;
  657. tranf_submit(oParam);
  658. ds_send_reqdata.clearData();
  659. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", grp_biz.cmb_csrreqdeptcd.value);
  660. dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
  661. var oParam = {};
  662. oParam.id = "TRMNG00402";
  663. oParam.service = "csrapp.CsrMngt";
  664. oParam.method = "getCsrDeptList";
  665. oParam.inds = "req=ds_send_reqdata";
  666. oParam.outds = "ds_init_csrdeptlist=csrdeptlist";
  667. oParam.async = false;
  668. tranf_submit(oParam);
  669. frmf_addComboItem("grp_biz.cmb_deptcd", "전체", "", "above");
  670. grp_biz.cmb_deptcd.value = "";
  671. ds_cond.setColumn(0, "reqdeptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
  672. fSerachData();
  673. //grd_reqdinfgoodinfolist.fixedcellcheckbox(0,1) = true;
  674. ds_main_reqcopyinfo_reqdinfgoodinfolist.clearData();
  675. }
  676. function fSerachData()
  677. {
  678. var oParam = {};
  679. oParam.id = "TRMNG00703";
  680. oParam.service = "csrapp.CsrMngt";
  681. oParam.method = "reqGetDinfList";
  682. oParam.inds = "cond=ds_cond";
  683. oParam.outds = "ds_main_reqdinfinfo_reqdinfinfolist=reqdinfinfolist";
  684. oParam.async = false;
  685. tranf_submit(oParam);
  686. if( utlf_isNull(ds_main_reqdinfinfo_reqdinfinfolist.getColumnInfo("chkyn")) ){
  687. ds_main_reqdinfinfo_reqdinfinfolist.addColumn("chkyn", "string");
  688. }
  689. }
  690. function grp_biz_btn_search_onclick(obj:Button, e:ClickEventInfo)
  691. {
  692. fSerachData();
  693. }
  694. function grp_biz_cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  695. {
  696. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", grp_biz.cmb_csrreqdeptcd.value);
  697. dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
  698. var oParam = {};
  699. oParam.id = "TRMNG00402";
  700. oParam.service = "csrapp.CsrMngt";
  701. oParam.method = "getCsrDeptList";
  702. oParam.inds = "req=ds_send_reqdata";
  703. oParam.outds = "ds_init_csrdeptlist=csrdeptlist";
  704. oParam.async = false;
  705. tranf_submit(oParam);
  706. frmf_addComboItem("grp_biz.cmb_deptcd", "전체", "", "above");
  707. grp_biz.cmb_deptcd.value = "";
  708. ds_send_reqdata.clearData();
  709. fSerachData();
  710. }
  711. function grp_biz_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  712. {
  713. fSerachData();
  714. }
  715. function grp_biz_cmb_reqpridflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  716. {
  717. fSerachData();
  718. }
  719. function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
  720. {
  721. var chkyn;
  722. var param = "";
  723. var goodnm = "";
  724. for(var i = 0; i < ds_main_reqdinfinfo_reqdinfinfolist.rowcount; i++) {
  725. chkyn = ds_main_reqdinfinfo_reqdinfinfolist.getColumn(i, "chkyn");
  726. reqdeptnm = ds_main_reqdinfinfo_reqdinfinfolist.getColumn(i, "reqdeptnm");
  727. if(chkyn == "Y" || chkyn == "1") {
  728. param += reqdeptnm;
  729. if((i+1) != ds_main_reqdinfinfo_reqdinfinfolist.rowcount) { //마지막 데이터가 아니라면
  730. param += "\n";
  731. }
  732. }
  733. }
  734. if ( frmf_checkOpener() ) {
  735. opener.frmf_setParameter("param",param);
  736. } else {
  737. var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
  738. opener.frmf_setParameter("param","");
  739. }
  740. this.close();
  741. }
  742. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  743. {
  744. var node = ds_main_reqcopyinfo_reqdinfgoodinfolist;
  745. var chkyn;
  746. if(node.rowcount > 0) {
  747. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.filter("chkyn=='Y'");
  748. for( var i=0 ; i<ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.rowcount ; i++ ){
  749. ds_main_reqcopyinfo_reqdinfgoodinfolist.insertRow(i);
  750. ds_main_reqcopyinfo_reqdinfgoodinfolist.copyRow(i, ds_main_reqdinfdetlinfo_reqdinfgoodinfolist, i);
  751. }
  752. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.filter("");
  753. } else {
  754. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.filter("chkyn=='Y'");
  755. ds_main_reqcopyinfo_reqdinfgoodinfolist.copyData(ds_main_reqdinfdetlinfo_reqdinfgoodinfolist, true);
  756. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.filter("");
  757. }
  758. }
  759. function grp_biz_btn_acpt_onclick(obj:Button, e:ClickEventInfo)
  760. {
  761. if(ds_main_reqcopyinfo_reqdinfgoodinfolist.rowcount < 0) {
  762. sysf_sysf_messageBox("선택된 물품이 없습니다.", "E");
  763. return;
  764. }
  765. opener.ds_tmp_reqdinfdetlinfo_reqdinfgoodinfolist.copyData(ds_main_reqcopyinfo_reqdinfgoodinfolist);
  766. sysf_setModelProperty("chkflag","Y");
  767. this.close();
  768. }
  769. function grp_biz_grd_reqdinfinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  770. {
  771. if(e.row < 0 || e.col < 0) return;
  772. if(grp_biz.grd_reqdinfinfolist.currentcol != grp_biz.grd_reqdinfinfolist.getBindCellIndex("body", "chkyn")){
  773. var iRow = ds_main_reqdinfinfo_reqdinfinfolist.rowposition;
  774. dsf_makeValue(ds_send_reqdata, "reqdd" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "reqdd"));
  775. dsf_makeValue(ds_send_reqdata, "deliveflag" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "deliveflag"));
  776. dsf_makeValue(ds_send_reqdata, "reqpridflag", "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "reqpridflag"));
  777. dsf_makeValue(ds_send_reqdata, "reqdeptcd" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "reqdeptcd"));
  778. dsf_makeValue(ds_send_reqdata, "dinfdivs" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "dinfdivs"));
  779. dsf_makeValue(ds_send_reqdata, "dutycd" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "dutycd"));
  780. dsf_makeValue(ds_send_reqdata, "reqrtnflag" , "string", ds_main_reqdinfinfo_reqdinfinfolist.getColumn(iRow, "reqrtnflag"));
  781. dsf_makeValue(ds_send_reqdata, "dressingyn" , "string", ds_cond.getColumn(0, "dressingyn"));
  782. dsf_makeValue(ds_send_reqdata, "nodressing" , "string", ds_cond.getColumn(0, "nodressing"));
  783. var oParam = {};
  784. oParam.id = "TRMNG00704";
  785. oParam.service = "csrapp.CsrMngt";
  786. oParam.method = "reqGetDinfDetlList";
  787. oParam.inds = "req=ds_send_reqdata";
  788. oParam.outds = "ds_main_reqdinfdetlinfo_reqdinfgoodinfolist=reqdinfgoodinfolist";
  789. oParam.async = false;
  790. oParam.callback = "cf_TRMNG00704";
  791. tranf_submit(oParam);
  792. if(arErrorCode.pop("TRMNG00704") > -1){
  793. ds_send_reqdata.clearData();
  794. }
  795. }
  796. }
  797. function cf_TRMNG00704(sSvcId, nErrorCode, sErrorMsg) {
  798. arErrorCode.push(sSvcId, nErrorCode);
  799. }
  800. function grp_biz_chk_dressingyn_onclick(obj:CheckBox, e:ClickEventInfo)
  801. {
  802. if( obj.value != "Y" ){
  803. ds_cond.setColumn(0, "dressingyn", "");
  804. }
  805. else{
  806. ds_cond.setColumn(0, "nodressing", "");
  807. }
  808. }
  809. function grp_biz_grd_reqdinfgoodinfolist_onheadclick(obj:Grid, e:GridClickEventInfo)
  810. {
  811. switch( e.col ){
  812. case 1 :
  813. if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
  814. obj.setCellProperty("Head", e.col, "expr", "1");
  815. }else{
  816. obj.setCellProperty("Head", e.col, "expr", "0");
  817. }
  818. grdf_setGridCheckAll(obj, e);
  819. break;
  820. default :
  821. break;
  822. }
  823. }
  824. function ds_main_reqdinfdetlinfo_reqdinfgoodinfolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  825. {
  826. switch( e.columnid ){
  827. case "chkyn" :
  828. if( e.newvalue == "1" || e.newvalue == "Y" ){
  829. obj.setColumn(e.row, e.columnid, "Y");
  830. }else{
  831. obj.setColumn(e.row, e.columnid, "N");
  832. }
  833. break;
  834. default :
  835. break;
  836. }
  837. var dinfqty = parseInt(ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "dinfqty"));
  838. var remainqty = parseInt(ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "remainqty"));
  839. if(dinfqty > remainqty) {
  840. sysf_messageBox("멸균수량은 잔여수량보다 클 수 업습니다.", "E");
  841. ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.setColumn(e.row, "dinfqty", remainqty);
  842. return;
  843. }
  844. }
  845. function grp_biz_grd_copyinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  846. {
  847. var netflag = ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "netflag");
  848. if(netflag == "Y") {
  849. sysf_setModelProperty("instcd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "instcd"));
  850. sysf_setModelProperty("reqdd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdd"));
  851. sysf_setModelProperty("reqno", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqno"));
  852. sysf_setModelProperty("reqseqno", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqseqno"));
  853. sysf_setModelProperty("reqdeptcd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdeptcd"));
  854. sysf_setModelProperty("reqdeptnm", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdeptnm"));
  855. frmf_modal("SPMNG01102","SPMNG01102",null,"",1,1,1,"","","","","","M");
  856. }
  857. }
  858. function grp_biz_grd_reqdinfgoodinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  859. {
  860. var netflag = ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "netflag");
  861. if(netflag == "Y" && e.col != grp_biz.grd_reqdinfgoodinfolist.getBindCellIndex("body", "dinfqty")) {
  862. sysf_setModelProperty("instcd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "instcd"));
  863. sysf_setModelProperty("reqdd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdd"));
  864. sysf_setModelProperty("reqno", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqno"));
  865. sysf_setModelProperty("reqseqno", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqseqno"));
  866. sysf_setModelProperty("reqdeptcd", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdeptcd"));
  867. sysf_setModelProperty("reqdeptnm", ds_main_reqdinfdetlinfo_reqdinfgoodinfolist.getColumn(e.row, "reqdeptnm"));
  868. frmf_modal("SPMNG01102","SPMNG01102",null,"",1,1,1,"","","","","","M");
  869. }
  870. }
  871. //20180825 이돈희 : 드레싱 세트만 제외하고 조회기능 추가(곽진영)
  872. function grp_biz_chk_nodressing_onclick(obj:CheckBox, e:ClickEventInfo)
  873. {
  874. if( obj.value != "N" ){
  875. ds_cond.setColumn(0, "nodressing", "");
  876. }
  877. else{
  878. ds_cond.setColumn(0, "dressingyn", "");
  879. }
  880. }
  881. ]]></Script>
  882. </Form>
  883. </FDL>