SMRSD00400_물품청구관리.xfdl 130 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSD00400" position="absolute 0 0 1200 778" titletext="물품청구관리" oninit="SMRSD00400_oninit" onload="SMRSD00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="swt_search" taborder="3" tabindex="0" position="absolute 0 121 584 771" onchanged="swt_search_onchanged">
  8. <Tabpages>
  9. <Tabpage id="tabpage3" text="물품청구내역"/>
  10. <Tabpage id="gd_set" text="청구 Set 목록">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="grd_setlist" taborder="1" binddataset="ds_main_list_reqmst_reqsetmst" useinputpanel="false" position="absolute 0 25 300 150" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="swt_search_gd_set_grd_setlist_oncellclick">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="24"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="257"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell/>
  36. <Cell col="1" text="기관코드"/>
  37. <Cell col="2" text="청구부서"/>
  38. <Cell col="3" text="청구주기"/>
  39. <Cell col="4" text="청구주기"/>
  40. <Cell col="5" text="청구SET명"/>
  41. <Cell col="6" text="물품구분"/>
  42. <Cell col="7" text="물품코드"/>
  43. <Cell col="8" text="물품명"/>
  44. <Cell col="9" text="청구량"/>
  45. <Cell col="10" text="청구단위"/>
  46. <Cell col="11" text="setcd"/>
  47. </Band>
  48. <Band id="body">
  49. <Cell celltype="head" expr="currow+1"/>
  50. <Cell col="1" text="bind:instcd"/>
  51. <Cell col="2" text="bind:reqdeptcd"/>
  52. <Cell col="3" text="bind:reqprid"/>
  53. <Cell col="4" text="bind:reqprnm"/>
  54. <Cell col="5" text="bind:goodsetnm"/>
  55. <Cell col="6" text="bind:goodflag"/>
  56. <Cell col="7" text="bind:goodcd"/>
  57. <Cell col="8" text="bind:goodnm"/>
  58. <Cell col="9" text="bind:goodqty"/>
  59. <Cell col="10" text="bind:requnit"/>
  60. <Cell col="11" text="bind:goodsetcd"/>
  61. </Band>
  62. </Format>
  63. </Formats>
  64. </Grid>
  65. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 20 300 26"/>
  66. <Static id="caption17" text="부서 청구SET" class="tit_2" position="absolute 0 4 124 25"/>
  67. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 1 178 574 184"/>
  68. <Grid id="grd_reqset" taborder="2" binddataset="ds_main_list_reqset_reqsetlist" useinputpanel="false" position="absolute 1 183 574 621" autoenter="select" cellsizingtype="col">
  69. <Formats>
  70. <Format id="default">
  71. <Columns>
  72. <Column size="22"/>
  73. <Column size="19"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="63"/>
  79. <Column size="0"/>
  80. <Column size="250"/>
  81. <Column size="50"/>
  82. <Column size="56"/>
  83. <Column size="42"/>
  84. <Column size="43"/>
  85. <Column size="70"/>
  86. <Column size="66"/>
  87. <Column size="68"/>
  88. <Column size="100"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  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. </Columns>
  105. <Rows>
  106. <Row size="24" band="head"/>
  107. <Row size="24"/>
  108. </Rows>
  109. <Band id="head">
  110. <Cell/>
  111. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  112. <Cell col="2" text="기관코드"/>
  113. <Cell col="3" text="청구부서"/>
  114. <Cell col="4" text="청구주기"/>
  115. <Cell col="5" text="물품구분"/>
  116. <Cell col="6" text="물품코드"/>
  117. <Cell col="7" text="물품코드"/>
  118. <Cell col="8" text="물품명"/>
  119. <Cell col="9" text="규격"/>
  120. <Cell col="10" text="안전재고"/>
  121. <Cell col="11" text="단위"/>
  122. <Cell col="12" text="주기"/>
  123. <Cell col="13" text="청구구분"/>
  124. <Cell col="14" text="구매구분"/>
  125. <Cell col="15" text="청구방법"/>
  126. <Cell col="16" text="포장단위"/>
  127. <Cell col="17"/>
  128. <Cell col="18"/>
  129. <Cell col="19"/>
  130. <Cell col="20"/>
  131. <Cell col="21"/>
  132. <Cell col="22"/>
  133. <Cell col="23"/>
  134. <Cell col="24"/>
  135. <Cell col="25"/>
  136. <Cell col="26"/>
  137. <Cell col="27"/>
  138. <Cell col="28"/>
  139. <Cell col="29"/>
  140. <Cell col="30"/>
  141. <Cell col="31"/>
  142. </Band>
  143. <Band id="body">
  144. <Cell celltype="head" expr="currow+1"/>
  145. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' ? 1 : 0"/>
  146. <Cell col="2" text="bind:instcd"/>
  147. <Cell col="3" text="bind:reqdeptcd"/>
  148. <Cell col="4" text="bind:reqprid"/>
  149. <Cell col="5" text="bind:goodflagnm"/>
  150. <Cell col="6" text="bind:goodcd"/>
  151. <Cell col="7" text="bind:allsizespecid"/>
  152. <Cell col="8" text="bind:goodnm"/>
  153. <Cell col="9" text="bind:goodspec"/>
  154. <Cell col="10" text="bind:basevol"/>
  155. <Cell col="11" text="bind:deliveunit"/>
  156. <Cell col="12" text="bind:reqpridnm"/>
  157. <Cell col="13" text="bind:reqflagnm"/>
  158. <Cell col="14" text="bind:purcflagnm"/>
  159. <Cell col="15" text="bind:reqmthdnm"/>
  160. <Cell col="16" text="bind:setunit"/>
  161. <Cell col="17" text="bind:goodspec"/>
  162. <Cell col="18" text="bind:goodmodel"/>
  163. <Cell col="19" text="bind:prodcmpynm"/>
  164. <Cell col="20" text="bind:purcunit"/>
  165. <Cell col="21" text="bind:minexch"/>
  166. <Cell col="22" text="bind:stocqty"/>
  167. <Cell col="23" text="bind:ddavguseqty"/>
  168. <Cell col="24" text="bind:goodsetnm"/>
  169. <Cell col="25" text="bind:goodsetcd"/>
  170. <Cell col="26" text="bind:goodflag"/>
  171. <Cell col="27" text="bind:allsizeyn"/>
  172. <Cell col="28" text="bind:allsizespecid"/>
  173. <Cell col="29" text="bind:allsizespecidnm"/>
  174. <Cell col="30" text="bind:tmpreqflag"/>
  175. <Cell col="31" text="bind:reqflag"/>
  176. </Band>
  177. </Format>
  178. </Formats>
  179. </Grid>
  180. <Static id="caption5" text="부서 청구SET 물품" class="tit_2" position="absolute 1 162 146 183"/>
  181. <Button id="btn_apply" taborder="3" text="선택" class="btn4" position="absolute 518 156 574 178"/>
  182. <Static id="caption8" text="(* 청구주기가 일치하지 않으면 선택되지 않습니다.)" position="absolute 152 162 440 177"/>
  183. </Layout>
  184. </Layouts>
  185. </Tabpage>
  186. <Tabpage id="gd_find" text="물품검색">
  187. <Layouts>
  188. <Layout>
  189. <Div id="group2" taborder="1" position="absolute 0 3 577 123" class="div_SA2">
  190. <Layouts>
  191. <Layout>
  192. <Static id="caption12" text="대 분 류 :" class="search_name" position="absolute 5 29 91 46" anchor="default"/>
  193. <Combo id="ipt_lrgcd" taborder="2" position="absolute 91 29 243 48" anchor="default" onitemchanged="swt_search_gd_find_group2_ipt_lrgcd_onitemchanged"/>
  194. <Static id="caption15" text="중 분 류 :" class="search_name" position="absolute 5 51 91 68" anchor="default"/>
  195. <Combo id="ipt_mdlcd" taborder="3" position="absolute 91 50 243 69" anchor="default"/>
  196. <Static id="caption10" text="물 품 명 :" class="search_name" position="absolute 5 94 91 111" anchor="default"/>
  197. <Edit id="ipt_goodnm" taborder="4" class="input_essential" position="absolute 91 94 566 113" anchor="default" autoselect="true" autoskip="true" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="inplace,mouseleave" onkeyup="swt_search_gd_find_group2_ipt_goodnm_onkeyup"/>
  198. <Edit id="ipt_oldcd_search" taborder="5" class="input_search" position="absolute 345 72 410 91" anchor="default" autoselect="true" autoskip="true" tooltiptext="구 MIS시스템 앞자리를 구분없이 입력하세요(70101)" tooltiptype="inplace,mouseleave"/>
  199. <Static id="caption22" text="구 자 재 :" class="search_name" position="absolute 259 73 342 90" anchor="default"/>
  200. <Static id="caption23" text="ex) 70101" position="absolute 415 72 473 92" anchor="default"/>
  201. <Button id="btn_prodcmpycd" taborder="6" class="icon_search" position="absolute 416 52 432 68" anchor="default" onclick="swt_search_gd_find_group2_btn_prodcmpycd_onclick"/>
  202. <Static id="caption20" text="제조회사 :" class="search_name" position="absolute 259 50 345 67" anchor="default"/>
  203. <Edit id="ipt_prodcmpynm" taborder="7" class="input_search" position="absolute 435 50 569 69" anchor="default" autoselect="true" autoskip="true"/>
  204. <Edit id="ipt_prodcmpycd" taborder="8" class="input_default" position="absolute 345 50 410 69" anchor="default" autoselect="true" autoskip="true"/>
  205. <Static id="caption21" text="모 델 :" class="search_name" position="absolute 259 29 345 46" anchor="default"/>
  206. <Edit id="ipt_goodspec" taborder="9" class="input_default" position="absolute 345 8 570 27" anchor="default" autoselect="true" autoskip="true"/>
  207. <Edit id="ipt_goodmodel" taborder="10" class="input_default" position="absolute 345 29 570 48" anchor="default" autoselect="true" autoskip="true"/>
  208. <Static id="caption19" text="규 격 :" class="search_name" position="absolute 259 8 345 25" anchor="default"/>
  209. <Static id="caption14" text="청구구분 :" class="search_name" position="absolute 5 8 91 25" anchor="default"/>
  210. <Combo id="cmb_reqflag" taborder="11" innerdataset="@ds_init_reqflag" codecolumn="reqflag" datacolumn="reqflagnm" class="combo_default" position="absolute 91 8 243 27" anchor="default" onitemchanged="swt_search_gd_find_group2_cmb_reqflag_onitemchanged"/>
  211. <Edit id="cmb_goodflag" taborder="12" class="input_default" visible="false" position="absolute 426 94 546 113" anchor="default"/>
  212. <Edit id="ipt_goodcd" taborder="13" class="input_essential" position="absolute 91 72 243 91" anchor="default" autoselect="true" autoskip="true" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="inplace,mouseleave" onkeyup="swt_search_gd_find_group2_ipt_goodcd_onkeyup" inputmode="upper" useime="none"/>
  213. <Static id="caption13" text="물품코드 :" class="search_name" position="absolute 5 73 91 90" anchor="default"/>
  214. </Layout>
  215. </Layouts>
  216. </Div>
  217. <Shape id="lin_goodlist" linetype="vertical" class="line_1" position="absolute 3 143 579 144"/>
  218. <Grid id="grd_goodlist" class="grd_agtplcelist" taborder="2" binddataset="ds_main_GoodLists_goodlist" useinputpanel="false" position="absolute 1 148 577 621" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncellclick="swt_search_gd_find_grd_goodlist_oncellclick">
  219. <Formats>
  220. <Format id="default">
  221. <Columns>
  222. <Column size="23"/>
  223. <Column size="20"/>
  224. <Column size="75"/>
  225. <Column size="0"/>
  226. <Column size="150"/>
  227. <Column size="70"/>
  228. <Column size="70"/>
  229. <Column size="80"/>
  230. <Column size="55"/>
  231. <Column size="40"/>
  232. <Column size="65"/>
  233. <Column size="60"/>
  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. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. <Column size="0"/>
  249. <Column size="0"/>
  250. <Column size="0"/>
  251. <Column size="0"/>
  252. <Column size="0"/>
  253. <Column size="0"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. <Column size="0"/>
  261. <Column size="0"/>
  262. <Column size="0"/>
  263. <Column size="0"/>
  264. <Column size="0"/>
  265. <Column size="0"/>
  266. <Column size="0"/>
  267. <Column size="0"/>
  268. <Column size="0"/>
  269. <Column size="0"/>
  270. <Column size="0"/>
  271. <Column size="0"/>
  272. <Column size="0"/>
  273. <Column size="0"/>
  274. <Column size="0"/>
  275. <Column size="0"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. <Column size="0"/>
  283. <Column size="0"/>
  284. <Column size="0"/>
  285. <Column size="0"/>
  286. <Column size="0"/>
  287. <Column size="0"/>
  288. <Column size="0"/>
  289. <Column size="0"/>
  290. <Column size="0"/>
  291. <Column size="0"/>
  292. <Column size="0"/>
  293. <Column size="0"/>
  294. <Column size="0"/>
  295. <Column size="0"/>
  296. <Column size="0"/>
  297. <Column size="0"/>
  298. <Column size="0"/>
  299. <Column size="0"/>
  300. <Column size="0"/>
  301. <Column size="0"/>
  302. <Column size="0"/>
  303. <Column size="0"/>
  304. <Column size="0"/>
  305. <Column size="0"/>
  306. <Column size="0"/>
  307. <Column size="0"/>
  308. <Column size="0"/>
  309. <Column size="0"/>
  310. <Column size="0"/>
  311. <Column size="0"/>
  312. <Column size="0"/>
  313. <Column size="0"/>
  314. <Column size="0"/>
  315. <Column size="0"/>
  316. <Column size="0"/>
  317. <Column size="0"/>
  318. <Column size="0"/>
  319. <Column size="0"/>
  320. <Column size="0"/>
  321. <Column size="0"/>
  322. <Column size="0"/>
  323. <Column size="0"/>
  324. <Column size="0"/>
  325. <Column size="0"/>
  326. <Column size="0"/>
  327. <Column size="0"/>
  328. <Column size="0"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="0"/>
  333. <Column size="0"/>
  334. <Column size="0"/>
  335. <Column size="0"/>
  336. </Columns>
  337. <Rows>
  338. <Row size="24" band="head"/>
  339. <Row size="24"/>
  340. </Rows>
  341. <Band id="head">
  342. <Cell/>
  343. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="0"/>
  344. <Cell col="2" text="물품코드"/>
  345. <Cell col="3" text="물품코드"/>
  346. <Cell col="4" text="물품명"/>
  347. <Cell col="5" text="규격"/>
  348. <Cell col="6" text="모델"/>
  349. <Cell col="7" text="포장구성단위"/>
  350. <Cell col="8" text="수불단위"/>
  351. <Cell col="9" text="주기"/>
  352. <Cell col="10" text="청구방법"/>
  353. <Cell col="11" text="구매구분"/>
  354. <Cell col="12" text="기관코드"/>
  355. <Cell col="13" text="물품구분"/>
  356. <Cell col="14" text="최소처방수량"/>
  357. <Cell col="15" text="기준량"/>
  358. <Cell col="16" text="재고량"/>
  359. <Cell col="17" text="사용자수량"/>
  360. <Cell col="18" text="단위"/>
  361. <Cell col="19"/>
  362. <Cell col="20"/>
  363. <Cell col="21"/>
  364. <Cell col="22"/>
  365. <Cell col="23"/>
  366. <Cell col="24"/>
  367. <Cell col="25"/>
  368. <Cell col="26"/>
  369. <Cell col="27"/>
  370. <Cell col="28"/>
  371. <Cell col="29"/>
  372. <Cell col="30"/>
  373. <Cell col="31"/>
  374. <Cell col="32"/>
  375. <Cell col="33"/>
  376. <Cell col="34"/>
  377. <Cell col="35"/>
  378. <Cell col="36"/>
  379. <Cell col="37"/>
  380. <Cell col="38"/>
  381. <Cell col="39"/>
  382. <Cell col="40"/>
  383. <Cell col="41"/>
  384. <Cell col="42"/>
  385. <Cell col="43"/>
  386. <Cell col="44"/>
  387. <Cell col="45"/>
  388. <Cell col="46"/>
  389. <Cell col="47"/>
  390. <Cell col="48"/>
  391. <Cell col="49"/>
  392. <Cell col="50"/>
  393. <Cell col="51"/>
  394. <Cell col="52"/>
  395. <Cell col="53"/>
  396. <Cell col="54"/>
  397. <Cell col="55"/>
  398. <Cell col="56"/>
  399. <Cell col="57"/>
  400. <Cell col="58"/>
  401. <Cell col="59"/>
  402. <Cell col="60"/>
  403. <Cell col="61"/>
  404. <Cell col="62"/>
  405. <Cell col="63"/>
  406. <Cell col="64"/>
  407. <Cell col="65"/>
  408. <Cell col="66"/>
  409. <Cell col="67"/>
  410. <Cell col="68"/>
  411. <Cell col="69"/>
  412. <Cell col="70"/>
  413. <Cell col="71"/>
  414. <Cell col="72"/>
  415. <Cell col="73"/>
  416. <Cell col="74"/>
  417. <Cell col="75"/>
  418. <Cell col="76"/>
  419. <Cell col="77"/>
  420. <Cell col="78"/>
  421. <Cell col="79"/>
  422. <Cell col="80"/>
  423. <Cell col="81"/>
  424. <Cell col="82"/>
  425. <Cell col="83"/>
  426. <Cell col="84"/>
  427. <Cell col="85"/>
  428. <Cell col="86"/>
  429. <Cell col="87"/>
  430. <Cell col="88"/>
  431. <Cell col="89"/>
  432. <Cell col="90"/>
  433. <Cell col="91"/>
  434. <Cell col="92"/>
  435. <Cell col="93"/>
  436. <Cell col="94"/>
  437. <Cell col="95"/>
  438. <Cell col="96"/>
  439. <Cell col="97"/>
  440. <Cell col="98"/>
  441. <Cell col="99"/>
  442. <Cell col="100"/>
  443. <Cell col="101"/>
  444. <Cell col="102"/>
  445. <Cell col="103" text="a"/>
  446. <Cell col="104"/>
  447. <Cell col="105"/>
  448. <Cell col="106"/>
  449. <Cell col="107"/>
  450. <Cell col="108"/>
  451. <Cell col="109"/>
  452. <Cell col="110"/>
  453. <Cell col="111"/>
  454. <Cell col="112"/>
  455. <Cell col="113"/>
  456. </Band>
  457. <Band id="body">
  458. <Cell celltype="head" expr="currow+1"/>
  459. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' || select == '1' ? 1 : 0"/>
  460. <Cell col="2" edittype="none" style="align:left;" text="bind:goodcd"/>
  461. <Cell col="3" text="bind:allsizespecid"/>
  462. <Cell col="4" text="bind:goodnm"/>
  463. <Cell col="5" text="bind:goodspec"/>
  464. <Cell col="6" text="bind:goodmodel"/>
  465. <Cell col="7" text="bind:setunit"/>
  466. <Cell col="8" text="bind:deliveunit"/>
  467. <Cell col="9" text="bind:reqpridnm"/>
  468. <Cell col="10" text="bind:reqmthdnm"/>
  469. <Cell col="11" text="bind:purcflagnm"/>
  470. <Cell col="12" text="bind:prodcmpycd"/>
  471. <Cell col="13" text="bind:prodcmpynm"/>
  472. <Cell col="14" text="bind:instcd"/>
  473. <Cell col="15" text="bind:goodflag"/>
  474. <Cell col="16" text="bind:minexch"/>
  475. <Cell col="17" text="bind:userqty"/>
  476. <Cell col="18" text="bind:purcunit"/>
  477. <Cell col="19" text="bind:safestocqty"/>
  478. <Cell col="20" text="bind:stocqty"/>
  479. <Cell col="21" text="bind:todd"/>
  480. <Cell col="22" text="bind:useyn"/>
  481. <Cell col="23" text="bind:fromdd"/>
  482. <Cell col="24" text="bind:asetflag"/>
  483. <Cell col="25" text="bind:lrgcd"/>
  484. <Cell col="26" text="bind:lrgnm"/>
  485. <Cell col="27" text="bind:mdlcd"/>
  486. <Cell col="28" text="bind:mdlnm"/>
  487. <Cell col="29" text="bind:smlcd"/>
  488. <Cell col="30" text="bind:smlnm"/>
  489. <Cell col="31" text="bind:proddrugsetflag"/>
  490. <Cell col="32" text="bind:winacnt"/>
  491. <Cell col="33" text="bind:winacntnm"/>
  492. <Cell col="34" text="bind:amtacnt"/>
  493. <Cell col="35" text="bind:amtacntnm"/>
  494. <Cell col="36" text="bind:mainmngtdeptcd"/>
  495. <Cell col="37" text="bind:mainmngtdeptnm"/>
  496. <Cell col="38" text="bind:mainusedeptcd"/>
  497. <Cell col="39" text="bind:mainusedeptnm"/>
  498. <Cell col="40" text="bind:purclnkgoodcd"/>
  499. <Cell col="41" text="bind:stocmngtflag"/>
  500. <Cell col="42" text="bind:purcunitnm"/>
  501. <Cell col="43" text="bind:deliveunitnm"/>
  502. <Cell col="44" text="bind:exchqty"/>
  503. <Cell col="45" text="bind:reuseyn"/>
  504. <Cell col="46" text="bind:divusenvalqty"/>
  505. <Cell col="47" text="bind:calcscorinfoacptstat"/>
  506. <Cell col="48" text="bind:calcscorinfoacptdd"/>
  507. <Cell col="49" text="bind:insuyn"/>
  508. <Cell col="50" text="bind:edicd"/>
  509. <Cell col="51" text="bind:newrgstdd"/>
  510. <Cell col="52" text="bind:reqdeptcd"/>
  511. <Cell col="53" text="bind:reqdeptnm"/>
  512. <Cell col="54" text="bind:reqpsn"/>
  513. <Cell col="55" text="bind:reqpsnnm"/>
  514. <Cell col="56" text="bind:reqflag"/>
  515. <Cell col="57" text="bind:reqflagnm"/>
  516. <Cell col="58" text="bind:reqmthd"/>
  517. <Cell col="59" text="bind:reqprid"/>
  518. <Cell col="60" text="bind:iopsnflag"/>
  519. <Cell col="61" text="bind:prodplce"/>
  520. <Cell col="62" text="bind:prodplcenm"/>
  521. <Cell col="63" text="bind:maincustlastsuplplce"/>
  522. <Cell col="64" text="bind:maincustlastsuplplcenm"/>
  523. <Cell col="65" text="bind:suppcustcd"/>
  524. <Cell col="66" text="bind:suppcustnm"/>
  525. <Cell col="67" text="bind:conflag"/>
  526. <Cell col="68" text="bind:fromconterm"/>
  527. <Cell col="69" text="bind:toconterm"/>
  528. <Cell col="70" text="bind:estmamt"/>
  529. <Cell col="71" text="bind:forgncurncyunitcost"/>
  530. <Cell col="72" text="bind:curncyunit"/>
  531. <Cell col="73" text="bind:curncyunitnm"/>
  532. <Cell col="74" text="bind:goodunitcost"/>
  533. <Cell col="75" text="bind:purcflag"/>
  534. <Cell col="76" text="bind:allsizeyn"/>
  535. <Cell col="77" text="bind:setplceordflag"/>
  536. <Cell col="78" text="bind:plceordbase"/>
  537. <Cell col="79" text="bind:plceordqtycretflag"/>
  538. <Cell col="80" text="bind:plceordnonusedd"/>
  539. <Cell col="81" text="bind:addtaxrate"/>
  540. <Cell col="82" text="bind:lastpurcdd"/>
  541. <Cell col="83" text="bind:nonusetretresn"/>
  542. <Cell col="84" text="bind:mngtflag"/>
  543. <Cell col="85" text="bind:bnscd"/>
  544. <Cell col="86" text="bind:cntrdrugyn"/>
  545. <Cell col="87" text="bind:narcflag"/>
  546. <Cell col="88" text="bind:expnyn"/>
  547. <Cell col="89" text="bind:cntsunit"/>
  548. <Cell col="90" text="bind:cntsqty"/>
  549. <Cell col="91" text="bind:specvol"/>
  550. <Cell col="92" text="bind:drugkind"/>
  551. <Cell col="93" text="bind:cooppurcyn"/>
  552. <Cell col="94" text="bind:autrampharm"/>
  553. <Cell col="95" text="bind:keepmthd"/>
  554. <Cell col="96" text="bind:specldrug"/>
  555. <Cell col="97" text="bind:gnrlspcl"/>
  556. <Cell col="98" text="bind:welfprt"/>
  557. <Cell col="99" text="bind:goodtype"/>
  558. <Cell col="100" text="bind:com"/>
  559. <Cell col="101" text="bind:limdrugyn"/>
  560. <Cell col="102" text="bind:cmt"/>
  561. <Cell col="103" text="bind:safestocappdd"/>
  562. <Cell col="104" text="bind:ddavguseqty"/>
  563. <Cell col="105" text="bind:mmavgusescheqty"/>
  564. <Cell col="106" text="bind:mmavguseqty"/>
  565. <Cell col="107" text="bind:prprtystocpossndayno"/>
  566. <Cell col="108" text="bind:orgloc"/>
  567. <Cell col="109" text="bind:oldcd"/>
  568. <Cell col="110" text="bind:goodhngnm"/>
  569. <Cell col="111" text="bind:goodengnm"/>
  570. <Cell col="112" text="bind:reqfnldeptcd"/>
  571. <Cell col="113" text="bind:tmpreqflag"/>
  572. </Band>
  573. </Format>
  574. </Formats>
  575. </Grid>
  576. <Button id="bbt_apply2" taborder="3" text="적용" class="btn4" position="absolute 520 124 576 147" onclick="swt_search_gd_find_bbt_apply2_onclick"/>
  577. <Static id="cpt_cls" text="1" visible="false" position="absolute 500 75 565 94" style="font:Dotum,9,bold;"/>
  578. <Button id="btn_searchgood" taborder="4" text="조회" class="btn1" position="absolute 450 124 506 147" onclick="swt_search_gd_find_btn_searchgood_onclick"/>
  579. </Layout>
  580. </Layouts>
  581. </Tabpage>
  582. </Tabpages>
  583. </Tab>
  584. <Static id="caption6" text="물품청구관리" class="tit_1" position="absolute 0 0 186 25"/>
  585. <Button id="btn_init" taborder="1" text="초기화" class="btn4" position="absolute 1127 2 1195 24" anchor="top right" onclick="btn_init_onclick"/>
  586. <Static id="caption2" text="* 처방에 의한 청구내역은 [일별 청구현황 조회]에서 확인하실 수 있습니다." position="absolute 775 111 1194 124" anchor="top right"/>
  587. <Button id="bbt_large" taborder="4" class="icon_pre_month" visible="false" position="absolute 594 111 610 127" anchor="top right" onclick="bbt_large_onclick"/>
  588. <Button id="bbt_right" taborder="5" class="icon_next_month" visible="false" position="absolute 612 111 628 127" anchor="top right" onclick="bbt_right_onclick"/>
  589. <Static id="caption25" text="All Size" position="absolute 718 110 768 125" anchor="top right"/>
  590. <Static id="caption26" class="color_6" position="absolute 700 109 715 124" style="background:#ffff00ff;" anchor="top right"/>
  591. <Div id="grp_sea" taborder="6" class="div_SA" position="absolute 0 25 1195 105" anchor="left top right">
  592. <Layouts>
  593. <Layout>
  594. <Combo id="cmb_hidden" taborder="22" position="absolute 655 56 710 75" anchor="default"/>
  595. <Combo id="cmb_reqno" taborder="23" innerdataset="@ds_main_DeptReqnoLists_reqnolist" codecolumn="reqno" datacolumn="reqno" class="combo_default" position="absolute 655 56 710 75" anchor="default" onitemchanged="grp_sea_cmb_reqno_onitemchanged"/>
  596. <Edit id="opt_reqfinaldept" taborder="8" readonly="true" visible="false" position="absolute 892 4 920 23" anchor="default"/>
  597. <Edit id="tmp_goodcd" taborder="9" visible="false" position="absolute 987 4 1012 23" anchor="default"/>
  598. <Edit id="opt_reqfinaldeptnm" taborder="10" readonly="true" visible="false" position="absolute 925 4 945 23" anchor="default"/>
  599. <Edit id="tmp_goodnm" taborder="11" visible="false" position="absolute 1022 4 1052 23" anchor="default"/>
  600. <Edit id="opt_goodflag" taborder="12" readonly="true" visible="false" position="absolute 947 4 972 23" anchor="default"/>
  601. <Static id="caption4" text="작업구분 :" class="search_name" position="absolute 265 10 351 27" anchor="default"/>
  602. <Static id="caption11" text="기관코드 :" class="search_name" position="absolute 13 8 99 25" anchor="default"/>
  603. <Static id="caption16" text="청구일자 :" class="search_name" position="absolute 570 32 656 49" anchor="default"/>
  604. <Static id="caption18" text="청구주기 :" class="search_name" position="absolute 570 8 656 25" anchor="default"/>
  605. <Combo id="cmb_workflag" taborder="13" innerdataset="@ds_init_workflag_workflaglist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 355 8 500 27" anchor="default" onitemchanged="grp_sea_cmb_workflag_onitemchanged"/>
  606. <Combo id="cmb_reqpridflag" taborder="14" innerdataset="@ds_init_ReqpridLists_reqpridlist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 655 8 765 27" anchor="default" onitemchanged="grp_sea_cmb_reqpridflag_onitemchanged"/>
  607. <Edit id="opt_requsernm" taborder="15" readonly="true" position="absolute 155 32 249 51" anchor="default" class="output"/>
  608. <Edit id="opt_requser" taborder="16" readonly="true" position="absolute 101 32 154 51" anchor="default" class="output"/>
  609. <Shape id="line14" linetype="vertical" class="line_4" position="absolute 1119 15 1125 62" anchor="top right"/>
  610. <Button id="btn_search" taborder="17" text="조회" class="btn1" position="absolute 1134 29 1190 51" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  611. <Radio id="rdo_inputmethod" taborder="18" columncount="2" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 972 55 1120 75" anchor="default" onitemchanged="grp_sea_rdo_inputmethod_onitemchanged">
  612. <Dataset id="innerdataset">
  613. <ColumnInfo>
  614. <Column id="codecolumn"/>
  615. <Column id="datacolumn"/>
  616. </ColumnInfo>
  617. <Rows>
  618. <Row>
  619. <Col id="codecolumn">1</Col>
  620. <Col id="datacolumn">일반청구</Col>
  621. </Row>
  622. <Row>
  623. <Col id="codecolumn">2</Col>
  624. <Col id="datacolumn">정량보충</Col>
  625. </Row>
  626. </Rows>
  627. </Dataset>
  628. </Radio>
  629. <Static id="caption1" text="입력 방식 :" class="search_name" position="absolute 871 58 967 75" anchor="default"/>
  630. <Static id="caption3" text="청구부서 :" class="search_name" position="absolute 13 57 99 74" anchor="default"/>
  631. <Edit id="opt_instcdnm" taborder="19" readonly="true" position="absolute 101 8 249 27" anchor="default" class="output"/>
  632. <MaskEdit id="ipt_todd" taborder="20" readonly="true" mask="####-##-##" position="absolute 972 32 1071 51" anchor="default" class="output" maskchar=" " type="string" trimtype="both" style="align:center middle;"/>
  633. <Combo id="cmb_reqdeptcd" taborder="21" innerdataset="@ds_init_ReqDeptLists_reqdeptlist" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 101 56 249 75" anchor="default" onitemchanged="grp_sea_cmb_reqdeptcd_onitemchanged"/>
  634. <Static id="caption7" text="청구번호 :" class="search_name" position="absolute 570 56 656 73" anchor="default"/>
  635. <CheckBox id="chk_reqnonew" taborder="24" text="신규" truevalue="Y" position="absolute 715 57 765 72" style="font:Dotum,9,bold;" anchor="default" onclick="grp_sea_chk_reqnonew_onclick"/>
  636. <Calendar id="ipt_reqddnew" taborder="25" class="input_essential" visible="false" position="absolute 655 32 765 51" mask="yyyy-mm-dd" anchor="default" style="color:#ff0000ff;" autoselect="true" autoskip="true" onchanged="grp_sea_ipt_reqddnew_onchanged"/>
  637. <Static id="caption9" text="청 구 자 :" class="search_name" position="absolute 13 32 99 49" anchor="default"/>
  638. <CheckBox id="ckb_sapreq" taborder="27" text="수액처방청구" truevalue="Y" visible="false" position="absolute 767 34 867 49" style="font:Dotum,9,bold;" anchor="default" onclick="grp_sea_ckb_sapreq_onclick"/>
  639. <Combo id="sel_goodflag" taborder="28" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 355 32 500 51" anchor="default" index="0" text="전체" onitemchanged="grp_sea_sel_goodflag_onitemchanged">
  640. <Dataset id="innerdataset">
  641. <ColumnInfo>
  642. <Column id="codecolumn"/>
  643. <Column id="datacolumn"/>
  644. </ColumnInfo>
  645. <Rows>
  646. <Row>
  647. <Col id="codecolumn"/>
  648. <Col id="datacolumn">전체</Col>
  649. </Row>
  650. <Row>
  651. <Col id="codecolumn">U</Col>
  652. <Col id="datacolumn">의료비품</Col>
  653. </Row>
  654. <Row>
  655. <Col id="codecolumn">P</Col>
  656. <Col id="datacolumn">약품</Col>
  657. </Row>
  658. <Row>
  659. <Col id="codecolumn">Y</Col>
  660. <Col id="datacolumn">의료소모품</Col>
  661. </Row>
  662. <Row>
  663. <Col id="codecolumn">T</Col>
  664. <Col id="datacolumn">공급실물품</Col>
  665. </Row>
  666. <Row>
  667. <Col id="codecolumn">Z</Col>
  668. <Col id="datacolumn">일반소모품</Col>
  669. </Row>
  670. </Rows>
  671. </Dataset>
  672. </Combo>
  673. <Static id="caption24" text="물품구분 :" class="search_name" position="absolute 265 31 351 48" anchor="default"/>
  674. <Static id="caption27" text="청구마감일 :" class="search_name" position="absolute 871 33 970 50" anchor="default"/>
  675. <Static id="cpt_dept" text="부서선택 :" class="search_name" visible="false" position="absolute 265 57 351 74" anchor="default"/>
  676. <Edit id="ipt_tempdeptnm" taborder="29" class="input_search" visible="false" position="absolute 455 56 565 75" anchor="default" autoselect="true" autoskip="true"/>
  677. <Edit id="ipt_tempdeptcd" taborder="30" class="input_search" visible="false" position="absolute 355 56 435 75" anchor="default" autoselect="true" autoskip="true"/>
  678. <Button id="btn_tempdeptcd" taborder="31" class="icon_search" visible="false" position="absolute 438 56 454 72" anchor="default" onclick="grp_sea_btn_tempdeptcd_onclick"/>
  679. <Edit id="opt_instcd" taborder="32" readonly="true" visible="false" position="absolute 101 8 131 27" anchor="default" class="output"/>
  680. <Edit id="tmpreqdeptcd" taborder="33" visible="false" position="absolute 1031 32 1071 51" anchor="default"/>
  681. <Calendar id="ipt_reqdd" taborder="26" class="input_essential" position="absolute 655 32 765 51" mask="yyyy-mm-dd" anchor="default" autoselect="true" autoskip="true" onchanged="grp_sea_ipt_reqdd_onchanged"/>
  682. </Layout>
  683. </Layouts>
  684. </Div>
  685. <Div id="grp_button" taborder="8" position="absolute 585 127 1193 157" anchor="top right">
  686. <Layouts>
  687. <Layout>
  688. <Button id="btn_delete" taborder="17" text="행삭제" class="btn2" position="absolute 59 4 112 23" anchor="default" onclick="grp_button_btn_delete_onclick"/>
  689. <Button id="btn_choice" taborder="18" text="승인전체/접수전체취소" class="btn2" position="absolute 113 4 259 23" anchor="default" onclick="grp_button_btn_choice_onclick"/>
  690. <Button id="btn_excel" taborder="19" text="엑셀" class="btn7" position="absolute 260 1 316 23" anchor="default" onclick="grp_button_btn_excel_onclick"/>
  691. <CheckBox id="ckb_accept" taborder="20" text="동시승인" truevalue="Y" position="absolute 535 4 602 19" anchor="default" onclick="grp_button_ckb_accept_onclick"/>
  692. <Button id="btn_save" taborder="21" text="저장" class="btn4" position="absolute 476 1 532 23" anchor="default" onclick="grp_button_btn_save_onclick"/>
  693. <Button id="btn_accept" taborder="22" text="승인/미승인" class="btn4" position="absolute 375 1 475 23" anchor="default" onclick="grp_button_btn_accept_onclick"/>
  694. <Button id="btn_print" taborder="23" text="출력" class="btn6" position="absolute 317 1 373 23" anchor="default" onclick="grp_button_btn_print_onclick"/>
  695. <Button id="btn_insert" taborder="24" text="행추가" class="btn2" position="absolute 5 4 58 23" anchor="default" onclick="grp_button_btn_insert_onclick"/>
  696. </Layout>
  697. </Layouts>
  698. </Div>
  699. <TextArea id="tar_cmt" taborder="11" visible="false" position="absolute 31 201 81 217"/>
  700. <Div id="grp_allsize" taborder="9" style="border:2 solid #339966ff ;" visible="false" position="absolute 687 201 1051 501">
  701. <Layouts>
  702. <Layout>
  703. <Grid id="grd_codelist" class="grd_prodcmpylist" taborder="5" binddataset="ds_main_codelist" useinputpanel="false" position="absolute 2 34 359 291" autoenter="select" autofittype="col" cellsizingtype="col">
  704. <Formats>
  705. <Format id="default">
  706. <Columns>
  707. <Column size="30"/>
  708. <Column size="40"/>
  709. <Column size="140"/>
  710. <Column size="76"/>
  711. <Column size="51"/>
  712. </Columns>
  713. <Rows>
  714. <Row size="24" band="head"/>
  715. <Row size="24"/>
  716. </Rows>
  717. <Band id="head">
  718. <Cell text="C"/>
  719. <Cell col="1" text="ID"/>
  720. <Cell col="2" text="명칭"/>
  721. <Cell col="3" text="모델"/>
  722. <Cell col="4" text="수량"/>
  723. </Band>
  724. <Band id="body">
  725. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' ? 1 : 0"/>
  726. <Cell col="1" text="bind:allsizespecid"/>
  727. <Cell col="2" text="bind:goodspec"/>
  728. <Cell col="3" text="bind:goodmodel"/>
  729. <Cell col="4" displaytype="text" edittype="text" text="bind:qty"/>
  730. </Band>
  731. </Format>
  732. </Formats>
  733. </Grid>
  734. <Button id="btn_confirm" taborder="6" text="확인" class="btn4" position="absolute 303 10 359 32" onclick="grp_allsize_btn_confirm_onclick"/>
  735. </Layout>
  736. </Layouts>
  737. </Div>
  738. <Grid id="grd_message" taborder="10" binddataset="ds_main_messagelists_messagelist" useinputpanel="false" visible="false" position="absolute 84 301 434 451">
  739. <Formats>
  740. <Format id="default">
  741. <Columns>
  742. <Column size="100"/>
  743. <Column size="100"/>
  744. <Column size="141"/>
  745. <Column size="100"/>
  746. <Column size="100"/>
  747. </Columns>
  748. <Rows>
  749. <Row size="24" band="head"/>
  750. <Row size="24"/>
  751. </Rows>
  752. <Band id="head">
  753. <Cell text="시약 메세지를"/>
  754. <Cell col="1" text="다르게"/>
  755. <Cell col="2" text="보여주기위해 사용하는 그리드"/>
  756. <Cell col="3"/>
  757. <Cell col="4"/>
  758. </Band>
  759. <Band id="body">
  760. <Cell text="bind:instcd"/>
  761. <Cell col="1" text="bind:goodflag"/>
  762. <Cell col="2" text="bind:reqflag"/>
  763. <Cell col="3" text="bind:clostm"/>
  764. <Cell col="4" text="bind:closdesc"/>
  765. </Band>
  766. </Format>
  767. </Formats>
  768. </Grid>
  769. <Grid id="grd_goodreq" taborder="7" binddataset="ds_main_list_goodreq_goodreqlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 151 1195 769" anchor="all" oncellclick="grd_goodreq_oncellclick" onexpanddown="grd_goodreq_onexpanddown" onselectchanged="grd_goodreq_onselectchanged">
  770. <Formats>
  771. <Format id="default">
  772. <Columns>
  773. <Column size="19"/>
  774. <Column size="0"/>
  775. <Column size="0"/>
  776. <Column size="0"/>
  777. <Column size="0"/>
  778. <Column size="35"/>
  779. <Column size="95"/>
  780. <Column size="28"/>
  781. <Column size="241"/>
  782. <Column size="125"/>
  783. <Column size="96"/>
  784. <Column size="78"/>
  785. <Column size="0"/>
  786. <Column size="0"/>
  787. <Column size="58"/>
  788. <Column size="43"/>
  789. <Column size="87"/>
  790. <Column size="68"/>
  791. <Column size="0"/>
  792. <Column size="30"/>
  793. <Column size="48"/>
  794. <Column size="69"/>
  795. <Column size="64"/>
  796. <Column size="69"/>
  797. <Column size="65"/>
  798. <Column size="100"/>
  799. <Column size="50"/>
  800. <Column size="100"/>
  801. <Column size="100"/>
  802. <Column size="0"/>
  803. <Column size="0"/>
  804. <Column size="0"/>
  805. <Column size="0"/>
  806. <Column size="0"/>
  807. <Column size="0"/>
  808. <Column size="0"/>
  809. <Column size="0"/>
  810. <Column size="0"/>
  811. <Column size="0"/>
  812. <Column size="0"/>
  813. <Column size="0"/>
  814. <Column size="0"/>
  815. <Column size="0"/>
  816. <Column size="0"/>
  817. <Column size="0"/>
  818. <Column size="0"/>
  819. <Column size="0"/>
  820. <Column size="0"/>
  821. <Column size="0"/>
  822. <Column size="0"/>
  823. <Column size="0"/>
  824. <Column size="0"/>
  825. <Column size="0"/>
  826. <Column size="0"/>
  827. <Column size="0"/>
  828. <Column size="0"/>
  829. <Column size="0"/>
  830. <Column size="0"/>
  831. <Column size="0"/>
  832. <Column size="0"/>
  833. <Column size="0"/>
  834. <Column size="0"/>
  835. <Column size="0"/>
  836. <Column size="0"/>
  837. <Column size="0"/>
  838. <Column size="0"/>
  839. </Columns>
  840. <Rows>
  841. <Row size="24" band="head"/>
  842. <Row size="24"/>
  843. </Rows>
  844. <Band id="head">
  845. <Cell/>
  846. <Cell col="1" text="기관코드"/>
  847. <Cell col="2" text="청구구분"/>
  848. <Cell col="3" text="청구일자"/>
  849. <Cell col="4" text="청구번호"/>
  850. <Cell col="5" text="순번"/>
  851. <Cell col="6" colspan="2" text="물품코드" taborder="undefined"/>
  852. <Cell col="8" text="물품명"/>
  853. <Cell col="9" text="규격"/>
  854. <Cell col="10" text="모델"/>
  855. <Cell col="11" text="제조회사"/>
  856. <Cell col="12" text="안전재고"/>
  857. <Cell col="13" text="현재고"/>
  858. <Cell col="14" colspan="2" text="청구" taborder="undefined"/>
  859. <Cell col="16" text="포장구성단위"/>
  860. <Cell col="17" text="수액집계"/>
  861. <Cell col="18" text="전월"/>
  862. <Cell col="19" colspan="2" text="승인" taborder="undefined"/>
  863. <Cell col="21" text="청구자명"/>
  864. <Cell col="22" text="구매구분"/>
  865. <Cell col="23" text="청구방법"/>
  866. <Cell col="24" text="청구주기"/>
  867. <Cell col="25" text="비고"/>
  868. <Cell col="26" text="접수"/>
  869. <Cell col="27" text="미불출사유"/>
  870. <Cell col="28"/>
  871. <Cell col="29" text="caption1"/>
  872. <Cell col="30"/>
  873. <Cell col="31"/>
  874. <Cell col="32"/>
  875. <Cell col="33"/>
  876. <Cell col="34"/>
  877. <Cell col="35"/>
  878. <Cell col="36"/>
  879. <Cell col="37"/>
  880. <Cell col="38"/>
  881. <Cell col="39"/>
  882. <Cell col="40"/>
  883. <Cell col="41"/>
  884. <Cell col="42"/>
  885. <Cell col="43"/>
  886. <Cell col="44"/>
  887. <Cell col="45"/>
  888. <Cell col="46"/>
  889. <Cell col="47"/>
  890. <Cell col="48"/>
  891. <Cell col="49"/>
  892. <Cell col="50"/>
  893. <Cell col="51"/>
  894. <Cell col="52"/>
  895. <Cell col="53"/>
  896. <Cell col="54"/>
  897. <Cell col="55"/>
  898. <Cell col="56"/>
  899. <Cell col="57"/>
  900. <Cell col="58"/>
  901. <Cell col="59"/>
  902. <Cell col="60"/>
  903. <Cell col="61"/>
  904. <Cell col="62"/>
  905. <Cell col="63"/>
  906. <Cell col="64"/>
  907. <Cell col="65"/>
  908. </Band>
  909. <Band id="body">
  910. <Cell celltype="head"/>
  911. <Cell col="1" text="bind:instcd"/>
  912. <Cell col="2" text="bind:reqflag"/>
  913. <Cell col="3" text="bind:reqdd"/>
  914. <Cell col="4" text="bind:reqno"/>
  915. <Cell col="5" text="bind:reqseqno"/>
  916. <Cell col="6" displaytype="text" edittype="text" text="bind:goodcd" expandshow="show"/>
  917. <Cell col="7" text="bind:allsizespecid"/>
  918. <Cell col="8" displaytype="text" edittype="text" text="bind:goodnm"/>
  919. <Cell col="9" displaytype="text" edittype="text" text="bind:goodspec" expandshow="show"/>
  920. <Cell col="10" edittype="none" text="bind:goodmodel"/>
  921. <Cell col="11" edittype="none" text="bind:prodcmpynm"/>
  922. <Cell col="12" displaytype="text" edittype="text" text="bind:basevol" mask="#,###"/>
  923. <Cell col="13" displaytype="text" edittype="text" text="bind:stocqty" mask="#,###"/>
  924. <Cell col="14" displaytype="number" edittype="masknumber" text="bind:reqqty" editautoselect="true"/>
  925. <Cell col="15" text="bind:requnit"/>
  926. <Cell col="16" text="bind:setunit"/>
  927. <Cell col="17" displaytype="number" style="background:#ffff99ff;background2:#ffff99ff;" text="bind:rgstqty"/>
  928. <Cell col="18" text="bind:befmonreqqty"/>
  929. <Cell col="19" displaytype="checkbox" edittype="checkbox" text="bind:deptaprvyn" expr="expr:deptaprvyn == 'Y' || deptaprvyn == '1' ? 1 : 0"/>
  930. <Cell col="20" text="bind:deptaprvnm"/>
  931. <Cell col="21" text="bind:reqpsnnm"/>
  932. <Cell col="22" text="bind:purcflagnm"/>
  933. <Cell col="23" text="bind:reqmthdnm"/>
  934. <Cell col="24" text="bind:reqpridnm"/>
  935. <Cell col="25" displaytype="text" edittype="text" text="bind:cmt"/>
  936. <Cell col="26" text="bind:jobstatus"/>
  937. <Cell col="27" text="bind:adjtrsn"/>
  938. <Cell col="28" text="bind:exchqty"/>
  939. <Cell col="29" text="bind:purcunit"/>
  940. <Cell col="30" text="bind:workflag"/>
  941. <Cell col="31" text="bind:reqmthdflag"/>
  942. <Cell col="32" text="bind:deliveflag"/>
  943. <Cell col="33" text="bind:reqpridflag"/>
  944. <Cell col="34" text="bind:goodflag"/>
  945. <Cell col="35" text="bind:bugtcd"/>
  946. <Cell col="36" text="bind:stdysubjno"/>
  947. <Cell col="37" text="bind:reqdeptcd"/>
  948. <Cell col="38" text="bind:reqcollcdeptcd"/>
  949. <Cell col="39" text="bind:delivedeptcd"/>
  950. <Cell col="40" text="bind:delivehopedd"/>
  951. <Cell col="41" text="bind:reqpsnid"/>
  952. <Cell col="42" text="bind:reqtm"/>
  953. <Cell col="43" text="bind:reqpsnnm"/>
  954. <Cell col="44" text="bind:ddavguseqty"/>
  955. <Cell col="45" text="bind:deptaprvdd"/>
  956. <Cell col="46" text="bind:acptflag"/>
  957. <Cell col="47" text="bind:acptdd"/>
  958. <Cell col="48" text="bind:acptcharid"/>
  959. <Cell col="49" text="bind:purcdmnddd"/>
  960. <Cell col="50" text="bind:purcdmndno"/>
  961. <Cell col="51" text="bind:purcdmndseq"/>
  962. <Cell col="52" text="bind:colreqdd"/>
  963. <Cell col="53" text="bind:colreqno"/>
  964. <Cell col="54" text="bind:colreqseqno"/>
  965. <Cell col="55" text="bind:deliveqty"/>
  966. <Cell col="56" text="bind:unwinresn"/>
  967. <Cell col="57" text="bind:deliveprcsflag"/>
  968. <Cell col="58" text="bind:cmt"/>
  969. <Cell col="59" text="bind:predeptaprvyn"/>
  970. <Cell col="60" text="bind:aprvyn"/>
  971. <Cell col="61" text="bind:allsizeyn"/>
  972. <Cell col="62" text="bind:allsizespecidnm"/>
  973. <Cell col="63" text="bind:chkcmt"/>
  974. <Cell col="64" text="bind:minexch" mask="#,###"/>
  975. <Cell col="65" text="bind:reqauth"/>
  976. </Band>
  977. </Format>
  978. </Formats>
  979. </Grid>
  980. </Layout>
  981. </Layouts>
  982. <Objects>
  983. <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  984. <ColumnInfo>
  985. <Column id="workflag" type="STRING" size="256"/>
  986. <Column id="instcd" type="STRING" size="256"/>
  987. <Column id="reqflag" type="STRING" size="256"/>
  988. <Column id="deliveflag" type="STRING" size="256"/>
  989. <Column id="reqdd" type="STRING" size="256"/>
  990. <Column id="reqpridflag" type="STRING" size="256"/>
  991. <Column id="flag" type="STRING" size="256"/>
  992. <Column id="reqdeptcd" type="STRING" size="256"/>
  993. <Column id="reqdeptnm" type="STRING" size="256"/>
  994. <Column id="reqpsnid" type="STRING" size="256"/>
  995. <Column id="retrmaxreqnoyn" type="STRING" size="256"/>
  996. <Column id="reqno" type="STRING" size="256"/>
  997. <Column id="stdysubjno" type="STRING" size="256"/>
  998. <Column id="stdysubjnm" type="STRING" size="256"/>
  999. <Column id="bugtflag" type="STRING" size="256"/>
  1000. <Column id="tmp_goodcd" type="STRING" size="256"/>
  1001. <Column id="tmp_goodnm" type="STRING" size="256"/>
  1002. <Column id="inputmethod" type="STRING" size="256"/>
  1003. <Column id="instcdnm" type="STRING" size="256"/>
  1004. <Column id="sapreq" type="STRING" size="256"/>
  1005. <Column id="goodflag" type="STRING" size="256"/>
  1006. <Column id="cmt" type="STRING" size="256"/>
  1007. </ColumnInfo>
  1008. <Rows>
  1009. <Row>
  1010. <Col id="workflag">1</Col>
  1011. <Col id="instcd"/>
  1012. <Col id="reqflag"/>
  1013. <Col id="deliveflag"/>
  1014. <Col id="reqdd"/>
  1015. <Col id="reqpridflag"/>
  1016. <Col id="flag"/>
  1017. <Col id="reqdeptcd"/>
  1018. <Col id="reqdeptnm"/>
  1019. <Col id="reqpsnid"/>
  1020. <Col id="retrmaxreqnoyn"/>
  1021. <Col id="reqno"/>
  1022. <Col id="stdysubjno"/>
  1023. <Col id="stdysubjnm"/>
  1024. <Col id="bugtflag"/>
  1025. <Col id="tmp_goodcd"/>
  1026. <Col id="tmp_goodnm"/>
  1027. <Col id="inputmethod"/>
  1028. <Col id="instcdnm"/>
  1029. <Col id="sapreq"/>
  1030. <Col id="goodflag"/>
  1031. <Col id="cmt"/>
  1032. </Row>
  1033. </Rows>
  1034. </Dataset>
  1035. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1036. <ColumnInfo>
  1037. <Column id="reqdeptcd" type="STRING" size="256"/>
  1038. <Column id="reqdeptnm" type="STRING" size="256"/>
  1039. <Column id="requserno" type="STRING" size="256"/>
  1040. <Column id="requsernm" type="STRING" size="256"/>
  1041. <Column id="reqfinaldeptcd" type="STRING" size="256"/>
  1042. <Column id="reqfinaldeptnm" type="STRING" size="256"/>
  1043. <Column id="reqflag" type="STRING" size="256"/>
  1044. </ColumnInfo>
  1045. <Rows>
  1046. <Row>
  1047. <Col id="reqdeptcd"/>
  1048. <Col id="reqdeptnm"/>
  1049. <Col id="requserno"/>
  1050. <Col id="requsernm"/>
  1051. <Col id="reqfinaldeptcd"/>
  1052. <Col id="reqfinaldeptnm"/>
  1053. <Col id="reqflag"/>
  1054. </Row>
  1055. </Rows>
  1056. </Dataset>
  1057. <Dataset id="ds_init_ReqDeptLists_reqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1058. <ColumnInfo>
  1059. <Column id="value" type="STRING" size="256"/>
  1060. <Column id="label" type="STRING" size="256"/>
  1061. </ColumnInfo>
  1062. </Dataset>
  1063. <Dataset id="ds_init_workflag_workflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1064. <ColumnInfo>
  1065. <Column id="label" type="STRING" size="256"/>
  1066. <Column id="value" type="STRING" size="256"/>
  1067. </ColumnInfo>
  1068. <Rows>
  1069. <Row>
  1070. <Col id="label">일반청구</Col>
  1071. <Col id="value">1</Col>
  1072. </Row>
  1073. <Row>
  1074. <Col id="label">상비품청구</Col>
  1075. <Col id="value">3</Col>
  1076. </Row>
  1077. <Row>
  1078. <Col id="label">상비품망실청구</Col>
  1079. <Col id="value">5</Col>
  1080. </Row>
  1081. <Row>
  1082. <Col id="label">상비품반납</Col>
  1083. <Col id="value">4</Col>
  1084. </Row>
  1085. <Row>
  1086. <Col id="label">일반청구반납</Col>
  1087. <Col id="value">2</Col>
  1088. </Row>
  1089. </Rows>
  1090. </Dataset>
  1091. <Dataset id="ds_tempdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_tempdept_oncolumnchanged">
  1092. <ColumnInfo>
  1093. <Column id="tempdeptcd" type="STRING" size="256"/>
  1094. <Column id="tempdeptnm" type="STRING" size="256"/>
  1095. </ColumnInfo>
  1096. <Rows>
  1097. <Row>
  1098. <Col id="tempdeptcd"/>
  1099. <Col id="tempdeptnm"/>
  1100. </Row>
  1101. </Rows>
  1102. </Dataset>
  1103. <Dataset id="ds_init_ReqpridLists_reqpridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1104. <Dataset id="ds_send_save_autoaprv" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_save_autoaprv_oncolumnchanged">
  1105. <ColumnInfo>
  1106. <Column id="autoaprvyn" type="STRING" size="256"/>
  1107. <Column id="reqnonew" type="STRING" size="256"/>
  1108. <Column id="instcd" type="STRING" size="256"/>
  1109. <Column id="reqdeptcd" type="STRING" size="256"/>
  1110. <Column id="reqdd" type="STRING" size="256"/>
  1111. </ColumnInfo>
  1112. <Rows>
  1113. <Row>
  1114. <Col id="autoaprvyn"/>
  1115. <Col id="reqnonew"/>
  1116. <Col id="instcd"/>
  1117. <Col id="reqdeptcd"/>
  1118. <Col id="reqdd"/>
  1119. </Row>
  1120. </Rows>
  1121. </Dataset>
  1122. <Dataset id="ds_main_rsdhdeymlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1123. <ColumnInfo>
  1124. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1125. <Column id="delivedeptcd" type="STRING" size="256" sumtext="불출부서코드"/>
  1126. <Column id="delivedeptnm" type="STRING" size="256" sumtext="불출부서"/>
  1127. <Column id="reqym" type="STRING" size="256" sumtext="청구년월"/>
  1128. <Column id="todd" type="STRING" size="256" sumtext="청구마지막일자"/>
  1129. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id"/>
  1130. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일자"/>
  1131. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자id"/>
  1132. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일자"/>
  1133. </ColumnInfo>
  1134. <Rows>
  1135. <Row/>
  1136. </Rows>
  1137. </Dataset>
  1138. <Dataset id="ds_send_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_goodlist_oncolumnchanged">
  1139. <ColumnInfo>
  1140. <Column id="refcond" type="STRING" size="256"/>
  1141. <Column id="instcd" type="STRING" size="256"/>
  1142. <Column id="goodflag" type="STRING" size="256"/>
  1143. <Column id="goodcd" type="STRING" size="256"/>
  1144. <Column id="goodnm" type="STRING" size="256"/>
  1145. <Column id="indexnm" type="STRING" size="256"/>
  1146. <Column id="indexgb" type="STRING" size="256"/>
  1147. <Column id="reqflag" type="STRING" size="256"/>
  1148. <Column id="lrgcd" type="STRING" size="256"/>
  1149. <Column id="lrgnm" type="STRING" size="256"/>
  1150. <Column id="mdlcd" type="STRING" size="256"/>
  1151. <Column id="mdlnm" type="STRING" size="256"/>
  1152. <Column id="prodcmpycd" type="STRING" size="256"/>
  1153. <Column id="prodcmpynm" type="STRING" size="256"/>
  1154. <Column id="goodspec" type="STRING" size="256"/>
  1155. <Column id="goodmodel" type="STRING" size="256"/>
  1156. <Column id="oldcd" type="STRING" size="256"/>
  1157. <Column id="reqdeptcd" type="STRING" size="256"/>
  1158. <Column id="reqprid" type="STRING" size="256"/>
  1159. <Column id="instcdnm" type="STRING" size="256"/>
  1160. <Column id="reqflagnm" type="STRING" size="256"/>
  1161. <Column id="reqpridnm" type="STRING" size="256"/>
  1162. <Column id="reqcheck" type="STRING" size="256"/>
  1163. <Column id="purcdeptflag" type="STRING" size="256"/>
  1164. <Column id="workflag" type="STRING" size="256"/>
  1165. </ColumnInfo>
  1166. <Rows>
  1167. <Row>
  1168. <Col id="refcond"/>
  1169. <Col id="instcd"/>
  1170. <Col id="goodflag">Y</Col>
  1171. <Col id="goodcd"/>
  1172. <Col id="goodnm"/>
  1173. <Col id="indexnm"/>
  1174. <Col id="indexgb"/>
  1175. <Col id="reqflag"/>
  1176. <Col id="lrgcd"/>
  1177. <Col id="lrgnm"/>
  1178. <Col id="mdlcd"/>
  1179. <Col id="mdlnm"/>
  1180. <Col id="prodcmpycd"/>
  1181. <Col id="prodcmpynm"/>
  1182. <Col id="goodspec"/>
  1183. <Col id="goodmodel"/>
  1184. <Col id="oldcd"/>
  1185. <Col id="reqdeptcd"/>
  1186. <Col id="reqprid"/>
  1187. <Col id="instcdnm"/>
  1188. <Col id="reqflagnm"/>
  1189. <Col id="reqpridnm"/>
  1190. <Col id="reqcheck"/>
  1191. <Col id="purcdeptflag"/>
  1192. <Col id="workflag"/>
  1193. </Row>
  1194. </Rows>
  1195. </Dataset>
  1196. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1197. <ColumnInfo>
  1198. <Column id="goodflag" type="STRING" size="256"/>
  1199. <Column id="goodnm" type="STRING" size="256"/>
  1200. </ColumnInfo>
  1201. <Rows>
  1202. <Row/>
  1203. </Rows>
  1204. </Dataset>
  1205. <Dataset id="ds_main_list_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_goodreq_goodreqlist_oncolumnchanged">
  1206. <ColumnInfo>
  1207. <Column id="instcd" type="STRING" size="256" sumtext="instcd "/>
  1208. <Column id="jobstatus" type="STRING" size="256" sumtext="작업구분 "/>
  1209. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  1210. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자 "/>
  1211. <Column id="reqno" type="STRING" size="256" sumtext="청구번호 "/>
  1212. <Column id="reqseqno" type="STRING" size="256" sumtext="청구일련번호 "/>
  1213. <Column id="workflag" type="STRING" size="256" sumtext="작업구분(청구,반납) "/>
  1214. <Column id="reqmthdflag" type="STRING" size="256" sumtext="청구방법 "/>
  1215. <Column id="deliveflag" type="STRING" size="256" sumtext="불출구분(정기,응급) "/>
  1216. <Column id="reqpridflag" type="STRING" size="256" sumtext="청구주기구분 "/>
  1217. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  1218. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize id "/>
  1219. <Column id="goodflag" type="STRING" size="256" sumtext="goodflag "/>
  1220. <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
  1221. <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
  1222. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  1223. <Column id="purcunit" type="STRING" size="256" sumtext="단위 "/>
  1224. <Column id="purcunitnm" type="STRING" size="256" sumtext="단위명 "/>
  1225. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조사 "/>
  1226. <Column id="stocmngtflag" type="STRING" size="256" sumtext="재고구분 "/>
  1227. <Column id="groupbugt" type="STRING" size="256" sumtext="예산코드그룹 "/>
  1228. <Column id="bugtcd" type="STRING" size="256" sumtext="예산코드 "/>
  1229. <Column id="bugtnm" type="STRING" size="256" sumtext="예산명 "/>
  1230. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제번호 "/>
  1231. <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제명 "/>
  1232. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서 "/>
  1233. <Column id="reqcollcdeptcd" type="STRING" size="256" sumtext="청구취합부서 "/>
  1234. <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서 "/>
  1235. <Column id="delivehopedd" type="STRING" size="256" sumtext="출고희망일 "/>
  1236. <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자코드 "/>
  1237. <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자명 "/>
  1238. <Column id="reqtm" type="STRING" size="256" sumtext="청구시간 "/>
  1239. <Column id="ddavguseqty" type="STRING" size="256" sumtext="일평균사용량 "/>
  1240. <Column id="minexch" type="STRING" size="256" sumtext="최소청구량 "/>
  1241. <Column id="basevol" type="STRING" size="256" sumtext="기준량 "/>
  1242. <Column id="reqqty" type="STRING" size="256" sumtext="청구수량 "/>
  1243. <Column id="prereqqty" type="STRING" size="256" sumtext="기청구수량 "/>
  1244. <Column id="stocqty" type="STRING" size="256" sumtext="재고수량 "/>
  1245. <Column id="adjtqty" type="STRING" size="256" sumtext="조정수량 "/>
  1246. <Column id="preadjtqty" type="STRING" size="256" sumtext="조정수량 "/>
  1247. <Column id="adjtrsn" type="STRING" size="256" sumtext="조정사유 "/>
  1248. <Column id="requnit" type="STRING" size="256" sumtext="청구단위 "/>
  1249. <Column id="predeptaprvyn" type="STRING" size="256" sumtext="부서승인여부 "/>
  1250. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부 "/>
  1251. <Column id="deptaprvnm" type="STRING" size="256" sumtext="부서승인여부 "/>
  1252. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자 "/>
  1253. <Column id="acptflag" type="STRING" size="256" sumtext="접수여부 "/>
  1254. <Column id="acptflagnm" type="STRING" size="256" sumtext="접수여부명 "/>
  1255. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자 "/>
  1256. <Column id="acptcharid" type="STRING" size="256" sumtext="접수담당자id "/>
  1257. <Column id="purcdmnddd" type="STRING" size="256" sumtext="구매요구일자 "/>
  1258. <Column id="purcdmndno" type="STRING" size="256" sumtext="구매요구번호 "/>
  1259. <Column id="purcdmndseq" type="STRING" size="256" sumtext="구매요구일련번호 "/>
  1260. <Column id="colreqdd" type="STRING" size="256" sumtext="colreqdept "/>
  1261. <Column id="colreqno" type="STRING" size="256" sumtext="colreqno "/>
  1262. <Column id="colreqseqno" type="STRING" size="256" sumtext="colreqseqno "/>
  1263. <Column id="deliveqty" type="STRING" size="256" sumtext="불출수량 "/>
  1264. <Column id="unwinresn" type="STRING" size="256" sumtext="미입고사유 "/>
  1265. <Column id="deliveprcsflag" type="STRING" size="256" sumtext="출고진행구분 "/>
  1266. <Column id="cmt" type="STRING" size="256" sumtext="비고 "/>
  1267. <Column id="chkcmt" type="STRING" size="256" sumtext="CHECK비고 "/>
  1268. <Column id="reqarthyn" type="STRING" size="256" sumtext="청구승인권한여부 "/>
  1269. <Column id="aprvyn" type="STRING" size="256" sumtext="발주승인여부 "/>
  1270. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
  1271. <Column id="csrsafestocqty" type="STRING" size="256" sumtext="중앙공급실 청구pgm 조회용컬럼(비품기준량)"/>
  1272. <Column id="csrddavguseqty" type="STRING" size="256" sumtext="중앙공급실 청구pgm 조회용컬럼(기준대여량)"/>
  1273. <Column id="allsizespecidnm" type="STRING" size="256" sumtext="allsize id "/>
  1274. <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize 여부 "/>
  1275. <Column id="studyinstcd" type="STRING" size="256" sumtext="산학청구기관 "/>
  1276. <Column id="rgstqty" type="STRING" size="256" sumtext="집계수량(수액) "/>
  1277. <Column id="exchqty" type="STRING" size="256" sumtext="환산수량 "/>
  1278. <Column id="projectid" type="STRING" size="256" sumtext="프로젝트id "/>
  1279. <Column id="projectnm" type="STRING" size="256" sumtext="프로젝트명 "/>
  1280. <Column id="totamt" type="STRING" size="256" sumtext="예산편성액 "/>
  1281. <Column id="bugtexpcamt" type="STRING" size="256" sumtext="예산추산액 "/>
  1282. <Column id="bugtexecamt" type="STRING" size="256" sumtext="예산집행액 "/>
  1283. <Column id="remainder" type="STRING" size="256" sumtext="예산잔액 "/>
  1284. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명 "/>
  1285. <Column id="reqflagnm" type="STRING" size="256" sumtext="청구구분명 "/>
  1286. <Column id="reqmthdnm" type="STRING" size="256" sumtext="청구방법 "/>
  1287. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기구분 "/>
  1288. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  1289. <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
  1290. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  1291. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처 "/>
  1292. <Column id="suppcustcdnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  1293. <Column id="befmonreqqty" type="STRING" size="256" sumtext="전월청구수량 "/>
  1294. <Column id="reqauth" type="STRING" size="256" sumtext="청구권한 "/>
  1295. <Column id="reqpackqty" type="STRING" size="256" sumtext="청구포장수량"/>
  1296. <Column id="reqpackperunitqty" type="STRING" size="256" sumtext="청구포장단위당갯수"/>
  1297. <Column id="reqpackunit" type="STRING" size="256" sumtext="청구포장단위"/>
  1298. </ColumnInfo>
  1299. </Dataset>
  1300. <Dataset id="ds_main_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_codelist_oncolumnchanged">
  1301. <ColumnInfo>
  1302. <Column id="allsizespecid" type="STRING" size="256" sumtext="ID"/>
  1303. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  1304. <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
  1305. <Column id="chk" type="STRING" size="256" sumtext="Check"/>
  1306. <Column id="qty" type="STRING" size="256" sumtext="수량"/>
  1307. </ColumnInfo>
  1308. </Dataset>
  1309. <Dataset id="ds_main_messagelists_messagelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1310. <ColumnInfo>
  1311. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1312. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
  1313. <Column id="goodflagname" type="STRING" size="256" sumtext="물품구분이름 "/>
  1314. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  1315. <Column id="reqflagname" type="STRING" size="256" sumtext="청구구분이름 "/>
  1316. <Column id="clostm" type="STRING" size="256" sumtext="마감시간 "/>
  1317. <Column id="closdesc" type="STRING" size="256" sumtext="마감메세지 "/>
  1318. </ColumnInfo>
  1319. </Dataset>
  1320. <Dataset id="ds_init_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1321. <Dataset id="ds_main_list_goodreq_goodmaxreqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1322. <ColumnInfo>
  1323. <Column id="reqno" type="STRING" size="256" sumtext="청구번호 "/>
  1324. <Column id="reqfix" type="STRING" size="256" sumtext="청구번호수정가능여부 "/>
  1325. </ColumnInfo>
  1326. </Dataset>
  1327. <Dataset id="ds_main_GoodLists_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_GoodLists_goodlist_oncolumnchanged">
  1328. <ColumnInfo>
  1329. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  1330. <Column id="goodnm" type="STRING" size="256" sumtext="goodnm "/>
  1331. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
  1332. <Column id="userqty" type="STRING" size="256" sumtext="사용자입력수량 "/>
  1333. <Column id="deliveunit" type="STRING" size="256" sumtext="수불단위 "/>
  1334. <Column id="estmamt" type="STRING" size="256" sumtext="견적가 "/>
  1335. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  1336. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  1337. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  1338. <Column id="todd" type="STRING" size="256" sumtext="todd "/>
  1339. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1340. <Column id="useyn" type="STRING" size="256" sumtext="사용여부 "/>
  1341. <Column id="fromdd" type="STRING" size="256" sumtext="fromdd "/>
  1342. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분(r0025) y 진료재료, ... "/>
  1343. <Column id="goodhngnm" type="STRING" size="256" sumtext="영문명 "/>
  1344. <Column id="goodengnm" type="STRING" size="256" sumtext="물품명 "/>
  1345. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드 "/>
  1346. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
  1347. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드 "/>
  1348. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명 "/>
  1349. <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드 "/>
  1350. <Column id="smlnm" type="STRING" size="256" sumtext="소분류 "/>
  1351. <Column id="winacnt" type="STRING" size="256" sumtext="계정코드 "/>
  1352. <Column id="winacntnm" type="STRING" size="256" sumtext="계정코드명 "/>
  1353. <Column id="amtacnt" type="STRING" size="256" sumtext="비용계정 "/>
  1354. <Column id="amtacntnm" type="STRING" size="256" sumtext="비용계정명 "/>
  1355. <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관리부서코드 "/>
  1356. <Column id="mainmngtdeptnm" type="STRING" size="256" sumtext="주관리부서명 "/>
  1357. <Column id="stocmngtflag" type="STRING" size="256" sumtext="재고관리기준 "/>
  1358. <Column id="purcunit" type="STRING" size="256" sumtext="입고단위 "/>
  1359. <Column id="purcunitnm" type="STRING" size="256" sumtext="입고단위 "/>
  1360. <Column id="deliveunitnm" type="STRING" size="256" sumtext="수불단위 "/>
  1361. <Column id="exchqty" type="STRING" size="256" sumtext="환산배수 "/>
  1362. <Column id="minexch" type="STRING" size="256" sumtext="최소환산수량 "/>
  1363. <Column id="divusenvalqty" type="STRING" size="256" sumtext="분할사용수치 "/>
  1364. <Column id="edicd" type="STRING" size="256" sumtext="edi코드 "/>
  1365. <Column id="reqflag" type="STRING" size="256" sumtext="청구기준 "/>
  1366. <Column id="reqflagnm" type="STRING" size="256" sumtext="청구기준명 "/>
  1367. <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법 "/>
  1368. <Column id="reqmthdnm" type="STRING" size="256" sumtext="청구방법명 "/>
  1369. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  1370. <Column id="prodplce" type="STRING" size="256" sumtext="제조국 "/>
  1371. <Column id="prodplcenm" type="STRING" size="256" sumtext="제조국명 "/>
  1372. <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="최종공급처 "/>
  1373. <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="최종공급처 "/>
  1374. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
  1375. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  1376. <Column id="forgncurncyunitcost" type="STRING" size="256" sumtext="외화단가 "/>
  1377. <Column id="curncyunit" type="STRING" size="256" sumtext="화폐단위 "/>
  1378. <Column id="curncyunitnm" type="STRING" size="256" sumtext="화폐단위 "/>
  1379. <Column id="goodunitcost" type="STRING" size="256" sumtext="제품단가 "/>
  1380. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  1381. <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
  1382. <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고량 "/>
  1383. <Column id="ddavguseqty" type="STRING" size="256" sumtext="일평균사용량 "/>
  1384. <Column id="prepargodqty" type="STRING" size="256" sumtext="상비품량 "/>
  1385. <Column id="basevol" type="STRING" size="256" sumtext="청구방법 1:처방집계 상비품 그외 안전 "/>
  1386. <Column id="mmavgusescheqty" type="STRING" size="256" sumtext="월평균사용예정량 "/>
  1387. <Column id="mmavguseqty" type="STRING" size="256" sumtext="월평균사용량 "/>
  1388. <Column id="prprtystocpossndayno" type="STRING" size="256" sumtext="적정재고보유일수 "/>
  1389. <Column id="stocqty" type="STRING" size="256" sumtext="재고량 "/>
  1390. <Column id="curemealstocqty" type="STRING" size="256" sumtext="치료식현재고수량 "/>
  1391. <Column id="empmealstocqty" type="STRING" size="256" sumtext="직원식현재고수량 "/>
  1392. <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="직원야식현재고수량 "/>
  1393. <Column id="curemealstocqty" type="STRING" size="256" sumtext="영양팀치료식 "/>
  1394. <Column id="empmealstocqty" type="STRING" size="256" sumtext="영양팀직원식 "/>
  1395. <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="영양팀직원야식 "/>
  1396. <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize여부 "/>
  1397. <Column id="orgloc" type="STRING" size="256" sumtext="원산지 "/>
  1398. <Column id="select" type="STRING" size="256" sumtext=" "/>
  1399. <Column id="bnscd" type="STRING" size="256" sumtext=" "/>
  1400. <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
  1401. <Column id="goodpurccost" type="STRING" size="256" sumtext="납품가 "/>
  1402. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
  1403. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize코드 "/>
  1404. <Column id="reqfnldeptcd" type="STRING" size="256" sumtext="출고부서 "/>
  1405. <Column id="reqcollcdeptcd" type="STRING" size="256" sumtext="청구취합부서 "/>
  1406. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  1407. <Column id="constunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  1408. <Column id="tmpreqflag" type="STRING" size="256" sumtext="임의청구구분 Y:청구가능 N:청구불가능 "/>
  1409. <Column id="prcpqty" type="STRING" size="256" sumtext="처방수량 "/>
  1410. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
  1411. <Column id="prprtystocqty" type="STRING" size="256" sumtext="적정재고량 "/>
  1412. <Column id="prprtyreqqty" type="STRING" size="256" sumtext="적정청구량 "/>
  1413. <Column id="wstyn" type="STRING" size="256" sumtext="의료폐기물 용기 여부 "/>
  1414. <Column id="reqmutpleqty" type="STRING" size="256" sumtext="청구수량고정배수 "/>
  1415. </ColumnInfo>
  1416. </Dataset>
  1417. <Dataset id="ds_send_reqpsn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1418. <ColumnInfo>
  1419. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1420. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
  1421. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  1422. <Column id="emplno" type="STRING" size="256" sumtext="청구부서"/>
  1423. </ColumnInfo>
  1424. <Rows>
  1425. <Row>
  1426. <Col id="instcd"/>
  1427. <Col id="emplno"/>
  1428. </Row>
  1429. </Rows>
  1430. </Dataset>
  1431. <Dataset id="ds_main_ReqpsnLists_reqpsnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1432. <ColumnInfo>
  1433. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1434. <Column id="emplno" type="STRING" size="256" sumtext="사원번호 "/>
  1435. <Column id="emplnm" type="STRING" size="256" sumtext="사원명 "/>
  1436. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서코드 "/>
  1437. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명 "/>
  1438. <Column id="reqaprvflag" type="STRING" size="256" sumtext="청구승인구분 "/>
  1439. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  1440. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID "/>
  1441. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
  1442. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자ID "/>
  1443. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시 "/>
  1444. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  1445. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기 "/>
  1446. <Column id="reqaprvflagnm" type="STRING" size="256" sumtext="청구승인구분명 "/>
  1447. <Column id="reqflagnm" type="STRING" size="256" sumtext="청구구분명 "/>
  1448. </ColumnInfo>
  1449. </Dataset>
  1450. <Dataset id="ds_init_CopyData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1451. <Dataset id="ds_main_DeptReqnoLists_reqnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1452. <ColumnInfo>
  1453. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1454. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서 "/>
  1455. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자 "/>
  1456. <Column id="reqno" type="STRING" size="256" sumtext="청구번호 "/>
  1457. <Column id="reqcount" type="STRING" size="256" sumtext="청구건수 "/>
  1458. </ColumnInfo>
  1459. </Dataset>
  1460. <Dataset id="ds_send_reqmst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1461. <ColumnInfo>
  1462. <Column id="instcd" type="STRING" size="256"/>
  1463. <Column id="reqdeptcd" type="STRING" size="256"/>
  1464. <Column id="reqflag" type="STRING" size="256"/>
  1465. <Column id="reqpridflag" type="STRING" size="256"/>
  1466. </ColumnInfo>
  1467. <Rows>
  1468. <Row>
  1469. <Col id="instcd"/>
  1470. <Col id="reqdeptcd"/>
  1471. <Col id="reqflag"/>
  1472. <Col id="reqpridflag"/>
  1473. </Row>
  1474. </Rows>
  1475. </Dataset>
  1476. <Dataset id="ds_main_list_reqmst_reqsetmst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1477. <ColumnInfo>
  1478. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1479. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기"/>
  1480. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서코드"/>
  1481. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
  1482. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
  1483. <Column id="goodsetnm" type="STRING" size="256" sumtext="물품set명"/>
  1484. <Column id="oldgoodsetnm" type="STRING" size="256" sumtext="물품set명"/>
  1485. </ColumnInfo>
  1486. </Dataset>
  1487. <Dataset id="ds_main_list_reqset_reqsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_reqset_reqsetlist_oncolumnchanged">
  1488. <ColumnInfo>
  1489. <Column id="chk" type="STRING" size="256" sumtext="Check "/>
  1490. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  1491. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서코드 "/>
  1492. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명 "/>
  1493. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분(r0025) "/>
  1494. <Column id="goodsetnm" type="STRING" size="256" sumtext="물품set명 "/>
  1495. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  1496. <Column id="goodflag" type="STRING" size="256" sumtext="물품코드 "/>
  1497. <Column id="goodflagnm" type="STRING" size="256" sumtext="물품코드 "/>
  1498. <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
  1499. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
  1500. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델 "/>
  1501. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  1502. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  1503. <Column id="goodqty" type="STRING" size="256" sumtext="물품수량(안전재고량) "/>
  1504. <Column id="basevol" type="STRING" size="256" sumtext="처방구분 "/>
  1505. <Column id="prepargodqty" type="STRING" size="256" sumtext="부서 상비품량 "/>
  1506. <Column id="deliveunit" type="STRING" size="256" sumtext="수불단위 "/>
  1507. <Column id="deliveunitnm" type="STRING" size="256" sumtext="수불단위명 "/>
  1508. <Column id="purcunit" type="STRING" size="256" sumtext="구매단위 "/>
  1509. <Column id="minexch" type="STRING" size="256" sumtext="최소청구량 "/>
  1510. <Column id="stocqty" type="STRING" size="256" sumtext="재고량 "/>
  1511. <Column id="ddavguseqty" type="STRING" size="256" sumtext="일평균사용량 "/>
  1512. <Column id="cmt" type="STRING" size="256" sumtext="비고 "/>
  1513. <Column id="allsizeyn" type="STRING" size="256" sumtext="allsizeyn "/>
  1514. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsizespecid "/>
  1515. <Column id="allsizespecidnm" type="STRING" size="256" sumtext="allsizespecidnm "/>
  1516. <Column id="select" type="STRING" size="256" sumtext="선택 "/>
  1517. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID "/>
  1518. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
  1519. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID "/>
  1520. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
  1521. <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="주거래처 "/>
  1522. <Column id="suppcustcd" type="STRING" size="256" sumtext="부거래처 "/>
  1523. <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고량(약국구매화면) "/>
  1524. <Column id="exchqty" type="STRING" size="256" sumtext="환산수량(약국구매화면) "/>
  1525. <Column id="goodunitcost" type="STRING" size="256" sumtext="단가(약국구매화면) "/>
  1526. <Column id="calcqty" type="STRING" size="256" sumtext="계산량(약국구매화면) "/>
  1527. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
  1528. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  1529. <Column id="reqflagnm" type="STRING" size="256" sumtext="청구구분명 "/>
  1530. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsizespecidold "/>
  1531. <Column id="reqfnldeptcd" type="STRING" size="256" sumtext="출고부서 "/>
  1532. <Column id="reqcollcdeptcd" type="STRING" size="256" sumtext="청구취합부서 "/>
  1533. <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법 1:처방,2:정량,3:일반"/>
  1534. <Column id="reqmthdnm" type="STRING" size="256" sumtext="청구방법명 "/>
  1535. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 1:구매,2:수탁,3:가납"/>
  1536. <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
  1537. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  1538. <Column id="constunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  1539. <Column id="tmpreqflag" type="STRING" size="256" sumtext="임의청구구분 Y:청구가능 N:청구불가능 "/>
  1540. </ColumnInfo>
  1541. </Dataset>
  1542. <Dataset id="ds_send_reqset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1543. <Dataset id="ds_send_lastdatesearch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1544. <ColumnInfo>
  1545. <Column id="instcd" type="STRING" size="256"/>
  1546. <Column id="deldeptcd" type="STRING" size="256"/>
  1547. <Column id="reqym" type="STRING" size="256"/>
  1548. </ColumnInfo>
  1549. <Rows>
  1550. <Row>
  1551. <Col id="instcd"/>
  1552. <Col id="deldeptcd"/>
  1553. <Col id="reqym"/>
  1554. </Row>
  1555. </Rows>
  1556. </Dataset>
  1557. <Dataset id="ds_init_cmb_goodflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1558. <Dataset id="ds_init_cmb_goodflagcopy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1559. <Dataset id="ds_copynode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1560. <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1561. <Dataset id="ds_send_allsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1562. <ColumnInfo>
  1563. <Column id="goodcd" type="STRING" size="256"/>
  1564. <Column id="instcd" type="STRING" size="256"/>
  1565. <Column id="goodspec" type="STRING" size="256"/>
  1566. </ColumnInfo>
  1567. <Rows>
  1568. <Row>
  1569. <Col id="goodcd"/>
  1570. <Col id="instcd"/>
  1571. <Col id="goodspec"/>
  1572. </Row>
  1573. </Rows>
  1574. </Dataset>
  1575. <Dataset id="ds_init_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1576. <ColumnInfo>
  1577. <Column id="deliveunit" type="STRING" size="256"/>
  1578. <Column id="exchqty" type="STRING" size="256"/>
  1579. </ColumnInfo>
  1580. <Rows>
  1581. <Row/>
  1582. </Rows>
  1583. </Dataset>
  1584. <Dataset id="ds_send_message" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1585. <ColumnInfo>
  1586. <Column id="instcd" type="STRING" size="256"/>
  1587. <Column id="goodflag" type="STRING" size="256"/>
  1588. <Column id="reqflag" type="STRING" size="256"/>
  1589. </ColumnInfo>
  1590. <Rows>
  1591. <Row>
  1592. <Col id="instcd"/>
  1593. <Col id="goodflag"/>
  1594. <Col id="reqflag"/>
  1595. </Row>
  1596. </Rows>
  1597. </Dataset>
  1598. </Objects>
  1599. <Bind>
  1600. <BindItem id="item0" compid="grp_sea.opt_instcd" propid="value" datasetid="ds_send_goodreq" columnid="instcd"/>
  1601. <BindItem id="item1" compid="grp_sea.opt_instcdnm" propid="value" datasetid="ds_send_goodreq" columnid="instcdnm"/>
  1602. <BindItem id="item2" compid="grp_sea.opt_requser" propid="value" datasetid="ds_init" columnid="requserno"/>
  1603. <BindItem id="item3" compid="grp_sea.opt_requsernm" propid="value" datasetid="ds_init" columnid="requsernm"/>
  1604. <BindItem id="item4" compid="grp_sea.cmb_reqdeptcd" propid="value" datasetid="ds_send_goodreq" columnid="reqdeptcd"/>
  1605. <BindItem id="item5" compid="grp_sea.cmb_workflag" propid="value" datasetid="ds_send_goodreq" columnid="workflag"/>
  1606. <BindItem id="item6" compid="grp_sea.sel_goodflag" propid="value" datasetid="ds_send_goodreq" columnid="goodflag"/>
  1607. <BindItem id="item7" compid="grp_sea.ipt_tempdeptcd" propid="value" datasetid="ds_tempdept" columnid="tempdeptcd"/>
  1608. <BindItem id="item8" compid="grp_sea.ipt_tempdeptnm" propid="value" datasetid="ds_tempdept" columnid="tempdeptnm"/>
  1609. <BindItem id="item9" compid="grp_sea.cmb_reqpridflag" propid="value" datasetid="ds_send_goodreq" columnid="reqpridflag"/>
  1610. <BindItem id="item10" compid="grp_sea.ipt_reqdd" propid="value" datasetid="ds_send_goodreq" columnid="reqdd"/>
  1611. <BindItem id="item11" compid="grp_sea.ckb_sapreq" propid="value" datasetid="ds_send_goodreq" columnid="sapreq"/>
  1612. <BindItem id="item12" compid="grp_sea.cmb_reqno" propid="value" datasetid="ds_send_goodreq" columnid="reqno"/>
  1613. <BindItem id="item13" compid="grp_sea.chk_reqnonew" propid="value" datasetid="ds_send_save_autoaprv" columnid="reqnonew"/>
  1614. <BindItem id="item14" compid="grp_sea.ipt_reqddnew" propid="value" datasetid="ds_send_save_autoaprv" columnid="reqdd"/>
  1615. <BindItem id="item15" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_main_rsdhdeymlist" columnid="todd"/>
  1616. <BindItem id="item16" compid="grp_sea.tmpreqdeptcd" propid="value" datasetid="ds_send_goodlist" columnid="reqdeptcd"/>
  1617. <BindItem id="item17" compid="grp_sea.opt_reqfinaldept" propid="value" datasetid="ds_init" columnid="reqfinaldeptcd"/>
  1618. <BindItem id="item18" compid="grp_sea.opt_reqfinaldeptnm" propid="value" datasetid="ds_init" columnid="reqfinaldeptnm"/>
  1619. <BindItem id="item19" compid="grp_sea.tmp_goodcd" propid="value" datasetid="ds_send_goodreq" columnid="tmp_goodcd"/>
  1620. <BindItem id="item20" compid="grp_sea.opt_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
  1621. <BindItem id="item21" compid="grp_sea.tmp_goodnm" propid="value" datasetid="ds_send_goodreq" columnid="tmp_goodnm"/>
  1622. <BindItem id="item22" compid="grp_button.ckb_accept" propid="value" datasetid="ds_send_save_autoaprv" columnid="autoaprvyn"/>
  1623. <BindItem id="item23" compid="swt_search.gd_find.group2.cmb_reqflag" propid="value" datasetid="ds_init" columnid="reqflag"/>
  1624. <BindItem id="item24" compid="swt_search.gd_find.group2.ipt_lrgcd" propid="value" datasetid="ds_send_goodlist" columnid="lrgcd"/>
  1625. <BindItem id="item25" compid="swt_search.gd_find.group2.ipt_mdlcd" propid="value" datasetid="ds_send_goodlist" columnid="mdlcd"/>
  1626. <BindItem id="item26" compid="swt_search.gd_find.group2.ipt_goodcd" propid="value" datasetid="ds_send_goodlist" columnid="goodcd"/>
  1627. <BindItem id="item27" compid="swt_search.gd_find.group2.ipt_goodnm" propid="value" datasetid="ds_send_goodlist" columnid="goodnm"/>
  1628. <BindItem id="item28" compid="swt_search.gd_find.group2.ipt_goodspec" propid="value" datasetid="ds_send_goodlist" columnid="goodspec"/>
  1629. <BindItem id="item29" compid="swt_search.gd_find.group2.ipt_goodmodel" propid="value" datasetid="ds_send_goodlist" columnid="goodmodel"/>
  1630. <BindItem id="item30" compid="swt_search.gd_find.group2.ipt_prodcmpycd" propid="value" datasetid="ds_send_goodlist" columnid="prodcmpycd"/>
  1631. <BindItem id="item31" compid="swt_search.gd_find.group2.ipt_prodcmpynm" propid="value" datasetid="ds_send_goodlist" columnid="prodcmpynm"/>
  1632. <BindItem id="item32" compid="swt_search.gd_find.group2.ipt_oldcd_search" propid="value" datasetid="ds_send_goodlist" columnid="oldcd"/>
  1633. <BindItem id="item33" compid="swt_search.gd_find.group2.cmb_goodflag" propid="value" datasetid="ds_send_goodlist" columnid="goodflag"/>
  1634. </Bind>
  1635. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1636. * System Name :
  1637. * Job Name :
  1638. * Creator :
  1639. * Make Date : 2017-06-19
  1640. * Description :
  1641. *---------------------------------------------------------------------------------------
  1642. * Modify Date Modifier Modify Description
  1643. *---------------------------------------------------------------------------------------
  1644. * 2017-06-19 Live Converter TF->XP
  1645. *
  1646. *---------------------------------------------------------------------------------------
  1647. ****************************************************************************************/
  1648. include "com_commonxp::comm_main.xjs";
  1649. include "mis_miscommonxp::MIS.xjs";
  1650. include "mis_miscommonxp::RSZ001.xjs";
  1651. include "mis_reqxp::SMRSD00400.xjs";
  1652. function SMRSD00400_oninit(obj:Form, e:InitEventInfo)
  1653. {
  1654. frmf_initForm(obj);
  1655. }
  1656. function SMRSD00400_onload(obj:Form, e:LoadEventInfo)
  1657. {
  1658. grdf_initGrid(grd_goodreq);
  1659. grdf_setRowTypeIcon(grd_goodreq, 0);
  1660. grdf_initGrid(grp_allsize.grd_codelist);
  1661. grdf_initGrid(grd_message);
  1662. grdf_initGrid(swt_search.gd_set.grd_setlist);
  1663. grdf_initGrid(swt_search.gd_set.grd_reqset);
  1664. grdf_initGrid(swt_search.gd_find.grd_goodlist);
  1665. fInit();
  1666. }
  1667. function grp_sea_cmb_reqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1668. {
  1669. misfGridInit(grd_goodreq);
  1670. grp_sea.tmpreqdeptcd.value = grp_sea.cmb_reqdeptcd.value;
  1671. fReqpridCopy();
  1672. fDeptReqNoQuery();
  1673. if (swt_search.tabindex == 1)
  1674. {
  1675. fReqSetList() ;
  1676. }
  1677. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1678. {
  1679. grp_sea.btn_search.click();
  1680. }
  1681. }
  1682. function swt_search_gd_set_grd_setlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1683. {
  1684. fReqSetRead(ds_main_list_reqmst_reqsetmst.rowposition);
  1685. }
  1686. function ds_main_list_reqset_reqsetlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1687. {
  1688. if(e.columnid == "select")
  1689. {
  1690. obj.setColumn(e.row, "select", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  1691. }
  1692. }
  1693. function ds_main_GoodLists_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1694. {
  1695. if(e.columnid == "select")
  1696. {
  1697. obj.setColumn(e.row, "select", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  1698. }
  1699. }
  1700. function grp_sea_cmb_workflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1701. {
  1702. misfGridInit(swt_search.gd_find.grd_goodlist);
  1703. var updtdata = grdf_getGridUpdateData(grd_goodreq).rowcount;
  1704. if ( cmbworkflagold != grp_sea.cmb_workflag.value )
  1705. {
  1706. if ( updtdata != 0)
  1707. {
  1708. var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 작업구분 변경을","Q003");
  1709. if (ret != 6)
  1710. {
  1711. grp_sea.cmb_workflag.index = parseInt(cmbworkflagold)-1;
  1712. return;
  1713. }
  1714. else
  1715. {
  1716. misfGridInit(grd_goodreq);
  1717. cmbworkflagold = grp_sea.cmb_workflag.value;
  1718. fDeptReqNoQuery();
  1719. }
  1720. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1721. {
  1722. grp_sea.btn_search.click();
  1723. }
  1724. }
  1725. else
  1726. {
  1727. cmbworkflagold = grp_sea.cmb_workflag.value;
  1728. fDeptReqNoQuery();
  1729. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1730. {
  1731. grp_sea.btn_search.click();
  1732. }
  1733. }
  1734. }
  1735. }
  1736. function grp_sea_sel_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1737. {
  1738. misfGridInit(swt_search.gd_find.grd_goodlist);
  1739. var updtdata = grdf_getGridUpdateData(grd_goodreq).rowcount;
  1740. if ( cmbworkflagold != grp_sea.cmb_workflag.value )
  1741. {
  1742. if ( updtdata != 0)
  1743. {
  1744. var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 작업구분 변경을","Q003");
  1745. if (ret != 6)
  1746. {
  1747. grp_sea.cmb_workflag.index = parseInt(cmbworkflagold)-1 ;
  1748. return;
  1749. }
  1750. else
  1751. {
  1752. misfGridInit(grd_goodreq);
  1753. cmbworkflagold = grp_sea.cmb_workflag.value;
  1754. fDeptReqNoQuery();
  1755. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1756. {
  1757. grp_sea.btn_search.click();
  1758. }
  1759. }
  1760. }
  1761. else
  1762. {
  1763. cmbworkflagold = grp_sea.cmb_workflag.value;
  1764. fDeptReqNoQuery();
  1765. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1766. {
  1767. grp_sea.btn_search.click();
  1768. }
  1769. }
  1770. } // end
  1771. }
  1772. function ds_tempdept_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1773. {
  1774. if(e.columnid == "tempdeptcd")
  1775. {
  1776. grp_sea.ipt_tempdeptcd.value = e.newvalue;
  1777. grp_sea.ipt_tempdeptcd.setFocus();
  1778. if(utlf_isNull(e.newvalue))
  1779. {
  1780. grp_sea.ipt_tempdeptnm.value = "";
  1781. }
  1782. else
  1783. {
  1784. misfValidationCheck("02", "", "tempdeptcd,tempdeptnm");
  1785. vDeptcd = e.newvalue;
  1786. if (utlf_isNull(vDeptcd))
  1787. {
  1788. return
  1789. }
  1790. if (utlf_isNull(ds_init_ReqDeptLists_reqdeptlist.lookup("value", vDeptcd, "value")))
  1791. {
  1792. fAddReqDeptcdCombo();
  1793. }
  1794. else
  1795. {
  1796. cmb_reqdeptcd.value = vDeptcd;
  1797. }
  1798. }
  1799. }
  1800. if(e.columnid == "tempdeptnm")
  1801. {
  1802. grp_sea.ipt_tempdeptnm.value = e.newvalue;
  1803. grp_sea.ipt_tempdeptnm.setFocus();
  1804. if(utlf_isNull(e.newvalue))
  1805. {
  1806. grp_sea.ipt_tempdeptcd.value = "";
  1807. }
  1808. else
  1809. {
  1810. misfValidationCheck("02", "", "tempdeptcd,tempdeptnm");
  1811. vDeptcd = ds_tempdept.getColumn(0, "tempdeptcd");
  1812. if (utlf_isNull(vDeptcd))
  1813. {
  1814. return
  1815. }
  1816. if (utlf_isNull(ds_init_ReqDeptLists_reqdeptlist.lookup("value", vDeptcdm, "value")))
  1817. {
  1818. fAddReqDeptcdCombo();
  1819. }
  1820. else
  1821. {
  1822. grp_sea.cmb_reqdeptcd.value = vDeptcd;
  1823. }
  1824. }
  1825. }
  1826. }
  1827. function grp_sea_btn_tempdeptcd_onclick(obj:Button, e:ClickEventInfo)
  1828. {
  1829. var tempolddeptcd = ds_tempdept.getColumn(0, "tempdeptcd");
  1830. misfOpenPopUpList("02", grp_sea.ipt_tempdeptcd,"","tempdeptcd,tempdeptnm");
  1831. var vDeptcd = ds_tempdept.getColumn(0, "tempdeptcd");
  1832. if (utlf_isNull(vDeptcd))
  1833. {
  1834. return
  1835. }
  1836. if (utlf_isNull(ds_init_ReqDeptLists_reqdeptlist.lookup("value", vDeptcd, "value")))
  1837. {
  1838. fAddReqDeptcdCombo();
  1839. }
  1840. else
  1841. {
  1842. grp_sea.cmb_reqdeptcd.value = vDeptcd;
  1843. }
  1844. }
  1845. function grp_sea_cmb_reqpridflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1846. {
  1847. if (obj.value == "4")
  1848. {
  1849. fLastDaySearch_2(utlf_getCurrentDate());
  1850. if (fLastDayCheck_2() )
  1851. {
  1852. grp_button.btn_save.enable = false;
  1853. return;
  1854. }
  1855. else
  1856. {
  1857. grp_button.btn_save.enable = true;
  1858. }
  1859. }
  1860. misfGridInit(grd_goodreq);
  1861. fSetReqAuth();
  1862. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  1863. {
  1864. grp_sea.btn_search.click();
  1865. }
  1866. }
  1867. function grp_sea_ipt_reqddnew_onchanged(obj:Calendar, e:ChangeEventInfo)
  1868. {
  1869. if ( ds_send_save_autoaprv.getColumn(0, "reqdd") < utlf_getCurrentDate()) {
  1870. var nowdeptcd = rszfGetPurcDeptCd( sysf_getUserInfo("dutplceinstcd") );
  1871. if (nowdeptcd != sysf_getUserInfo("dutplcecd") ) {
  1872. sysf_messageBox("신규의 경우는 현재일자 보다 작은 청구일자를 입력 ", "C001");
  1873. grp_sea.ipt_reqddnew.value = utlf_getCurrentDate();
  1874. }
  1875. }
  1876. }
  1877. function grp_sea_ckb_sapreq_onclick(obj:CheckBox, e:ClickEventInfo)
  1878. {
  1879. var value = obj.value;
  1880. if(value == "Y")
  1881. {
  1882. }
  1883. else
  1884. {
  1885. value = "";
  1886. ds_send_goodreq.setColumn(0, "sapreq", "");
  1887. }
  1888. fSapReqSetting(value);
  1889. }
  1890. function grp_sea_cmb_reqno_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1891. {
  1892. grp_sea.btn_search.click();
  1893. }
  1894. function grp_sea_chk_reqnonew_onclick(obj:CheckBox, e:ClickEventInfo)
  1895. {
  1896. if (obj.value == "Y" )
  1897. {
  1898. grp_sea.cmb_reqno.value ="";
  1899. }
  1900. else
  1901. {
  1902. ds_send_save_autoaprv.setColumn(0, "reqnonew", "");
  1903. }
  1904. fNewReqNo();
  1905. }
  1906. function grp_sea_rdo_inputmethod_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1907. {
  1908. if (obj.value == "1")
  1909. {
  1910. grd_goodreq.setCellProperty("Body", grd_goodreq.getBindCellIndex("Body", "stocqty"), "edittype", "none");
  1911. grd_goodreq.setCellProperty("Body", grd_goodreq.getBindCellIndex("Body", "reqqty"), "edittype", "normal");
  1912. }
  1913. else
  1914. {
  1915. grd_goodreq.setCellProperty("Body", grd_goodreq.getBindCellIndex("Body", "stocqty"), "edittype", "normal");
  1916. grd_goodreq.setCellProperty("Body", grd_goodreq.getBindCellIndex("Body", "reqqty"), "edittype", "none");
  1917. }
  1918. }
  1919. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1920. {
  1921. fSearchButtonClick();
  1922. }
  1923. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  1924. {
  1925. fInitialize();
  1926. }
  1927. function swt_search_gd_find_group2_cmb_reqflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1928. {
  1929. fReqFagChange(obj.value);
  1930. rszfLMSComboList(swt_search.gd_find.group2.cmb_goodflag.value, "", "", "swt_search.gd_find.group2.ipt_lrgcd", "", "L","Y");
  1931. }
  1932. function swt_search_gd_find_group2_ipt_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1933. {
  1934. rszfLMSComboList(swt_search.gd_find.group2.cmb_goodflag.value, swt_search.gd_find.group2.ipt_lrgcd.value, "", "swt_search.gd_find.group2.ipt_mdlcd", "", "M", "Y");
  1935. }
  1936. function swt_search_gd_find_group2_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
  1937. {
  1938. if(e.keycode == 13)
  1939. {
  1940. obj.updateToDataset();
  1941. swt_search.gd_find.btn_searchgood.click();
  1942. }
  1943. }
  1944. function swt_search_gd_find_group2_ipt_goodnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1945. {
  1946. if(e.keycode == 13)
  1947. {
  1948. obj.updateToDataset();
  1949. swt_search.gd_find.btn_searchgood.click();
  1950. }
  1951. }
  1952. function ds_send_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1953. {
  1954. if(e.columnid == "prodcmpycd")
  1955. {
  1956. swt_search.gd_find.group2.ipt_prodcmpycd.value = e.newvalue;
  1957. swt_search.gd_find.group2.ipt_prodcmpycd.setFocus();
  1958. if(!utlf_isNull(e.newvalue))
  1959. {
  1960. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + e.newvalue + "," ,"","prodcmpycd,prodcmpynm" ,swt_search.gd_find.group2.ipt_prodcmpycd,"SPRSD00160","","");
  1961. }
  1962. else
  1963. {
  1964. swt_search.gd_find.group2.ipt_prodcmpynm.value ="";
  1965. }
  1966. }
  1967. if(e.columnid == "prodcmpynm")
  1968. {
  1969. swt_search.gd_find.group2.ipt_prodcmpynm.value = e.newvalue;
  1970. swt_search.gd_find.group2.ipt_prodcmpynm.setFocus();
  1971. if(!utlf_isNull(e.newvalue))
  1972. {
  1973. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpynm,," + e.newvalue ,"","prodcmpycd,prodcmpynm" ,swt_search.gd_find.group2.ipt_prodcmpycd,"SPRSD00160","","");
  1974. }
  1975. else
  1976. {
  1977. swt_search.gd_find.group2.ipt_prodcmpycd.value ="";
  1978. }
  1979. }
  1980. }
  1981. function swt_search_gd_find_group2_btn_prodcmpycd_onclick(obj:Button, e:ClickEventInfo)
  1982. {
  1983. rszfOpenPopUpListByWndName(swt_search.gd_find.group2.ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
  1984. }
  1985. function swt_search_gd_find_btn_searchgood_onclick(obj:Button, e:ClickEventInfo)
  1986. {
  1987. fGoodListSearch() ;
  1988. }
  1989. function swt_search_gd_find_bbt_apply2_onclick(obj:Button, e:ClickEventInfo)
  1990. {
  1991. fSelectDataApply(swt_search.gd_find.grd_goodlist, grd_goodreq, "goodreqlist", "basevol");
  1992. }
  1993. function bbt_large_onclick(obj:Button, e:ClickEventInfo)
  1994. {
  1995. swt_search.tabindex = 0;
  1996. }
  1997. function bbt_right_onclick(obj:Button, e:ClickEventInfo)
  1998. {
  1999. swt_search.tabindex = 0;
  2000. }
  2001. function swt_search_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  2002. {
  2003. if(obj.tabindex == 0)
  2004. {
  2005. fViewToggle(1);
  2006. }
  2007. else if(obj.tabindex == 1)
  2008. {
  2009. fViewToggle(2);
  2010. fReqSetList() ;
  2011. }
  2012. else if(obj.tabindex == 2)
  2013. {
  2014. fViewToggle(2);
  2015. if (utlf_isNull(ds_init.getColumn(0, "reqflag")))
  2016. {
  2017. swt_search.gd_find.group2.cmb_reqflag.index = 0;
  2018. fReqFagChange(swt_search.gd_find.group2.cmb_reqflag.value);
  2019. }
  2020. fGoodListReady("","");
  2021. }
  2022. }
  2023. function grp_button_btn_insert_onclick(obj:Button, e:ClickEventInfo)
  2024. {
  2025. if (fCheckRetrieveData(true) == false) return;
  2026. var addRow = ds_main_list_goodreq_goodreqlist.addRow();
  2027. tar_cmt.value = "";
  2028. fDefaultSetting(addRow);
  2029. grd_goodreq.setCellPos(grd_goodreq.getBindCellIndex("body", "goodcd"));
  2030. grd_goodreq.showEditor(true);
  2031. }
  2032. function grd_goodreq_oncellclick(obj:Grid, e:GridClickEventInfo)
  2033. {
  2034. grp_allsize.visible = false;
  2035. }
  2036. function grd_goodreq_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  2037. {
  2038. fGoodreqButtonClick() ;
  2039. }
  2040. function ds_main_list_goodreq_goodreqlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2041. {
  2042. if (e.columnid == "reqqty")
  2043. {
  2044. if (obj.getColumn(e.row, "acptflag") == "Y")
  2045. {
  2046. sysf_messageBox("구매접수된 내역은 수정","E001");
  2047. return;
  2048. }
  2049. if (grp_sea.cmb_reqpridflag.value != "1")
  2050. {
  2051. if (obj.getColumn(e.row, "reqauth") == "1" && obj.getColumn(e.row, "predeptaprvyn") == "Y")
  2052. {
  2053. obj.updatecontrol = false;
  2054. obj.setRowType(e.row, "");
  2055. obj.updatecontrol = true;
  2056. sysf_messageBox("청구승인되었으므로 청구량을 수정" ,"E001");
  2057. return;
  2058. }
  2059. }
  2060. minexch = obj.getColumn(e.row, "minexch");
  2061. }
  2062. else if (e.columnid == "stocqty" || e.columnid == "basevol")
  2063. {
  2064. basevol = obj.getColumn(e.row, "basevol");
  2065. stocqty = obj.getColumn(e.row, "stocqty");
  2066. reqqty = obj.getColumn(e.row, "reqqty");
  2067. minexch = obj.getColumn(e.row, "minexch");
  2068. if(e.columnid == "basevol")
  2069. {
  2070. basevol = e.newvalue;
  2071. }
  2072. else if(e.columnid == "stocqty")
  2073. {
  2074. stocqty = e.newvalue;
  2075. if (obj.getColumn(e.row, "acptflag") == "Y")
  2076. {
  2077. sysf_messageBox("구매접수된 내역은 수정","E001");
  2078. return;
  2079. }
  2080. if (grp_sea.cmb_reqpridflag.value !="1")
  2081. {
  2082. if (obj.getColumn(e.row, "reqauth") == "1" && obj.getColumn(e.row, "predeptaprvyn") == "Y")
  2083. {
  2084. obj.updatecontrol = false;
  2085. obj.setRowType(e.row, "");
  2086. obj.updatecontrol = true;
  2087. sysf_messageBox("청구승인되었으므로 재고량을 수정" ,"E001");
  2088. return;
  2089. }
  2090. }
  2091. }
  2092. if (obj.getColumn(e.row, "acptflag") == "Y")
  2093. {
  2094. sysf_messageBox("구매접수된 내역은 수정","E001");
  2095. return;
  2096. }
  2097. if(grp_sea.cmb_reqpridflag.value != "1")
  2098. {
  2099. if (obj.getColumn(e.row, "reqauth") == "1" && obj.getColumn(e.row, "predeptaprvyn") == "Y")
  2100. {
  2101. obj.updatecontrol = false;
  2102. obj.setRowType(e.row, "");
  2103. obj.updatecontrol = true;
  2104. sysf_messageBox("청구승인되었으므로 재고량을 수정" ,"E001");
  2105. return;
  2106. }
  2107. }
  2108. calc_reqqty = basevol - stocqty;
  2109. obj.setColumn(e.row, "reqqty", calc_reqqty);
  2110. }
  2111. else if(e.columnid == "goodcd" && String(e.newvalue).length > 0)
  2112. {
  2113. ds_copynode.clearData();
  2114. frmf_clearParameter("SMRSD00400_");
  2115. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm,reqflag,reqdeptcd,reqprid","goodcd,"
  2116. + grp_sea.opt_instcd.value + ","
  2117. + obj.getColumn(e.row, "goodflag") + ","
  2118. + e.newvalue + ",,,,"
  2119. + swt_search.gd_find.group2.cmb_reqflag.value + ","
  2120. + grp_sea.cmb_reqdeptcd.value + ","
  2121. + grp_sea.cmb_reqpridflag.value ,""
  2122. , "goodcd,goodnm,goodspec,goodmodel,prodcmpynm,purcunit,stocqty,minexch,goodflag,ddavguseqty,reqflag,allsizeyn,delivedeptcd,setunit,constunit"
  2123. , grd_goodreq,"SPRSD00190"
  2124. , "instcd,goodflag,reqflag,reqdeptcd,reqprid","grp_sea.opt_instcd,grp_sea.opt_goodflag,swt_search.gd_find.group2.cmb_reqflag,grp_sea.cmb_reqdeptcd,grp_sea.cmb_reqpridflag","Y");
  2125. if (String(obj.getColumn(cur_row, "goodnm")).length > 0)
  2126. {
  2127. obj.setColumn(e.row, "reqqty", "1");
  2128. obj.setColumn(e.row, "basevol", "1");
  2129. obj.setColumn(e.row, "requnit", ds_init_main_goodlist.getColumn(0, "deliveunit"));
  2130. obj.setColumn(e.row, "exchqty", ds_init_main_goodlist.getColumn(0, "exchqty"));
  2131. obj.setColumn(e.row, "reqmthdflag", "3");
  2132. }
  2133. var cur_row = e.row;
  2134. var CSV = frmf_getParameter("SMRSD00400_");
  2135. if(String(CSV).length == 0 && String(obj.getColumn(cur_row, "goodnm")).length == 0)
  2136. {
  2137. obj.setColumn(e.row, "goodcd", "");
  2138. obj.setColumn(e.row, "goodnm", "");
  2139. obj.setColumn(e.row, "goodspec", "");
  2140. obj.setColumn(e.row, "goodflag", "");
  2141. obj.setColumn(e.row, "goodmodel", "");
  2142. obj.setColumn(e.row, "prodcmpynm", "");
  2143. obj.setColumn(e.row, "purcunit", "");
  2144. obj.setColumn(e.row, "basevol", "");
  2145. obj.setColumn(e.row, "stocqty", "");
  2146. obj.setColumn(e.row, "reqqty", "");
  2147. obj.setColumn(e.row, "requnit", "");
  2148. obj.setColumn(e.row, "minexch", "");
  2149. obj.setColumn(e.row, "ddavguseqty", "");
  2150. obj.setColumn(e.row, "allsizeyn", "");
  2151. obj.setColumn(e.row, "allsizespecid", "");
  2152. obj.setColumn(e.row, "exchqty", "");
  2153. obj.setColumn(e.row, "rgstqty", "");
  2154. obj.setColumn(e.row, "reqauth", "1");
  2155. grd_goodreq.setCellPos(grd_goodreq.getBindCellIndex("body", "goodcd"));
  2156. grd_goodreq.showEditor(true);
  2157. }
  2158. else if(String(CSV).length > 0)
  2159. {
  2160. obj.setColumn(e.row, "goodcd", "");
  2161. dsf_setCSVToDs("ds_copynode", CSV);
  2162. fSettingGoodList("ds_copynode", "goodreqlist" , "userqty");
  2163. }
  2164. }
  2165. else if(e.columnid == "goodnm" && String(e.newvalue).length > 0 && String(obj.getColumn(e.row, "goodcd")).length == 0 )
  2166. {
  2167. grp_sea.tmp_goodcd.value = "%";
  2168. grp_sea.tmp_goodnm.value = e.newvalue;
  2169. ds_copynode.clearData();
  2170. frmf_clearParameter("SMRSD00400_");
  2171. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm,reqflag,reqdeptcd,reqprid" ,"goodcd,"
  2172. + grp_sea.opt_instcd.value + ","
  2173. + obj.getColumn(e.row, "goodflag") + ","
  2174. + obj.getColumn(e.row, "goodcd") + ",,,,"
  2175. + swt_search.gd_find.group2.cmb_reqflag.value + ","
  2176. + grp_sea.cmb_reqdeptcd.value + ","
  2177. + grp_sea.cmb_reqpridflag.value ,""
  2178. , "goodcd,goodnm,goodspec,goodmodel,prodcmpynm,purcunit,stocqty,minexch,goodflag,ddavguseqty,reqflag,allsizeyn,delivedeptcd,setunit,constunit"
  2179. , grd_goodreq,"SPRSD00190"
  2180. , "instcd,goodflag,reqflag,reqdeptcd,reqprid","grp_sea.opt_instcd,grp_sea.opt_goodflag,swt_search.gd_find.group2.cmb_reqflag,grp_sea.cmb_reqdeptcd,grp_sea.cmb_reqpridflag","Y");
  2181. if(String(obj.getColumn(e.row, "goodcd")).length > 0)
  2182. {
  2183. ds_copynode.clearData();
  2184. frmf_clearParameter("SMRSD00400_");
  2185. if (String(obj.getColumn(cur_row, "goodnm")).length> 0)
  2186. {
  2187. obj.setColumn(e.row, "reqqty", "1");
  2188. obj.setColumn(e.row, "basevol", "1");
  2189. obj.setColumn(e.row, "requnit", ds_init_main_goodlist.getColumn(0, "deliveunit"));
  2190. obj.setColumn(e.row, "reqmthdflag", "3");
  2191. obj.setColumn(e.row, "allsizespecid", "YYY");
  2192. }
  2193. var cur_row = e.row;
  2194. var CSV = frmf_getParameter("SMRSD00400_");
  2195. if(String(CSV).length == 0 && String(obj.getColumn(cur_row, "goodnm")).length == 0)
  2196. {
  2197. obj.setColumn(e.row, "goodcd", "");
  2198. obj.setColumn(e.row, "goodnm", "");
  2199. obj.setColumn(e.row, "goodspec", "");
  2200. obj.setColumn(e.row, "goodflag", "");
  2201. obj.setColumn(e.row, "goodmodel", "");
  2202. obj.setColumn(e.row, "prodcmpynm", "");
  2203. obj.setColumn(e.row, "purcunit", "");
  2204. obj.setColumn(e.row, "basevol", "");
  2205. obj.setColumn(e.row, "stocqty", "");
  2206. obj.setColumn(e.row, "reqqty", "");
  2207. obj.setColumn(e.row, "requnit", "");
  2208. obj.setColumn(e.row, "minexch", "");
  2209. obj.setColumn(e.row, "ddavguseqty", "");
  2210. obj.setColumn(e.row, "allsizeyn", "");
  2211. obj.setColumn(e.row, "allsizespecid", "");
  2212. obj.setColumn(e.row, "exchqty", "");
  2213. obj.setColumn(e.row, "rgstqty", "");
  2214. obj.setColumn(e.row, "reqauth", "1");
  2215. grd_goodreq.setCellPos(grd_goodreq.getBindCellIndex("body", "goodcd"));
  2216. grd_goodreq.showEditor(true);
  2217. }
  2218. else if (String(CSV).length > 0)
  2219. {
  2220. obj.setColumn(e.row, "goodcd", "");
  2221. dsf_setCSVToDs("ds_copynode", CSV);
  2222. fSettingGoodList("ds_copynode", "goodreqlist" , "userqty");
  2223. }
  2224. }
  2225. }
  2226. else if (e.columnid == "deptaprvyn")
  2227. {
  2228. if (grp_sea.cmb_reqpridflag.value != "1" && obj.getColumn(e.row, "reqauth") != "2" )
  2229. {
  2230. obj.setColumn(e.row, "deptaprvyn", obj.getColumn(e.row, "predeptaprvyn"));
  2231. if (obj.getRowType(e.row) != 2)
  2232. {
  2233. obj.updatecontrol = false;
  2234. obj.setRowType(e.row, "");
  2235. obj.updatecontrol = true;
  2236. }
  2237. sysf_messageBox("청구승인권한이 없으므로 수정" ,"E001");
  2238. }
  2239. else if(obj.getColumn(e.row, "aprvyn") == "Y")
  2240. {
  2241. obj.updatecontrol = false;
  2242. obj.setRowType(e.row, "");
  2243. obj.updatecontrol = true;
  2244. sysf_messageBox("발주승인이 되었으므로 수정" ,"E001");
  2245. }
  2246. else
  2247. {
  2248. obj.setColumn(e.row, "deptaprvdd", utlf_getCurrentDate());
  2249. }
  2250. }
  2251. if(e.columnid == "deptaprvyn")
  2252. {
  2253. if (obj.getColumn(e.row, "reqauth") != "2" && grp_sea.cmb_reqpridflag.value !="1")
  2254. {
  2255. obj.setColumn(e.row, "deptaprvyn", obj.getColumn(e.row, "predeptaprvyn"));
  2256. if (obj.getRowType(e.row) != 2)
  2257. {
  2258. obj.updatecontrol = false;
  2259. obj.setRowType(e.row, "");
  2260. obj.updatecontrol = true;
  2261. }
  2262. sysf_messageBox("청구승인권한이 없으므로 수정" ,"E001");
  2263. }
  2264. else
  2265. {
  2266. if(obj.getColumn(e.row, "aprvyn") == "Y")
  2267. {
  2268. obj.updatecontrol = false;
  2269. obj.setRowType(e.row, "");
  2270. obj.updatecontrol = true;
  2271. sysf_messageBox("발주승인이 되었으므로 수정" ,"E001");
  2272. }
  2273. }
  2274. }
  2275. }
  2276. function grd_goodreq_onselectchanged(obj:Grid, e:GridSelectEventInfo)
  2277. {
  2278. tar_cmt.value = ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "cmt");
  2279. }
  2280. function grp_button_btn_delete_onclick(obj:Button, e:ClickEventInfo)
  2281. {
  2282. if (ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "acptflag") == "Y")
  2283. {
  2284. sysf_messageBox("구매접수된 내역은 삭제","E001");
  2285. return;
  2286. }
  2287. if(grp_sea.cmb_reqpridflag.value != "1")
  2288. {
  2289. if(rszfGetPurcAuthInfoByCond("reqaprvflag") =="1" && ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "deptaprvyn") == "Y")
  2290. {
  2291. sysf_messageBox("미승인권자가 승인된 내역은 삭제","E001");
  2292. return;
  2293. }
  2294. }
  2295. misfGridIUD(grd_goodreq, "D");
  2296. }
  2297. function grp_button_btn_choice_onclick(obj:Button, e:ClickEventInfo)
  2298. {
  2299. fSettingReqAprv();
  2300. }
  2301. function grp_button_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2302. {
  2303. misfSaveExcel(grd_goodreq);
  2304. }
  2305. function grp_button_btn_print_onclick(obj:Button, e:ClickEventInfo)
  2306. {
  2307. if(swt_search.gd_find.group2.cmb_reqflag.text == "약품")
  2308. {
  2309. var objDOM = rptf_createDOM();
  2310. rptf_setNodeListToDOM(objDOM, "/root/init/reqflaguth/reqauthlist", ds_main_list_goodreq_goodreqlist);
  2311. rptf_setNodeListToDOM(objDOM, "/root/main/list/goodreq/goodreqlist", ds_main_list_goodreq_goodreqlist);
  2312. var objParam = new Object();
  2313. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2314. var option = "";
  2315. rptf_exeReportPreview30(["RPRSD00401"],[objParam], option);
  2316. }
  2317. else
  2318. {
  2319. var objDOM = rptf_createDOM();
  2320. rptf_setNodeListToDOM(objDOM, "/root/main/list/goodreq/goodreqlist", ds_main_list_goodreq_goodreqlist);
  2321. var objParam = new Object();
  2322. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2323. var option = "";
  2324. rptf_exeReportPreview30(["RPRSD00402"],[objParam], option);
  2325. }
  2326. }
  2327. function grp_button_btn_accept_onclick(obj:Button, e:ClickEventInfo)
  2328. {
  2329. fSaveReqAprv();
  2330. }
  2331. function grp_button_btn_save_onclick(obj:Button, e:ClickEventInfo)
  2332. {
  2333. fSaveData();
  2334. }
  2335. function grp_button_ckb_accept_onclick(obj:CheckBox, e:ClickEventInfo)
  2336. {
  2337. if(obj.value == "Y")
  2338. {
  2339. }
  2340. else
  2341. {
  2342. ds_send_save_autoaprv.setColumn(0, "autoaprvyn", "");
  2343. }
  2344. }
  2345. function grp_allsize_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  2346. {
  2347. fAllSizeSelect() ;
  2348. }
  2349. function ds_main_codelist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2350. {
  2351. if(e.columnid == "chk")
  2352. {
  2353. obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  2354. }
  2355. }
  2356. function ds_send_save_autoaprv_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2357. {
  2358. if(e.columnid == "reqdd"){
  2359. // misfGridInit(grd_goodreq);
  2360. //
  2361. // fLastDaySearch();
  2362. // fDeptReqNoQuery();
  2363. // if (!utlf_isNull(grp_sea.cmb_reqno.value))
  2364. // {
  2365. // grp_sea.btn_search.click();
  2366. // }
  2367. }
  2368. }
  2369. function grp_sea_ipt_reqdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  2370. {
  2371. misfGridInit(grd_goodreq);
  2372. fLastDaySearch();
  2373. fDeptReqNoQuery();
  2374. if (!utlf_isNull(grp_sea.cmb_reqno.value))
  2375. {
  2376. grp_sea.btn_search.click();
  2377. }
  2378. }
  2379. function swt_search_gd_find_grd_goodlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2380. {
  2381. // 2009.12.04 김조은
  2382. if ((ds_main_GoodLists_goodlist.getColumn(e.row, "select" ) == "true" ) &&
  2383. (ds_main_GoodLists_goodlist.getColumn(e.row, "goodflag" ) == "PH" ) &&
  2384. (ds_main_GoodLists_goodlist.getColumn(e.row, "tmpreqflag") == "N" ) ) {
  2385. ds_main_GoodLists_goodlist.setColumn(e.row, "select" , "false");
  2386. alert("청구 불가능 약품입니다 . 약제팀에 확인要 !!");
  2387. return;
  2388. }
  2389. if ((ds_main_GoodLists_goodlist.getColumn(e.row, "select" ) == "true" ) &&
  2390. (ds_main_GoodLists_goodlist.getColumn(e.row, "reqprid") != cmb_reqpridflag.value)) {
  2391. ds_main_GoodLists_goodlist.setColumn(e.row, "select" , "false");
  2392. alert("청구 불가능!! 청구주기를 확인하십시요 !!");
  2393. return;
  2394. }
  2395. // reqmthd 청구방법 1:처방,2:정량,3:일반
  2396. // purcflag 구매구분 1:구매,2:수탁,3:가납
  2397. if (grp_sea.cmb_workflag.value ==3 || grp_sea.cmb_workflag.value ==4 || grp_sea.cmb_workflag.value ==5 ) {
  2398. if ((ds_main_GoodLists_goodlist.getColumn(e.row, "reqmthd" ) != "1" ) &&
  2399. (ds_main_GoodLists_goodlist.getColumn(e.row, "purcflag") != "2") ) {
  2400. ds_main_GoodLists_goodlist.setColumn(e.row, "select" , "false");
  2401. alert("상비품이 아닙니다. 확인하십시요!!");
  2402. return;
  2403. }
  2404. }
  2405. }
  2406. ]]></Script>
  2407. </Form>
  2408. </FDL>