SMRSD05100_비품청구 접수.xfdl 140 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSD05100" position="absolute 0 0 1202 822" titletext="비품청구 접수" oninit="SMRSD05100_oninit" onload="SMRSD05100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="비품청구접수" class="tit_1" position="absolute 0 0 137 25"/>
  8. <Shape id="line17" class="line_6" position="absolute 0 47 1195 53" anchor="left top right"/>
  9. <Button id="button46" taborder="1" text="초기화" class="btn4" position="absolute 1126 26 1194 48" anchor="top right" onclick="button46_onclick"/>
  10. <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1069 26 1125 48" anchor="top right" onclick="btn_save_onclick"/>
  11. <Button id="button1" taborder="3" text="전자결재" class="btn6" position="absolute 217 26 297 48"/>
  12. <Button id="btn_prta" taborder="4" text="청구서출력(일괄)" class="btn6" position="absolute 93 26 216 48" onclick="btn_prta_onclick"/>
  13. <Button id="btn_prt" taborder="5" text="청구서출력" class="btn6" position="absolute 0 26 92 48" onclick="btn_prt_onclick"/>
  14. <Div id="grp_sea" taborder="6" position="absolute 0 51 1195 111" class="div_SA2" anchor="left top right">
  15. <Layouts>
  16. <Layout>
  17. <Calendar id="input4" taborder="13" class="input_essential" position="absolute 507 32 611 51" onchanged="grp_sea_input4_onchanged"/>
  18. <Calendar id="ipt_reqfrdd_search" taborder="14" class="input_essential" position="absolute 507 7 611 26" onchanged="grp_sea_ipt_reqfrdd_search_onchanged"/>
  19. <Calendar id="ipt_deptaprvddto_search" taborder="8" class="input_essential" position="absolute 628 7 732 26" onchanged="grp_sea_ipt_deptaprvddto_search_onchanged" autoselect="true"/>
  20. <Calendar id="ipt_reqtodd_search" taborder="7" class="input_default" position="absolute 628 32 732 51" onchanged="grp_sea_ipt_reqtodd_search_onchanged" autoselect="true"/>
  21. <Static id="caption4" text="기관코드 :" class="search_name" position="absolute 20 7 137 24"/>
  22. <Static id="caption8" text="청구부서 :" class="search_name" position="absolute 20 33 106 50"/>
  23. <Edit id="ipt_reqdeptcd_search" taborder="1" class="input_default" position="absolute 110 32 190 51" autoselect="true" onkeydown="grp_sea_ipt_reqdeptcd_search_onkeydown"/>
  24. <Combo id="cmb_instcd_search" taborder="2" class="combo_essential" position="absolute 110 7 319 26" onitemchanged="grp_sea_cmb_instcd_search_onitemchanged"/>
  25. <Button id="btn_reqdept" taborder="3" class="icon_search" position="absolute 195 33 211 49" onclick="grp_sea_btn_reqdept_onclick"/>
  26. <Edit id="ipt_reqdeptnm_search" taborder="4" position="absolute 215 32 365 51" class="output" readonly="true"/>
  27. <Static id="caption19" text="승인일자 :" class="search_name" position="absolute 420 7 506 24"/>
  28. <Static id="caption20" text="청구일자 :" class="search_name" position="absolute 420 32 515 49"/>
  29. <Calendar id="input2" taborder="5" class="input_default" position="absolute 507 32 611 51" autoselect="true"/>
  30. <Calendar id="ipt_deptaprvddfr_search" taborder="6" class="input_essential" position="absolute 507 7 611 26" autoselect="true"/>
  31. <Static id="caption44" text="~" position="absolute 613 7 628 27"/>
  32. <Static id="caption14" text="~" position="absolute 613 32 628 52"/>
  33. <Static id="caption1" text="접수구분 :" class="search_name" position="absolute 785 9 871 26"/>
  34. <Combo id="cmb_acptflag_search" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 875 7 970 26" onitemchanged="grp_sea_cmb_acptflag_search_onitemchanged">
  35. <Dataset id="innerdataset">
  36. <ColumnInfo>
  37. <Column id="codecolumn"/>
  38. <Column id="datacolumn"/>
  39. </ColumnInfo>
  40. <Rows>
  41. <Row>
  42. <Col id="codecolumn"/>
  43. <Col id="datacolumn">전체</Col>
  44. </Row>
  45. <Row>
  46. <Col id="codecolumn">N</Col>
  47. <Col id="datacolumn">미접수</Col>
  48. </Row>
  49. <Row>
  50. <Col id="codecolumn">Y</Col>
  51. <Col id="datacolumn">접수</Col>
  52. </Row>
  53. <Row>
  54. <Col id="codecolumn">C</Col>
  55. <Col id="datacolumn">종료</Col>
  56. </Row>
  57. </Rows>
  58. </Dataset>
  59. </Combo>
  60. <Combo id="cmb_reqflag_search" taborder="10" class="combo_essential" position="absolute 810 34 900 53" onitemchanged="grp_sea_cmb_reqflag_search_onitemchanged" visible="false"/>
  61. <Edit id="ipt_goodflag" taborder="11" visible="false" position="absolute 902 34 932 53"/>
  62. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1106 9 1112 51" anchor="top right"/>
  63. <Button id="btn_search" taborder="12" text="조회" class="btn1" position="absolute 1124 22 1180 44" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  64. </Layout>
  65. </Layouts>
  66. </Div>
  67. <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 0 755 605 761" anchor="left bottom"/>
  68. <Shape id="line29" linetype="horizontal" class="line_2" position="absolute 0 551 605 557" anchor="left bottom"/>
  69. <Shape id="line28" linetype="horizontal" class="line_2" position="absolute 0 527 605 533" anchor="left bottom"/>
  70. <Shape id="line16" linetype="horizontal" class="line_2" position="absolute 0 475 605 481" anchor="left bottom"/>
  71. <Shape id="line15" linetype="horizontal" class="line_2" position="absolute 0 449 605 455" anchor="left bottom"/>
  72. <Shape id="line26" linetype="horizontal" class="line_2" position="absolute 0 677 605 683" anchor="left bottom"/>
  73. <Shape id="line24" linetype="horizontal" class="line_2" position="absolute 0 603 605 609" anchor="left bottom"/>
  74. <Shape id="line23" linetype="vertical" class="line_2" position="absolute 0 564 605 570" anchor="left bottom"/>
  75. <Shape id="line22" linetype="horizontal" class="line_2" position="absolute 0 652 605 658" anchor="left bottom"/>
  76. <Shape id="line30" linetype="horizontal" class="line_2" position="absolute 0 577 605 583" anchor="left bottom"/>
  77. <Shape id="line5" linetype="horizontal" class="line_3" position="absolute 0 804 605 810" anchor="left bottom"/>
  78. <Static id="caption9" text="비품청구" class="tit_2" position="absolute 0 406 100 427" anchor="left bottom"/>
  79. <Static id="caption52" text="포장단위" class="cell_1" position="absolute -126 359 -18 382"/>
  80. <Static id="caption54" text="근속기준일/년" class="cell_1" position="absolute -126 383 -18 406"/>
  81. <Grid id="grd_goodreq" taborder="7" binddataset="ds_main_list_goodreq_goodreqlist" useinputpanel="false" position="absolute 0 148 1195 394" autoenter="select" cellsizingtype="col" anchor="all" oncellclick="grd_goodreq_oncellclick">
  82. <Formats>
  83. <Format id="default">
  84. <Columns>
  85. <Column size="21" band="left"/>
  86. <Column size="19"/>
  87. <Column size="70"/>
  88. <Column size="35"/>
  89. <Column size="30"/>
  90. <Column size="70"/>
  91. <Column size="55"/>
  92. <Column size="0"/>
  93. <Column size="60"/>
  94. <Column size="55"/>
  95. <Column size="55"/>
  96. <Column size="55"/>
  97. <Column size="190"/>
  98. <Column size="60"/>
  99. <Column size="70"/>
  100. <Column size="65"/>
  101. <Column size="45"/>
  102. <Column size="45"/>
  103. <Column size="55"/>
  104. <Column size="51"/>
  105. <Column size="70"/>
  106. <Column size="45"/>
  107. <Column size="51"/>
  108. <Column size="66"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. <Column size="0"/>
  153. <Column size="0"/>
  154. <Column size="0"/>
  155. <Column size="0"/>
  156. <Column size="0"/>
  157. <Column size="0"/>
  158. <Column size="0"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. </Columns>
  165. <Rows>
  166. <Row size="24" band="head"/>
  167. <Row size="24"/>
  168. </Rows>
  169. <Band id="head">
  170. <Cell/>
  171. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  172. <Cell col="2" text="청구일자"/>
  173. <Cell col="3" colspan="2" text="청구번호" taborder="undefined"/>
  174. <Cell col="5" text="청구부서"/>
  175. <Cell col="6" text="청구자"/>
  176. <Cell col="7" text="상태한글"/>
  177. <Cell col="8" text="청구사유"/>
  178. <Cell col="9" text="대분류"/>
  179. <Cell col="10" text="중분류"/>
  180. <Cell col="11" text="소분류"/>
  181. <Cell col="12" text="물품명"/>
  182. <Cell col="13" text="모델"/>
  183. <Cell col="14" text="규격"/>
  184. <Cell col="15" text="제조회사"/>
  185. <Cell col="16" text="청구량"/>
  186. <Cell col="17" text="조정량"/>
  187. <Cell col="18" text="진행상태"/>
  188. <Cell col="19" text="승인자"/>
  189. <Cell col="20" text="승인일자"/>
  190. <Cell col="21" text="접수"/>
  191. <Cell col="22" text="접수자"/>
  192. <Cell col="23" text="구매승인"/>
  193. <Cell col="24"/>
  194. <Cell col="25"/>
  195. <Cell col="26"/>
  196. <Cell col="27"/>
  197. <Cell col="28"/>
  198. <Cell col="29"/>
  199. <Cell col="30"/>
  200. <Cell col="31"/>
  201. <Cell col="32"/>
  202. <Cell col="33"/>
  203. <Cell col="34"/>
  204. <Cell col="35"/>
  205. <Cell col="36"/>
  206. <Cell col="37"/>
  207. <Cell col="38"/>
  208. <Cell col="39"/>
  209. <Cell col="40"/>
  210. <Cell col="41"/>
  211. <Cell col="42"/>
  212. <Cell col="43"/>
  213. <Cell col="44"/>
  214. <Cell col="45"/>
  215. <Cell col="46"/>
  216. <Cell col="47"/>
  217. <Cell col="48"/>
  218. <Cell col="49"/>
  219. <Cell col="50"/>
  220. <Cell col="51"/>
  221. <Cell col="52"/>
  222. <Cell col="53"/>
  223. <Cell col="54"/>
  224. <Cell col="55"/>
  225. <Cell col="56"/>
  226. <Cell col="57"/>
  227. <Cell col="58"/>
  228. <Cell col="59"/>
  229. <Cell col="60"/>
  230. <Cell col="61"/>
  231. <Cell col="62"/>
  232. <Cell col="63"/>
  233. <Cell col="64"/>
  234. <Cell col="65"/>
  235. <Cell col="66"/>
  236. <Cell col="67"/>
  237. <Cell col="68"/>
  238. <Cell col="69"/>
  239. <Cell col="70"/>
  240. <Cell col="71"/>
  241. <Cell col="72"/>
  242. <Cell col="73"/>
  243. <Cell col="74"/>
  244. <Cell col="75"/>
  245. <Cell col="76"/>
  246. <Cell col="77"/>
  247. <Cell col="78"/>
  248. </Band>
  249. <Band id="body">
  250. <Cell celltype="head"/>
  251. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  252. <Cell col="2" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
  253. <Cell col="3" text="bind:reqno"/>
  254. <Cell col="4" text="bind:reqseqno"/>
  255. <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:reqdeptnm"/>
  256. <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:reqpsnnm"/>
  257. <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:deliveprcsflagnm"/>
  258. <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:workflagnm"/>
  259. <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:lrgnm"/>
  260. <Cell col="10" style="align:left middle;padding:0 0 0 3;" text="bind:mdlnm"/>
  261. <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:smlnm"/>
  262. <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:goodnm"/>
  263. <Cell col="13" style="align:left middle;padding:0 0 0 3;" text="bind:goodmodel"/>
  264. <Cell col="14" style="align:left middle;padding:0 0 0 3;" text="bind:goodspec"/>
  265. <Cell col="15" style="align:left middle;padding:0 0 0 3;" text="bind:prodcmpynm"/>
  266. <Cell col="16" displaytype="number" text="bind:reqqty"/>
  267. <Cell col="17" displaytype="number" text="bind:adjtqty"/>
  268. <Cell col="18" displaytype="combo" style="align:center middle;" text="bind:deliveprcsflag" combodataset="ds_cmb_deliveprcsflag" combocodecol="value" combodatacol="label" enable="false"/>
  269. <Cell col="19" text="bind:deptaprvpsnnm"/>
  270. <Cell col="20" displaytype="date" text="bind:deptaprvdd" calendardisplaynulltype="nulltext"/>
  271. <Cell col="21" text="bind:acptflagnm"/>
  272. <Cell col="22" text="bind:acptcharid"/>
  273. <Cell col="23" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:purcacptflag" combodataset="ds_init_purcacptflag" combocodecol="value" combodatacol="label"/>
  274. <Cell col="24" text="bind:acptdd"/>
  275. <Cell col="25" text="bind:bugtexpcamt" mask="#,###"/>
  276. <Cell col="26" text="bind:reqflag"/>
  277. <Cell col="27" text="bind:reqseqno"/>
  278. <Cell col="28" text="bind:prodcmpycd"/>
  279. <Cell col="29" text="bind:bugtcd"/>
  280. <Cell col="30" text="bind:bugtnm"/>
  281. <Cell col="31" text="bind:bugtyy"/>
  282. <Cell col="32" text="bind:stdysubjno"/>
  283. <Cell col="33" text="bind:reqdeptcd"/>
  284. <Cell col="34" text="bind:installplcecd"/>
  285. <Cell col="35" text="bind:reqpsnid"/>
  286. <Cell col="36" text="bind:reqtm"/>
  287. <Cell col="37" text="bind:delivedeptcd"/>
  288. <Cell col="38" text="bind:delivehopedd"/>
  289. <Cell col="39" text="bind:requnit"/>
  290. <Cell col="40" text="bind:attfilenm"/>
  291. <Cell col="41" text="bind:attfilepathnm"/>
  292. <Cell col="42" text="bind:adjtqty"/>
  293. <Cell col="43" text="bind:adjtrsn"/>
  294. <Cell col="44" text="bind:acptcharid"/>
  295. <Cell col="45" text="bind:plceorddd"/>
  296. <Cell col="46" text="bind:plceordseqno"/>
  297. <Cell col="47" text="bind:plceordno"/>
  298. <Cell col="48" text="bind:fixasetcd"/>
  299. <Cell col="49" text="bind:deliveqty"/>
  300. <Cell col="50" text="bind:unwinresn"/>
  301. <Cell col="51" text="bind:deliveprcsflag"/>
  302. <Cell col="52" text="bind:cmt"/>
  303. <Cell col="53" text="bind:instcd"/>
  304. <Cell col="54" text="bind:workflag"/>
  305. <Cell col="55" text="bind:reqpsnnm"/>
  306. <Cell col="56" text="bind:reqno"/>
  307. <Cell col="57" text="bind:makeyn"/>
  308. <Cell col="58" text="bind:deptaprvyn"/>
  309. <Cell col="59" text="bind:acptflag"/>
  310. <Cell col="60" text="bind:stdysubjnm"/>
  311. <Cell col="61" text="bind:installplcenm"/>
  312. <Cell col="62" text="bind:purcacptdd"/>
  313. <Cell col="63" text="bind:wncurncyamt"/>
  314. <Cell col="64" text="bind:plceordamt"/>
  315. <Cell col="65" text="bind:suplplcecd"/>
  316. <Cell col="66" text="bind:suplplcenm"/>
  317. <Cell col="67" text="bind:lrgcd"/>
  318. <Cell col="68" text="bind:mdlcd"/>
  319. <Cell col="69" text="bind:smlcd"/>
  320. <Cell col="70" text="bind:cntrdeptcd"/>
  321. <Cell col="71" text="bind:cntrdeptcdnm"/>
  322. <Cell col="72" text="bind:mngtdeptcd"/>
  323. <Cell col="73" text="bind:mngtdeptcdnm"/>
  324. <Cell col="74" text="bind:reqtel"/>
  325. <Cell col="75" text="bind:studyinstcd"/>
  326. <Cell col="76" text="bind:acpttype"/>
  327. <Cell col="77" text="bind:deptaprvpsnid"/>
  328. <Cell col="78" text="bind:prodplce"/>
  329. </Band>
  330. </Format>
  331. </Formats>
  332. </Grid>
  333. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 422 605 428" anchor="left bottom"/>
  334. <Edit id="ipt_reqno" taborder="8" class="input_essential" visible="false" position="absolute 535 429 555 448" anchor="left bottom" autoselect="true"/>
  335. <Edit id="ipt_reqdeptcd" taborder="9" readonly="true" position="absolute 460 429 490 448" anchor="left bottom" visible="false" class="output"/>
  336. <Edit id="opt_reqdeptnm" taborder="10" readonly="true" visible="false" position="absolute 315 429 340 448" anchor="left bottom" class="output"/>
  337. <Static id="caption67" text="물품명칭" class="cell_1" position="absolute 0 505 100 528" anchor="left bottom"/>
  338. <Edit id="ipt_goodnm" taborder="11" class="input_essential" position="absolute 102 507 606 526" anchor="left bottom" autoselect="true"/>
  339. <Static id="caption61" text="모델/규격" class="cell_1" position="absolute 0 531 100 552" anchor="left bottom"/>
  340. <Edit id="ipt_goodspec" taborder="12" class="input_fix" position="absolute 388 532 606 551" anchor="left bottom" autoselect="true"/>
  341. <Edit id="ipt_goodmodel" taborder="13" class="input_default" position="absolute 102 532 383 551" anchor="left bottom" autoselect="true"/>
  342. <Button id="btn_prodcmpycd" taborder="14" class="icon_search" visible="false" position="absolute 525 342 541 358" onclick="btn_prodcmpycd_onclick"/>
  343. <Static id="caption66" text="제조회사" class="cell_1" visible="false" position="absolute 350 338 450 360"/>
  344. <Edit id="ipt_prodcmpycd" taborder="15" class="input_fix" visible="false" position="absolute 452 340 522 359" autoselect="true"/>
  345. <Edit id="ipt_prodcmpynm" taborder="16" class="input_fix" visible="false" position="absolute 545 340 650 359" autoselect="true"/>
  346. <Static id="cap_prodplce" text="제조국" class="cell_1" position="absolute 0 555 100 578" anchor="left bottom"/>
  347. <Combo id="cmb_prodplce" taborder="17" position="absolute 102 557 302 576" anchor="left bottom"/>
  348. <Static id="caption64" text="청구수량" class="cell_1" position="absolute 304 555 390 578" anchor="left bottom"/>
  349. <MaskEdit id="ipt_reqqty" taborder="18" mask="#,###" class="input_essential" position="absolute 392 557 480 576" anchor="left bottom" autoselect="true"/>
  350. <Combo id="cmb_requnit" taborder="19" class="input_essential" position="absolute 496 557 605 576" anchor="left bottom"/>
  351. <MaskEdit id="ipt_bugtyy" taborder="20" mask="####" class="input_search" position="absolute 429 634 484 653" maskchar=" " type="string" trimtype="both" style="align:center middle;" anchor="left bottom" autoselect="true"/>
  352. <Static id="caption56" text="부서연락처" class="cell_1" position="absolute 304 607 390 630" anchor="left bottom"/>
  353. <MaskEdit id="ipt_bugtexpcamt" taborder="21" mask="9,999999999999" class="input_default" visible="false" position="absolute 100 397 120 416" anchor="left bottom" autoselect="true"/>
  354. <Static id="caption48" text="예산추산액" class="cell_1" visible="false" position="absolute 80 397 100 420" anchor="left bottom" style="align:left top;"/>
  355. <Static id="caption71" text="제작여부" class="cell_1" position="absolute 0 453 100 476" anchor="left bottom"/>
  356. <Edit id="ipt_installplcecd" taborder="22" class="input_essential" position="absolute 102 634 172 653" anchor="left bottom" autoselect="true" onkeydown="ipt_installplcecd_onkeydown"/>
  357. <Radio id="rbo_makeyn" taborder="23" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 102 456 218 472" anchor="left bottom">
  358. <Dataset id="innerdataset">
  359. <ColumnInfo>
  360. <Column id="codecolumn"/>
  361. <Column id="datacolumn"/>
  362. </ColumnInfo>
  363. <Rows>
  364. <Row>
  365. <Col id="codecolumn">Y</Col>
  366. <Col id="datacolumn">예</Col>
  367. </Row>
  368. <Row>
  369. <Col id="codecolumn">N</Col>
  370. <Col id="datacolumn">아니오</Col>
  371. </Row>
  372. </Rows>
  373. </Dataset>
  374. </Radio>
  375. <Static id="caption3" text="설치장소" class="cell_1" position="absolute 0 633 100 653" anchor="left bottom"/>
  376. <Static id="caption57" text="접수/조정량" class="cell_1" position="absolute 23 733 101 756" anchor="left bottom"/>
  377. <Static id="caption60" text="첨부파일" class="cell_1" position="absolute 0 656 100 678" anchor="left bottom"/>
  378. <Edit id="ipt_attfilepathnm" taborder="24" class="input_default" enable="false" position="absolute 102 658 487 677" anchor="left bottom" autoselect="true"/>
  379. <Static id="caption2" text="청구사유" class="cell_1" position="absolute 0 427 100 450" anchor="left bottom"/>
  380. <Combo id="cmb_workflag" taborder="25" class="combo_essential" position="absolute 102 429 267 448" anchor="left bottom"/>
  381. <Shape id="line1" class="line_10" position="absolute 0 143 1195 149" anchor="left top right"/>
  382. <Static id="caption5" text="비품청구 내역" class="tit_2" position="absolute 0 127 108 148"/>
  383. <Static id="caption7" text="경유부서 정보" class="tit_2" position="absolute 610 683 718 704" anchor="left bottom"/>
  384. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 610 699 1195 705" anchor="left right bottom"/>
  385. <Edit id="ipt_reqflag" taborder="26" visible="false" position="absolute 340 429 365 448" anchor="left bottom" autoselect="true"/>
  386. <Edit id="ipt_reqdd" taborder="27" visible="false" position="absolute 490 429 510 448" anchor="left bottom" autoselect="true"/>
  387. <Edit id="ipt_reqpsnid" taborder="28" visible="false" position="absolute 440 429 460 448" anchor="left bottom" autoselect="true"/>
  388. <Edit id="ipt_instcd" taborder="29" visible="false" position="absolute 410 429 425 448" anchor="left bottom" autoselect="true"/>
  389. <Edit id="ipt_deliveprcsflag" taborder="30" visible="false" position="absolute 390 429 410 448" anchor="left bottom" autoselect="true"/>
  390. <Grid id="grd_psgelist" taborder="31" binddataset="ds_main_list_psgereq_psgereqlist" useinputpanel="false" position="absolute 610 704 1195 807" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left right bottom" onexpanddown="grd_psgelist_onexpanddown">
  391. <Formats>
  392. <Format id="default">
  393. <Columns>
  394. <Column size="20" band="left"/>
  395. <Column size="89"/>
  396. <Column size="81"/>
  397. <Column size="34"/>
  398. <Column size="347"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="0"/>
  403. <Column size="0"/>
  404. <Column size="0"/>
  405. <Column size="0"/>
  406. </Columns>
  407. <Rows>
  408. <Row size="24" band="head"/>
  409. <Row size="24"/>
  410. </Rows>
  411. <Band id="head">
  412. <Cell/>
  413. <Cell col="1" text="경유부서"/>
  414. <Cell col="2" text="경유부서명"/>
  415. <Cell col="3" text="접수"/>
  416. <Cell col="4" text="의견"/>
  417. <Cell col="5"/>
  418. <Cell col="6"/>
  419. <Cell col="7"/>
  420. <Cell col="8"/>
  421. <Cell col="9"/>
  422. <Cell col="10"/>
  423. <Cell col="11"/>
  424. </Band>
  425. <Band id="body">
  426. <Cell celltype="head"/>
  427. <Cell col="1" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:psgedeptcd" expandshow="show"/>
  428. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:psgedeptnm"/>
  429. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:psgedeptaprvyn"/>
  430. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:psgecmt"/>
  431. <Cell col="5" text="bind:instcd"/>
  432. <Cell col="6" text="bind:reqflag"/>
  433. <Cell col="7" text="bind:reqdd"/>
  434. <Cell col="8" text="bind:reqno"/>
  435. <Cell col="9" text="bind:reqseqno"/>
  436. <Cell col="10" text="bind:psgedeptaprvid"/>
  437. <Cell col="11" text="bind:psgedeptaprvdd"/>
  438. </Band>
  439. </Format>
  440. </Formats>
  441. </Grid>
  442. <Button id="btn_downfile" taborder="32" text="파일수정/다운로드" class="btn2" position="absolute 490 657 606 676" anchor="left bottom" onclick="btn_downfile_onclick"/>
  443. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 610 422 1195 428" anchor="left right bottom"/>
  444. <Static id="caption10" text="비품찾기" class="tit_2" position="absolute 610 406 710 427" anchor="left bottom"/>
  445. <Edit id="ipt_installplcenm" taborder="33" class="input_fix" position="absolute 197 609 302 628" anchor="left bottom" autoselect="true"/>
  446. <Button id="btn_installplcecd" taborder="34" class="icon_search" position="absolute 175 635 191 651" anchor="left bottom" onclick="btn_installplcecd_onclick"/>
  447. <Static id="caption17" text="대/중/소분류" class="cell_1" position="absolute 0 479 100 502" anchor="left bottom"/>
  448. <Edit id="opt_lrgnm" taborder="35" readonly="true" position="absolute 166 481 269 500" class="output" anchor="left bottom"/>
  449. <Edit id="opt_mdlnm" taborder="36" readonly="true" position="absolute 335 481 438 500" class="output" oneditclick="opt_mdlnm_oneditclick" anchor="left bottom"/>
  450. <Edit id="opt_smlnm" taborder="37" readonly="true" position="absolute 503 481 606 500" class="output" anchor="left bottom"/>
  451. <Static id="caption13" text="청구사유" class="cell_1" position="absolute 0 681 100 728" anchor="left bottom"/>
  452. <TextArea id="ipt_cmt" taborder="38" position="absolute 102 682 606 726" wordwrap="word" acceptstab="true" autoselect="true" anchor="left bottom"/>
  453. <Static id="caption15" text="자산코드" class="cell_1" position="absolute 269 453 349 476" anchor="left bottom"/>
  454. <Edit id="ipt_fixasetcd" taborder="39" class="input_fix" position="absolute 351 455 464 474" anchor="left bottom" autoselect="true"/>
  455. <Edit id="ipt_lrgcd" taborder="40" class="input_essential" position="absolute 128 481 164 500" anchor="left bottom" autoselect="true"/>
  456. <Edit id="ipt_mdlcd" taborder="41" class="input_fix" position="absolute 297 481 333 500" anchor="left bottom" autoselect="true"/>
  457. <Tab id="swh_select" taborder="42" tabindex="0" position="absolute 610 431 1195 675" anchor="left right bottom">
  458. <Tabpages>
  459. <Tabpage id="cse_lrgcd" text="분류코드">
  460. <Layouts>
  461. <Layout>
  462. <Grid id="grd_lrglist" taborder="6" binddataset="ds_main_list_lrg_lrglist" useinputpanel="false" position="absolute 0 8 583 210" autoenter="select" cellsizingtype="col" anchor="left right bottom" oncellclick="swh_select_cse_lrgcd_grd_lrglist_oncellclick" oncelldblclick="swh_select_cse_lrgcd_grd_lrglist_oncelldblclick">
  463. <Formats>
  464. <Format id="default">
  465. <Columns>
  466. <Column size="19" band="left"/>
  467. <Column size="0"/>
  468. <Column size="215"/>
  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. </Columns>
  482. <Rows>
  483. <Row size="24" band="head"/>
  484. <Row size="24"/>
  485. </Rows>
  486. <Band id="head">
  487. <Cell/>
  488. <Cell col="1" text="대분류코드"/>
  489. <Cell col="2" text="대분류명"/>
  490. <Cell col="3" text="주관부서"/>
  491. <Cell col="4" text="주관부서"/>
  492. <Cell col="5" text="계정코드(입고)"/>
  493. <Cell col="6" text="계정코드(입고)"/>
  494. <Cell col="7" text="계정코드(비용)"/>
  495. <Cell col="8" text="계정코드(비용)"/>
  496. <Cell col="9" text="기관코드"/>
  497. <Cell col="10" text="물품구분"/>
  498. <Cell col="11" text="최초등록자ID"/>
  499. <Cell col="12" text="최초등록일시"/>
  500. <Cell col="13" text="최종수정자ID"/>
  501. <Cell col="14" text="최종수정일시"/>
  502. </Band>
  503. <Band id="body">
  504. <Cell celltype="head"/>
  505. <Cell col="1" displaytype="text" edittype="text" class="input_essential" text="bind:lrgcd" enable="false"/>
  506. <Cell col="2" edittype="none" style="align:left middle;padding:0 0 0 3;" text="bind:lrgnm"/>
  507. <Cell col="3" text="bind:mainmngtdeptcd"/>
  508. <Cell col="4" text="bind:mainmngtdeptnm"/>
  509. <Cell col="5" text="bind:winacnt"/>
  510. <Cell col="6" text="bind:winacntnm"/>
  511. <Cell col="7" text="bind:amtacnt"/>
  512. <Cell col="8" text="bind:amtacntnm"/>
  513. <Cell col="9" text="bind:instcd"/>
  514. <Cell col="10" text="bind:goodflag"/>
  515. <Cell col="11" displaytype="none" edittype="none" text="bind:fstrgstrid"/>
  516. <Cell col="12" displaytype="none" edittype="none" text="bind:fstrgstdt"/>
  517. <Cell col="13" displaytype="none" edittype="none" text="bind:lastupdtrid"/>
  518. <Cell col="14" displaytype="none" edittype="none" text="bind:lastupdtdt"/>
  519. </Band>
  520. </Format>
  521. </Formats>
  522. </Grid>
  523. <Grid id="grd_mdllist" taborder="4" binddataset="ds_main_list_mdl_mdllist" useinputpanel="false" visible="false" position="absolute 197 8 389 210" autoenter="select" cellsizingtype="col" oncellclick="swh_select_cse_lrgcd_grd_mdllist_oncellclick" oncelldblclick="swh_select_cse_lrgcd_grd_mdllist_oncelldblclick">
  524. <Formats>
  525. <Format id="default">
  526. <Columns>
  527. <Column size="22" band="left"/>
  528. <Column size="100"/>
  529. <Column size="135"/>
  530. <Column size="0"/>
  531. <Column size="0"/>
  532. <Column size="0"/>
  533. <Column size="0"/>
  534. <Column size="0"/>
  535. <Column size="0"/>
  536. <Column size="0"/>
  537. <Column size="0"/>
  538. <Column size="0"/>
  539. <Column size="0"/>
  540. </Columns>
  541. <Rows>
  542. <Row size="24" band="head"/>
  543. <Row size="24"/>
  544. </Rows>
  545. <Band id="head">
  546. <Cell/>
  547. <Cell col="1" text="중분류코드"/>
  548. <Cell col="2" text="중분류명"/>
  549. <Cell col="3" text="계정코드(입고)"/>
  550. <Cell col="4" text="계정코드(입고)"/>
  551. <Cell col="5" text="계정코드(비용)"/>
  552. <Cell col="6" text="계정코드(비용)"/>
  553. <Cell col="7" text="물품구분"/>
  554. <Cell col="8" text="대분류코드"/>
  555. <Cell col="9" text="최초등록자ID"/>
  556. <Cell col="10" text="최초등록일시"/>
  557. <Cell col="11" text="최종등록자ID"/>
  558. <Cell col="12" text="최종등록일시"/>
  559. </Band>
  560. <Band id="body">
  561. <Cell celltype="head"/>
  562. <Cell col="1" displaytype="text" edittype="text" class="input_essential" text="bind:mdlcd" enable="false"/>
  563. <Cell col="2" displaytype="none" edittype="none" text="bind:mdlnm"/>
  564. <Cell col="3" text="bind:winacnt"/>
  565. <Cell col="4" text="bind:winacntnm"/>
  566. <Cell col="5" text="bind:amtacnt"/>
  567. <Cell col="6" text="bind:amtacntnm"/>
  568. <Cell col="7" displaytype="none" edittype="none" text="bind:instcd"/>
  569. <Cell col="8" displaytype="none" edittype="none" text="bind:goodflag"/>
  570. <Cell col="9" displaytype="none" edittype="none" text="bind:lrgcd"/>
  571. <Cell col="10" displaytype="none" edittype="none" text="bind:fstrgstrid"/>
  572. <Cell col="11" displaytype="none" edittype="none" text="bind:fstrgstdt"/>
  573. <Cell col="12" displaytype="none" edittype="none" text="bind:lastupdtrid"/>
  574. </Band>
  575. </Format>
  576. </Formats>
  577. </Grid>
  578. <Grid id="grd_smllist" taborder="5" binddataset="ds_main_list_sml_smllist" useinputpanel="false" visible="false" position="absolute 392 8 583 210" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="swh_select_cse_lrgcd_grd_smllist_oncelldblclick">
  579. <Formats>
  580. <Format id="default">
  581. <Columns>
  582. <Column size="18"/>
  583. <Column size="0"/>
  584. <Column size="144"/>
  585. <Column size="0"/>
  586. <Column size="0"/>
  587. <Column size="0"/>
  588. <Column size="0"/>
  589. <Column size="0"/>
  590. <Column size="0"/>
  591. <Column size="0"/>
  592. <Column size="0"/>
  593. <Column size="0"/>
  594. <Column size="0"/>
  595. </Columns>
  596. <Rows>
  597. <Row size="24" band="head"/>
  598. <Row size="24"/>
  599. </Rows>
  600. <Band id="head">
  601. <Cell/>
  602. <Cell col="1" text="소분류코드"/>
  603. <Cell col="2" text="소분류명"/>
  604. <Cell col="3" text="계정코드(입고)"/>
  605. <Cell col="4" text="계정코드(입고)"/>
  606. <Cell col="5" text="기관코드"/>
  607. <Cell col="6" text="물품구분"/>
  608. <Cell col="7" text="대분류코드"/>
  609. <Cell col="8" text="중분류코드"/>
  610. <Cell col="9" text="최초등록자ID"/>
  611. <Cell col="10" text="최초등록일시"/>
  612. <Cell col="11" text="최종수정자ID"/>
  613. <Cell col="12" text="최종수정일시"/>
  614. </Band>
  615. <Band id="body">
  616. <Cell celltype="head"/>
  617. <Cell col="1" displaytype="text" edittype="text" class="input_essential" text="bind:smlcd" enable="false"/>
  618. <Cell col="2" displaytype="none" edittype="none" text="bind:smlnm"/>
  619. <Cell col="3" text="bind:winacnt"/>
  620. <Cell col="4" text="bind:winacntnm"/>
  621. <Cell col="5" text="bind:instcd"/>
  622. <Cell col="6" text="bind:goodflag"/>
  623. <Cell col="7" text="bind:lrgcd"/>
  624. <Cell col="8" text="bind:mdlcd"/>
  625. <Cell col="9" text="bind:fstrgstrid"/>
  626. <Cell col="10" text="bind:fstrgstdt"/>
  627. <Cell col="11" text="bind:lastupdtrid"/>
  628. <Cell col="12" text="bind:lastupdtdt"/>
  629. </Band>
  630. </Format>
  631. </Formats>
  632. </Grid>
  633. <Shape id="line19" linetype="horizontal" class="line_10" position="absolute -1 3 582 9" anchor="left right bottom"/>
  634. </Layout>
  635. </Layouts>
  636. </Tabpage>
  637. <Tabpage id="cse_fixasetcd" text="부서내 자산코드">
  638. <Layouts>
  639. <Layout>
  640. <Grid id="grd_fixasetcdlist" taborder="1" binddataset="ds_main_list_fixasetcd_fixasetcdlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 8 583 210" anchor="left right bottom" oncelldblclick="swh_select_cse_fixasetcd_grd_fixasetcdlist_oncelldblclick">
  641. <Formats>
  642. <Format id="default">
  643. <Columns>
  644. <Column size="55"/>
  645. <Column size="54"/>
  646. <Column size="53"/>
  647. <Column size="95"/>
  648. <Column size="137"/>
  649. <Column size="81"/>
  650. <Column size="69"/>
  651. <Column size="75"/>
  652. <Column size="76"/>
  653. <Column size="80"/>
  654. <Column size="84"/>
  655. <Column size="88"/>
  656. <Column size="84"/>
  657. <Column size="0"/>
  658. <Column size="0"/>
  659. <Column size="0"/>
  660. <Column size="0"/>
  661. <Column size="0"/>
  662. </Columns>
  663. <Rows>
  664. <Row size="24" band="head"/>
  665. <Row size="24"/>
  666. </Rows>
  667. <Band id="head">
  668. <Cell text="대분류"/>
  669. <Cell col="1" text="중분류"/>
  670. <Cell col="2" text="소분류"/>
  671. <Cell col="3" text="비품코드"/>
  672. <Cell col="4" text="비품명"/>
  673. <Cell col="5" text="모델"/>
  674. <Cell col="6" text="규격"/>
  675. <Cell col="7" text="구입금액"/>
  676. <Cell col="8" text="취득일"/>
  677. <Cell col="9" text="거래처"/>
  678. <Cell col="10" text="사용부서"/>
  679. <Cell col="11" text="설치장소"/>
  680. <Cell col="12" text="청구부서"/>
  681. <Cell col="13" text="구입일자"/>
  682. <Cell col="14"/>
  683. <Cell col="15"/>
  684. <Cell col="16"/>
  685. <Cell col="17"/>
  686. </Band>
  687. <Band id="body">
  688. <Cell style="align:left middle;padding:0 0 0 3;" text="bind:lrgnm"/>
  689. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:mdlnm"/>
  690. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:smlnm"/>
  691. <Cell col="3" text="bind:fixasetcd"/>
  692. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:goodflaghngnm"/>
  693. <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:goodmodel"/>
  694. <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:goodspec"/>
  695. <Cell col="7" displaytype="number" text="bind:possnamt"/>
  696. <Cell col="8" displaytype="date" text="bind:possndd" calendardisplaynulltype="nulltext"/>
  697. <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:suplplcenm"/>
  698. <Cell col="10" style="align:left middle;padding:0 0 0 3;" text="bind:mngtdeptnm"/>
  699. <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:installplcenm"/>
  700. <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:cntrdeptnm"/>
  701. <Cell col="13" text="bind:windd" mask="yyyy-mm-dd"/>
  702. <Cell col="14" text="bind:lrgcd"/>
  703. <Cell col="15" text="bind:mdlcd"/>
  704. <Cell col="16" text="bind:smlcd"/>
  705. <Cell col="17" text="bind:fixasetcd"/>
  706. </Band>
  707. </Format>
  708. </Formats>
  709. </Grid>
  710. <Shape id="line20" class="line_10" position="absolute 0 3 583 9" anchor="left right bottom"/>
  711. </Layout>
  712. </Layouts>
  713. </Tabpage>
  714. </Tabpages>
  715. </Tab>
  716. <Edit id="ipt_smlcd" taborder="43" class="input_fix" position="absolute 465 481 501 500" anchor="left bottom" autoselect="true"/>
  717. <Button id="btn_search_cd" taborder="44" text="조회" class="btn2" position="absolute 1151 434 1193 453" anchor="right bottom" onclick="btn_search_cd_onclick"/>
  718. <MaskEdit id="ipt_adjtqty" taborder="45" mask="9,999999999999999" class="input_essential" position="absolute 291 736 606 755" autoskip="true" autoselect="true" anchor="left bottom"/>
  719. <Combo id="cmb_acptflag" taborder="46" innerdataset="@ds_init_acptflag" codecolumn="value" datacolumn="label" class="combo_essential" position="absolute 102 735 286 754" anchor="left bottom" onitemchanged="cmb_acptflag_onitemchanged"/>
  720. <Edit id="ipt_acptdd" taborder="47" class="input_essential" visible="false" position="absolute 560 429 585 448" anchor="left bottom" autoselect="true"/>
  721. <Edit id="ipt_acptcharid" taborder="48" class="input_essential" visible="false" position="absolute 570 455 585 474" anchor="left bottom" autoselect="true"/>
  722. <Static id="caption11" text="조정사유" class="cell_1" position="absolute 23 759 101 805" anchor="left bottom"/>
  723. <TextArea id="ipt_adjtrsn" taborder="49" class="input_essential" position="absolute 102 760 606 803" wordwrap="word" acceptstab="true" autoselect="true" anchor="left bottom"/>
  724. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 728 605 734" anchor="left bottom"/>
  725. <Static id="caption12" text="접수" class="cell_1" position="absolute 0 733 22 805" anchor="left bottom"/>
  726. <Static id="caption45" text="대" class="cell_1" position="absolute 101 479 126 502" anchor="left bottom"/>
  727. <Static id="caption46" text="중" class="cell_1" position="absolute 271 479 296 502" anchor="left bottom"/>
  728. <Static id="caption47" text="소" class="cell_1" position="absolute 439 479 464 502" anchor="left bottom"/>
  729. <Static id="caption49" text="예산계정" class="cell_1" visible="false" position="absolute 130 397 152 420" anchor="left bottom" style="align:left top;"/>
  730. <Static id="caption50" text="연구과제" class="cell_1" visible="false" position="absolute 181 395 200 418" anchor="left bottom" style="align:left top;"/>
  731. <Edit id="ipt_stdysubjno" taborder="50" class="input_search" visible="false" position="absolute 205 397 225 416" anchor="left bottom" autoselect="true"/>
  732. <Combo id="cmb_bugtcd" taborder="51" class="combo_default" visible="false" position="absolute 155 397 175 416" anchor="left bottom"/>
  733. <Edit id="ipt_stdysubjnm" taborder="52" class="input_fix" visible="false" position="absolute 240 397 260 416" anchor="left bottom" autoselect="true"/>
  734. <Button id="btn_stdysubjnm" taborder="53" class="icon_search" visible="false" position="absolute 225 397 241 413" anchor="left bottom" onclick="btn_stdysubjnm_onclick"/>
  735. <Button id="button12" taborder="54" text="행삭제" class="btn2" position="absolute 1140 680 1193 699" anchor="right bottom" onclick="button12_onclick"/>
  736. <Button id="button13" taborder="55" text="행추가" class="btn2" position="absolute 1085 680 1138 699" anchor="right bottom" onclick="button13_onclick"/>
  737. <Edit id="ipt_suplplcecd" taborder="56" class="input_fix" visible="false" position="absolute 452 316 522 335" autoselect="true"/>
  738. <Static id="caption51" text="거래처" class="cell_1" visible="false" position="absolute 350 314 450 337"/>
  739. <Button id="btn_suplplcecd" taborder="57" class="icon_search" visible="false" position="absolute 525 318 541 334" onclick="btn_suplplcecd_onclick"/>
  740. <Edit id="ipt_suplplcenm" taborder="58" class="input_fix" visible="false" position="absolute 545 316 650 335" autoselect="true"/>
  741. <MaskEdit id="ipt_plceordamt" taborder="59" mask="9,999999999999999" class="input_essential" enable="false" position="absolute 520 583 605 602" anchor="left bottom" autoselect="true"/>
  742. <Static id="caption53" text="단가" class="cell_1" position="absolute 304 582 365 604" anchor="left bottom"/>
  743. <Static id="caption55" text="금액" class="cell_1" position="absolute 457 582 518 604" anchor="left bottom"/>
  744. <MaskEdit id="ipt_wncurncyamt" taborder="60" mask="9,9999999999999" class="input_fix" position="absolute 367 583 452 602" autoselect="true" autoskip="true" anchor="left bottom"/>
  745. <Button id="brn_all_check" taborder="61" text="구매승인/미승인.선택" class="btn2" position="absolute 968 124 1106 143" anchor="top right" onclick="brn_all_check_onclick"/>
  746. <Button id="btn_purcaprv" taborder="62" text="선택승인처리" class="btn2" position="absolute 1108 124 1194 143" anchor="top right" onclick="btn_purcaprv_onclick"/>
  747. <Button id="btn_mngtdeptcd" taborder="63" class="icon_search" position="absolute 175 610 191 626" anchor="left bottom" onclick="btn_mngtdeptcd_onclick"/>
  748. <Static id="cap_mngtdeptcd" text="사용부서" class="cell_1" position="absolute 0 607 100 630" anchor="left bottom"/>
  749. <Edit id="ipt_mngtdeptcdnm" taborder="64" class="input_fix" position="absolute 195 634 300 653" anchor="left bottom" autoselect="true"/>
  750. <Edit id="ipt_cntrdeptcd" taborder="65" class="input_fix" position="absolute 102 583 172 602" anchor="left bottom" autoselect="true"/>
  751. <Button id="btn_cntrdeptcd" taborder="66" class="icon_search" position="absolute 175 584 191 600" anchor="left bottom" onclick="btn_cntrdeptcd_onclick"/>
  752. <Edit id="ipt_mngtdeptcd" taborder="67" class="input_fix" position="absolute 102 609 172 628" anchor="left bottom" autoselect="true"/>
  753. <Edit id="ipt_cntrdeptcdnm" taborder="68" class="input_fix" position="absolute 195 583 300 602" anchor="left bottom" autoselect="true"/>
  754. <Static id="cap_cntrdeptcd" text="청구부서" class="cell_1" position="absolute 0 581 100 604" anchor="left bottom"/>
  755. <Edit id="ipt_reqtel" taborder="69" visible="false" position="absolute 535 454 560 473" anchor="left bottom" autoselect="true"/>
  756. <Edit id="ipt_studyinstcd" taborder="70" visible="false" position="absolute 485 454 535 473" anchor="left bottom" autoselect="true"/>
  757. <Combo id="cmb_acpttype" taborder="71" innerdataset="@ds_init_acpttype" codecolumn="value" datacolumn="label" class="combo_essential" visible="false" position="absolute 770 314 920 333" onitemchanged="cmb_acpttype_onitemchanged"/>
  758. <Static id="caption16" text="지급기준" class="cell_1" visible="false" position="absolute 690 313 768 336"/>
  759. <Button id="btn_excel" taborder="72" text="Excel 저장" class="btn5" position="absolute 891 124 966 143" anchor="top right" onclick="btn_excel_onclick"/>
  760. <Static id="caption18" text="예산년도/집행/잔액" class="cell_1" position="absolute 304 633 427 653" anchor="left bottom"/>
  761. <MaskEdit id="ipt_bugtexecamt" taborder="73" mask="9,9999999999999" position="absolute 485 634 546 653" autoskip="true" autoselect="true" class="output" readonly="true" anchor="left bottom"/>
  762. <MaskEdit id="ipt_remainder" taborder="74" mask="9,99999999999" position="absolute 547 634 607 653" readonly="true" anchor="left bottom" class="output"/>
  763. <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 0 629 605 635" anchor="left bottom"/>
  764. <Edit id="input1" taborder="75" enable="false" position="absolute 392 609 605 628" anchor="left bottom" autoselect="true" style=":disabled {align:right middle;}"/>
  765. <Shape id="line00" class="line_2" position="absolute 0 501 605 507" anchor="left bottom"/>
  766. <Button id="btn_print" taborder="77" text="출력" class="btn2" position="absolute 531 429 577 448" anchor="left bottom" onclick="btn_print_onclick" enable="false"/>
  767. <Static id="cap_comreqno" text="전산요청번호" class="cell_1" position="absolute 269 427 369 450" anchor="left bottom"/>
  768. <Combo id="cmb_comreqno" taborder="78" position="absolute 371 429 526 448" anchor="left bottom" innerdataset="@ds_comreqno" codecolumn="value" datacolumn="label"/>
  769. </Layout>
  770. </Layouts>
  771. <Objects>
  772. <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_goodreq_oncolumnchanged">
  773. <ColumnInfo>
  774. <Column id="instcd" type="STRING" size="256"/>
  775. <Column id="reqdeptcd" type="STRING" size="256"/>
  776. <Column id="reqdeptnm" type="STRING" size="256"/>
  777. <Column id="reqflag" type="STRING" size="256"/>
  778. <Column id="reqfrdd" type="STRING" size="256"/>
  779. <Column id="deliveprcsflag" type="STRING" size="256"/>
  780. <Column id="retrmaxreqnoyn" type="STRING" size="256"/>
  781. <Column id="reqtodd" type="STRING" size="256"/>
  782. <Column id="acptflag" type="STRING" size="256"/>
  783. <Column id="deptaprvddfr" type="STRING" size="256"/>
  784. <Column id="deptaprvddto" type="STRING" size="256"/>
  785. </ColumnInfo>
  786. <Rows>
  787. <Row>
  788. <Col id="instcd"/>
  789. <Col id="reqdeptcd"/>
  790. <Col id="reqdeptnm"/>
  791. <Col id="reqflag"/>
  792. <Col id="reqfrdd"/>
  793. <Col id="deliveprcsflag"/>
  794. <Col id="retrmaxreqnoyn"/>
  795. <Col id="reqtodd"/>
  796. <Col id="acptflag"/>
  797. <Col id="deptaprvddfr"/>
  798. <Col id="deptaprvddto"/>
  799. </Row>
  800. </Rows>
  801. </Dataset>
  802. <Dataset id="ds_send_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  803. <ColumnInfo>
  804. <Column id="lrgcd" type="STRING" size="256"/>
  805. <Column id="mdlcd" type="STRING" size="256"/>
  806. <Column id="instcd" type="STRING" size="256"/>
  807. <Column id="goodflag" type="STRING" size="256"/>
  808. </ColumnInfo>
  809. <Rows>
  810. <Row>
  811. <Col id="lrgcd"/>
  812. <Col id="mdlcd"/>
  813. <Col id="instcd"/>
  814. <Col id="goodflag"/>
  815. </Row>
  816. </Rows>
  817. </Dataset>
  818. <Dataset id="ds_main_list_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_goodreq_goodreqlist_oncolumnchanged">
  819. <ColumnInfo>
  820. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  821. <Column id="reqflag" type="STRING" size="256" sumtext="물품구분"/>
  822. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  823. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  824. <Column id="reqseqno" type="STRING" size="256" sumtext="청구 일련번호"/>
  825. <Column id="workflag" type="STRING" size="256" sumtext="작업구분"/>
  826. <Column id="workflagnm" type="STRING" size="256" sumtext="작업구분명"/>
  827. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
  828. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
  829. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
  830. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
  831. <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드"/>
  832. <Column id="smlnm" type="STRING" size="256" sumtext="소분류명"/>
  833. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  834. <Column id="goodnm" type="STRING" size="256" sumtext="goodnm"/>
  835. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  836. <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
  837. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
  838. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  839. <Column id="bugtcd" type="STRING" size="256" sumtext="예산코드"/>
  840. <Column id="bugtflag" type="STRING" size="256" sumtext="예산코드"/>
  841. <Column id="bugtnm" type="STRING" size="256" sumtext="계정명"/>
  842. <Column id="bugtyy" type="STRING" size="256" sumtext="bugtyy"/>
  843. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제번호"/>
  844. <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제번호"/>
  845. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  846. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
  847. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소"/>
  848. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소명"/>
  849. <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자"/>
  850. <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자"/>
  851. <Column id="reqtm" type="STRING" size="256" sumtext="청구시간"/>
  852. <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서"/>
  853. <Column id="delivehopedd" type="STRING" size="256" sumtext="출고희망일"/>
  854. <Column id="reqqty" type="BIGDECIMAL" size="256" sumtext="청구수량"/>
  855. <Column id="requnit" type="STRING" size="256" sumtext="청구단위"/>
  856. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  857. <Column id="attfilepathnm" type="STRING" size="256" sumtext="첨부파일경로명"/>
  858. <Column id="makeyn" type="STRING" size="256" sumtext="제작여부"/>
  859. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
  860. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
  861. <Column id="acptflag" type="STRING" size="256" sumtext="접수여부"/>
  862. <Column id="acptflagnm" type="STRING" size="256" sumtext="접수여부명"/>
  863. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  864. <Column id="adjtqty" type="BIGDECIMAL" size="256" sumtext="조정수량"/>
  865. <Column id="adjtrsn" type="STRING" size="256" sumtext="조정사유"/>
  866. <Column id="acptcharid" type="STRING" size="256" sumtext="접수담당자id"/>
  867. <Column id="plceorddd" type="STRING" size="256" sumtext="구매요구일자"/>
  868. <Column id="plceordseqno" type="STRING" size="256" sumtext="구매요구번호"/>
  869. <Column id="deliveqty" type="STRING" size="256" sumtext="불출수량"/>
  870. <Column id="unwinresn" type="STRING" size="256" sumtext="미입고사유"/>
  871. <Column id="deliveprcsflag" type="STRING" size="256" sumtext="출고진행구분"/>
  872. <Column id="deliveprcsflagnm" type="STRING" size="256" sumtext="출고진행구분명"/>
  873. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  874. <Column id="plceordyn" type="STRING" size="256" sumtext="발주여부(발주프로그램에서필요)"/>
  875. <Column id="plceordqty" type="STRING" size="256" sumtext="발주량(발주프로그램에서필요)"/>
  876. <Column id="wncurncyamt" type="STRING" size="256" sumtext="단가(발주프로그렘에서필요)"/>
  877. <Column id="plceordamt" type="STRING" size="256" sumtext="발주금액(발주프로그램에서필요)"/>
  878. <Column id="suplplcecd" type="STRING" size="256" sumtext="거래처(발주프로그램에서필요)"/>
  879. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처(발주프로그렘에서필요)"/>
  880. <Column id="delivedd" type="STRING" size="256" sumtext="납품일자(발주프로그램에서필요)"/>
  881. <Column id="purcacptflag" type="STRING" size="256" sumtext="구매승인여부"/>
  882. <Column id="purcacptdd" type="STRING" size="256" sumtext="구매승인일자"/>
  883. <Column id="suplplcenm" type="STRING" size="256" sumtext="거래처명"/>
  884. <Column id="cntrdeptcd" type="STRING" size="256" sumtext="귀속부서"/>
  885. <Column id="cntrdeptcdnm" type="STRING" size="256" sumtext="귀속부서명"/>
  886. <Column id="mngtdeptcd" type="STRING" size="256" sumtext="관리부서"/>
  887. <Column id="mngtdeptcdnm" type="STRING" size="256" sumtext="관리부서명"/>
  888. <Column id="studyinstcd" type="STRING" size="256" sumtext="연구기관"/>
  889. <Column id="acpttype" type="STRING" size="256" sumtext="지급기준"/>
  890. <Column id="projectnm" type="STRING" size="256" sumtext="프로젝트명"/>
  891. <Column id="projectid" type="STRING" size="256" sumtext="프로젝트id"/>
  892. <Column id="groupbugt" type="STRING" size="256" sumtext="계정"/>
  893. <Column id="totamt" type="STRING" size="256" sumtext="예산편성액"/>
  894. <Column id="bugtexpcamt" type="STRING" size="256" sumtext="예산추산액"/>
  895. <Column id="bugtexecamt" type="STRING" size="256" sumtext="예산집행액"/>
  896. <Column id="remainder" type="STRING" size="256" sumtext="예산잔액"/>
  897. <Column id="fundorigin" type="STRING" size="256" sumtext="자금출처"/>
  898. <Column id="reqtel" type="STRING" size="256" sumtext="부서연락처"/>
  899. <Column id="deptaprvpsnid" type="STRING" size="256" sumtext="부서승인자ID"/>
  900. <Column id="deptaprvpsnnm" type="STRING" size="256" sumtext="부서장명"/>
  901. <Column id="prodplce" type="STRING" size="256" sumtext="제조국"/>
  902. <Column id="chk" type="STRING" size="256"/>
  903. <Column id="comreqno" type="STRING" size="256"/>
  904. </ColumnInfo>
  905. </Dataset>
  906. <Dataset id="ds_main_goodreq_goodreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodreq_goodreqlist_oncolumnchanged">
  907. <ColumnInfo>
  908. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  909. <Column id="reqflag" type="STRING" size="256" sumtext="물품구분"/>
  910. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  911. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  912. <Column id="reqseqno" type="STRING" size="256" sumtext="청구 일련번호"/>
  913. <Column id="workflag" type="STRING" size="256" sumtext="작업구분"/>
  914. <Column id="workflagnm" type="STRING" size="256" sumtext="작업구분명"/>
  915. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
  916. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
  917. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
  918. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
  919. <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드"/>
  920. <Column id="smlnm" type="STRING" size="256" sumtext="소분류명"/>
  921. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  922. <Column id="goodnm" type="STRING" size="256" sumtext="goodnm"/>
  923. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  924. <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
  925. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
  926. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  927. <Column id="bugtcd" type="STRING" size="256" sumtext="예산코드"/>
  928. <Column id="bugtflag" type="STRING" size="256" sumtext="예산코드"/>
  929. <Column id="bugtnm" type="STRING" size="256" sumtext="계정명"/>
  930. <Column id="bugtyy" type="STRING" size="256" sumtext="bugtyy"/>
  931. <Column id="stdysubjno" type="STRING" size="256" sumtext="연구과제번호"/>
  932. <Column id="stdysubjnm" type="STRING" size="256" sumtext="연구과제번호"/>
  933. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  934. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
  935. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소"/>
  936. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소명"/>
  937. <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자"/>
  938. <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자"/>
  939. <Column id="reqtm" type="STRING" size="256" sumtext="청구시간"/>
  940. <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서"/>
  941. <Column id="delivehopedd" type="STRING" size="256" sumtext="출고희망일"/>
  942. <Column id="reqqty" type="BIGDECIMAL" size="256" sumtext="청구수량"/>
  943. <Column id="requnit" type="STRING" size="256" sumtext="청구단위"/>
  944. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  945. <Column id="attfilepathnm" type="STRING" size="256" sumtext="첨부파일경로명"/>
  946. <Column id="makeyn" type="STRING" size="256" sumtext="제작여부"/>
  947. <Column id="deptaprvyn" type="STRING" size="256" sumtext="부서승인여부"/>
  948. <Column id="deptaprvdd" type="STRING" size="256" sumtext="부서승인일자"/>
  949. <Column id="acptflag" type="STRING" size="256" sumtext="접수여부"/>
  950. <Column id="acptflagnm" type="STRING" size="256" sumtext="접수여부명"/>
  951. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  952. <Column id="adjtqty" type="BIGDECIMAL" size="256" sumtext="조정수량"/>
  953. <Column id="adjtrsn" type="STRING" size="256" sumtext="조정사유"/>
  954. <Column id="acptcharid" type="STRING" size="256" sumtext="접수담당자id"/>
  955. <Column id="plceorddd" type="STRING" size="256" sumtext="구매요구일자"/>
  956. <Column id="plceordseqno" type="STRING" size="256" sumtext="구매요구번호"/>
  957. <Column id="deliveqty" type="STRING" size="256" sumtext="불출수량"/>
  958. <Column id="unwinresn" type="STRING" size="256" sumtext="미입고사유"/>
  959. <Column id="deliveprcsflag" type="STRING" size="256" sumtext="출고진행구분"/>
  960. <Column id="deliveprcsflagnm" type="STRING" size="256" sumtext="출고진행구분명"/>
  961. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  962. <Column id="plceordyn" type="STRING" size="256" sumtext="발주여부(발주프로그램에서필요)"/>
  963. <Column id="plceordqty" type="STRING" size="256" sumtext="발주량(발주프로그램에서필요)"/>
  964. <Column id="wncurncyamt" type="STRING" size="256" sumtext="단가(발주프로그렘에서필요)"/>
  965. <Column id="plceordamt" type="STRING" size="256" sumtext="발주금액(발주프로그램에서필요)"/>
  966. <Column id="suplplcecd" type="STRING" size="256" sumtext="거래처(발주프로그램에서필요)"/>
  967. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처(발주프로그렘에서필요)"/>
  968. <Column id="delivedd" type="STRING" size="256" sumtext="납품일자(발주프로그램에서필요)"/>
  969. <Column id="purcacptflag" type="STRING" size="256" sumtext="구매승인여부"/>
  970. <Column id="purcacptdd" type="STRING" size="256" sumtext="구매승인일자"/>
  971. <Column id="suplplcenm" type="STRING" size="256" sumtext="거래처명"/>
  972. <Column id="cntrdeptcd" type="STRING" size="256" sumtext="귀속부서"/>
  973. <Column id="cntrdeptcdnm" type="STRING" size="256" sumtext="귀속부서명"/>
  974. <Column id="mngtdeptcd" type="STRING" size="256" sumtext="관리부서"/>
  975. <Column id="mngtdeptcdnm" type="STRING" size="256" sumtext="관리부서명"/>
  976. <Column id="studyinstcd" type="STRING" size="256" sumtext="연구기관"/>
  977. <Column id="acpttype" type="STRING" size="256" sumtext="지급기준"/>
  978. <Column id="projectnm" type="STRING" size="256" sumtext="프로젝트명"/>
  979. <Column id="projectid" type="STRING" size="256" sumtext="프로젝트id"/>
  980. <Column id="groupbugt" type="STRING" size="256" sumtext="계정"/>
  981. <Column id="totamt" type="STRING" size="256" sumtext="예산편성액"/>
  982. <Column id="bugtexpcamt" type="STRING" size="256" sumtext="예산추산액"/>
  983. <Column id="bugtexecamt" type="STRING" size="256" sumtext="예산집행액"/>
  984. <Column id="remainder" type="STRING" size="256" sumtext="예산잔액"/>
  985. <Column id="fundorigin" type="STRING" size="256" sumtext="자금출처"/>
  986. <Column id="reqtel" type="STRING" size="256" sumtext="부서연락처"/>
  987. <Column id="deptaprvpsnid" type="STRING" size="256" sumtext="부서승인자ID"/>
  988. <Column id="deptaprvpsnnm" type="STRING" size="256" sumtext="부서장명"/>
  989. <Column id="prodplce" type="STRING" size="256" sumtext="제조국"/>
  990. <Column id="comreqno" type="STRING" size="256"/>
  991. </ColumnInfo>
  992. </Dataset>
  993. <Dataset id="ds_init_acpttype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  994. <ColumnInfo>
  995. <Column id="label" type="STRING" size="256"/>
  996. <Column id="value" type="STRING" size="256"/>
  997. </ColumnInfo>
  998. <Rows>
  999. <Row>
  1000. <Col id="label">정상구매</Col>
  1001. <Col id="value">1</Col>
  1002. </Row>
  1003. <Row>
  1004. <Col id="label">자체제작</Col>
  1005. <Col id="value">2</Col>
  1006. </Row>
  1007. <Row>
  1008. <Col id="label">재고지급</Col>
  1009. <Col id="value">3</Col>
  1010. </Row>
  1011. <Row>
  1012. <Col id="label">임대</Col>
  1013. <Col id="value">4</Col>
  1014. </Row>
  1015. </Rows>
  1016. </Dataset>
  1017. <Dataset id="ds_main_list_lrg_lrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1018. <ColumnInfo>
  1019. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
  1020. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
  1021. <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관부서코드"/>
  1022. <Column id="mainmngtdeptnm" type="STRING" size="256" sumtext="주관부서명"/>
  1023. <Column id="winacnt" type="STRING" size="256" sumtext="계정코드(입고)"/>
  1024. <Column id="winacntnm" type="STRING" size="256" sumtext="계정명(입고)"/>
  1025. <Column id="amtacnt" type="STRING" size="256" sumtext="계정코드(출고)"/>
  1026. <Column id="amtacntnm" type="STRING" size="256" sumtext="계정명(출고)"/>
  1027. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1028. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  1029. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1030. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1031. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자ID"/>
  1032. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
  1033. </ColumnInfo>
  1034. </Dataset>
  1035. <Dataset id="ds_main_list_fixasetcd_fixasetcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1036. <ColumnInfo>
  1037. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1038. <Column id="fixasetcd" type="STRING" size="256" sumtext="고정자산코드"/>
  1039. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소"/>
  1040. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  1041. <Column id="goodqty" type="STRING" size="256" sumtext="수량"/>
  1042. <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산한글명"/>
  1043. <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산영문명"/>
  1044. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  1045. <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
  1046. <Column id="asetflag_maineqmtflag" type="STRING" size="256" sumtext="자산중요장비구분"/>
  1047. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  1048. <Column id="suplplcenm" type="STRING" size="256" sumtext="거래처명"/>
  1049. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
  1050. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류영"/>
  1051. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
  1052. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
  1053. <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드"/>
  1054. <Column id="smlnm" type="STRING" size="256" sumtext="소분류명칭"/>
  1055. <Column id="windd" type="STRING" size="256" sumtext="입고일자"/>
  1056. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소명"/>
  1057. <Column id="possndd" type="STRING" size="256" sumtext="취득일"/>
  1058. <Column id="possnamt" type="STRING" size="256" sumtext="구입금액"/>
  1059. <Column id="mngtdeptnm" type="STRING" size="256" sumtext="사용부서명"/>
  1060. <Column id="cntrdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
  1061. </ColumnInfo>
  1062. </Dataset>
  1063. <Dataset id="ds_main_list_psgereq_psgereqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_psgereq_psgereqlist_oncolumnchanged">
  1064. <ColumnInfo>
  1065. <Column id="instcd" type="STRING" size="256" sumtext="기관번호"/>
  1066. <Column id="reqflag" type="STRING" size="256" sumtext="물품구분"/>
  1067. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  1068. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  1069. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  1070. <Column id="psgedeptcd" type="STRING" size="256" sumtext="경유부서코드"/>
  1071. <Column id="psgedeptnm" type="STRING" size="256" sumtext="경유부서명"/>
  1072. <Column id="psgecmt" type="STRING" size="256" sumtext="경유부서의견"/>
  1073. <Column id="psgedeptaprvyn" type="STRING" size="256" sumtext="경유부서승인여부"/>
  1074. <Column id="psgedeptaprvid" type="STRING" size="256" sumtext="경유부서승인자 id"/>
  1075. <Column id="psgedeptaprvnm" type="STRING" size="256" sumtext="경유부서승인자명"/>
  1076. <Column id="psgedeptaprvdd" type="STRING" size="256" sumtext="경유부서승인일자"/>
  1077. </ColumnInfo>
  1078. </Dataset>
  1079. <Dataset id="ds_send_psgereq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1080. <ColumnInfo>
  1081. <Column id="instcd" type="STRING" size="256"/>
  1082. <Column id="reqflag" type="STRING" size="256"/>
  1083. <Column id="reqdd" type="STRING" size="256"/>
  1084. <Column id="reqno" type="STRING" size="256"/>
  1085. <Column id="reqseqno" type="STRING" size="256"/>
  1086. </ColumnInfo>
  1087. <Rows>
  1088. <Row>
  1089. <Col id="instcd"/>
  1090. <Col id="reqflag"/>
  1091. <Col id="reqdd"/>
  1092. <Col id="reqno"/>
  1093. <Col id="reqseqno"/>
  1094. </Row>
  1095. </Rows>
  1096. </Dataset>
  1097. <Dataset id="ds_init_reqflagpurcarth_reqflagpurcarthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1098. <Dataset id="ds_cmb_deliveprcsflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1099. <ColumnInfo>
  1100. <Column id="label" type="STRING" size="256"/>
  1101. <Column id="value" type="STRING" size="256"/>
  1102. </ColumnInfo>
  1103. <Rows>
  1104. <Row>
  1105. <Col id="label">청구</Col>
  1106. <Col id="value">1</Col>
  1107. </Row>
  1108. <Row>
  1109. <Col id="label">발주</Col>
  1110. <Col id="value">3</Col>
  1111. </Row>
  1112. <Row>
  1113. <Col id="label">입고완료</Col>
  1114. <Col id="value">5</Col>
  1115. </Row>
  1116. <Row>
  1117. <Col id="label">강제종결</Col>
  1118. <Col id="value">6</Col>
  1119. </Row>
  1120. <Row>
  1121. <Col id="label">입고완료</Col>
  1122. <Col id="value">7</Col>
  1123. </Row>
  1124. <Row>
  1125. <Col id="label">자체제작</Col>
  1126. <Col id="value">8</Col>
  1127. </Row>
  1128. <Row>
  1129. <Col id="label">재고지급</Col>
  1130. <Col id="value">9</Col>
  1131. </Row>
  1132. <Row>
  1133. <Col id="label">임대</Col>
  1134. <Col id="value">10</Col>
  1135. </Row>
  1136. </Rows>
  1137. </Dataset>
  1138. <Dataset id="ds_init_purcacptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1139. <label>승인</label>
  1140. <value>Y</value>
  1141. <label>종료</label>
  1142. <value>C</value>
  1143. <label>미승인</label>
  1144. <value>N</value>
  1145. <ColumnInfo>
  1146. <Column id="label" type="STRING" size="256"/>
  1147. <Column id="value" type="STRING" size="256"/>
  1148. </ColumnInfo>
  1149. <Rows>
  1150. <Row>
  1151. <Col id="label">승인</Col>
  1152. <Col id="value">Y</Col>
  1153. </Row>
  1154. <Row>
  1155. <Col id="label">종료</Col>
  1156. <Col id="value">C</Col>
  1157. </Row>
  1158. <Row>
  1159. <Col id="label">미승인</Col>
  1160. <Col id="value">N</Col>
  1161. </Row>
  1162. </Rows>
  1163. <label>승인</label>
  1164. <value>Y</value>
  1165. <label>종료</label>
  1166. <value>C</value>
  1167. <label>미승인</label>
  1168. <value>N</value>
  1169. </Dataset>
  1170. <Dataset id="ds_main_list_mdl_mdllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1171. <ColumnInfo>
  1172. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
  1173. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
  1174. <Column id="winacnt" type="STRING" size="256" sumtext="계정코드(입고)"/>
  1175. <Column id="winacntnm" type="STRING" size="256" sumtext="계정코드(입고)명"/>
  1176. <Column id="amtacnt" type="STRING" size="256" sumtext="계정코드(출고)"/>
  1177. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1178. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  1179. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
  1180. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1181. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1182. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1183. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1184. </ColumnInfo>
  1185. </Dataset>
  1186. <Dataset id="ds_main_list_sml_smllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1187. <ColumnInfo>
  1188. <Column id="smlcd" type="STRING" size="256" sumtext="중분류코드"/>
  1189. <Column id="smlnm" type="STRING" size="256" sumtext="중분류명"/>
  1190. <Column id="winacnt" type="STRING" size="256" sumtext="계정코드(입고)"/>
  1191. <Column id="winacntnm" type="STRING" size="256" sumtext="계정명(입고)"/>
  1192. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1193. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  1194. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드"/>
  1195. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드"/>
  1196. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1197. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1198. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1199. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1200. </ColumnInfo>
  1201. </Dataset>
  1202. <Dataset id="ds_main_list_goodreq_goodmaxreqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1203. <ColumnInfo>
  1204. <Column id="reqfix" type="STRING" size="256"/>
  1205. </ColumnInfo>
  1206. </Dataset>
  1207. <Dataset id="ds_init_acptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1208. <ColumnInfo>
  1209. <Column id="label" type="STRING" size="256"/>
  1210. <Column id="value" type="STRING" size="256"/>
  1211. </ColumnInfo>
  1212. <Rows>
  1213. <Row>
  1214. <Col id="label">미접수</Col>
  1215. <Col id="value">N</Col>
  1216. </Row>
  1217. <Row>
  1218. <Col id="label">접수</Col>
  1219. <Col id="value">Y</Col>
  1220. </Row>
  1221. <Row>
  1222. <Col id="label">종료</Col>
  1223. <Col id="value">C</Col>
  1224. </Row>
  1225. </Rows>
  1226. </Dataset>
  1227. <Dataset id="ds_send_fileupcolumn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1228. <ColumnInfo>
  1229. <Column id="instcd" type="STRING" size="256"/>
  1230. <Column id="reqdd" type="STRING" size="256"/>
  1231. <Column id="fileseqno" type="STRING" size="256"/>
  1232. <Column id="reqflag" type="STRING" size="256"/>
  1233. <Column id="reqno" type="STRING" size="256"/>
  1234. <Column id="reqseqno" type="STRING" size="256"/>
  1235. <Column id="reqpsnid" type="STRING" size="256"/>
  1236. <Column id="attfilenm" type="STRING" size="256"/>
  1237. <Column id="attfilepathnm" type="STRING" size="256"/>
  1238. <Column id="reqdeptcd" type="STRING" size="256"/>
  1239. </ColumnInfo>
  1240. <Rows>
  1241. <Row>
  1242. <Col id="instcd"/>
  1243. <Col id="reqdd"/>
  1244. <Col id="fileseqno"/>
  1245. <Col id="reqflag"/>
  1246. <Col id="reqno"/>
  1247. <Col id="reqseqno"/>
  1248. <Col id="reqpsnid"/>
  1249. <Col id="attfilenm"/>
  1250. <Col id="attfilepathnm"/>
  1251. <Col id="reqdeptcd"/>
  1252. </Row>
  1253. </Rows>
  1254. </Dataset>
  1255. <Dataset id="ds_send_fileupcolumn_fileupload" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1256. <ColumnInfo>
  1257. <Column id="file" type="STRING" size="256"/>
  1258. </ColumnInfo>
  1259. <Rows>
  1260. <Row/>
  1261. </Rows>
  1262. </Dataset>
  1263. <Dataset id="ds_send_fixasetcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1264. <ColumnInfo>
  1265. <Column id="instcd" type="STRING" size="256"/>
  1266. <Column id="goodflag" type="STRING" size="256"/>
  1267. <Column id="cntrdeptcd" type="STRING" size="256"/>
  1268. </ColumnInfo>
  1269. <Rows>
  1270. <Row>
  1271. <Col id="instcd"/>
  1272. <Col id="goodflag"/>
  1273. <Col id="cntrdeptcd"/>
  1274. </Row>
  1275. </Rows>
  1276. </Dataset>
  1277. <Dataset id="ds_init_main_custlist" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" useclientlayout="true">
  1278. <ColumnInfo>
  1279. <Column id="installplcecd" type="STRING" size="255"/>
  1280. <Column id="installplcenm" type="STRING" size="255"/>
  1281. <Column id="deptcd" type="STRING" size="255"/>
  1282. <Column id="deptnm" type="STRING" size="255"/>
  1283. </ColumnInfo>
  1284. </Dataset>
  1285. <Dataset id="ds_main_srinfo" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1286. <ColumnInfo>
  1287. <Column id="pageflag" type="STRING" size="256" sumtext="탭구분"/>
  1288. <Column id="sm" type="STRING" size="256" sumtext="입력상태"/>
  1289. <Column id="reqno" type="STRING" size="256" sumtext="요청번호"/>
  1290. <Column id="reqdd" type="STRING" size="256" sumtext="요청일자"/>
  1291. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  1292. <Column id="reqdeptcd" type="STRING" size="256" sumtext="요청부서"/>
  1293. <Column id="reqdeptnm" type="STRING" size="256" sumtext="요청부서이름"/>
  1294. <Column id="reqmanid" type="STRING" size="256" sumtext="요청자ID"/>
  1295. <Column id="reqmannm" type="STRING" size="256" sumtext="요청자이름"/>
  1296. <Column id="reqtelno" type="STRING" size="256" sumtext="요청자전화번호"/>
  1297. <Column id="emgyn" type="STRING" size="256" sumtext="긴급여부"/>
  1298. <Column id="emgrsn" type="STRING" size="256" sumtext="긴급사유"/>
  1299. <Column id="newyn" type="STRING" size="256" sumtext="신규여부"/>
  1300. <Column id="menupos" type="STRING" size="256" sumtext="메뉴위치"/>
  1301. <Column id="deptmngraprvyn" type="STRING" size="256" sumtext="부서장승인여부"/>
  1302. <Column id="deptmngrid" type="STRING" size="256" sumtext="부서장ID"/>
  1303. <Column id="reqtitle" type="STRING" size="256" sumtext="요청제목"/>
  1304. <Column id="reqconts" type="STRING" size="256" sumtext="요청내용"/>
  1305. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  1306. <Column id="attfilepath" type="STRING" size="256" sumtext="첨부경로"/>
  1307. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1308. <Column id="chrgid" type="STRING" size="256" sumtext="담당자ID"/>
  1309. <Column id="chrgtelno" type="STRING" size="256" sumtext="담당자전화번호"/>
  1310. <Column id="reply" type="STRING" size="256" sumtext="답변"/>
  1311. <Column id="eststartdd" type="STRING" size="256" sumtext="착수예정일"/>
  1312. <Column id="estenddd" type="STRING" size="256" sumtext="완료예정일"/>
  1313. <Column id="startdd" type="STRING" size="256" sumtext="착수일"/>
  1314. <Column id="enddd" type="STRING" size="256" sumtext="완료일"/>
  1315. <Column id="progress" type="STRING" size="256" sumtext="진척률"/>
  1316. <Column id="reqgb" type="STRING" size="256" sumtext="요청구분"/>
  1317. <Column id="fileyn" type="STRING" size="256" sumtext="파일유무"/>
  1318. <Column id="devattfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  1319. <Column id="devattfilepath" type="STRING" size="256" sumtext="첨부경로"/>
  1320. <Column id="devfileyn" type="STRING" size="256" sumtext="파일유무"/>
  1321. <Column id="replyyn" type="STRING" size="256" sumtext="공개유무"/>
  1322. <Column id="devtitle" type="STRING" size="256" sumtext="개발제목"/>
  1323. <Column id="instcd" type="STRING" size="256" sumtext="기관"/>
  1324. <Column id="accauth" type="STRING" size="256" sumtext="접근권한"/>
  1325. <Column id="privyn" type="STRING" size="256" sumtext="공개여부"/>
  1326. <Column id="workcd1" type="STRING" size="256" sumtext="업무분류1"/>
  1327. <Column id="workcd2" type="STRING" size="256" sumtext="업무분류2"/>
  1328. <Column id="workcd3" type="STRING" size="256" sumtext="업무분류3"/>
  1329. <Column id="aprvmsg1" type="STRING" size="256" sumtext="총괄메시지"/>
  1330. <Column id="aprvmsg2" type="STRING" size="256" sumtext="파트장메시지"/>
  1331. <Column id="devconts" type="STRING" size="256" sumtext="개발내용"/>
  1332. <Column id="deptmngraprvchnged" type="STRING" size="256" sumtext="부서장결재변경여부"/>
  1333. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  1334. <Column id="priority" type="STRING" size="256" sumtext="우선순위"/>
  1335. <Column id="devcnt" type="STRING" size="256" sumtext="총 개발 건수"/>
  1336. <Column id="newdevcnt" type="STRING" size="256" sumtext="신규 개발 건수"/>
  1337. <Column id="mdfydevcnt" type="STRING" size="256" sumtext="수정 개발 건수"/>
  1338. <Column id="statdevcnt" type="STRING" size="256" sumtext="통계 건수"/>
  1339. <Column id="stsstartdd" type="STRING" size="256" sumtext="통계시작일자"/>
  1340. <Column id="stsenddd" type="STRING" size="256" sumtext="통계종료일자"/>
  1341. <Column id="reqgbdetl" type="STRING" size="256" sumtext="인증평가 조항"/>
  1342. <Column id="notiid" type="STRING" size="256" sumtext="완료통보자ID"/>
  1343. <Column id="notidd" type="STRING" size="256" sumtext="완료통보일자"/>
  1344. <Column id="notinm" type="STRING" size="256" sumtext="완료통보자명"/>
  1345. <Column id="rereqgb" type="STRING" size="256" sumtext="재의뢰구분"/>
  1346. <Column id="rereqconts" type="STRING" size="256" sumtext="재의뢰상세내용"/>
  1347. <Column id="gubundetl" type="STRING" size="256" sumtext="상세구분"/>
  1348. <Column id="deptmngrnm" type="STRING" size="256"/>
  1349. </ColumnInfo>
  1350. <Rows>
  1351. <Row/>
  1352. </Rows>
  1353. </Dataset>
  1354. <Dataset id="ds_comreqno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1355. <ColumnInfo>
  1356. <Column id="label" type="STRING" size="256"/>
  1357. <Column id="value" type="STRING" size="256"/>
  1358. </ColumnInfo>
  1359. </Dataset>
  1360. <Dataset id="ds_popreqnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1361. <ColumnInfo>
  1362. <Column id="reqno" type="STRING" size="256"/>
  1363. <Column id="eqreqdd" type="STRING" size="256"/>
  1364. </ColumnInfo>
  1365. </Dataset>
  1366. </Objects>
  1367. <Bind>
  1368. <BindItem id="item0" compid="grp_sea.cmb_instcd_search" propid="value" datasetid="ds_send_goodreq" columnid="instcd"/>
  1369. <BindItem id="item1" compid="grp_sea.ipt_reqfrdd_search" propid="value" datasetid="ds_send_goodreq" columnid="reqfrdd"/>
  1370. <BindItem id="item2" compid="grp_sea.ipt_deptaprvddto_search" propid="value" datasetid="ds_send_goodreq" columnid="deptaprvddto"/>
  1371. <BindItem id="item3" compid="grp_sea.cmb_acptflag_search" propid="value" datasetid="ds_send_goodreq" columnid="acptflag"/>
  1372. <BindItem id="item4" compid="grp_sea.ipt_reqdeptcd_search" propid="value" datasetid="ds_send_goodreq" columnid="reqdeptcd"/>
  1373. <BindItem id="item5" compid="grp_sea.ipt_reqdeptnm_search" propid="value" datasetid="ds_send_goodreq" columnid="reqdeptnm"/>
  1374. <BindItem id="item6" compid="grp_sea.input4" propid="value" datasetid="ds_send_goodreq" columnid="reqfrdd"/>
  1375. <BindItem id="item7" compid="grp_sea.ipt_reqtodd_search" propid="value" datasetid="ds_send_goodreq" columnid="reqtodd"/>
  1376. <BindItem id="item8" compid="grp_sea.cmb_reqflag_search" propid="value" datasetid="ds_send_goodreq" columnid="reqflag"/>
  1377. <BindItem id="item9" compid="grp_sea.ipt_goodflag" propid="value" datasetid="ds_send_lrgcd" columnid="goodflag"/>
  1378. <BindItem id="item10" compid="ipt_suplplcecd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="suplplcecd"/>
  1379. <BindItem id="item11" compid="ipt_prodcmpycd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="prodcmpycd"/>
  1380. <BindItem id="item12" compid="ipt_prodcmpynm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="prodcmpynm"/>
  1381. <BindItem id="item13" compid="ipt_suplplcenm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="suplplcenm"/>
  1382. <BindItem id="item14" compid="cmb_acpttype" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="acpttype"/>
  1383. <BindItem id="item15" compid="ipt_bugtexpcamt" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="bugtexpcamt"/>
  1384. <BindItem id="item16" compid="cmb_bugtcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="bugtcd"/>
  1385. <BindItem id="item17" compid="ipt_stdysubjno" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="stdysubjno"/>
  1386. <BindItem id="item18" compid="ipt_stdysubjnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="stdysubjnm"/>
  1387. <BindItem id="item19" compid="opt_reqdeptnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqdeptnm"/>
  1388. <BindItem id="item20" compid="ipt_reqflag" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqflag"/>
  1389. <BindItem id="item21" compid="ipt_deliveprcsflag" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="deliveprcsflag"/>
  1390. <BindItem id="item22" compid="ipt_instcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="instcd"/>
  1391. <BindItem id="item23" compid="ipt_reqpsnid" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqpsnid"/>
  1392. <BindItem id="item24" compid="ipt_reqdeptcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqdeptcd"/>
  1393. <BindItem id="item25" compid="ipt_reqdd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqdd"/>
  1394. <BindItem id="item26" compid="ipt_reqno" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqno"/>
  1395. <BindItem id="item27" compid="ipt_acptdd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="acptdd"/>
  1396. <BindItem id="item28" compid="cmb_workflag" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="workflag"/>
  1397. <BindItem id="item29" compid="rbo_makeyn" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="makeyn"/>
  1398. <BindItem id="item30" compid="ipt_lrgcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="lrgcd"/>
  1399. <BindItem id="item31" compid="opt_lrgnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="lrgnm"/>
  1400. <BindItem id="item32" compid="ipt_mdlcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="mdlcd"/>
  1401. <BindItem id="item33" compid="opt_mdlnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="mdlnm"/>
  1402. <BindItem id="item34" compid="ipt_fixasetcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="fixasetcd"/>
  1403. <BindItem id="item35" compid="ipt_studyinstcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="studyinstcd"/>
  1404. <BindItem id="item36" compid="ipt_reqtel" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqtel"/>
  1405. <BindItem id="item37" compid="ipt_acptcharid" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="acptcharid"/>
  1406. <BindItem id="item38" compid="opt_smlnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="smlnm"/>
  1407. <BindItem id="item39" compid="ipt_smlcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="smlcd"/>
  1408. <BindItem id="item40" compid="ipt_goodnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="goodnm"/>
  1409. <BindItem id="item41" compid="ipt_goodspec" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="goodspec"/>
  1410. <BindItem id="item42" compid="ipt_goodmodel" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="goodmodel"/>
  1411. <BindItem id="item43" compid="cmb_prodplce" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="prodplce"/>
  1412. <BindItem id="item44" compid="ipt_cntrdeptcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="cntrdeptcd"/>
  1413. <BindItem id="item45" compid="ipt_mngtdeptcd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="mngtdeptcd"/>
  1414. <BindItem id="item46" compid="ipt_installplcecd" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="installplcecd"/>
  1415. <BindItem id="item47" compid="ipt_cntrdeptcdnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="cntrdeptcdnm"/>
  1416. <BindItem id="item48" compid="ipt_installplcenm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="mngtdeptcdnm"/>
  1417. <BindItem id="item49" compid="ipt_mngtdeptcdnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="installplcenm"/>
  1418. <BindItem id="item50" compid="ipt_attfilepathnm" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="attfilenm"/>
  1419. <BindItem id="item51" compid="ipt_cmt" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="cmt"/>
  1420. <BindItem id="item52" compid="cmb_acptflag" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="acptflag"/>
  1421. <BindItem id="item53" compid="ipt_adjtqty" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid=""/>
  1422. <BindItem id="item54" compid="ipt_adjtrsn" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="adjtrsn"/>
  1423. <BindItem id="item55" compid="ipt_bugtyy" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="bugtyy"/>
  1424. <BindItem id="item56" compid="ipt_bugtexecamt" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid=""/>
  1425. <BindItem id="item57" compid="ipt_remainder" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="remainder"/>
  1426. <BindItem id="item58" compid="input1" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqtel"/>
  1427. <BindItem id="item59" compid="ipt_plceordamt" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="plceordamt"/>
  1428. <BindItem id="item60" compid="ipt_wncurncyamt" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="wncurncyamt"/>
  1429. <BindItem id="item61" compid="ipt_reqqty" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="reqqty"/>
  1430. <BindItem id="item62" compid="cmb_requnit" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="requnit"/>
  1431. <BindItem id="item63" compid="grp_sea.ipt_deptaprvddfr_search" propid="value" datasetid="ds_send_goodreq" columnid="deptaprvddfr"/>
  1432. <BindItem id="item64" compid="grp_sea.input2" propid="value" datasetid="ds_send_goodreq" columnid="reqfrdd"/>
  1433. <BindItem id="item66" compid="cmb_comreqno" propid="value" datasetid="ds_main_goodreq_goodreqlist" columnid="comreqno"/>
  1434. </Bind>
  1435. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1436. * System Name :
  1437. * Job Name :
  1438. * Creator :
  1439. * Make Date : 2017-06-19
  1440. * Description :
  1441. *---------------------------------------------------------------------------------------
  1442. * Modify Date Modifier Modify Description
  1443. *---------------------------------------------------------------------------------------
  1444. * 2017-06-19 Live Converter TF->XP
  1445. *
  1446. *---------------------------------------------------------------------------------------
  1447. ****************************************************************************************/
  1448. include "com_commonxp::comm_main.xjs";
  1449. include "mis_miscommonxp::MIS.xjs";
  1450. include "mis_miscommonxp::RSZ001.xjs";
  1451. function SMRSD05100_oninit(obj:Form, e:InitEventInfo)
  1452. {
  1453. frmf_initForm(obj);
  1454. }
  1455. function SMRSD05100_onload(obj:Form, e:LoadEventInfo)
  1456. {
  1457. grdf_initGrid(grd_goodreq);
  1458. grdf_setRowTypeIcon(grd_goodreq, 0);
  1459. grdf_initGrid(swh_select.cse_lrgcd.grd_lrglist);
  1460. grdf_setRowTypeIcon(swh_select.cse_lrgcd.grd_lrglist, 0);
  1461. grdf_initGrid(swh_select.cse_lrgcd.grd_mdllist);
  1462. grdf_setRowTypeIcon(swh_select.cse_lrgcd.grd_mdllist, 0);
  1463. grdf_initGrid(swh_select.cse_lrgcd.grd_smllist);
  1464. grdf_setRowTypeIcon(swh_select.cse_lrgcd.grd_smllist, 0);
  1465. grdf_initGrid(swh_select.cse_fixasetcd.grd_fixasetcdlist);
  1466. grdf_initGrid(grd_psgelist);
  1467. grdf_setRowTypeIcon(grd_psgelist, 0);
  1468. fCheckAuth();
  1469. fInitialize();
  1470. }
  1471. function fInitialize()
  1472. {
  1473. ds_send_goodreq.clearData();
  1474. ds_send_goodreq.addRow();
  1475. misfComboComCdListMulti("C0048,R0032,R0246,R0035","grp_sea.cmb_instcd_search,cmb_requnit,cmb_workflag,cmb_prodplce");
  1476. rszfComboBugtList("cmb_bugtcd",sysf_getUserInfo("dutplceinstcd"));
  1477. rszfReqFlagComboComCdList(sysf_getUserInfo("userid"),"grp_sea.cmb_reqflag_search");
  1478. misfGridInit(grd_goodreq);
  1479. misfGridInit(grd_psgelist);
  1480. misfGridInit(swh_select.cse_lrgcd.grd_lrglist);
  1481. misfGridInit(swh_select.cse_lrgcd.grd_mdllist);
  1482. misfGridInit(swh_select.cse_lrgcd.grd_mdllist);
  1483. misfGridInit(swh_select.cse_fixasetcd.grd_fixasetcdlist);
  1484. misfMsterDetailSet(grd_goodreq,null, "TRRSD05101" ,"Y");
  1485. misfMsterDetailSet(grd_psgelist,grd_goodreq, "TRRSD11103" ,"Y");
  1486. var curdate = utlf_getCurrentDate();
  1487. var cvtdate = curdate.toDate("YYYYMMDD");
  1488. ds_send_goodreq.setColumn(0, "deptaprvddfr", String(curdate).substr(0,4)+"0101");
  1489. ds_send_goodreq.setColumn(0, "deptaprvddto", String(curdate).substr(0,6)+cvtdate.getMonthDay());
  1490. ds_send_goodreq.setColumn(0, "reqfrdd", String(curdate).substr(0,4)+"0101");
  1491. ds_send_goodreq.setColumn(0, "reqtodd", String(curdate).substr(0,6)+cvtdate.getMonthDay());
  1492. grp_sea.cmb_instcd_search.value = sysf_getUserInfo("dutplceinstcd");
  1493. ds_send_goodreq.setColumn(0, "reqflag", "D");
  1494. grp_sea.ipt_goodflag.value = "GE";
  1495. grp_sea.cmb_acptflag_search.value = "N";
  1496. fSetReqAuth();
  1497. grd_goodreq.setCellProperty("Head", 1, "text", 0);
  1498. grp_sea.btn_search.click();
  1499. }
  1500. function fCheckAuth()
  1501. {
  1502. grp_sea.btn_search.enable = frmf_checkAuth("R") ;
  1503. btn_save.enable = frmf_checkAuth("X") ;
  1504. }
  1505. function fSetReqAuth()
  1506. {
  1507. rszfGetReqFlagRurcAuthInfo(grp_sea.cmb_instcd_search.value, grp_sea.cmb_reqflag_search.value, sysf_getUserInfo("dutplcecd"), sysf_getUserInfo("userid"));
  1508. if ( ds_init_reqflagpurcarth_reqflagpurcarthlist.getColumn(0, "purcarthyn") == "Y")
  1509. {
  1510. brn_all_check.enable = true;
  1511. btn_purcaprv.enable = true;
  1512. }
  1513. else
  1514. {
  1515. brn_all_check.enable = false;
  1516. btn_purcaprv.enable = false;
  1517. }
  1518. }
  1519. function grp_sea_cmb_instcd_search_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1520. {
  1521. rszfComboBugtList(cmb_bugtcd,obj.value);
  1522. grp_sea.btn_search.click();
  1523. }
  1524. function ds_send_goodreq_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1525. {
  1526. if(e.columnid == "reqdeptcd")
  1527. {
  1528. var objFocus = this.getFocus();
  1529. grp_sea.ipt_reqdeptcd_search.value = e.newvalue;
  1530. grp_sea.ipt_reqdeptcd_search.setFocus();
  1531. misfSearchDept(grp_sea.ipt_reqdeptnm_search);
  1532. grp_sea.btn_search.click();
  1533. objFocus.setFocus();
  1534. }
  1535. }
  1536. function grp_sea_btn_reqdept_onclick(obj:Button, e:ClickEventInfo)
  1537. {
  1538. var recv_list = "reqdeptcd,reqdeptnm";
  1539. misfOpenPopUpList("02", grp_sea.ipt_reqdeptcd_search,"", recv_list) ;
  1540. grp_sea.btn_search.click();
  1541. }
  1542. function grp_sea_ipt_reqfrdd_search_onchanged(obj:Calendar, e:ChangeEventInfo)
  1543. {
  1544. grp_sea.btn_search.click();
  1545. }
  1546. function grp_sea_ipt_deptaprvddto_search_onchanged(obj:Calendar, e:ChangeEventInfo)
  1547. {
  1548. grp_sea.btn_search.click();
  1549. }
  1550. function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
  1551. {
  1552. grp_sea.btn_search.click();
  1553. }
  1554. function grp_sea_ipt_reqtodd_search_onchanged(obj:Calendar, e:ChangeEventInfo)
  1555. {
  1556. grp_sea.btn_search.click();
  1557. }
  1558. function grp_sea_cmb_acptflag_search_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1559. {
  1560. grp_sea.btn_search.click();
  1561. }
  1562. function grp_sea_cmb_reqflag_search_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1563. {
  1564. grp_sea.btn_search.click();
  1565. }
  1566. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1567. {
  1568. if(fCheckRetrieveData(false) == false)return;
  1569. ds_send_goodreq.setColumn(0, "retrmaxreqnoyn", "Y");
  1570. misfMsterDetailRetrieve();
  1571. fAfterRetr();
  1572. }
  1573. function fCheckRetrieveData(pmsg)
  1574. {
  1575. if(String(grp_sea.cmb_instcd_search.value).length== 0 )
  1576. {
  1577. if(pmsg == true)
  1578. {
  1579. sysf_messageBox("기관코드를 " ,"C002");
  1580. grp_sea.cmb_instcd_search.setFocus();
  1581. }
  1582. return false;
  1583. }
  1584. if(String(grp_sea.cmb_reqflag_search.value).length== 0 )
  1585. {
  1586. if(pmsg == true)
  1587. {
  1588. sysf_messageBox("청구구분을 " ,"C001");
  1589. grp_sea.cmb_reqflag_search.setFocus();
  1590. }
  1591. return false;
  1592. }
  1593. if(String(grp_sea.ipt_deptaprvddfr_search.value).length== 0 )
  1594. {
  1595. if(pmsg == true)
  1596. {
  1597. sysf_messageBox("승인시작일자를 " ,"C001");
  1598. grp_sea.ipt_deptaprvddfr_search.setFocus();
  1599. }
  1600. return false;
  1601. }
  1602. if(String(grp_sea.ipt_deptaprvddto_search.value).length== 0 )
  1603. {
  1604. if(pmsg == true)
  1605. {
  1606. sysf_messageBox("승인종료일자를 " ,"C001");
  1607. grp_sea.ipt_deptaprvddto_search.setFocus();
  1608. }
  1609. return false;
  1610. }
  1611. return true;
  1612. }
  1613. function fAfterRetr()
  1614. {
  1615. if ( ds_main_list_goodreq_goodreqlist.rowcount > 0)
  1616. {
  1617. ds_main_goodreq_goodreqlist.clearData();
  1618. ds_main_goodreq_goodreqlist.addRow();
  1619. ds_main_list_goodreq_goodreqlist.rowposition = 0;
  1620. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, ds_main_list_goodreq_goodreqlist.rowposition);
  1621. var sComreqno = utlf_transNullToEmpty(ds_main_list_goodreq_goodreqlist.getColumn(0, "comreqno")).split("\n");
  1622. ds_comreqno.clearData();
  1623. for( var i=0 ; i<sComreqno.length-1 ; i++ ){
  1624. ds_comreqno.addRow();
  1625. ds_comreqno.setColumn(i, "label", sComreqno[i]);
  1626. ds_comreqno.setColumn(i, "value", sComreqno[i]);
  1627. }
  1628. if( ds_comreqno.rowcount > 0 ){
  1629. cmb_comreqno.index = 0;
  1630. btn_print.enable = true;
  1631. }else{
  1632. btn_print.enable = false;
  1633. }
  1634. var row = ds_main_list_goodreq_goodreqlist.rowposition;
  1635. if (ds_main_list_goodreq_goodreqlist.getColumn(row, "acptflagnm") == "접수" || ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "Y")
  1636. {
  1637. }
  1638. else
  1639. {
  1640. cmb_prodplce.value = "01";
  1641. }
  1642. }
  1643. else
  1644. {
  1645. ds_main_goodreq_goodreqlist.clearData();
  1646. ds_main_goodreq_goodreqlist.addRow();
  1647. if(ds_main_list_goodreq_goodmaxreqno.getColumn(0, "reqfix") == "Y")
  1648. {
  1649. fSetControlDisabled(true);
  1650. }
  1651. else
  1652. {
  1653. fSetControlDisabled(false);
  1654. }
  1655. ipt_reqno.value = ds_main_list_goodreq_goodmaxreqno.getColumn(0, "reqno");
  1656. ds_main_goodreq_goodreqlist.setColumn(0, "instcd", grp_sea.cmb_instcd_search.value);
  1657. }
  1658. for(var fRow = 0; fRow < ds_main_list_goodreq_goodreqlist.rowcount; fRow++)
  1659. {
  1660. if(ds_main_list_goodreq_goodreqlist.getColumn(fRow, "deliveprcsflag") == "1" || ds_main_list_goodreq_goodreqlist.getColumn(fRow, "deliveprcsflag") == "9")
  1661. {
  1662. misfSetReadOnlyCol(grd_goodreq, "purcacptflag", false, fRow);
  1663. }
  1664. else
  1665. {
  1666. misfSetReadOnlyCol(grd_goodreq, "purcacptflag", true, fRow);
  1667. }
  1668. }
  1669. }
  1670. function fSetControlDisabled(pDisabled)
  1671. {
  1672. ipt_reqno.enable = !pDisabled;
  1673. }
  1674. function ds_main_list_goodreq_goodreqlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1675. {
  1676. if(e.columnid == "chk")
  1677. {
  1678. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1679. }
  1680. if(e.columnid == "acptflag")
  1681. {
  1682. if(obj.getColumn(e.row, "acptflag") == "N" )
  1683. {
  1684. obj.setColumn(e.row, "acptdd", "");
  1685. }
  1686. else
  1687. {
  1688. obj.setColumn(e.row, "acptdd", utlf_getCurrentDate());
  1689. }
  1690. }
  1691. if(e.columnid == "purcacptflag")
  1692. {
  1693. if (obj.getColumn(e.row, "prcsstat") != "1" || obj.getColumn(e.row, "acptflag") != "Y" )
  1694. {
  1695. sysf_messageBox("청구진행상태 및 접수 상태를 확인하세요 구매승인상태변경을 하실수 ","E001");
  1696. if(obj.getColumn(e.row, "purcacptflag") == "Y")
  1697. {
  1698. obj.setColumn(e.row, "purcacptflag", "N");
  1699. obj.updatecontrol = false;
  1700. obj.setRowType(e.row, "");
  1701. obj.updatecontrol = true;
  1702. }
  1703. else
  1704. {
  1705. obj.setColumn(e.row, "purcacptflag" ,"Y");
  1706. obj.updatecontrol = false;
  1707. obj.setRowType(e.row, "");
  1708. obj.updatecontrol = true;
  1709. }
  1710. }
  1711. else
  1712. {
  1713. obj.setColumn(e.row, "purcacptdd" ,utlf_getCurrentDate());
  1714. }
  1715. }
  1716. }
  1717. function grd_goodreq_oncellclick(obj:Grid, e:GridClickEventInfo)
  1718. {
  1719. var row = ds_main_list_goodreq_goodreqlist.rowposition
  1720. if( row >= 0)
  1721. {
  1722. misfGridInit(grd_psgelist);
  1723. ds_main_goodreq_goodreqlist.clearData();
  1724. ds_main_goodreq_goodreqlist.addRow();
  1725. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, row);
  1726. var sComreqno = utlf_transNullToEmpty(ds_main_list_goodreq_goodreqlist.getColumn(row, "comreqno")).split("\n");
  1727. ds_comreqno.clearData();
  1728. for( var i=0 ; i<sComreqno.length-1 ; i++ ){
  1729. ds_comreqno.addRow();
  1730. ds_comreqno.setColumn(i, "label", sComreqno[i]);
  1731. ds_comreqno.setColumn(i, "value", sComreqno[i]);
  1732. }
  1733. if( ds_comreqno.rowcount > 0 ){
  1734. cmb_comreqno.index = 0;
  1735. btn_print.enable = true;
  1736. }else{
  1737. btn_print.enable = false;
  1738. }
  1739. ds_send_psgereq.setColumn(0, "instcd", ds_main_list_goodreq_goodreqlist.getColumn(row, "instcd"));
  1740. ds_send_psgereq.setColumn(0, "reqflag", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqflag"));
  1741. ds_send_psgereq.setColumn(0, "reqdd", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqdd"));
  1742. ds_send_psgereq.setColumn(0, "reqno", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqno"));
  1743. ds_send_psgereq.setColumn(0, "reqseqno", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqseqno"));
  1744. misfMsterDetailRetrieve();
  1745. fAllControlDisabled("N");
  1746. if (ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "C")
  1747. {
  1748. fAllControlDisabled("Y");
  1749. }
  1750. }
  1751. if(ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "C")
  1752. {
  1753. button13.enable = false;
  1754. button12.enable = false;
  1755. grd_psgelist.enable = false;
  1756. }
  1757. else
  1758. {
  1759. button13.enable = true;
  1760. button12.enable = true;
  1761. grd_psgelist.enable = true;
  1762. }
  1763. if (ds_main_list_goodreq_goodreqlist.getColumn(row, "acptflagnm") == "접수" || ds_main_list_goodreq_goodreqlist.getColumn(row, "purcacptflag") == "Y")
  1764. {
  1765. }
  1766. else
  1767. {
  1768. cmb_prodplce.value = "01";
  1769. }
  1770. }
  1771. function fAllControlDisabled(pDisableYn)
  1772. {
  1773. if(pDisableYn == "Y")
  1774. {
  1775. ipt_goodnm.enable = false;
  1776. ipt_goodspec.enable = false;
  1777. ipt_goodmodel.enable = false;
  1778. cmb_workflag.enable = false;
  1779. rbo_makeyn.enable = false;
  1780. cmb_requnit.enable = false;
  1781. ipt_prodcmpycd.enable = false;
  1782. ipt_reqqty.enable = false;
  1783. cmb_prodplce.enable = false;
  1784. ipt_bugtyy.enable = false;
  1785. ipt_bugtexecamt.enable = false;
  1786. ipt_remainder.enable = false;
  1787. ipt_bugtexpcamt.enable = false;
  1788. ipt_attfilepathnm.enable = true;
  1789. ipt_lrgcd.enable = false;
  1790. opt_lrgnm.enable = false;
  1791. ipt_mdlcd.enable = false;
  1792. opt_mdlnm.enable = false;
  1793. ipt_smlcd.enable = false;
  1794. opt_smlnm.enable = false;
  1795. ipt_fixasetcd.enable = false;
  1796. ipt_acptcharid.enable = false;
  1797. ipt_acptdd.enable = false;
  1798. cmb_acptflag.enable = false;
  1799. cmb_acpttype.enable = false;
  1800. ipt_adjtqty.enable = false;
  1801. ipt_adjtrsn.enable = false;
  1802. ipt_cmt.enable = false;
  1803. cmb_bugtcd.enable = false;
  1804. ipt_stdysubjno.enable = false;
  1805. ipt_suplplcecd.enable = false;
  1806. btn_suplplcecd.enable = false;
  1807. btn_prodcmpycd.enable = false;
  1808. btn_installplcecd.enable = false;
  1809. btn_stdysubjnm.enable = false;
  1810. ipt_stdysubjnm.enable = false;
  1811. ipt_installplcenm.enable = false;
  1812. ipt_prodcmpynm.enable = false;
  1813. ipt_suplplcenm.enable = false;
  1814. ipt_wncurncyamt.enable = false;
  1815. ipt_installplcecd.enable = false;
  1816. ipt_cntrdeptcd.enable = false;
  1817. btn_cntrdeptcd.enable = false;
  1818. ipt_cntrdeptcdnm.enable = false;
  1819. ipt_mngtdeptcd.enable = false;
  1820. btn_mngtdeptcd.enable = false;
  1821. ipt_mngtdeptcdnm.enable = false;
  1822. }
  1823. else
  1824. {
  1825. ipt_goodnm.enable = true;
  1826. ipt_goodspec.enable = true;
  1827. ipt_goodmodel.enable = true;
  1828. cmb_workflag.enable = true;
  1829. rbo_makeyn.enable = true;
  1830. cmb_requnit.enable = true;
  1831. ipt_prodcmpycd.enable = true;
  1832. ipt_reqqty.enable = false;
  1833. cmb_prodplce.enable = true;
  1834. ipt_installplcecd.enable = true;
  1835. ipt_bugtyy.enable = true;
  1836. ipt_bugtexecamt.enable = true;
  1837. ipt_remainder.enable = true;
  1838. ipt_bugtexpcamt.enable = true;
  1839. ipt_attfilepathnm.enable = true;
  1840. ipt_acptcharid.enable = true;
  1841. ipt_acptdd.enable = true;
  1842. cmb_acptflag.enable = true;
  1843. cmb_acpttype.enable = true;
  1844. ipt_adjtqty.enable = true;
  1845. ipt_adjtrsn.enable = true;
  1846. ipt_cmt.enable= true;
  1847. cmb_bugtcd.enable = true;
  1848. ipt_stdysubjno.enable = true;
  1849. ipt_suplplcecd.enable = true;
  1850. btn_suplplcecd.enable = true;
  1851. btn_prodcmpycd.enable = true;
  1852. btn_installplcecd.enable = true;
  1853. btn_stdysubjnm.enable = true;
  1854. ipt_stdysubjnm.enable = true;
  1855. ipt_installplcenm.enable = true;
  1856. ipt_prodcmpynm.enable = true;
  1857. ipt_suplplcenm.enable = true;
  1858. ipt_wncurncyamt.enable = true;
  1859. ipt_installplcecd.enable = true;
  1860. ipt_cntrdeptcd.enable = true;
  1861. btn_cntrdeptcd.enable = true;
  1862. ipt_cntrdeptcdnm.enable = true;
  1863. ipt_mngtdeptcd.enable = true;
  1864. btn_mngtdeptcd.enable = true;
  1865. ipt_mngtdeptcdnm.enable = true;
  1866. }
  1867. }
  1868. function ds_main_goodreq_goodreqlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1869. {
  1870. if(e.columnid == "suplplcecd")
  1871. {
  1872. var objFocus = this.getFocus();
  1873. ipt_suplplcecd.value = e.newvalue;
  1874. ipt_suplplcecd.setFocus();
  1875. if(String(e.newvalue).length == 0)
  1876. {
  1877. ipt_suplplcenm.value = "";
  1878. }
  1879. else
  1880. {
  1881. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", grp_sea.cmb_instcd_search.value + "," + "entrregno," + e.newvalue, "",
  1882. "suplplcecd,suplplcenm",ipt_suplplcecd, "SPRSD00220", "instcd","grp_sea.cmb_instcd_search");
  1883. }
  1884. objFocus.setFocus();
  1885. }
  1886. if(e.columnid == "suplplcenm")
  1887. {
  1888. var objFocus = this.getFocus();
  1889. ipt_suplplcenm.value = e.newvalue;
  1890. ipt_suplplcenm.setFocus();
  1891. if(String(e.newvalue).length == 0)
  1892. {
  1893. ipt_suplplcecd.value = "";
  1894. }
  1895. else
  1896. {
  1897. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  1898. grp_sea.cmb_instcd_search.value + "," + "custnm," + e.newvalue, "", "suplplcecd,suplplcenm",
  1899. ipt_suplplcenm, "SPRSD00220", "instcd","grp_sea.cmb_instcd_search");
  1900. }
  1901. objFocus.setFocus();
  1902. }
  1903. if(e.columnid == "prodcmpycd")
  1904. {
  1905. ipt_prodcmpycd.value = e.newvalue;
  1906. ipt_prodcmpycd.setFocus();
  1907. if(String(e.newvalue).length == 0)
  1908. {
  1909. ipt_prodcmpynm.value = "";
  1910. }
  1911. else
  1912. {
  1913. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd",
  1914. "prodcmpycd," + e.newvalue,"","prodcmpycd,prodcmpynm" ,
  1915. ipt_prodcmpycd,"SPRSD00160","","");
  1916. }
  1917. ipt_goodmodel.setFocus();
  1918. }
  1919. if(e.columnid == "prodcmpynm")
  1920. {
  1921. var objFocus = this.getFocus();
  1922. ipt_prodcmpynm.value = e.newvalue;
  1923. ipt_prodcmpynm.setFocus();
  1924. if(String(e.newvalue).length == 0)
  1925. {
  1926. ipt_prodcmpycd.value = "";
  1927. }
  1928. else
  1929. {
  1930. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpynm","prodcmpynm," + e.newvalue, "", "prodcmpycd,prodcmpynm", ipt_prodcmpynm, "SPRSD00160", "","");
  1931. }
  1932. objFocus.setFocus();
  1933. }
  1934. if(e.columnid == "cntrdeptcd")
  1935. {
  1936. var objFocus = this.getFocus();
  1937. ipt_cntrdeptcd.value = e.newvalue;
  1938. ipt_cntrdeptcd.setFocus();
  1939. if(String(e.newvalue).length == 0)
  1940. {
  1941. ipt_cntrdeptcdnm.value = "";
  1942. }
  1943. else
  1944. {
  1945. rszfValidationCheck("TRRPZ00201", "custlist", "refcond,retrnm,instcd",
  1946. "deptcd," + e.newvalue + "," + grp_sea.cmb_instcd_search.value, "", "cntrdeptcd,cntrdeptcdnm",
  1947. ipt_cntrdeptcd, "SPRPZ00200", "instcd","grp_sea.cmb_instcd_search");
  1948. }
  1949. objFocus.setFocus();
  1950. }
  1951. if(e.columnid == "cntrdeptcdnm")
  1952. {
  1953. var objFocus = this.getFocus();
  1954. ipt_cntrdeptcdnm.value = e.newvalue;
  1955. ipt_cntrdeptcdnm.setFocus();
  1956. if(String(e.newvalue).length == 0)
  1957. {
  1958. ipt_cntrdeptcd.value = "";
  1959. }
  1960. else
  1961. {
  1962. rszfValidationCheck("TRRPZ00201", "custlist", "refcond,retrnm,instcd",
  1963. "deptnm," + e.newvalue + "," + grp_sea.cmb_instcd_search.value, "", "cntrdeptcd,cntrdeptcdnm",
  1964. ipt_cntrdeptcdnm, "SPRPZ00200", "instcd","grp_sea.cmb_instcd_search");
  1965. }
  1966. objFocus.setFocus();
  1967. }
  1968. if(e.columnid == "mngtdeptcd")
  1969. {
  1970. var objFocus = this.getFocus();
  1971. ipt_mngtdeptcd.value = e.newvalue;
  1972. ipt_mngtdeptcd.setFocus();
  1973. if(String(e.newvalue).length == 0)
  1974. {
  1975. ipt_installplcenm.value = "";
  1976. }
  1977. else
  1978. {
  1979. rszfValidationCheck("TRRPZ00201", "custlist", "refcond,retrnm,instcd", "deptcd," + e.newvalue+ "," + grp_sea.cmb_instcd_search.value, "", "mngtdeptcd,mngtdeptcdnm",
  1980. ipt_mngtdeptcd, "SPRPZ00200", "instcd","grp_sea.cmb_instcd_search");
  1981. }
  1982. objFocus.setFocus();
  1983. }
  1984. if(e.columnid == "mngtdeptcdnm")
  1985. {
  1986. var objFocus = this.getFocus();
  1987. ipt_mngtdeptcdnm.value = e.newvalue;
  1988. ipt_mngtdeptcdnm.setFocus();
  1989. if(String(e.newvalue).length == 0)
  1990. {
  1991. ipt_mngtdeptcd.value = "";
  1992. }
  1993. else
  1994. {
  1995. rszfValidationCheck("TRRPZ00201", "custlist", "refcond,retrnm,instcd",
  1996. "deptnm," + e.newvalue+ "," + grp_sea.cmb_instcd_search.value, "", "mngtdeptcd,mngtdeptcdnm",
  1997. ipt_mngtdeptcdnm, "SPRPZ00200", "instcd","grp_sea.cmb_instcd_search");
  1998. }
  1999. objFocus.setFocus();
  2000. }
  2001. if(e.columnid == "installplcecd")
  2002. {
  2003. var objFocus = this.getFocus();
  2004. ipt_installplcecd.value = e.newvalue;
  2005. ipt_installplcecd.setFocus();
  2006. if(String(e.newvalue).length == 0)
  2007. {
  2008. ipt_mngtdeptcdnm.value = "";
  2009. }
  2010. else
  2011. {
  2012. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm", "deptcd," + e.newvalue, "", "installplcecd,installplcenm",ipt_installplcecd, "PPRAC00700", "","");
  2013. }
  2014. objFocus.setFocus();
  2015. }
  2016. if(e.columnid == "installplcenm")
  2017. {
  2018. var objFocus = this.getFocus();
  2019. ipt_installplcenm.value = e.newvalue;
  2020. ipt_installplcenm.setFocus();
  2021. if(String(e.newvalue).length == 0)
  2022. {
  2023. ipt_installplcecd.value = "";
  2024. }
  2025. else
  2026. {
  2027. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm", "deptnm," + e.newvalue, "", "installplcecd,installplcenm",ipt_installplcenm, "PPRAC00700", "","");
  2028. }
  2029. objFocus.setFocus();
  2030. }
  2031. if(e.columnid == "cmt")
  2032. {
  2033. if(String(e.newvalue).length == 100)
  2034. {
  2035. ipt_cmt.setFocus();
  2036. sysf_messageBox("입력 가능한 글자수 초과","I009");
  2037. }
  2038. }
  2039. if(e.columnid == "adjtrsn")
  2040. {
  2041. if(String(e.newvalue).length == 100)
  2042. {
  2043. ipt_adjtrsn.setFocus();
  2044. sysf_messageBox("입력 가능한 글자수 초과","I009");
  2045. }
  2046. }
  2047. }
  2048. function btn_suplplcecd_onclick(obj:Button, e:ClickEventInfo)
  2049. {
  2050. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","grp_sea.cmb_instcd_search");
  2051. }
  2052. function btn_prodcmpycd_onclick(obj:Button, e:ClickEventInfo)
  2053. {
  2054. rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
  2055. }
  2056. function cmb_acpttype_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2057. {
  2058. if (cmb_acptflag.value == "N")
  2059. {
  2060. ipt_acptcharid.value = "";
  2061. ipt_acptdd.value = "";
  2062. ipt_adjtqty.value = 0;
  2063. ipt_adjtrsn.value = "";
  2064. }
  2065. else if (cmb_acptflag.value == "Y")
  2066. {
  2067. ipt_acptcharid.value = sysf_getUserInfo("userid");
  2068. ipt_acptdd.value = sysf_getCurrentDate();
  2069. ipt_adjtqty.value = ipt_reqqty.value;
  2070. }
  2071. else if (cmb_acptflag.value == "C")
  2072. {
  2073. ipt_acptcharid.value = sysf_getUserInfo("userid");
  2074. ipt_acptdd.value = utlf_getCurrentDate();
  2075. ipt_adjtqty.value = 0;
  2076. }
  2077. if ( obj.value == "1")
  2078. {
  2079. ipt_deliveprcsflag.value = "1";
  2080. }
  2081. else if ( obj.value == "2")
  2082. {
  2083. ipt_deliveprcsflag.value = "8";
  2084. }
  2085. else if ( obj.value == "3")
  2086. {
  2087. ipt_deliveprcsflag.value = "9";
  2088. }
  2089. else if ( obj.value == "4")
  2090. {
  2091. ipt_deliveprcsflag.value = "10";
  2092. }
  2093. }
  2094. function btn_cntrdeptcd_onclick(obj:Button, e:ClickEventInfo)
  2095. {
  2096. var recv_list = "cntrdeptcd,cntrdeptcdnm";
  2097. misfOpenPopUpList("02", ipt_cntrdeptcd,"", recv_list) ;
  2098. }
  2099. function btn_mngtdeptcd_onclick(obj:Button, e:ClickEventInfo)
  2100. {
  2101. var recv_list = "mngtdeptcd,mngtdeptcdnm";
  2102. misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
  2103. }
  2104. function btn_installplcecd_onclick(obj:Button, e:ClickEventInfo)
  2105. {
  2106. var recv_list = "installplcecd,installplcenm";
  2107. misfOpenPopUpList("19", ipt_installplcecd,"", recv_list) ;
  2108. }
  2109. function btn_stdysubjnm_onclick(obj:Button, e:ClickEventInfo)
  2110. {
  2111. rszfOpenPopUpListByWndName(ipt_stdysubjno,"","stdysubjno,stdysubjnm","SPRSD00260","instcd","grp_sea.cmb_instcd_search");
  2112. }
  2113. function cmb_acptflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2114. {
  2115. if (obj.value == "N")
  2116. {
  2117. ipt_acptcharid.value = "";
  2118. ipt_acptdd.value = "";
  2119. ipt_adjtqty.value = "0";
  2120. ipt_adjtrsn.value = "";
  2121. cmb_acpttype.value = "";
  2122. }
  2123. else if (obj.value == "Y")
  2124. {
  2125. ipt_acptcharid.value = sysf_getUserInfo("userid");
  2126. ipt_acptdd.value = utlf_getCurrentDate();
  2127. ipt_adjtqty.value = ipt_reqqty.value;
  2128. }
  2129. else if (obj.value == "C")
  2130. {
  2131. ipt_acptcharid.value = sysf_getUserInfo("userid");
  2132. ipt_acptdd.value = utlf_getCurrentDate();
  2133. ipt_adjtqty.value = 0;
  2134. cmb_acpttype.value = "";
  2135. }
  2136. }
  2137. function btn_downfile_onclick(obj:Button, e:ClickEventInfo)
  2138. {
  2139. if ( String(ipt_attfilepathnm.value).length <= 0)
  2140. {
  2141. sysf_messageBox( "첨부파일이 존재하지 않아 첨부파일을 다운로드 할수" , "I004" );
  2142. return;
  2143. }
  2144. fAttfileDown();
  2145. }
  2146. function fAttfileDown()
  2147. {
  2148. var row = ds_main_list_goodreq_goodreqlist.rowposition
  2149. ds_send_fileupcolumn.setColumn(0, "instcd", ds_main_list_goodreq_goodreqlist.getColumn(row, "instcd"));
  2150. ds_send_fileupcolumn.setColumn(0, "reqdd", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqdd"));
  2151. ds_send_fileupcolumn.setColumn(0, "fileseqno", ds_main_goodreq_goodreqlist.getColumn(0, "attfilepathnm"));
  2152. ds_send_fileupcolumn.setColumn(0, "fileseqno", ds_main_goodreq_goodreqlist.getColumn(0, "attfilenm"));
  2153. ds_send_fileupcolumn.setColumn(0, "reqflag", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqflag"));
  2154. ds_send_fileupcolumn.setColumn(0, "reqno", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqno"));
  2155. ds_send_fileupcolumn.setColumn(0, "reqseqno", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqseqno"));
  2156. ds_send_fileupcolumn.setColumn(0, "reqpsnid", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqpsnid"));
  2157. ds_send_fileupcolumn.setColumn(0, "reqdeptcd", ds_main_list_goodreq_goodreqlist.getColumn(row, "reqdeptcd"));
  2158. ds_send_fileupcolumn.setColumn(0, "attfilenm", ds_main_goodreq_goodreqlist.getColumn(0, "attfilenm"));
  2159. ds_send_fileupcolumn.setColumn(0, "attfilepathnm", ds_send_fileupcolumn_fileupload.getColumn(0, "file"));
  2160. rszfOpenPopUpListByWndName(grd_goodreq,"","","SMRSD00420","instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm"
  2161. ,"instcd,reqdd,reqflag,reqno,reqseqno,reqpsnid,reqdeptcd,attfilepathnm", "Y");
  2162. grp_sea.btn_search.click();
  2163. }
  2164. function swh_select_cse_lrgcd_grd_lrglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2165. {
  2166. ds_send_lrgcd.setColumn(0, "lrgcd", ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgcd"));
  2167. var oParam = {};
  2168. oParam.id = "TRRSD11105";
  2169. oParam.service = "purcbaseapp.GoodCdMngt";
  2170. oParam.method = "reqGetMiddleCodeList";
  2171. oParam.inds = "req=ds_send_lrgcd";
  2172. oParam.outds = "ds_main_list_mdl_mdllist=mdllist";
  2173. oParam.async = false;
  2174. //oParam.callback = "cf_TRRSD11105";
  2175. tranf_submit(oParam);
  2176. if(ds_main_list_mdl_mdllist.rowcount > 0)
  2177. {
  2178. ds_main_list_mdl_mdllist.rowposition = 0;
  2179. }
  2180. }
  2181. function swh_select_cse_lrgcd_grd_lrglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2182. {
  2183. if(ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "C")
  2184. {
  2185. }
  2186. else
  2187. {
  2188. fMovecd("grd_lrglist");
  2189. }
  2190. }
  2191. function fMovecd(pgrid_name)
  2192. {
  2193. if(String(cmb_workflag.value).length == 0)
  2194. {
  2195. sysf_messageBox("입력오류 " ,"E008");
  2196. return;
  2197. }
  2198. else if(ipt_deliveprcsflag.value != "1")
  2199. {
  2200. sysf_messageBox("'청구'진행상태를 " ,"E003");
  2201. return;
  2202. }
  2203. if(swh_select.tabindex == 0)
  2204. {
  2205. if (pgrid_name == "grd_smllist")
  2206. {
  2207. if (ds_main_list_sml_smllist.rowposition > -1)
  2208. {
  2209. ipt_lrgcd.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgcd");
  2210. opt_lrgnm.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgnm");
  2211. ipt_mdlcd.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlcd");
  2212. opt_mdlnm.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlnm");
  2213. ipt_smlcd.value = ds_main_list_sml_smllist.getColumn(ds_main_list_sml_smllist.rowposition, "smlcd");
  2214. opt_smlnm.value = ds_main_list_sml_smllist.getColumn(ds_main_list_sml_smllist.rowposition, "smlnm");
  2215. ipt_goodnm.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlnm") + " / "+ ds_main_list_sml_smllist.getColumn(ds_main_list_sml_smllist.rowposition, "smlnm");
  2216. }
  2217. }
  2218. else if(pgrid_name == "grd_mdllist")
  2219. {
  2220. if (ds_main_list_mdl_mdllist.rowposition > -1)
  2221. {
  2222. ipt_lrgcd.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgcd");
  2223. opt_lrgnm.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgnm");
  2224. ipt_mdlcd.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlcd");
  2225. opt_mdlnm.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlnm");
  2226. ipt_smlcd.value = "";
  2227. opt_smlnm.value = "";
  2228. ipt_goodnm.value = ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlnm");
  2229. }
  2230. }
  2231. else if(pgrid_name == "grd_lrglist")
  2232. {
  2233. if (ds_main_list_mdl_mdllist.rowposition > -1)
  2234. {
  2235. ipt_lrgcd.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgcd");
  2236. opt_lrgnm.value = ds_main_list_lrg_lrglist.getColumn(ds_main_list_lrg_lrglist.rowposition, "lrgnm");
  2237. ipt_mdlcd.value = ""
  2238. opt_mdlnm.value = ""
  2239. ipt_smlcd.value = "";
  2240. opt_smlnm.value = "";
  2241. }
  2242. }
  2243. }
  2244. else
  2245. {
  2246. if (ds_main_list_fixasetcd_fixasetcdlist.rowposition > -1)
  2247. {
  2248. ipt_lrgcd.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "lrgcd");
  2249. opt_lrgnm.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "lrgnm");
  2250. ipt_mdlcd.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "mdlcd");
  2251. opt_mdlnm.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "mdlnm");
  2252. ipt_smlcd.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "smlcd");
  2253. opt_smlnm.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "smlnm");
  2254. ipt_fixasetcd.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "fixasetcd");
  2255. ipt_goodnm.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "goodflaghngnm");
  2256. ipt_goodspec.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "goodspec");
  2257. ipt_goodmodel.value = ds_main_list_fixasetcd_fixasetcdlist.getColumn(ds_main_list_fixasetcd_fixasetcdlist.rowposition, "goodmodel");
  2258. }
  2259. }
  2260. }
  2261. function swh_select_cse_lrgcd_grd_mdllist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2262. {
  2263. ds_send_lrgcd.setColumn(0, "mdlcd", ds_main_list_mdl_mdllist.getColumn(ds_main_list_mdl_mdllist.rowposition, "mdlcd"));
  2264. var oParam = {};
  2265. oParam.id = "TRRSD11106";
  2266. oParam.service = "purcbaseapp.GoodCdMngt";
  2267. oParam.method = "reqGetSmallCodeList";
  2268. oParam.inds = "req=ds_send_lrgcd";
  2269. oParam.outds = "ds_main_list_sml_smllist=smllist";
  2270. oParam.async = false;
  2271. //oParam.callback = "cf_TRRSD11106";
  2272. tranf_submit(oParam);
  2273. ds_main_list_sml_smllist.rowposition = -1;
  2274. }
  2275. function swh_select_cse_lrgcd_grd_mdllist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2276. {
  2277. if(ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "C")
  2278. {
  2279. }
  2280. else
  2281. {
  2282. fMovecd("grd_mdllist");
  2283. }
  2284. }
  2285. function swh_select_cse_lrgcd_grd_smllist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2286. {
  2287. if(ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "C")
  2288. {
  2289. }
  2290. else
  2291. {
  2292. fMovecd("grd_smllist");
  2293. }
  2294. }
  2295. function btn_search_cd_onclick(obj:Button, e:ClickEventInfo)
  2296. {
  2297. if(swh_select.tabindex == 0)
  2298. {
  2299. misfGridInit(swh_select.cse_lrgcd.grd_lrglist);
  2300. misfGridInit(swh_select.cse_lrgcd.grd_mdllist);
  2301. misfGridInit(swh_select.cse_lrgcd.grd_smllist);
  2302. ds_send_lrgcd.setColumn(0, "goodflag", grp_sea.ipt_goodflag.value);
  2303. ds_send_lrgcd.setColumn(0, "instcd", grp_sea.cmb_instcd_search.value);
  2304. var oParam = {};
  2305. oParam.id = "TRRSD11104";
  2306. oParam.service = "purcbaseapp.GoodCdMngt";
  2307. oParam.method = "reqGetLargeCodeList";
  2308. oParam.inds = "req=ds_send_lrgcd";
  2309. oParam.outds = "ds_main_list_lrg_lrglist=lrglist";
  2310. oParam.async = false;
  2311. //oParam.callback = "cf_TRRSD11104";
  2312. tranf_submit(oParam);
  2313. if(ds_main_list_lrg_lrglist.rowcount > 0)
  2314. {
  2315. ds_main_list_lrg_lrglist.rowposition = 0;
  2316. }
  2317. swh_select_cse_lrgcd_grd_lrglist_oncellclick();
  2318. }
  2319. else
  2320. {
  2321. misfGridInit(swh_select.cse_fixasetcd.grd_fixasetcdlist);
  2322. ds_send_fixasetcd.setColumn(0, "goodflag", grp_sea.ipt_goodflag.value);
  2323. ds_send_fixasetcd.setColumn(0, "instcd", grp_sea.cmb_instcd_search.value);
  2324. ds_send_fixasetcd.setColumn(0, "cntrdeptcd", ipt_reqdeptcd.value);
  2325. var oParam = {};
  2326. oParam.id = "TRRFC00201";
  2327. oParam.service = "purcbaseapp.PurcBaseMngt";
  2328. oParam.method = "reqGetFixAsetcdByCond";
  2329. oParam.inds = "req=ds_send_fixasetcd";
  2330. oParam.outds = "ds_main_list_fixasetcd_fixasetcdlist=fixasetcdlist";
  2331. oParam.async = false;
  2332. //oParam.callback = "cf_TRRFC00201";
  2333. tranf_submit(oParam);
  2334. }
  2335. }
  2336. function swh_select_cse_fixasetcd_grd_fixasetcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2337. {
  2338. if(ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "Y" || ds_main_list_goodreq_goodreqlist.getColumn(ds_main_list_goodreq_goodreqlist.rowposition, "purcacptflag") == "C")
  2339. {
  2340. }
  2341. else
  2342. {
  2343. fMovecd("grd_fixasetcdlist");
  2344. }
  2345. }
  2346. function grd_psgelist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  2347. {
  2348. var recv_list = "psgedeptcd,psgedeptnm";
  2349. misfOpenPopUpList("02", grd_psgelist,"",recv_list);
  2350. }
  2351. function ds_main_list_psgereq_psgereqlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2352. {
  2353. if (e.columnid == "psgedeptcd")
  2354. {
  2355. var recv_list = "psgedeptcd,psgedeptnm";
  2356. misfValidationCheck("02", "", recv_list );
  2357. }
  2358. }
  2359. function button13_onclick(obj:Button, e:ClickEventInfo)
  2360. {
  2361. if(ds_main_list_goodreq_goodreqlist.rowcount > 0) misfGridIUD(grd_psgelist, "A");
  2362. }
  2363. function button12_onclick(obj:Button, e:ClickEventInfo)
  2364. {
  2365. if(ds_main_list_psgereq_psgereqlist.getColumn(ds_main_list_psgereq_psgereqlist.rowposition, "psgedeptaprvyn") == "Y")
  2366. {
  2367. sysf_messageBox("경유부서에서 접수된건입니다! 삭제 할수 " ,"I004");
  2368. return;
  2369. }
  2370. misfGridIUD(grd_psgelist, "D");
  2371. }
  2372. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2373. {
  2374. if( ds_main_list_goodreq_goodreqlist.rowcount > 0)
  2375. {
  2376. var fileName = "비품청구내역_" + utlf_getCurrentDate();
  2377. grdf_exportExcel(grd_goodreq, fileName, "Sheet", "true", "", "");
  2378. }
  2379. else
  2380. {
  2381. sysf_messageBox("저장 데이터가","I004");
  2382. }
  2383. }
  2384. function brn_all_check_onclick(obj:Button, e:ClickEventInfo)
  2385. {
  2386. fSettingPurcRece();
  2387. }
  2388. function fSettingPurcRece ()
  2389. {
  2390. for(var liRow = 0; liRow < ds_main_list_goodreq_goodreqlist.rowcount; liRow++)
  2391. {
  2392. if (ds_main_list_goodreq_goodreqlist.getColumn(liRow, "prcsstat") == "1" )
  2393. {
  2394. if(ds_main_list_goodreq_goodreqlist.getColumn(liRow, "acptflag") == "Y")
  2395. {
  2396. if(ds_main_list_goodreq_goodreqlist.getColumn(liRow, "purcacptflag") == "Y")
  2397. {
  2398. ds_main_list_goodreq_goodreqlist.setColumn(liRow, "purcacptflag", "N");
  2399. ds_main_list_goodreq_goodreqlist.setColumn(liRow, "purcacpdd", "");
  2400. }
  2401. else if(ds_main_list_goodreq_goodreqlist.getColumn(liRow, "purcacptflag") != "Y" || ds_main_list_goodreq_goodreqlist.getColumn(liRow, "purcacptflag") != "C")
  2402. {
  2403. ds_main_list_goodreq_goodreqlist.setColumn(liRow, "purcacptflag", "Y");
  2404. ds_main_list_goodreq_goodreqlist.setColumn(liRow, "purcacptdd", utlf_getCurrentDate());
  2405. }
  2406. }
  2407. }
  2408. }
  2409. }
  2410. function btn_purcaprv_onclick(obj:Button, e:ClickEventInfo)
  2411. {
  2412. var updtdata = grdf_getGridUpdateData(grd_goodreq).rowcount;
  2413. if( updtdata != 0)
  2414. {
  2415. ds_main_list_goodreq_goodreqlist.updatecontrol = false;
  2416. dsf_setDefaultVal(ds_main_list_goodreq_goodreqlist, "bugtexpcamt:0,reqqty:0,adjtqty:0,deliveqty:0");
  2417. ds_main_list_goodreq_goodreqlist.updatecontrol = true;
  2418. var oParam = {};
  2419. oParam.id = "TXRSD11101";
  2420. oParam.service = "reqapp.ReqMngt";
  2421. oParam.method = "reqExeFixtrsReq";
  2422. oParam.inds = "req=ds_main_list_goodreq_goodreqlist:u psgereqlist=ds_main_list_psgereq_psgereqlist:u";
  2423. oParam.outds = "";
  2424. oParam.async = false;
  2425. oParam.callback = "cf_TXRSD11101";
  2426. tranf_submit(oParam);
  2427. }
  2428. }
  2429. function cf_TXRSD11101(sSvcId, nErrorCode, sErrorMsg)
  2430. {
  2431. if(nErrorCode < 0) return;
  2432. else grp_sea.btn_search.click();
  2433. }
  2434. function button46_onclick(obj:Button, e:ClickEventInfo)
  2435. {
  2436. fInitialize();
  2437. }
  2438. function fCheckSaveData()
  2439. {
  2440. if(String(grp_sea.cmb_instcd_search.value).length== 0 )
  2441. {
  2442. sysf_messageBox("기관코드를 " ,"C002");
  2443. grp_sea.cmb_instcd_search.setFocus();
  2444. return false;
  2445. }
  2446. if(String(grp_sea.cmb_reqflag_search.value).length== 0 )
  2447. {
  2448. sysf_messageBox("청구구분을 " ,"C001");
  2449. grp_sea.cmb_reqflag_search.setFocus();
  2450. return false;
  2451. }
  2452. if(String(grp_sea.ipt_reqfrdd_search.value).length== 0 )
  2453. {
  2454. sysf_messageBox("청구시작일자를 " ,"C001");
  2455. grp_sea.ipt_reqfrdd_search.setFocus();
  2456. return false;
  2457. }
  2458. if(String(grp_sea.ipt_reqtodd_search.value).length== 0 )
  2459. {
  2460. sysf_messageBox("청구끝일자를 " ,"C001");
  2461. grp_sea.ipt_reqtodd_search.setFocus();
  2462. return false;
  2463. }
  2464. if(String(ipt_goodnm.value).length== 0 )
  2465. {
  2466. sysf_messageBox("물품명을 " ,"C001");
  2467. ipt_goodnm.setFocus();
  2468. return false;
  2469. }
  2470. if(String(ipt_installplcecd.value).length== 0 )
  2471. {
  2472. sysf_messageBox("설치장소를 " ,"C001");
  2473. ipt_installplcecd.setFocus();
  2474. return false;
  2475. }
  2476. if(String(ipt_reqqty.value).length== 0 )
  2477. {
  2478. sysf_messageBox("청구수량을 " ,"C001");
  2479. ipt_reqqty.setFocus();
  2480. return false;
  2481. }
  2482. if(String(cmb_requnit.value).length== 0 )
  2483. {
  2484. sysf_messageBox("청구단위를 " ,"C001");
  2485. cmb_requnit.setFocus();
  2486. return false;
  2487. }
  2488. if(String(cmb_workflag.value).length== 0 )
  2489. {
  2490. sysf_messageBox("청구사유를 " ,"C001");
  2491. cmb_workflag.setFocus();
  2492. return false;
  2493. }
  2494. if(String(ipt_lrgcd.value).length== 0 )
  2495. {
  2496. sysf_messageBox("대분류코드를 " ,"C001");
  2497. ipt_lrgcd.setFocus();
  2498. return false;
  2499. }
  2500. return true;
  2501. }
  2502. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  2503. {
  2504. if ( cmb_acpttype.value == "2" || cmb_acpttype.value == "3" || cmb_acptflag.value == "C" || cmb_acpttype.value == "4" )
  2505. {
  2506. }
  2507. else
  2508. {
  2509. if(fCheckSaveData() == false)return;
  2510. }
  2511. if ( ds_main_list_goodreq_goodreqlist.rowcount == 0)
  2512. {
  2513. misfGridInit(grd_goodreq);
  2514. misfGridIUD(grd_goodreq, "A");
  2515. }
  2516. misfGridRowStatusChange(grd_goodreq,"ds_main_list_goodreq_goodreqlist","ds_main_goodreq_goodreqlist");
  2517. ds_main_list_goodreq_goodreqlist.updatecontrol = false;
  2518. dsf_setDefaultVal(ds_main_list_goodreq_goodreqlist, "bugtexpcamt:0,reqqty:0,adjtqty:0,deliveqty:0");
  2519. ds_main_list_goodreq_goodreqlist.updatecontrol = true;
  2520. var oParam = {};
  2521. oParam.id = "TXRSD11101";
  2522. oParam.service = "reqapp.ReqMngt";
  2523. oParam.method = "reqExeFixtrsReq";
  2524. oParam.inds = "req=ds_main_list_goodreq_goodreqlist:u psgereqlist=ds_main_list_psgereq_psgereqlist:u popreq=ds_popreqnolist:u";
  2525. oParam.outds = "";
  2526. oParam.async = false;
  2527. oParam.callback = "cf_TXRSD11101";
  2528. tranf_submit(oParam);
  2529. }
  2530. function btn_prt_onclick(obj:Button, e:ClickEventInfo)
  2531. {
  2532. var Cnt = ds_main_list_goodreq_goodreqlist.rowcount;
  2533. for(var i = 0; i < Cnt; i++)
  2534. {
  2535. if(ds_main_list_goodreq_goodreqlist.getColumn(i, "chk") == "Y")
  2536. {
  2537. if (sysf_getUserInfo("dutplceinstcd") == "031")
  2538. {
  2539. var checkID = frmf_getMenuParam().split(",");
  2540. var checkFlag = false;
  2541. for(var k = 0; k < checkID.length; k++)
  2542. {
  2543. if(sysf_getUserInfo("userid") == checkID[k]) checkFlag = true;
  2544. }
  2545. if (sysf_getUserInfo("userid") == 'MIS'|| checkFlag)
  2546. {
  2547. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, i);
  2548. var objDOM = rptf_createDOM();
  2549. rptf_setNodeListToDOM(objDOM, "/root/main/goodreq/goodreqlist", ds_main_goodreq_goodreqlist);
  2550. var objParam = new Object();
  2551. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2552. var option = "";
  2553. rptf_exeReportPreview30(["RPRSD05101"],[objParam], option);
  2554. }
  2555. else
  2556. {
  2557. sysf_messageBox("출력 ","E002");
  2558. }
  2559. }
  2560. else
  2561. {
  2562. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, i);
  2563. var objDOM = rptf_createDOM();
  2564. rptf_setNodeListToDOM(objDOM, "/root/main/goodreq/goodreqlist", ds_main_goodreq_goodreqlist);
  2565. var objParam = new Object();
  2566. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2567. var option = "";
  2568. rptf_exeReportPreview30(["RPRSD05101"],[objParam], option);
  2569. }
  2570. }
  2571. }
  2572. }
  2573. function btn_prta_onclick(obj:Button, e:ClickEventInfo)
  2574. {
  2575. var Cnt = ds_main_list_goodreq_goodreqlist.rowcount;
  2576. for(var i = 0; i < Cnt; i++)
  2577. {
  2578. if(ds_main_list_goodreq_goodreqlist.getColumn(i, "chk") == "Y")
  2579. {
  2580. if (sysf_getUserInfo("dutplceinstcd") =='031')
  2581. {
  2582. var checkID = frmf_getMenuParam().split(",");
  2583. var checkFlag = false;
  2584. for(var k = 0 ; k < checkID.length; k++)
  2585. {
  2586. if(sysf_getUserInfo("userid") == checkID[k]) checkFlag = true;
  2587. }
  2588. if (sysf_getUserInfo("userid") == 'MIS'|| checkFlag)
  2589. {
  2590. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, i);
  2591. var objDOM = rptf_createDOM();
  2592. rptf_setNodeListToDOM(objDOM, "/root/main/goodreq/goodreqlist", ds_main_goodreq_goodreqlist);
  2593. var objParam = new Object();
  2594. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2595. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  2596. rptf_exeReportPreview30(["RPRSD05101"],[objParam], option);
  2597. }
  2598. else
  2599. {
  2600. sysf_messageBox("출력 ","E002");
  2601. }
  2602. }
  2603. else
  2604. {
  2605. ds_main_goodreq_goodreqlist.copyRow(0, ds_main_list_goodreq_goodreqlist, i);
  2606. var objDOM = rptf_createDOM();
  2607. rptf_setNodeListToDOM(objDOM, "/root/main/goodreq/goodreqlist", ds_main_goodreq_goodreqlist);
  2608. var objParam = new Object();
  2609. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2610. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  2611. rptf_exeReportPreview30(["RPRSD05101"],[objParam], option);
  2612. }
  2613. }
  2614. }
  2615. }
  2616. function grp_sea_ipt_reqdeptcd_search_onkeydown(obj:Edit, e:KeyEventInfo)
  2617. {
  2618. if( e.keycode == 13 ){
  2619. obj.updateToDataset();
  2620. }
  2621. }
  2622. function ipt_installplcecd_onkeydown(obj:Edit, e:KeyEventInfo)
  2623. {
  2624. if( e.keycode == 13 ){
  2625. obj.updateToDataset();
  2626. }
  2627. }
  2628. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  2629. {
  2630. var sTemp = ds_main_goodreq_goodreqlist.getColumn(0, "reqno");
  2631. for( var i=0 ; i<ds_comreqno.rowcount ; i++ ){
  2632. ds_main_goodreq_goodreqlist.setColumn(0, "reqno", ds_comreqno.getColumn(i, "value"));
  2633. ds_main_srinfo.clearData();
  2634. var oParam = {};
  2635. oParam.id = "TRZHA20605";
  2636. oParam.service = "reqprgmapp.ReqPrgm";
  2637. oParam.method = "retGetReqHWDetail";
  2638. oParam.inds = "req=ds_main_goodreq_goodreqlist";
  2639. oParam.outds = "ds_main_srinfo=reqprgmlist";
  2640. oParam.async = false;
  2641. //oParam.callback = "cf_TRZHA20605";
  2642. tranf_submit(oParam);
  2643. var status = ds_main_srinfo.getColumn(0, "status");
  2644. if(status == "05") {
  2645. ds_main_srinfo.setColumn(0, "status", "06");
  2646. }
  2647. var reqconts = ds_main_srinfo.getColumn(0, "reqconts");
  2648. var reqconts2 = reqconts.replace(/˟/g, "x");
  2649. ds_main_srinfo.setColumn(0, "reqconts", reqconts2);
  2650. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2651. rptf_setNodeListToDOM(objDOM, "/root/main/srinfo/srreqlist", ds_main_srinfo); // 데이터셋 1
  2652. var objParam = new Object();
  2653. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  2654. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  2655. rptf_exeReportPreview30(["RPZHA20601"],[objParam], option);
  2656. }
  2657. ds_main_goodreq_goodreqlist.setColumn(0, "reqno", sTemp);
  2658. }
  2659. ]]></Script>
  2660. </Form>
  2661. </FDL>