SMRSD20000_소모품청구관리(경북대).xfdl 141 KB

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