SMMNG01700_(미)불출내역조회.xfdl 81 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNG01700" position="absolute 0 0 1241 739" titletext="(미)불출내역조회" oninit="SMMNG01700_oninit" onload="SMMNG01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 25 1234 732" id="switch1">
  8. <Tabpages>
  9. <Tabpage text="불출내역조회" id="case1">
  10. <Layouts>
  11. <Layout>
  12. <Shape position="absolute 1 5 1231 92" id="roundrect2" type="roundrectangle"/>
  13. <Button position="absolute 1050 25 1106 47" id="btn_search" class="btn1" text="조회" onclick="switch1_case1_btn_search_onclick"/>
  14. <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line4" class="line_4"/>
  15. <Static text="불출내역조회" position="absolute 3 99 119 116" id="caption1" class="tit_2"/>
  16. <Shape position="absolute 3 115 1233 121" linetype="horizontal" id="line1" class="line_10"/>
  17. <Combo position="absolute 100 14 225 33" align="align:center middle;" id="cmb_instcd" class="combo_s_essential" enable="false" innerdataset="@ds_Z0007" datacolumn="cdnm" codecolumn="cdid"/>
  18. <Static text="부서구분 :" position="absolute 240 17 334 31" id="caption20" class="search_name"/>
  19. <Static text="청구차수 :" position="absolute 10 40 96 57" id="caption2" class="search_name"/>
  20. <Static text="조회일자 :" position="absolute 615 15 701 32" id="caption24" class="search_name"/>
  21. <Static text="기관코드 :" position="absolute 10 15 96 32" id="caption14" class="search_name"/>
  22. <Combo position="absolute 330 14 410 33" id="cmb_csrreqdeptcd" class="combo_s_essential" innerdataset="@ds_init_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="switch1_case1_cmb_csrreqdeptcd_onitemchanged"/>
  23. <Button position="absolute 1108 25 1164 47" id="button1" class="btn7" text="엑셀" onclick="switch1_case1_button1_onclick"/>
  24. <Button position="absolute 1166 25 1222 47" id="button5" class="btn6" text="출력" onclick="switch1_case1_button5_onclick"/>
  25. <Radio position="absolute 410 39 560 59" id="rdo_reqdelrflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="switch1_case1_rdo_reqdelrflag_onitemclick">
  26. <Dataset id="innerdataset">
  27. <ColumnInfo>
  28. <Column id="codecolumn"/>
  29. <Column id="datacolumn"/>
  30. </ColumnInfo>
  31. <Rows>
  32. <Row>
  33. <Col id="codecolumn">ref</Col>
  34. <Col id="datacolumn">청구기준</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">dvr</Col>
  38. <Col id="datacolumn">불출기준</Col>
  39. </Row>
  40. </Rows>
  41. </Dataset>
  42. </Radio>
  43. <Static text="구 분 :" position="absolute 325 42 416 56" id="cap_indschflag" class="search_name"/>
  44. <Combo position="absolute 512 14 596 33" id="cmb_deptcd" class="combo_s_essential" innerdataset="@ds_init_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="switch1_case1_cmb_deptcd_onitemchanged"/>
  45. <Static text="청구부서 :" position="absolute 425 15 515 32" id="caption10" class="search_name"/>
  46. <Static text="~" position="absolute 902 15 914 32" id="caption11" class="search_no_b"/>
  47. <Grid position="absolute 3 120 1233 680" id="grd_gooddlvrlist" class="datagrid2" binddataset="ds_main_gooddlvrinfo_gooddlvrlist" cellsizebandtype="allband" cellsizingtype="both" extendsizetype="row">
  48. <Formats>
  49. <Format id="default">
  50. <Columns>
  51. <Column size="24" band="left"/>
  52. <Column size="41" band="left"/>
  53. <Column size="72" band="left"/>
  54. <Column size="69" band="left"/>
  55. <Column size="88" band="left"/>
  56. <Column size="37" band="left"/>
  57. <Column size="34" band="left"/>
  58. <Column size="81" band="left"/>
  59. <Column size="79" band="left"/>
  60. <Column size="100" band="left"/>
  61. <Column size="199" band="left"/>
  62. <Column size="100" band="left"/>
  63. <Column size="0"/>
  64. <Column size="46"/>
  65. <Column size="44"/>
  66. <Column size="48"/>
  67. <Column size="43"/>
  68. <Column size="44"/>
  69. <Column size="100"/>
  70. <Column size="0"/>
  71. <Column size="34"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="100"/>
  76. <Column size="100"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="100"/>
  80. <Column size="100"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. </Columns>
  88. <Rows>
  89. <Row size="33" band="head"/>
  90. <Row size="24"/>
  91. </Rows>
  92. <Band id="head">
  93. <Cell/>
  94. <Cell col="1" text="상태"/>
  95. <Cell col="2" text="불출구분"/>
  96. <Cell col="3" text="청구부서명"/>
  97. <Cell col="4" text="청구일자"/>
  98. <Cell col="5" text="청구&#13;&#10;차수"/>
  99. <Cell col="6" text="응급&#13;&#10;여부"/>
  100. <Cell col="7" text="멸균구분"/>
  101. <Cell col="8" text="물품구분"/>
  102. <Cell col="9" text="물품코드"/>
  103. <Cell col="10" text="물품명"/>
  104. <Cell col="11" text="규격"/>
  105. <Cell col="12" text="모델"/>
  106. <Cell col="13" text="교환"/>
  107. <Cell col="14" text="청구"/>
  108. <Cell col="15" text="재멸균"/>
  109. <Cell col="16" text="대여"/>
  110. <Cell col="17" text="멸균&#10;의뢰"/>
  111. <Cell col="18" text="비고"/>
  112. <Cell col="19" text="total&#10;수량"/>
  113. <Cell col="20" text="불출&#13;&#10;수량"/>
  114. <Cell col="21" text="미불출수량"/>
  115. <Cell col="22" text="미불출사유"/>
  116. <Cell col="23" text="미불출사유비고"/>
  117. <Cell col="24" text="청구일시"/>
  118. <Cell col="25" text="청구자"/>
  119. <Cell col="26" text="확인일시"/>
  120. <Cell col="27" text="확인자"/>
  121. <Cell col="28" text="불출일시"/>
  122. <Cell col="29" text="불출자"/>
  123. <Cell col="30" text="exchngflag"/>
  124. <Cell col="31" text="reqqtyflag"/>
  125. <Cell col="32" text="rergstflag"/>
  126. <Cell col="33" text="lendflag"/>
  127. <Cell col="34" text="rgstqtyflag"/>
  128. <Cell col="35" text="sumflag"/>
  129. </Band>
  130. <Band id="body">
  131. <Cell celltype="head" expr="expr:currow + 1"/>
  132. <Cell col="1" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:reqdivs" combodataset="ds_cbo_reqdivs" combocodecol="value" combodatacol="label" enable="false"/>
  133. <Cell col="2" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:dlvrflag" combodataset="ds_cbo_dlvrflag" combocodecol="value" combodatacol="label" enable="false"/>
  134. <Cell col="3" displaytype="normal" edittype="none" text="bind:reqdeptnm" enable="false"/>
  135. <Cell col="4" displaytype="date" edittype="date" text="bind:reqdd" editautoselect="true" calendardisplaynulltype="none" enable="false"/>
  136. <Cell col="5" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:reqpridflag" combodataset="ds_cbo_reqpridflag" combocodecol="value" combodatacol="label" enable="false"/>
  137. <Cell col="6" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #9ebed4ff ;" text="bind:deliveflag" enable="false"/>
  138. <Cell col="7" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:dinfdivs" wordwrap="none" combodataset="ds_cbo_dinfdivs" combocodecol="value" combodatacol="label" enable="false"/>
  139. <Cell col="8" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:reqflag" wordwrap="none" combodataset="ds_cbo_reqflag" combocodecol="value" combodatacol="label" enable="false"/>
  140. <Cell col="9" text="bind:goodcd"/>
  141. <Cell col="10" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
  142. <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
  143. <Cell col="12" text="bind:goodmodel"/>
  144. <Cell col="13" style="background:EXPR(exchngqtyColor);background2:EXPR(exchngqtyColor);" text="bind:exchngqty"/>
  145. <Cell col="14" style="background:EXPR(reqqtyColor);background2:EXPR(reqqtyColor);" text="bind:reqqty"/>
  146. <Cell col="15" style="background:EXPR(rergstqtyColor);background2:EXPR(rergstqtyColor);" text="bind:rergstqty"/>
  147. <Cell col="16" style="background:EXPR(lendqtyColor);background2:EXPR(lendqtyColor);" text="bind:lendqty"/>
  148. <Cell col="17" style="background:EXPR(rgstqtyColor);background2:EXPR(rgstqtyColor);" text="bind:rgstqty"/>
  149. <Cell col="18" text="bind:cmt"/>
  150. <Cell col="19" style="background:EXPR(sumqtyColor);background2:EXPR(sumqtyColor);" text="bind:sumqty"/>
  151. <Cell col="20" text="bind:dlvqty"/>
  152. <Cell col="21" text="bind:nodlvqty"/>
  153. <Cell col="22" displaytype="combo" edittype="combo" text="bind:exchngcmt" enable="false"/>
  154. <Cell col="23" text="bind:devlcmt"/>
  155. <Cell col="24" text="bind:reqtm" mask="####-##-## ##:##" maskchar=" "/>
  156. <Cell col="25" text="bind:reqpsnnm"/>
  157. <Cell col="26" text="bind:certdt" mask="yyyy-mm-dd hh:nn"/>
  158. <Cell col="27" text="bind:certnm"/>
  159. <Cell col="28" text="bind:delivedt" mask="####-##-## ##:##" maskchar=" "/>
  160. <Cell col="29" text="bind:delivepsnnm"/>
  161. <Cell col="30" text="bind:exchngflag"/>
  162. <Cell col="31" text="bind:reqqtyflag"/>
  163. <Cell col="32" text="bind:rergstflag"/>
  164. <Cell col="33" text="bind:lendflag"/>
  165. <Cell col="34" text="bind:rgstqtyflag"/>
  166. <Cell col="35" text="bind:sumflag"/>
  167. </Band>
  168. </Format>
  169. </Formats>
  170. </Grid>
  171. <Static text="청구구분 :" position="absolute 615 41 709 57" id="caption12" class="search_name"/>
  172. <CheckBox position="absolute 705 39 755 59" id="chk_reqallopt" text="전체" truevalue="Y" falsevalue=" " onclick="switch1_case1_chk_reqallopt_onclick"/>
  173. <Radio position="absolute 705 15 805 31" id="rdo_dlvflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  174. <Dataset id="innerdataset">
  175. <ColumnInfo>
  176. <Column id="codecolumn"/>
  177. <Column id="datacolumn"/>
  178. </ColumnInfo>
  179. <Rows>
  180. <Row>
  181. <Col id="codecolumn">1</Col>
  182. <Col id="datacolumn">청구</Col>
  183. </Row>
  184. <Row>
  185. <Col id="codecolumn">2</Col>
  186. <Col id="datacolumn">불출</Col>
  187. </Row>
  188. </Rows>
  189. </Dataset>
  190. </Radio>
  191. <Static text="구 분 :" position="absolute 10 65 116 82" id="caption15" class="search_name"/>
  192. <Radio position="absolute 100 67 225 82" id="rdo_goodflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
  193. <Dataset id="innerdataset">
  194. <ColumnInfo>
  195. <Column id="codecolumn"/>
  196. <Column id="datacolumn"/>
  197. </ColumnInfo>
  198. <Rows>
  199. <Row>
  200. <Col id="codecolumn">01</Col>
  201. <Col id="datacolumn">물품코드</Col>
  202. </Row>
  203. <Row>
  204. <Col id="codecolumn">02</Col>
  205. <Col id="datacolumn">물품명</Col>
  206. </Row>
  207. </Rows>
  208. </Dataset>
  209. </Radio>
  210. <Edit position="absolute 230 65 375 84" id="ipt_reqdata" class="input_search" autoselect="true" onkeydown="switch1_case1_ipt_reqdata_onkeydown"/>
  211. <cp_checkboxList id="chk_eryn" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 100 38 265 56" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  212. <Combo position="absolute 145 38 210 57" id="cmb_reqpridflag" codecolumn="codecolumn" datacolumn="datacolumn">
  213. <Dataset id="innerdataset">
  214. <ColumnInfo>
  215. <Column id="codecolumn"/>
  216. <Column id="datacolumn"/>
  217. </ColumnInfo>
  218. <Rows>
  219. <Row>
  220. <Col id="codecolumn"/>
  221. <Col id="datacolumn">전체</Col>
  222. </Row>
  223. <Row>
  224. <Col id="codecolumn">1</Col>
  225. <Col id="datacolumn">1차</Col>
  226. </Row>
  227. <Row>
  228. <Col id="codecolumn">2</Col>
  229. <Col id="datacolumn">2차</Col>
  230. </Row>
  231. <Row>
  232. <Col id="codecolumn">3</Col>
  233. <Col id="datacolumn">3차</Col>
  234. </Row>
  235. </Rows>
  236. </Dataset>
  237. </Combo>
  238. <cp_checkboxList id="chk_reqoptflag" titletext="CheckBox List" taborder="2" text="cp_checkboxList01" scrollbars="none" position="absolute 753 39 1023 58" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  239. <Calendar id="ipt_reqfrdd" taborder="3" class="input_s_essential" position="absolute 810 14 900 33" autoselect="true" autoskip="true"/>
  240. <Calendar id="input3" taborder="4" class="input_s_essential" position="absolute 915 14 1005 33" autoselect="true"/>
  241. </Layout>
  242. </Layouts>
  243. </Tabpage>
  244. <Tabpage text="미불출내역조회" id="case3">
  245. <Layouts>
  246. <Layout>
  247. <Shape position="absolute 2 3 1232 75" id="roundrect1" type="roundrectangle"/>
  248. <Static text="미불출내역조회" position="absolute 3 79 127 96" id="caption3" class="tit_2"/>
  249. <Grid position="absolute 2 100 1232 677" id="grd_disgooddlvrlist" binddataset="ds_main_disgooddlvrinfo_disgooddlvrlist" cellsizingtype="both" autoenter="select" cellsizebandtype="allband" extendsizetype="row">
  250. <Formats>
  251. <Format id="default">
  252. <Columns>
  253. <Column size="24" band="left"/>
  254. <Column size="100"/>
  255. <Column size="90"/>
  256. <Column size="36"/>
  257. <Column size="89"/>
  258. <Column size="155"/>
  259. <Column size="77"/>
  260. <Column size="0"/>
  261. <Column size="46"/>
  262. <Column size="43"/>
  263. <Column size="44"/>
  264. <Column size="43"/>
  265. <Column size="40"/>
  266. <Column size="43"/>
  267. <Column size="40"/>
  268. <Column size="43"/>
  269. <Column size="44"/>
  270. <Column size="43"/>
  271. <Column size="45"/>
  272. <Column size="46"/>
  273. <Column size="100"/>
  274. <Column size="100"/>
  275. <Column size="100"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. <Column size="0"/>
  283. <Column size="0"/>
  284. <Column size="0"/>
  285. <Column size="0"/>
  286. <Column size="0"/>
  287. <Column size="0"/>
  288. <Column size="0"/>
  289. <Column size="0"/>
  290. <Column size="0"/>
  291. <Column size="0"/>
  292. <Column size="0"/>
  293. <Column size="0"/>
  294. <Column size="0"/>
  295. </Columns>
  296. <Rows>
  297. <Row size="24" band="head"/>
  298. <Row size="24" band="head"/>
  299. <Row size="24"/>
  300. </Rows>
  301. <Band id="head">
  302. <Cell rowspan="2" taborder="undefined"/>
  303. <Cell col="1" rowspan="2" text="청구일자" taborder="undefined"/>
  304. <Cell col="2" rowspan="2" text="청구부서명" taborder="undefined"/>
  305. <Cell col="3" rowspan="2" text="청구&#10;차수" taborder="undefined"/>
  306. <Cell col="4" rowspan="2" text="물품코드" taborder="undefined"/>
  307. <Cell col="5" rowspan="2" text="물품명" taborder="undefined"/>
  308. <Cell col="6" rowspan="2" text="규격" taborder="undefined"/>
  309. <Cell col="7" text="모델"/>
  310. <Cell col="8" colspan="2" text="교환" taborder="undefined"/>
  311. <Cell col="10" colspan="2" text="청구" taborder="undefined"/>
  312. <Cell col="12" colspan="2" text="재멸균" taborder="undefined"/>
  313. <Cell col="14" colspan="2" text="대여" taborder="undefined"/>
  314. <Cell col="16" colspan="2" text="멸균" taborder="undefined"/>
  315. <Cell col="18" rowspan="2" text="미불출&#13;&#10;수량" taborder="undefined"/>
  316. <Cell col="19" rowspan="2" text="추가&#10;불출" taborder="undefined"/>
  317. <Cell col="20" rowspan="2" text="미불출사유" taborder="undefined"/>
  318. <Cell col="21" rowspan="2" text="청구일시" taborder="undefined"/>
  319. <Cell col="22" rowspan="2" text="청구자" taborder="undefined"/>
  320. <Cell col="23" text="확인자"/>
  321. <Cell col="24" text="instcd"/>
  322. <Cell col="25" text="reqno"/>
  323. <Cell col="26" text="reqseqno"/>
  324. <Cell col="27" text="exchngaddqty"/>
  325. <Cell col="28" text="lendaddqty"/>
  326. <Cell col="29" text="reqaddqty"/>
  327. <Cell col="30" text="rgstaddqty"/>
  328. <Cell col="31" text="rergstaddqty"/>
  329. <Cell col="32" text="nodlvexchngqty"/>
  330. <Cell col="33" text="nodlvlendqty"/>
  331. <Cell col="34" text="nodlvreqqty"/>
  332. <Cell col="35" text="nodlvrgstqty"/>
  333. <Cell col="36" text="nodlvrergstqty"/>
  334. <Cell col="37" text="reqdpetcd"/>
  335. <Cell col="38" text="goodflag"/>
  336. <Cell col="39" text="reqflag"/>
  337. <Cell col="40" text="deliveunit"/>
  338. <Cell col="41" text="reqdivs"/>
  339. <Cell row="1" col="7" text="모델"/>
  340. <Cell row="1" col="8" text="확인"/>
  341. <Cell row="1" col="9" text="미불출"/>
  342. <Cell row="1" col="10" text="확인"/>
  343. <Cell row="1" col="11" text="미불출"/>
  344. <Cell row="1" col="12" text="확인"/>
  345. <Cell row="1" col="13" text="미불출"/>
  346. <Cell row="1" col="14" text="확인"/>
  347. <Cell row="1" col="15" text="미불출"/>
  348. <Cell row="1" col="16" text="확인"/>
  349. <Cell row="1" col="17" text="미불출"/>
  350. <Cell row="1" col="23" text="확인자"/>
  351. <Cell row="1" col="24" text="instcd"/>
  352. <Cell row="1" col="25" text="reqno"/>
  353. <Cell row="1" col="26" text="reqseqno"/>
  354. <Cell row="1" col="27" text="exchngaddqty"/>
  355. <Cell row="1" col="28" text="lendaddqty"/>
  356. <Cell row="1" col="29" text="reqaddqty"/>
  357. <Cell row="1" col="30" text="rgstaddqty"/>
  358. <Cell row="1" col="31" text="rergstaddqty"/>
  359. <Cell row="1" col="32" text="nodlvexchngqty"/>
  360. <Cell row="1" col="33" text="nodlvlendqty"/>
  361. <Cell row="1" col="34" text="nodlvreqqty"/>
  362. <Cell row="1" col="35" text="nodlvrgstqty"/>
  363. <Cell row="1" col="36" text="nodlvrergstqty"/>
  364. <Cell row="1" col="37" text="reqdpetcd"/>
  365. <Cell row="1" col="38" text="goodflag"/>
  366. <Cell row="1" col="39" text="reqflag"/>
  367. <Cell row="1" col="40" text="deliveunit"/>
  368. <Cell row="1" col="41" text="reqdivs"/>
  369. </Band>
  370. <Band id="body">
  371. <Cell celltype="head"/>
  372. <Cell col="1" displaytype="date" edittype="date" text="bind:reqdd" editautoselect="true" calendardisplaynulltype="none" enable="false"/>
  373. <Cell col="2" displaytype="normal" edittype="none" text="bind:reqdeptnm"/>
  374. <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:reqpridflag" combodataset="ds_cbo_reqpridflag" combocodecol="value" combodatacol="label" enable="false"/>
  375. <Cell col="4" text="bind:goodcd"/>
  376. <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
  377. <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
  378. <Cell col="7" text="bind:goodmodel"/>
  379. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:exchngqty" editautoselect="true"/>
  380. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:nodlvexchngqty" editautoselect="true"/>
  381. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:reqqty" editautoselect="true"/>
  382. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:nodlvreqqty" editautoselect="true"/>
  383. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:rergstqty" editautoselect="true"/>
  384. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:nodlvrergstqty" editautoselect="true"/>
  385. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:lendqty" editautoselect="true"/>
  386. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:nodlvlendqty" editautoselect="true"/>
  387. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:rgstqty" editautoselect="true"/>
  388. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:nodlvrgstqty" editautoselect="true"/>
  389. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:nodlvqty" editautoselect="true"/>
  390. <Cell col="19" displaytype="number" edittype="masknumber" style="align:right middle;" text="bind:addqty" mask="#,###" maskchar=" " editautoselect="true"/>
  391. <Cell col="20" displaytype="combo" edittype="combo" text="bind:exchngcmt" combodataset="ds_cbo_exchngcmt" combocodecol="value" combodatacol="label" enable="false"/>
  392. <Cell col="21" displaytype="text" text="bind:reqtm" mask="####-##-## ##:##" maskchar=" "/>
  393. <Cell col="22" text="bind:reqpsnnm"/>
  394. <Cell col="23" text="bind:certnm"/>
  395. <Cell col="24" text="bind:instcd"/>
  396. <Cell col="25" text="bind:reqno"/>
  397. <Cell col="26" text="bind:reqseqno"/>
  398. <Cell col="27" text="bind:exchngaddqty"/>
  399. <Cell col="28" text="bind:lendaddqty"/>
  400. <Cell col="29" text="bind:reqaddqty"/>
  401. <Cell col="30" text="bind:rgstaddqty"/>
  402. <Cell col="31" text="bind:rergstaddqty"/>
  403. <Cell col="32" text="bind:nodlvexchngqty"/>
  404. <Cell col="33" text="bind:nodlvlendqty"/>
  405. <Cell col="34" text="bind:nodlvreqqty"/>
  406. <Cell col="35" text="bind:nodlvrgstqty"/>
  407. <Cell col="36" text="bind:nodlvrergstqty"/>
  408. <Cell col="37" text="bind:reqdeptcd"/>
  409. <Cell col="38" text="bind:goodflag"/>
  410. <Cell col="39" text="bind:reqflag"/>
  411. <Cell col="40" text="bind:deliveunit"/>
  412. <Cell col="41" text="bind:reqdivs"/>
  413. </Band>
  414. </Format>
  415. </Formats>
  416. </Grid>
  417. <Button position="absolute 1108 25 1164 47" id="button3" class="btn7" text="엑셀" onclick="switch1_case3_button3_onclick"/>
  418. <Button position="absolute 1050 25 1106 47" id="button6" class="btn1" text="조회" onclick="switch1_case3_button6_onclick"/>
  419. <Combo position="absolute 101 13 230 32" align="align:center middle;" id="cmb_disinstcd2" class="combo_s_essential" enable="false" innerdataset="@ds_Z0007" datacolumn="cdnm" codecolumn="cdid"/>
  420. <Button position="absolute 1166 25 1222 47" id="button7" class="btn6" text="출력" onclick="switch1_case3_button7_onclick"/>
  421. <Static text="부서구분 :" position="absolute 250 14 344 31" id="caption4" class="search_name"/>
  422. <Static text="청구일자 :" position="absolute 685 14 771 31" id="caption7" class="search_name"/>
  423. <Static text="기관코드 :" position="absolute 10 14 96 31" id="caption8" class="search_name"/>
  424. <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line2" class="line_4"/>
  425. <Combo position="absolute 340 13 450 32" id="cmb_discsrreqdeptcd" class="combo_s_essential" innerdataset="@ds_hidden_csrreqdeptlist" datacolumn="csrreqdeptnm" codecolumn="csrreqdeptcd" onitemchanged="switch1_case3_cmb_discsrreqdeptcd_onitemchanged"/>
  426. <Static text="~" position="absolute 885 16 897 33" id="caption5" class="search_no_b"/>
  427. <Static text="청구부서 :" position="absolute 467 14 553 31" id="caption9" class="search_name"/>
  428. <Combo position="absolute 559 13 669 32" id="cmb_disdeptcd" class="combo_s_essential" innerdataset="@ds_hidden_csrdeptlist" datacolumn="deptnm" codecolumn="deptcd" onitemchanged="switch1_case3_cmb_disdeptcd_onitemchanged"/>
  429. <Shape position="absolute 2 95 1232 101" linetype="horizontal" id="line3" class="line_10"/>
  430. <Static text="청구구분 :" position="absolute 615 45 709 62" id="caption13" class="search_name"/>
  431. <CheckBox position="absolute 705 43 755 63" id="chk_disreqallopt" text="전체" truevalue="Y" falsevalue=" " onclick="switch1_case3_chk_disreqallopt_onclick"/>
  432. <Button position="absolute 1189 77 1231 96" id="button2" class="btn5" text="불출" onclick="switch1_case3_button2_onclick"/>
  433. <Edit position="absolute 230 42 375 61" id="ipt_disdata" class="input_search" autoselect="true" onkeydown="switch1_case3_ipt_disdata_onkeydown"/>
  434. <Radio position="absolute 100 44 225 60" id="rdo_disgoodflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
  435. <Dataset id="innerdataset">
  436. <ColumnInfo>
  437. <Column id="codecolumn"/>
  438. <Column id="datacolumn"/>
  439. </ColumnInfo>
  440. <Rows>
  441. <Row>
  442. <Col id="codecolumn">01</Col>
  443. <Col id="datacolumn">물품코드</Col>
  444. </Row>
  445. <Row>
  446. <Col id="codecolumn">02</Col>
  447. <Col id="datacolumn">물품명</Col>
  448. </Row>
  449. </Rows>
  450. </Dataset>
  451. </Radio>
  452. <Static text="구 분 :" position="absolute 10 45 116 62" id="caption16" class="search_name"/>
  453. <Calendar id="input1" taborder="2" class="input_s_essential" position="absolute 780 13 880 32" autoselect="true" autoskip="true"/>
  454. <Calendar id="input2" taborder="3" class="input_s_essential" position="absolute 900 13 1000 32" autoselect="true"/>
  455. <cp_checkboxList id="chk_disreqoptflag" titletext="CheckBox List" taborder="4" text="cp_checkboxList01" scrollbars="none" position="absolute 753 42 1023 61" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  456. </Layout>
  457. </Layouts>
  458. </Tabpage>
  459. </Tabpages>
  460. </Tab>
  461. <Static id="caption6" text="(미)불출내역조회" class="tit_1" position="absolute 0 0 189 25"/>
  462. </Layout>
  463. </Layouts>
  464. <Objects>
  465. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  466. <Dataset id="ds_Z0007" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  467. <Dataset id="ds_cond_gooddlvrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  468. <ColumnInfo>
  469. <Column id="instcd" type="STRING" size="256"/>
  470. <Column id="csrreqdeptcd" type="STRING" size="256"/>
  471. <Column id="reqdeptcd" type="STRING" size="256"/>
  472. <Column id="reqfromdd" type="STRING" size="256"/>
  473. <Column id="reqtodd" type="STRING" size="256"/>
  474. <Column id="reqpridflag" type="STRING" size="256"/>
  475. <Column id="deliveflag" type="STRING" size="256"/>
  476. <Column id="reqdelrflag" type="STRING" size="256"/>
  477. <Column id="reqoptflag" type="STRING" size="256"/>
  478. <Column id="reqallopt" type="STRING" size="256"/>
  479. <Column id="dlvflag" type="STRING" size="256"/>
  480. <Column id="goodflag" type="STRING" size="256"/>
  481. <Column id="data" type="STRING" size="256"/>
  482. </ColumnInfo>
  483. <Rows>
  484. <Row>
  485. <Col id="instcd"/>
  486. <Col id="csrreqdeptcd"/>
  487. <Col id="reqdeptcd"/>
  488. <Col id="reqfromdd"/>
  489. <Col id="reqtodd"/>
  490. <Col id="reqpridflag"/>
  491. <Col id="deliveflag">1</Col>
  492. <Col id="reqdelrflag">dvr</Col>
  493. <Col id="reqoptflag"/>
  494. <Col id="reqallopt"/>
  495. <Col id="dlvflag">1</Col>
  496. <Col id="goodflag">02</Col>
  497. <Col id="data"/>
  498. </Row>
  499. </Rows>
  500. </Dataset>
  501. <Dataset id="ds_cond_disgooddlvrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  502. <ColumnInfo>
  503. <Column id="instcd" type="STRING" size="256"/>
  504. <Column id="csrreqdeptcd" type="STRING" size="256"/>
  505. <Column id="reqdeptcd" type="STRING" size="256"/>
  506. <Column id="reqfromdd" type="STRING" size="256"/>
  507. <Column id="reqtodd" type="STRING" size="256"/>
  508. <Column id="disreqoptflag" type="STRING" size="256"/>
  509. <Column id="disreqallopt" type="STRING" size="256"/>
  510. <Column id="goodflag" type="STRING" size="256"/>
  511. <Column id="data" type="STRING" size="256"/>
  512. </ColumnInfo>
  513. <Rows>
  514. <Row>
  515. <Col id="instcd"/>
  516. <Col id="csrreqdeptcd"/>
  517. <Col id="reqdeptcd"/>
  518. <Col id="reqfromdd"/>
  519. <Col id="reqtodd"/>
  520. <Col id="disreqoptflag"/>
  521. <Col id="disreqallopt">Y</Col>
  522. <Col id="goodflag">02</Col>
  523. <Col id="data"/>
  524. </Row>
  525. </Rows>
  526. </Dataset>
  527. <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  528. <Dataset id="ds_temp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  529. <Dataset id="ds_init_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  530. <Dataset id="ds_hidden_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  531. <Dataset id="ds_tmp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  532. <Dataset id="ds_temp_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  533. <Dataset id="ds_hidden_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  534. <Dataset id="ds_init_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  535. <Dataset id="ds_temp_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  536. <Dataset id="ds_init_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  537. <Dataset id="ds_hidden_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  538. <Dataset id="ds_main_gooddlvrinfo_gooddlvrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  539. <Dataset id="ds_main_disgooddlvrinfo_disgooddlvrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_disgooddlvrinfo_disgooddlvrlist_oncolumnchanged"/>
  540. <Dataset id="ds_chk_eryn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  541. <ColumnInfo>
  542. <Column id="label" type="STRING" size="256"/>
  543. <Column id="value" type="STRING" size="256"/>
  544. </ColumnInfo>
  545. <Rows>
  546. <Row>
  547. <Col id="label">정규</Col>
  548. <Col id="value">1</Col>
  549. </Row>
  550. <Row>
  551. <Col id="label">응급</Col>
  552. <Col id="value">2</Col>
  553. </Row>
  554. </Rows>
  555. </Dataset>
  556. <Dataset id="ds_chk_reqoptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  557. <ColumnInfo>
  558. <Column id="label" type="STRING" size="256"/>
  559. <Column id="value" type="STRING" size="256"/>
  560. </ColumnInfo>
  561. <Rows>
  562. <Row>
  563. <Col id="label">교환</Col>
  564. <Col id="value">1</Col>
  565. </Row>
  566. <Row>
  567. <Col id="label">청구</Col>
  568. <Col id="value">2</Col>
  569. </Row>
  570. <Row>
  571. <Col id="label">재멸균</Col>
  572. <Col id="value">3</Col>
  573. </Row>
  574. <Row>
  575. <Col id="label">대여</Col>
  576. <Col id="value">4</Col>
  577. </Row>
  578. <Row>
  579. <Col id="label">멸균의뢰</Col>
  580. <Col id="value">5</Col>
  581. </Row>
  582. </Rows>
  583. </Dataset>
  584. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  585. <ColumnInfo>
  586. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  587. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
  588. <Column id="exchngqty" type="STRING" size="256" sumtext="교환"/>
  589. <Column id="reqqty" type="STRING" size="256" sumtext="청구"/>
  590. <Column id="rergstqty" type="STRING" size="256" sumtext="재멸균"/>
  591. <Column id="lendqty" type="STRING" size="256" sumtext="대여"/>
  592. <Column id="rgstqty" type="STRING" size="256" sumtext="멸균의뢰"/>
  593. <Column id="csrreqdeptcd" type="STRING" size="256" sumtext="부서구분"/>
  594. <Column id="reqpridflag" type="STRING" size="256" sumtext="청구차수"/>
  595. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  596. <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
  597. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  598. <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
  599. <Column id="nodlvqty" type="STRING" size="256" sumtext="미불출수량"/>
  600. <Column id="exchngcmt" type="STRING" size="256" sumtext="미불출사유"/>
  601. <Column id="reqtm" type="STRING" size="256" sumtext="청구일시"/>
  602. <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자"/>
  603. <Column id="certdt" type="STRING" size="256" sumtext="확인일시"/>
  604. <Column id="certnm" type="STRING" size="256" sumtext="확인자"/>
  605. <Column id="addqty" type="STRING" size="256" sumtext="추가불출"/>
  606. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  607. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  608. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  609. <Column id="exchngaddqty" type="STRING" size="256" sumtext="추가교환"/>
  610. <Column id="lendaddqty" type="STRING" size="256" sumtext="추가대여"/>
  611. <Column id="rgstaddqty" type="STRING" size="256" sumtext="추가멸균"/>
  612. <Column id="reqaddqty" type="STRING" size="256" sumtext="추가청구"/>
  613. <Column id="rergstaddqty" type="STRING" size="256" sumtext="추가재멸"/>
  614. <Column id="nodlvexchngqty" type="STRING" size="256" sumtext="추가교환"/>
  615. <Column id="nodlvlendqty" type="STRING" size="256" sumtext="추가대여"/>
  616. <Column id="nodlvrgstqty" type="STRING" size="256" sumtext="추가멸균"/>
  617. <Column id="nodlvreqqty" type="STRING" size="256" sumtext="추가청구"/>
  618. <Column id="nodlvrergstqty" type="STRING" size="256" sumtext="추가재멸"/>
  619. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  620. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  621. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
  622. <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
  623. <Column id="reqdivs" type="STRING" size="256" sumtext="불출단위"/>
  624. </ColumnInfo>
  625. </Dataset>
  626. <Dataset id="ds_cond_rtninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  627. <Dataset id="ds_init_tmlist_reqseqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  628. <Dataset id="ds_cbo_reqdivs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="label" type="STRING" size="256"/>
  631. <Column id="value" type="STRING" size="256"/>
  632. </ColumnInfo>
  633. <Rows>
  634. <Row>
  635. <Col id="label">청구</Col>
  636. <Col id="value">1</Col>
  637. </Row>
  638. <Row>
  639. <Col id="label">마감</Col>
  640. <Col id="value">2</Col>
  641. </Row>
  642. <Row>
  643. <Col id="label">확인</Col>
  644. <Col id="value">3</Col>
  645. </Row>
  646. <Row>
  647. <Col id="label">불출</Col>
  648. <Col id="value">4</Col>
  649. </Row>
  650. <Row>
  651. <Col id="label">반납</Col>
  652. <Col id="value">5</Col>
  653. </Row>
  654. </Rows>
  655. </Dataset>
  656. <Dataset id="ds_cbo_dlvrflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  657. <ColumnInfo>
  658. <Column id="label" type="STRING" size="256"/>
  659. <Column id="value" type="STRING" size="256"/>
  660. </ColumnInfo>
  661. <Rows>
  662. <Row>
  663. <Col id="label">일반</Col>
  664. <Col id="value">1</Col>
  665. </Row>
  666. <Row>
  667. <Col id="label">가스불출</Col>
  668. <Col id="value">2</Col>
  669. </Row>
  670. <Row>
  671. <Col id="label">추가불출</Col>
  672. <Col id="value">3</Col>
  673. </Row>
  674. </Rows>
  675. </Dataset>
  676. <Dataset id="ds_cbo_dinfdivs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  677. <ColumnInfo>
  678. <Column id="label" type="STRING" size="256"/>
  679. <Column id="value" type="STRING" size="256"/>
  680. </ColumnInfo>
  681. <Rows>
  682. <Row>
  683. <Col id="label">고압증기멸균</Col>
  684. <Col id="value">1</Col>
  685. </Row>
  686. <Row>
  687. <Col id="label">가스멸균</Col>
  688. <Col id="value">2</Col>
  689. </Row>
  690. <Row>
  691. <Col id="label">건열멸균</Col>
  692. <Col id="value">3</Col>
  693. </Row>
  694. <Row>
  695. <Col id="label">플라즈마멸균</Col>
  696. <Col id="value">4</Col>
  697. </Row>
  698. </Rows>
  699. </Dataset>
  700. <Dataset id="ds_cbo_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  701. <ColumnInfo>
  702. <Column id="label" type="STRING" size="256"/>
  703. <Column id="value" type="STRING" size="256"/>
  704. </ColumnInfo>
  705. <Rows>
  706. <Row>
  707. <Col id="label">비품</Col>
  708. <Col id="value">1</Col>
  709. </Row>
  710. <Row>
  711. <Col id="label">소모품</Col>
  712. <Col id="value">2</Col>
  713. </Row>
  714. <Row>
  715. <Col id="label">멸균의뢰</Col>
  716. <Col id="value">3</Col>
  717. </Row>
  718. <Row>
  719. <Col id="label">린넨</Col>
  720. <Col id="value">4</Col>
  721. </Row>
  722. </Rows>
  723. </Dataset>
  724. <Dataset id="ds_cbo_reqpridflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  725. <ColumnInfo>
  726. <Column id="label" type="STRING" size="256"/>
  727. <Column id="value" type="STRING" size="256"/>
  728. </ColumnInfo>
  729. <Rows>
  730. <Row>
  731. <Col id="label">1차</Col>
  732. <Col id="value">1</Col>
  733. </Row>
  734. <Row>
  735. <Col id="label">2차</Col>
  736. <Col id="value">2</Col>
  737. </Row>
  738. <Row>
  739. <Col id="label">3차</Col>
  740. <Col id="value">3</Col>
  741. </Row>
  742. <Row>
  743. <Col id="label">4차</Col>
  744. <Col id="value">4</Col>
  745. </Row>
  746. <Row>
  747. <Col id="label">5차</Col>
  748. <Col id="value">5</Col>
  749. </Row>
  750. <Row>
  751. <Col id="label">응급</Col>
  752. <Col id="value">-</Col>
  753. </Row>
  754. </Rows>
  755. </Dataset>
  756. <Dataset id="ds_cbo_exchngcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  757. <ColumnInfo>
  758. <Column id="label" type="STRING" size="256"/>
  759. <Column id="value" type="STRING" size="256"/>
  760. </ColumnInfo>
  761. <Rows>
  762. <Row>
  763. <Col id="label">입력에러</Col>
  764. <Col id="value">1</Col>
  765. </Row>
  766. <Row>
  767. <Col id="label">과량청구</Col>
  768. <Col id="value">2</Col>
  769. </Row>
  770. <Row>
  771. <Col id="label">공급실수량부족</Col>
  772. <Col id="value">3</Col>
  773. </Row>
  774. <Row>
  775. <Col id="label">기타</Col>
  776. <Col id="value">4</Col>
  777. </Row>
  778. </Rows>
  779. </Dataset>
  780. </Objects>
  781. <Bind>
  782. <BindItem id="item5" compid="switch1.case1.input3" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqtodd"/>
  783. <BindItem id="item4" compid="switch1.case1.ipt_reqfrdd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqfromdd"/>
  784. <BindItem id="item0" compid="switch1.case1.cmb_instcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="instcd"/>
  785. <BindItem id="item1" compid="switch1.case1.cmb_csrreqdeptcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="csrreqdeptcd"/>
  786. <BindItem id="item2" compid="switch1.case1.cmb_deptcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqdeptcd"/>
  787. <BindItem id="item3" compid="switch1.case1.rdo_dlvflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="dlvflag"/>
  788. <BindItem id="item6" compid="switch1.case1.cmb_reqpridflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqpridflag"/>
  789. <BindItem id="item7" compid="switch1.case1.rdo_reqdelrflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqdelrflag"/>
  790. <BindItem id="item8" compid="switch1.case1.chk_reqallopt" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqallopt"/>
  791. <BindItem id="item9" compid="switch1.case1.rdo_goodflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="goodflag"/>
  792. <BindItem id="item10" compid="switch1.case1.ipt_reqdata" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="data"/>
  793. <BindItem id="item11" compid="switch1.case3.cmb_disinstcd2" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="instcd"/>
  794. <BindItem id="item12" compid="switch1.case3.cmb_discsrreqdeptcd" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="csrreqdeptcd"/>
  795. <BindItem id="item13" compid="switch1.case3.cmb_disdeptcd" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqdeptcd"/>
  796. <BindItem id="item14" compid="switch1.case3.input1" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqfromdd"/>
  797. <BindItem id="item15" compid="switch1.case3.input2" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqtodd"/>
  798. <BindItem id="item16" compid="switch1.case3.rdo_disgoodflag" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="goodflag"/>
  799. <BindItem id="item17" compid="switch1.case3.ipt_disdata" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="data"/>
  800. <BindItem id="item18" compid="switch1.case3.chk_disreqallopt" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="disreqallopt"/>
  801. </Bind>
  802. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  803. * System Name :
  804. * Job Name :
  805. * Creator :
  806. * Make Date : 2015-11-13
  807. * Description :
  808. *---------------------------------------------------------------------------------------
  809. * Modify Date Modifier Modify Description
  810. *---------------------------------------------------------------------------------------
  811. * 2015-11-13 Live Converter TF->XP
  812. *
  813. *---------------------------------------------------------------------------------------
  814. ****************************************************************************************/
  815. include "com_commonxp::comm_main.xjs";
  816. var arErrorCode = new HashArray();
  817. function SMMNG01700_oninit(obj:Form, e:InitEventInfo)
  818. {
  819. frmf_initForm(obj); //폼 초기화
  820. grdf_setRowTypeIcon(switch1.case3.grd_disgooddlvrlist, 0);
  821. //grdf_setRowTypeIcon(switch1.case1.grd_gooddlvrlist, 0);
  822. }
  823. function fn_eryn(){
  824. fDeliveflagChg();
  825. }
  826. function fn_reqoptflag(){
  827. //var reqoptflag = ds_cond_gooddlvrinfo.getColumn(0, "reqdelrflag");
  828. var reqoptflag = String(switch1.case1.chk_reqoptflag.getData()).split(",");
  829. if(!utlf_isNull(reqoptflag)) switch1.case1.chk_reqallopt.value = "";
  830. var getData = String(switch1.case1.chk_reqoptflag.getData()).replace(","," ");
  831. ds_cond_gooddlvrinfo.setColumn(0, "reqoptflag", getData);
  832. if(!utlf_isNull(getData)) switch1.case1.chk_reqallopt.value = "";
  833. }
  834. function fn_disreqoptflag(){
  835. var getData = String(switch1.case3.chk_disreqoptflag.getData()).replace(","," ");
  836. ds_cond_disgooddlvrinfo.setColumn(0, "disreqoptflag", getData);
  837. if(!utlf_isNull(getData)) switch1.case3.chk_disreqallopt.value = "";
  838. }
  839. function SMMNG01700_onload(obj:Form, e:LoadEventInfo)
  840. {
  841. grdf_setGridSort(switch1.case1.grd_gooddlvrlist);
  842. var sProp = "col=2,row=1,cellspacing=2,vcellspacing=0,itemWidth=112,itemHeight=20,overflow='visible'";
  843. switch1.case1.chk_eryn.setInitComp(sProp, ds_chk_eryn,"value","label", "fn_eryn");
  844. var sProp = "col=5,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  845. switch1.case1.chk_reqoptflag.setInitComp(sProp, ds_chk_reqoptflag,"value","label", "fn_reqoptflag");
  846. var sProp = "col=5,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  847. switch1.case3.chk_disreqoptflag.setInitComp(sProp, ds_chk_reqoptflag, "value", "label", "fn_disreqoptflag");
  848. var getData = utlf_transNullToEmpty(ds_cond_gooddlvrinfo.getColumn(0, "deliveflag")).split(" ");
  849. switch1.case1.chk_eryn.setData(getData,null,false);
  850. var getData = utlf_transNullToEmpty(ds_cond_gooddlvrinfo.getColumn(0, "reqoptflag")).split(" ");
  851. switch1.case1.chk_reqoptflag.setData(getData,null,false);
  852. var getData = utlf_transNullToEmpty(ds_cond_disgooddlvrinfo.getColumn(0, "disreqoptflag")).split(" ");
  853. switch1.case3.chk_disreqoptflag.setData(getData,null,false);
  854. var getDeptcd = opener.frmf_getParameter("deptcd");
  855. dsf_makeValue(ds_send_reqdata, "reqdeptcd", "string", sysf_getUserInfo("dutplcecd"));
  856. dsf_makeValue(ds_send_reqdata, "instcd" , "string", sysf_getUserInfo("dutplceinstcd"));
  857. fDeliveflagChg();//청구차수 선택시 상태값 변경
  858. ds_send_reqdata.clearData();
  859. var arrParam = [{dsNm: "ds_Z0007", cdGrpId: "Z0007"}
  860. ]
  861. appf_getCodeList(arrParam);
  862. ds_cond_gooddlvrinfo.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  863. ds_cond_disgooddlvrinfo.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  864. dsf_makeValue(ds_send_goodreq, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  865. dsf_makeValue(ds_send_goodreq, "useyn", "string", "Y");
  866. var oParam = {};
  867. oParam.id = "TRMNG00401";
  868. oParam.service = "csrapp.CsrMngt";
  869. oParam.method = "reqGetDeptFlagList";
  870. oParam.inds = "req=ds_send_goodreq";
  871. oParam.outds = "ds_temp_csrreqdeptlist=csrreqdeptlist";
  872. oParam.async = false;
  873. tranf_submit(oParam);
  874. ds_init_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
  875. ds_hidden_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
  876. ds_tmp_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
  877. ds_send_goodreq.clearData();
  878. frmf_addComboItem( "switch1.case1.cmb_csrreqdeptcd", "전체", "", "above");
  879. frmf_addComboItem( "switch1.case3.cmb_discsrreqdeptcd", "전체", "", "above");
  880. switch1.case1.cmb_csrreqdeptcd.value = "";
  881. switch1.case3.cmb_discsrreqdeptcd.value = "";
  882. dsf_makeValue(ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  883. if(!utlf_isNull(getDeptcd)){
  884. dsf_makeValue(ds_send_reqdata, "deptcd", "string", getDeptcd);
  885. }else{
  886. dsf_makeValue(ds_send_reqdata, "deptcd", "string", sysf_getUserInfo("dutplcecd"));
  887. }
  888. dsf_makeValue(ds_send_reqdata, "refcond", "string", "deptcd");
  889. var oParam = {};
  890. oParam.id = "TRMNG00303";
  891. oParam.service = "csrapp.CsrMngt";
  892. oParam.method = "reqGetCsrDeptList2";
  893. oParam.inds = "req=ds_send_reqdata";
  894. oParam.outds = "ds_temp_deptcodelist=deptcodelist";
  895. oParam.async = false;
  896. tranf_submit(oParam);
  897. ds_init_deptcodelist.copyData(ds_temp_deptcodelist);
  898. ds_hidden_deptcodelist.copyData(ds_temp_deptcodelist);
  899. ds_cond_gooddlvrinfo.setColumn(0, "csrreqdeptcd", ds_init_deptcodelist.getColumn(0, "csrreqdeptcd2"));
  900. ds_cond_disgooddlvrinfo.setColumn(0, "csrreqdeptcd", ds_hidden_deptcodelist.getColumn(0, "csrreqdeptcd2"));
  901. ds_send_reqdata.clearData();
  902. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
  903. dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
  904. var oParam = {};
  905. oParam.id = "TRMNG00402";
  906. oParam.service = "csrapp.CsrMngt";
  907. oParam.method = "getCsrDeptList";
  908. oParam.inds = "req=ds_send_reqdata";
  909. oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
  910. oParam.async = false;
  911. tranf_submit(oParam);
  912. ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
  913. ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
  914. //전체 조회되도록 수정 by 박영우 2010-03-05
  915. frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
  916. frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
  917. switch1.case1.cmb_deptcd.value = "";
  918. switch1.case3.cmb_disdeptcd.value = "";
  919. if(!utlf_isNull(getDeptcd)){
  920. ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", getDeptcd);
  921. ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", getDeptcd);
  922. }else{
  923. ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
  924. ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", ds_hidden_csrdeptlist.getColumn(0, "deptcd"));
  925. }
  926. ds_cond_gooddlvrinfo.setColumn(0, "reqfromdd", utlf_getCurrentDate());
  927. ds_cond_gooddlvrinfo.setColumn(0, "reqtodd", utlf_getCurrentDate());
  928. ds_cond_disgooddlvrinfo.setColumn(0, "reqfromdd", utlf_getCurrentDate());
  929. ds_cond_disgooddlvrinfo.setColumn(0, "reqtodd", utlf_getCurrentDate());
  930. ds_send_reqdata.clearData();
  931. ds_main_gooddlvrinfo_gooddlvrlist.clearData();
  932. ds_main_disgooddlvrinfo_disgooddlvrlist.clearData();
  933. ds_cond_gooddlvrinfo.setColumn(0, "reqallopt", "Y");
  934. switch1.tabindex = 1;
  935. }
  936. //불출 및 미불출 내역 조회
  937. //(srchflag : dvr->불출,dis->미불출)
  938. function fGoodDvlSearch(srchflag){
  939. fGoodDvlOption(srchflag); //불출 및 미불출에 따른 청구구분 조건
  940. if(srchflag == "dvr"){
  941. dsf_makeValue(ds_send_reqdata, "instcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "instcd"));
  942. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "csrreqdeptcd"));
  943. dsf_makeValue(ds_send_reqdata, "reqdeptcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqdeptcd"));
  944. dsf_makeValue(ds_send_reqdata, "reqfromdd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqfromdd"));
  945. dsf_makeValue(ds_send_reqdata, "reqtodd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqtodd"));
  946. dsf_makeValue(ds_send_reqdata, "dlvflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "dlvflag"));
  947. if(ds_cond_gooddlvrinfo.getColumn(0, "reqpridflag") == "-"){
  948. dsf_makeValue(ds_send_reqdata, "reqpridflag" , "string", "");
  949. }else{
  950. dsf_makeValue(ds_send_reqdata, "reqpridflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqpridflag"));
  951. }
  952. dsf_makeValue(ds_send_reqdata, "deliveflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "deliveflag"));
  953. dsf_makeValue(ds_send_reqdata, "reqdelrflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqdelrflag"));
  954. dsf_makeValue(ds_send_reqdata, "goodflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "goodflag"));
  955. dsf_makeValue(ds_send_reqdata, "data" , "string", ds_cond_gooddlvrinfo.getColumn(0, "data"));
  956. var oParam = {};
  957. oParam.id = "TRMNG01701";
  958. oParam.service = "csrapp.CsrMngt";
  959. oParam.method = "reqGetGoodDivrInfoList";
  960. oParam.inds = "req=ds_send_reqdata";
  961. oParam.outds = "ds_main_gooddlvrinfo_gooddlvrlist=gooddlvrlist";
  962. oParam.async = false;
  963. oParam.callback = "cf_TRMNG01701";
  964. tranf_submit(oParam);
  965. if(arErrorCode.pop("TRMNG01701") > -1){
  966. ds_send_reqdata.clearData();
  967. ds_main_gooddlvrinfo_gooddlvrlist.enableevent = false;
  968. ds_main_gooddlvrinfo_gooddlvrlist.updatecontrol = false;
  969. dsf_setDefaultVal(ds_main_gooddlvrinfo_gooddlvrlist, "exchngqtyColor:,reqqtyColor:,rergstqtyColor:,lendqtyColor:,rgstqtyColor:,sumqtyColor:,sumflag:");
  970. //grd_gooddlvrlist.rebuildStyle();
  971. for(var i= 0; i < ds_main_gooddlvrinfo_gooddlvrlist.rowcount; i++){
  972. if(ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "deliveflag") == "2"){
  973. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "deliveflag", "1");
  974. }else if(ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "deliveflag") == "1"){
  975. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "deliveflag", "0");
  976. }
  977. var exchngflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "exchngflag");
  978. var reqqtyflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "reqqtyflag");
  979. var rergstflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "rergstflag");
  980. var lendflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "lendflag");
  981. var rgstqtyflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "rgstqtyflag");
  982. var sumflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "sumflag");
  983. if(exchngflag =="N"){
  984. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "exchngqtyColor", "#ff9900");
  985. }
  986. if(reqqtyflag =="N" ){
  987. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "reqqtyColor", "#ff9900");
  988. }
  989. if(rergstflag =="N"){
  990. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "rergstqtyColor", "#ff9900");
  991. }
  992. if(lendflag =="N"){
  993. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "lendqtyColor", "#ff9900");
  994. }
  995. if(rgstqtyflag =="N"){
  996. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "rgstqtyColor", "#ff9900");
  997. }
  998. if(sumflag =="N"){
  999. ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "sumqtyColor", "#ff9900");
  1000. }
  1001. }
  1002. ds_main_gooddlvrinfo_gooddlvrlist.updatecontrol = true;
  1003. ds_main_gooddlvrinfo_gooddlvrlist.enableevent = true;
  1004. }
  1005. }else if(srchflag == "dis"){
  1006. dsf_makeValue(ds_send_reqdata, "instcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "instcd"));
  1007. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "csrreqdeptcd"));
  1008. dsf_makeValue(ds_send_reqdata, "reqdeptcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqdeptcd"));
  1009. dsf_makeValue(ds_send_reqdata, "reqfromdd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqfromdd"));
  1010. dsf_makeValue(ds_send_reqdata, "reqtodd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqtodd"));
  1011. dsf_makeValue(ds_send_reqdata, "goodflag" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "goodflag"));
  1012. dsf_makeValue(ds_send_reqdata, "data" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "data"));
  1013. var oParam = {};
  1014. oParam.id = "TRMNG01702";
  1015. oParam.service = "csrapp.CsrMngt";
  1016. oParam.method = "reqGetGoodDisDlvrInfoList";
  1017. oParam.inds = "req=ds_send_reqdata";
  1018. oParam.outds = "ds_main_disgooddlvrinfo_disgooddlvrlist=disgooddlvrlist";
  1019. oParam.async = false;
  1020. oParam.callback = "cf_TRMNG01702";
  1021. tranf_submit(oParam);
  1022. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("addqty")) ){
  1023. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("addqty", "string");
  1024. }
  1025. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("exchngaddqty")) ){
  1026. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("exchngaddqty", "string");
  1027. }
  1028. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("lendaddqty")) ){
  1029. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("lendaddqty", "string");
  1030. }
  1031. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("rergstaddqty")) ){
  1032. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("rergstaddqty", "string");
  1033. }
  1034. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("rgstaddqty")) ){
  1035. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("rgstaddqty", "string");
  1036. }
  1037. if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("reqaddqty")) ){
  1038. ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("reqaddqty", "string");
  1039. }
  1040. if(arErrorCode.pop("TRMNG01702") > -1){
  1041. ds_send_reqdata.clearData();
  1042. }
  1043. }
  1044. }
  1045. function cf_TRMNG01701(sSvcId, nErrorCode, sErrorMsg) {
  1046. arErrorCode.push(sSvcId, nErrorCode);
  1047. }
  1048. function cf_TRMNG01702(sSvcId, nErrorCode, sErrorMsg) {
  1049. arErrorCode.push(sSvcId, nErrorCode);
  1050. }
  1051. //청구차수 선택시 상태값 변경
  1052. function fDeliveflagChg(){
  1053. var eryn = String(switch1.case1.chk_eryn.getData()).split(",");
  1054. var std = utlf_isSearchString(eryn, "1");
  1055. var er = utlf_isSearchString(eryn, "2");
  1056. if(std) {
  1057. switch1.case1.cmb_reqpridflag.enable = true;
  1058. if(utlf_isNull(ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"))){
  1059. switch1.case1.cmb_reqpridflag.value = "";
  1060. }else{
  1061. ds_cond_rtninfo.setColumn(0, "reqpridflag", ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"));
  1062. }
  1063. } else {
  1064. switch1.case1.cmb_reqpridflag.enable = false;
  1065. switch1.case1.cmb_reqpridflag.value = "-";
  1066. }
  1067. }
  1068. //청구구분 추가 by 박영우 20100201
  1069. function fGoodDvlOption(srchflag) {
  1070. if(srchflag == "dvr") {
  1071. //그리드 초기화
  1072. switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 0);
  1073. switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 0);
  1074. switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 0);
  1075. switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 0);
  1076. switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 0);
  1077. var reqallopt = ds_cond_gooddlvrinfo.getColumn(0, "reqallopt");
  1078. var reqoptflag = ds_cond_gooddlvrinfo.getColumn(0, "reqoptflag");
  1079. if(reqallopt == "Y") {
  1080. dsf_makeValue(ds_send_reqdata, "reqoptflag", "string", "1 2 3 4 5");
  1081. switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 46);
  1082. switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 46);
  1083. switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 46);
  1084. switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 46);
  1085. switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 46);
  1086. } else {
  1087. dsf_makeValue(ds_send_reqdata, "reqoptflag", "string", reqoptflag);
  1088. var reqopt = utlf_transNullToEmpty(reqoptflag).split(" ");
  1089. var exchnge, req, rergst, lend, rgst; //청구구분: 교환, 청구, 대여, 재멸균, 멸균의뢰
  1090. exchnge = req = rergst = lend = rgst = "N";
  1091. for(var i = 0; i < reqopt.length; i++) {
  1092. switch(Number(reqopt[i])) {
  1093. case 1:
  1094. exchnge = "Y";
  1095. switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 46);
  1096. break;
  1097. case 2:
  1098. req = "Y";
  1099. switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 46);
  1100. break;
  1101. case 3:
  1102. rergst = "Y";
  1103. switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 46);
  1104. break;
  1105. case 4:
  1106. lend = "Y";
  1107. switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 46);
  1108. break;
  1109. case 5:
  1110. rgst = "Y";
  1111. switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 46);
  1112. break;
  1113. default: exchnge = req = rergst = lend = rgst = "N"; break;
  1114. }
  1115. }
  1116. }
  1117. } else if(srchflag == "dis") {
  1118. //그리드 초기화
  1119. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 0);
  1120. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 0);
  1121. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 0);
  1122. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 0);
  1123. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 0);
  1124. var disreqoptflag = ds_cond_disgooddlvrinfo.getColumn(0, "disreqoptflag");
  1125. var disreqallopt = ds_cond_disgooddlvrinfo.getColumn(0, "disreqallopt");
  1126. if(disreqallopt == "Y") {
  1127. dsf_makeValue(ds_send_reqdata, "disreqoptflag", "string", "1 2 3 4 5");
  1128. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 46);
  1129. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 46);
  1130. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 46);
  1131. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 46);
  1132. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 46);
  1133. } else {
  1134. dsf_makeValue(ds_send_reqdata, "disreqoptflag", "string", disreqoptflag);
  1135. var disreqopt = utlf_transNullToEmpty(disreqoptflag).split(" ");
  1136. var exchnge, req, rergst, lend, rgst; //청구구분: 교환, 청구, 대여, 재멸균, 멸균의뢰
  1137. exchnge = req = rergst = lend = rgst = "N";
  1138. for(var i = 0; i < disreqopt.length; i++) {
  1139. switch(Number(disreqopt[i])) {
  1140. case 1:
  1141. exchnge = "Y";
  1142. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 46);
  1143. break;
  1144. case 2:
  1145. req = "Y";
  1146. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 46);
  1147. break;
  1148. case 3:
  1149. rergst = "Y";
  1150. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 46);
  1151. break;
  1152. case 4:
  1153. lend = "Y";
  1154. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 46);
  1155. break;
  1156. case 5:
  1157. rgst = "Y";
  1158. switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 46);
  1159. break;
  1160. default: exchnge = req = rergst = lend = rgst = "N"; break;
  1161. }
  1162. }
  1163. }
  1164. }
  1165. }
  1166. function switch1_case1_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1167. {
  1168. fGoodDvlSearch("dvr");
  1169. }
  1170. function switch1_case1_cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1171. {
  1172. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
  1173. dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
  1174. var oParam = {};
  1175. oParam.id = "TRMNG00402";
  1176. oParam.service = "csrapp.CsrMngt";
  1177. oParam.method = "getCsrDeptList";
  1178. oParam.inds = "req=ds_send_reqdata";
  1179. oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
  1180. oParam.async = false;
  1181. tranf_submit(oParam);
  1182. ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
  1183. if(ds_init_csrdeptlist.rowcount == 1 ){
  1184. ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
  1185. }else{
  1186. frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
  1187. switch1.case1.cmb_deptcd.value = "";
  1188. }
  1189. ds_send_reqdata.clearData();
  1190. fGoodDvlSearch("dvr");
  1191. }
  1192. function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
  1193. {
  1194. grdf_exportExcel(switch1.case1.grd_gooddlvrlist, "반납리스트" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  1195. }
  1196. function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
  1197. {
  1198. sysf_messageBox("개발중","I009");
  1199. }
  1200. function switch1_case1_rdo_reqdelrflag_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  1201. {
  1202. var reqdelrflag = rdo_reqdelrflag.value;
  1203. if(reqdelrflag == "ref") {
  1204. switch1.case1.grd_gooddlvrlist.setCellProperty("Head", 2, "text", "청구구분");
  1205. } else if(reqdelrflag == "dvr") {
  1206. switch1.case1.grd_gooddlvrlist.setCellProperty("Head", 2, "text", "불출구분");
  1207. }
  1208. }
  1209. function switch1_case1_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1210. {
  1211. fGoodDvlSearch("dvr");
  1212. }
  1213. function switch1_case1_chk_reqallopt_onclick(obj:CheckBox, e:ClickEventInfo)
  1214. {
  1215. var reqallopt = ds_cond_gooddlvrinfo.getColumn(0, "reqallopt");
  1216. if(reqallopt == "Y") {
  1217. switch1.case1.chk_reqoptflag.setCheckAll(false);
  1218. ds_cond_gooddlvrinfo.setColumn(0, "reqoptflag", "");
  1219. fGoodDvlSearch("dvr");
  1220. }
  1221. }
  1222. function switch1_case1_ipt_reqdata_onkeydown(obj:Edit, e:KeyEventInfo)
  1223. {
  1224. if(e.keycode == 13){
  1225. switch1_case1_btn_search_onclick();
  1226. }
  1227. }
  1228. function ds_main_disgooddlvrinfo_disgooddlvrlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1229. {
  1230. var nodlvqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvqty"));
  1231. var addqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "addqty"));
  1232. var exchngaddqty = 0;
  1233. var lendaddqty = 0;
  1234. var reqaddqty = 0;
  1235. var rgstaddqty = 0;
  1236. var rergstaddqty = 0;
  1237. //미불출수량을 가져온다.
  1238. var exchngqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvexchngqty"));
  1239. var reqqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvreqqty"));
  1240. var lendqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvlendqty"));
  1241. var rgstqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvrgstqty"));
  1242. var rergstqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvrergstqty"));
  1243. var tmpqty = 0; //임시로 값을 담을 변수
  1244. //계산을 위해 값이 없는 변수값의 경우에는 0으로 초기화. 아닌경우에는 그냥 둠.
  1245. if(utlf_isNull(addqty)) {
  1246. addqty = 0;
  1247. }
  1248. if(utlf_isNull(exchngqty)) {
  1249. exchngqty = 0;
  1250. }
  1251. if(utlf_isNull(reqqty)) {
  1252. reqqty = 0;
  1253. }
  1254. if(utlf_isNull(lendqty)) {
  1255. lendqty = 0;
  1256. }
  1257. if(utlf_isNull(rgstqty)) {
  1258. rgstqty = 0;
  1259. }
  1260. if(utlf_isNull(rergstqty)) {
  1261. rergstqty = 0;
  1262. }
  1263. if( switch1.case3.grd_disgooddlvrlist.getCellPos("addqty") == switch1.case3.grd_disgooddlvrlist.currentcol) {
  1264. if( parseInt(nodlvqty) < parseInt(addqty) ) {
  1265. sysf_messageBox("추가불출은 미불출 수량보다 클 수 없습니다.", "E");
  1266. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "addqty", 0);
  1267. ds_main_disgooddlvrinfo_disgooddlvrlist.enableevent = false;
  1268. ds_main_disgooddlvrinfo_disgooddlvrlist.updatecontrol = false;
  1269. ds_main_disgooddlvrinfo_disgooddlvrlist.setRowType(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "1");
  1270. ds_main_disgooddlvrinfo_disgooddlvrlist.updatecontrol = true;
  1271. ds_main_disgooddlvrinfo_disgooddlvrlist.enableevent = true;
  1272. return;
  1273. } else {
  1274. //교환수량이 총 추가불출 수량보다 클경우( 내부적인 추가 교환수량을 불출할 수량 계산함.) 교환이 1순위
  1275. if(exchngqty > 0) {
  1276. if(exchngqty > addqty) {
  1277. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "exchngaddqty", addqty);
  1278. } else {
  1279. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "exchngaddqty", exchngqty);
  1280. tmpqty = addqty - exchngqty;
  1281. if(tmpqty == 0) {
  1282. return;
  1283. }
  1284. if(lendqty > tmpqty) {
  1285. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", tmpqty);
  1286. } else {
  1287. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", lendqty);
  1288. tmpqty = tmpqty - lendqty;
  1289. if(tmpqty == 0) {
  1290. return;
  1291. }
  1292. if(rgstqty > tmpqty) {
  1293. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", tmpqty);
  1294. } else {
  1295. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", rgstqty);
  1296. tmpqty = tmpqty - rgstqty;
  1297. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
  1298. }
  1299. }
  1300. }
  1301. } else if(lendqty > 0) {
  1302. if(lendqty > addqty) {
  1303. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", addqty);
  1304. } else {
  1305. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", lendqty);
  1306. tmpqty = tmpqty - lendqty;
  1307. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
  1308. }
  1309. } else if(reqqty > 0) {
  1310. if(reqqty > addqty) {
  1311. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "reqaddqty", addqty);
  1312. } else {
  1313. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "reqaddqty", reqqty);
  1314. tmpqty = tmpqty - lendqty;
  1315. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
  1316. }
  1317. } else if(rgstqty > 0) {
  1318. if(lendqty > addqty) {
  1319. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", addqty);
  1320. } else {
  1321. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", rgstqty);
  1322. tmpqty = tmpqty - lendqty;
  1323. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
  1324. }
  1325. } else {
  1326. ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", rergstqty);
  1327. }
  1328. }
  1329. }
  1330. }
  1331. function switch1_case3_button3_onclick(obj:Button, e:ClickEventInfo)
  1332. {
  1333. grdf_exportExcel(switch1.case3.grd_disgooddlvrlist, "미반납내역" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  1334. }
  1335. function switch1_case3_button6_onclick(obj:Button, e:ClickEventInfo)
  1336. {
  1337. fGoodDvlSearch("dis");
  1338. }
  1339. function switch1_case3_button7_onclick(obj:Button, e:ClickEventInfo)
  1340. {
  1341. sysf_messageBox("개발중","I009");
  1342. }
  1343. function switch1_case3_cmb_discsrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1344. {
  1345. dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case3.cmb_discsrreqdeptcd.value);
  1346. dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
  1347. var oParam = {};
  1348. oParam.id = "TRMNG00402";
  1349. oParam.service = "csrapp.CsrMngt";
  1350. oParam.method = "getCsrDeptList";
  1351. oParam.inds = "req=ds_send_reqdata";
  1352. oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
  1353. oParam.async = false;
  1354. tranf_submit(oParam);
  1355. ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
  1356. if(ds_hidden_csrdeptlist.rowcount == 1 ){
  1357. ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", ds_hidden_csrdeptlist.getColumn(0, "deptcd"));
  1358. }else{
  1359. frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
  1360. switch1.case3.cmb_disdeptcd.value = "";
  1361. }
  1362. ds_send_reqdata.clearData();
  1363. fGoodDvlSearch("dis");
  1364. }
  1365. function switch1_case3_cmb_disdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1366. {
  1367. fGoodDvlSearch("dis");
  1368. }
  1369. function switch1_case3_chk_disreqallopt_onclick(obj:CheckBox, e:ClickEventInfo)
  1370. {
  1371. var reqallopt = ds_cond_disgooddlvrinfo.getColumn(0, "disreqallopt");
  1372. if(reqallopt == "Y") {
  1373. switch1.case3.chk_disreqoptflag.setCheckAll(false);
  1374. ds_cond_disgooddlvrinfo.setColumn(0, "disreqoptflag", "");
  1375. fGoodDvlSearch("dis");
  1376. }
  1377. }
  1378. function switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
  1379. {
  1380. var updtdata = grdf_getGridUpdateData(switch1.case3.grd_disgooddlvrlist, 'all');
  1381. if(utlf_isNull(updtdata) || updtdata.rowcount == 0) {
  1382. sysf_messageBox("변경된 내역이 없습니다.", "E");
  1383. return;
  1384. }
  1385. ds_send_savedata.copyData(updtdata, true);
  1386. var oParam = {};
  1387. oParam.id = "TRMNG01702";
  1388. oParam.service = "csrapp.CsrMngt";
  1389. oParam.method = "reqExeDisGoodDlvrList";
  1390. oParam.inds = "req=ds_send_savedata";
  1391. oParam.outds = "";
  1392. oParam.async = false;
  1393. oParam.callback = "cf_TRMNG01702";
  1394. tranf_submit(oParam);
  1395. if(arErrorCode.pop("TRMNG01702") > -1) {
  1396. sysf_messageBox("저장되었습니다", "I");
  1397. fGoodDvlSearch("dis");
  1398. }
  1399. }
  1400. function cf_TRMNG01702(sSvcId, nErrorCode, sErrorMsg) {
  1401. arErrorCode.push(sSvcId, nErrorCode);
  1402. }
  1403. function switch1_case3_ipt_disdata_onkeydown(obj:Edit, e:KeyEventInfo)
  1404. {
  1405. if(e.keycode == 13){
  1406. switch1_case3_button6_onclick();
  1407. }
  1408. }
  1409. ]]></Script>
  1410. </Form>
  1411. </FDL>