1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNG01700" position="absolute 0 0 1241 739" titletext="(미)불출내역조회" oninit="SMMNG01700_oninit" onload="SMMNG01700_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 25 1234 732" id="switch1">
- <Tabpages>
- <Tabpage text="불출내역조회" id="case1">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 5 1231 92" id="roundrect2" type="roundrectangle"/>
- <Button position="absolute 1050 25 1106 47" id="btn_search" class="btn1" text="조회" onclick="switch1_case1_btn_search_onclick"/>
- <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line4" class="line_4"/>
- <Static text="불출내역조회" position="absolute 3 99 119 116" id="caption1" class="tit_2"/>
- <Shape position="absolute 3 115 1233 121" linetype="horizontal" id="line1" class="line_10"/>
- <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"/>
- <Static text="부서구분 :" position="absolute 240 17 334 31" id="caption20" class="search_name"/>
- <Static text="청구차수 :" position="absolute 10 40 96 57" id="caption2" class="search_name"/>
- <Static text="조회일자 :" position="absolute 615 15 701 32" id="caption24" class="search_name"/>
- <Static text="기관코드 :" position="absolute 10 15 96 32" id="caption14" class="search_name"/>
- <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"/>
- <Button position="absolute 1108 25 1164 47" id="button1" class="btn7" text="엑셀" onclick="switch1_case1_button1_onclick"/>
- <Button position="absolute 1166 25 1222 47" id="button5" class="btn6" text="출력" onclick="switch1_case1_button5_onclick"/>
- <Radio position="absolute 410 39 560 59" id="rdo_reqdelrflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="switch1_case1_rdo_reqdelrflag_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">ref</Col>
- <Col id="datacolumn">청구기준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">dvr</Col>
- <Col id="datacolumn">불출기준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="구 분 :" position="absolute 325 42 416 56" id="cap_indschflag" class="search_name"/>
- <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"/>
- <Static text="청구부서 :" position="absolute 425 15 515 32" id="caption10" class="search_name"/>
- <Static text="~" position="absolute 902 15 914 32" id="caption11" class="search_no_b"/>
- <Grid position="absolute 3 120 1233 680" id="grd_gooddlvrlist" class="datagrid2" binddataset="ds_main_gooddlvrinfo_gooddlvrlist" cellsizebandtype="allband" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="41" band="left"/>
- <Column size="72" band="left"/>
- <Column size="69" band="left"/>
- <Column size="88" band="left"/>
- <Column size="37" band="left"/>
- <Column size="34" band="left"/>
- <Column size="81" band="left"/>
- <Column size="79" band="left"/>
- <Column size="100" band="left"/>
- <Column size="199" band="left"/>
- <Column size="100" band="left"/>
- <Column size="0"/>
- <Column size="46"/>
- <Column size="44"/>
- <Column size="48"/>
- <Column size="43"/>
- <Column size="44"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="34"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="33" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="불출구분"/>
- <Cell col="3" text="청구부서명"/>
- <Cell col="4" text="청구일자"/>
- <Cell col="5" text="청구 차수"/>
- <Cell col="6" text="응급 여부"/>
- <Cell col="7" text="멸균구분"/>
- <Cell col="8" text="물품구분"/>
- <Cell col="9" text="물품코드"/>
- <Cell col="10" text="물품명"/>
- <Cell col="11" text="규격"/>
- <Cell col="12" text="모델"/>
- <Cell col="13" text="교환"/>
- <Cell col="14" text="청구"/>
- <Cell col="15" text="재멸균"/>
- <Cell col="16" text="대여"/>
- <Cell col="17" text="멸균 의뢰"/>
- <Cell col="18" text="비고"/>
- <Cell col="19" text="total 수량"/>
- <Cell col="20" text="불출 수량"/>
- <Cell col="21" text="미불출수량"/>
- <Cell col="22" text="미불출사유"/>
- <Cell col="23" text="미불출사유비고"/>
- <Cell col="24" text="청구일시"/>
- <Cell col="25" text="청구자"/>
- <Cell col="26" text="확인일시"/>
- <Cell col="27" text="확인자"/>
- <Cell col="28" text="불출일시"/>
- <Cell col="29" text="불출자"/>
- <Cell col="30" text="exchngflag"/>
- <Cell col="31" text="reqqtyflag"/>
- <Cell col="32" text="rergstflag"/>
- <Cell col="33" text="lendflag"/>
- <Cell col="34" text="rgstqtyflag"/>
- <Cell col="35" text="sumflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <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"/>
- <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"/>
- <Cell col="3" displaytype="normal" edittype="none" text="bind:reqdeptnm" enable="false"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:reqdd" editautoselect="true" calendardisplaynulltype="none" enable="false"/>
- <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"/>
- <Cell col="6" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #9ebed4ff ;" text="bind:deliveflag" enable="false"/>
- <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"/>
- <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"/>
- <Cell col="9" text="bind:goodcd"/>
- <Cell col="10" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="12" text="bind:goodmodel"/>
- <Cell col="13" style="background:EXPR(exchngqtyColor);background2:EXPR(exchngqtyColor);" text="bind:exchngqty"/>
- <Cell col="14" style="background:EXPR(reqqtyColor);background2:EXPR(reqqtyColor);" text="bind:reqqty"/>
- <Cell col="15" style="background:EXPR(rergstqtyColor);background2:EXPR(rergstqtyColor);" text="bind:rergstqty"/>
- <Cell col="16" style="background:EXPR(lendqtyColor);background2:EXPR(lendqtyColor);" text="bind:lendqty"/>
- <Cell col="17" style="background:EXPR(rgstqtyColor);background2:EXPR(rgstqtyColor);" text="bind:rgstqty"/>
- <Cell col="18" text="bind:cmt"/>
- <Cell col="19" style="background:EXPR(sumqtyColor);background2:EXPR(sumqtyColor);" text="bind:sumqty"/>
- <Cell col="20" text="bind:dlvqty"/>
- <Cell col="21" text="bind:nodlvqty"/>
- <Cell col="22" displaytype="combo" edittype="combo" text="bind:exchngcmt" enable="false"/>
- <Cell col="23" text="bind:devlcmt"/>
- <Cell col="24" text="bind:reqtm" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="25" text="bind:reqpsnnm"/>
- <Cell col="26" text="bind:certdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="27" text="bind:certnm"/>
- <Cell col="28" text="bind:delivedt" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="29" text="bind:delivepsnnm"/>
- <Cell col="30" text="bind:exchngflag"/>
- <Cell col="31" text="bind:reqqtyflag"/>
- <Cell col="32" text="bind:rergstflag"/>
- <Cell col="33" text="bind:lendflag"/>
- <Cell col="34" text="bind:rgstqtyflag"/>
- <Cell col="35" text="bind:sumflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="청구구분 :" position="absolute 615 41 709 57" id="caption12" class="search_name"/>
- <CheckBox position="absolute 705 39 755 59" id="chk_reqallopt" text="전체" truevalue="Y" falsevalue=" " onclick="switch1_case1_chk_reqallopt_onclick"/>
- <Radio position="absolute 705 15 805 31" id="rdo_dlvflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">청구</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">불출</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="구 분 :" position="absolute 10 65 116 82" id="caption15" class="search_name"/>
- <Radio position="absolute 100 67 225 82" id="rdo_goodflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">물품명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 230 65 375 84" id="ipt_reqdata" class="input_search" autoselect="true" onkeydown="switch1_case1_ipt_reqdata_onkeydown"/>
- <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"/>
- <Combo position="absolute 145 38 210 57" id="cmb_reqpridflag" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1차</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2차</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3차</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <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"/>
- <Calendar id="ipt_reqfrdd" taborder="3" class="input_s_essential" position="absolute 810 14 900 33" autoselect="true" autoskip="true"/>
- <Calendar id="input3" taborder="4" class="input_s_essential" position="absolute 915 14 1005 33" autoselect="true"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="미불출내역조회" id="case3">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 3 1232 75" id="roundrect1" type="roundrectangle"/>
- <Static text="미불출내역조회" position="absolute 3 79 127 96" id="caption3" class="tit_2"/>
- <Grid position="absolute 2 100 1232 677" id="grd_disgooddlvrlist" binddataset="ds_main_disgooddlvrinfo_disgooddlvrlist" cellsizingtype="both" autoenter="select" cellsizebandtype="allband" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="36"/>
- <Column size="89"/>
- <Column size="155"/>
- <Column size="77"/>
- <Column size="0"/>
- <Column size="46"/>
- <Column size="43"/>
- <Column size="44"/>
- <Column size="43"/>
- <Column size="40"/>
- <Column size="43"/>
- <Column size="40"/>
- <Column size="43"/>
- <Column size="44"/>
- <Column size="43"/>
- <Column size="45"/>
- <Column size="46"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="청구일자" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="청구부서명" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="청구 차수" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="물품코드" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="물품명" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="규격" taborder="undefined"/>
- <Cell col="7" text="모델"/>
- <Cell col="8" colspan="2" text="교환" taborder="undefined"/>
- <Cell col="10" colspan="2" text="청구" taborder="undefined"/>
- <Cell col="12" colspan="2" text="재멸균" taborder="undefined"/>
- <Cell col="14" colspan="2" text="대여" taborder="undefined"/>
- <Cell col="16" colspan="2" text="멸균" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="미불출 수량" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="추가 불출" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="미불출사유" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="청구일시" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="청구자" taborder="undefined"/>
- <Cell col="23" text="확인자"/>
- <Cell col="24" text="instcd"/>
- <Cell col="25" text="reqno"/>
- <Cell col="26" text="reqseqno"/>
- <Cell col="27" text="exchngaddqty"/>
- <Cell col="28" text="lendaddqty"/>
- <Cell col="29" text="reqaddqty"/>
- <Cell col="30" text="rgstaddqty"/>
- <Cell col="31" text="rergstaddqty"/>
- <Cell col="32" text="nodlvexchngqty"/>
- <Cell col="33" text="nodlvlendqty"/>
- <Cell col="34" text="nodlvreqqty"/>
- <Cell col="35" text="nodlvrgstqty"/>
- <Cell col="36" text="nodlvrergstqty"/>
- <Cell col="37" text="reqdpetcd"/>
- <Cell col="38" text="goodflag"/>
- <Cell col="39" text="reqflag"/>
- <Cell col="40" text="deliveunit"/>
- <Cell col="41" text="reqdivs"/>
- <Cell row="1" col="7" text="모델"/>
- <Cell row="1" col="8" text="확인"/>
- <Cell row="1" col="9" text="미불출"/>
- <Cell row="1" col="10" text="확인"/>
- <Cell row="1" col="11" text="미불출"/>
- <Cell row="1" col="12" text="확인"/>
- <Cell row="1" col="13" text="미불출"/>
- <Cell row="1" col="14" text="확인"/>
- <Cell row="1" col="15" text="미불출"/>
- <Cell row="1" col="16" text="확인"/>
- <Cell row="1" col="17" text="미불출"/>
- <Cell row="1" col="23" text="확인자"/>
- <Cell row="1" col="24" text="instcd"/>
- <Cell row="1" col="25" text="reqno"/>
- <Cell row="1" col="26" text="reqseqno"/>
- <Cell row="1" col="27" text="exchngaddqty"/>
- <Cell row="1" col="28" text="lendaddqty"/>
- <Cell row="1" col="29" text="reqaddqty"/>
- <Cell row="1" col="30" text="rgstaddqty"/>
- <Cell row="1" col="31" text="rergstaddqty"/>
- <Cell row="1" col="32" text="nodlvexchngqty"/>
- <Cell row="1" col="33" text="nodlvlendqty"/>
- <Cell row="1" col="34" text="nodlvreqqty"/>
- <Cell row="1" col="35" text="nodlvrgstqty"/>
- <Cell row="1" col="36" text="nodlvrergstqty"/>
- <Cell row="1" col="37" text="reqdpetcd"/>
- <Cell row="1" col="38" text="goodflag"/>
- <Cell row="1" col="39" text="reqflag"/>
- <Cell row="1" col="40" text="deliveunit"/>
- <Cell row="1" col="41" text="reqdivs"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:reqdd" editautoselect="true" calendardisplaynulltype="none" enable="false"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:reqdeptnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:reqpridflag" combodataset="ds_cbo_reqpridflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="4" text="bind:goodcd"/>
- <Cell col="5" style="align:left top;padding:5 2 1 2;" text="bind:goodnm" wordwrap="word"/>
- <Cell col="6" style="align:left top;padding:5 2 1 2;" text="bind:goodspec" wordwrap="word"/>
- <Cell col="7" text="bind:goodmodel"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="bind:exchngqty" editautoselect="true"/>
- <Cell col="9" displaytype="number" style="align:right middle;" text="bind:nodlvexchngqty" editautoselect="true"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="bind:reqqty" editautoselect="true"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="bind:nodlvreqqty" editautoselect="true"/>
- <Cell col="12" displaytype="number" style="align:right middle;" text="bind:rergstqty" editautoselect="true"/>
- <Cell col="13" displaytype="number" style="align:right middle;" text="bind:nodlvrergstqty" editautoselect="true"/>
- <Cell col="14" displaytype="number" style="align:right middle;" text="bind:lendqty" editautoselect="true"/>
- <Cell col="15" displaytype="number" style="align:right middle;" text="bind:nodlvlendqty" editautoselect="true"/>
- <Cell col="16" displaytype="number" style="align:right middle;" text="bind:rgstqty" editautoselect="true"/>
- <Cell col="17" displaytype="number" style="align:right middle;" text="bind:nodlvrgstqty" editautoselect="true"/>
- <Cell col="18" displaytype="number" style="align:right middle;" text="bind:nodlvqty" editautoselect="true"/>
- <Cell col="19" displaytype="number" edittype="masknumber" style="align:right middle;" text="bind:addqty" mask="#,###" maskchar=" " editautoselect="true"/>
- <Cell col="20" displaytype="combo" edittype="combo" text="bind:exchngcmt" combodataset="ds_cbo_exchngcmt" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="21" displaytype="text" text="bind:reqtm" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="22" text="bind:reqpsnnm"/>
- <Cell col="23" text="bind:certnm"/>
- <Cell col="24" text="bind:instcd"/>
- <Cell col="25" text="bind:reqno"/>
- <Cell col="26" text="bind:reqseqno"/>
- <Cell col="27" text="bind:exchngaddqty"/>
- <Cell col="28" text="bind:lendaddqty"/>
- <Cell col="29" text="bind:reqaddqty"/>
- <Cell col="30" text="bind:rgstaddqty"/>
- <Cell col="31" text="bind:rergstaddqty"/>
- <Cell col="32" text="bind:nodlvexchngqty"/>
- <Cell col="33" text="bind:nodlvlendqty"/>
- <Cell col="34" text="bind:nodlvreqqty"/>
- <Cell col="35" text="bind:nodlvrgstqty"/>
- <Cell col="36" text="bind:nodlvrergstqty"/>
- <Cell col="37" text="bind:reqdeptcd"/>
- <Cell col="38" text="bind:goodflag"/>
- <Cell col="39" text="bind:reqflag"/>
- <Cell col="40" text="bind:deliveunit"/>
- <Cell col="41" text="bind:reqdivs"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1108 25 1164 47" id="button3" class="btn7" text="엑셀" onclick="switch1_case3_button3_onclick"/>
- <Button position="absolute 1050 25 1106 47" id="button6" class="btn1" text="조회" onclick="switch1_case3_button6_onclick"/>
- <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"/>
- <Button position="absolute 1166 25 1222 47" id="button7" class="btn6" text="출력" onclick="switch1_case3_button7_onclick"/>
- <Static text="부서구분 :" position="absolute 250 14 344 31" id="caption4" class="search_name"/>
- <Static text="청구일자 :" position="absolute 685 14 771 31" id="caption7" class="search_name"/>
- <Static text="기관코드 :" position="absolute 10 14 96 31" id="caption8" class="search_name"/>
- <Shape position="absolute 1037 20 1043 52" linetype="vertical" id="line2" class="line_4"/>
- <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"/>
- <Static text="~" position="absolute 885 16 897 33" id="caption5" class="search_no_b"/>
- <Static text="청구부서 :" position="absolute 467 14 553 31" id="caption9" class="search_name"/>
- <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"/>
- <Shape position="absolute 2 95 1232 101" linetype="horizontal" id="line3" class="line_10"/>
- <Static text="청구구분 :" position="absolute 615 45 709 62" id="caption13" class="search_name"/>
- <CheckBox position="absolute 705 43 755 63" id="chk_disreqallopt" text="전체" truevalue="Y" falsevalue=" " onclick="switch1_case3_chk_disreqallopt_onclick"/>
- <Button position="absolute 1189 77 1231 96" id="button2" class="btn5" text="불출" onclick="switch1_case3_button2_onclick"/>
- <Edit position="absolute 230 42 375 61" id="ipt_disdata" class="input_search" autoselect="true" onkeydown="switch1_case3_ipt_disdata_onkeydown"/>
- <Radio position="absolute 100 44 225 60" id="rdo_disgoodflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">물품코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">물품명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="구 분 :" position="absolute 10 45 116 62" id="caption16" class="search_name"/>
- <Calendar id="input1" taborder="2" class="input_s_essential" position="absolute 780 13 880 32" autoselect="true" autoskip="true"/>
- <Calendar id="input2" taborder="3" class="input_s_essential" position="absolute 900 13 1000 32" autoselect="true"/>
- <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"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="(미)불출내역조회" class="tit_1" position="absolute 0 0 189 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_Z0007" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond_gooddlvrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="csrreqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="reqpridflag" type="STRING" size="256"/>
- <Column id="deliveflag" type="STRING" size="256"/>
- <Column id="reqdelrflag" type="STRING" size="256"/>
- <Column id="reqoptflag" type="STRING" size="256"/>
- <Column id="reqallopt" type="STRING" size="256"/>
- <Column id="dlvflag" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="data" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="csrreqdeptcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="reqpridflag"/>
- <Col id="deliveflag">1</Col>
- <Col id="reqdelrflag">dvr</Col>
- <Col id="reqoptflag"/>
- <Col id="reqallopt"/>
- <Col id="dlvflag">1</Col>
- <Col id="goodflag">02</Col>
- <Col id="data"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond_disgooddlvrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="csrreqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="disreqoptflag" type="STRING" size="256"/>
- <Column id="disreqallopt" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="data" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="csrreqdeptcd"/>
- <Col id="reqdeptcd"/>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="disreqoptflag"/>
- <Col id="disreqallopt">Y</Col>
- <Col id="goodflag">02</Col>
- <Col id="data"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_goodreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp_csrreqdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_deptcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_csrdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_gooddlvrinfo_gooddlvrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <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"/>
- <Dataset id="ds_chk_eryn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">정규</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_reqoptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">교환</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">청구</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">재멸균</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">대여</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">멸균의뢰</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
- <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서명"/>
- <Column id="exchngqty" type="STRING" size="256" sumtext="교환"/>
- <Column id="reqqty" type="STRING" size="256" sumtext="청구"/>
- <Column id="rergstqty" type="STRING" size="256" sumtext="재멸균"/>
- <Column id="lendqty" type="STRING" size="256" sumtext="대여"/>
- <Column id="rgstqty" type="STRING" size="256" sumtext="멸균의뢰"/>
- <Column id="csrreqdeptcd" type="STRING" size="256" sumtext="부서구분"/>
- <Column id="reqpridflag" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="nodlvqty" type="STRING" size="256" sumtext="미불출수량"/>
- <Column id="exchngcmt" type="STRING" size="256" sumtext="미불출사유"/>
- <Column id="reqtm" type="STRING" size="256" sumtext="청구일시"/>
- <Column id="reqpsnnm" type="STRING" size="256" sumtext="청구자"/>
- <Column id="certdt" type="STRING" size="256" sumtext="확인일시"/>
- <Column id="certnm" type="STRING" size="256" sumtext="확인자"/>
- <Column id="addqty" type="STRING" size="256" sumtext="추가불출"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
- <Column id="exchngaddqty" type="STRING" size="256" sumtext="추가교환"/>
- <Column id="lendaddqty" type="STRING" size="256" sumtext="추가대여"/>
- <Column id="rgstaddqty" type="STRING" size="256" sumtext="추가멸균"/>
- <Column id="reqaddqty" type="STRING" size="256" sumtext="추가청구"/>
- <Column id="rergstaddqty" type="STRING" size="256" sumtext="추가재멸"/>
- <Column id="nodlvexchngqty" type="STRING" size="256" sumtext="추가교환"/>
- <Column id="nodlvlendqty" type="STRING" size="256" sumtext="추가대여"/>
- <Column id="nodlvrgstqty" type="STRING" size="256" sumtext="추가멸균"/>
- <Column id="nodlvreqqty" type="STRING" size="256" sumtext="추가청구"/>
- <Column id="nodlvrergstqty" type="STRING" size="256" sumtext="추가재멸"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
- <Column id="reqdivs" type="STRING" size="256" sumtext="불출단위"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_rtninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_tmlist_reqseqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cbo_reqdivs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">청구</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">마감</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">확인</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">불출</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">반납</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_dlvrflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">일반</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">가스불출</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">추가불출</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_dinfdivs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">고압증기멸균</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">가스멸균</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">건열멸균</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">플라즈마멸균</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">비품</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">소모품</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">멸균의뢰</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">린넨</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_reqpridflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">1차</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2차</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">3차</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">4차</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">5차</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_exchngcmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입력에러</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">과량청구</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">공급실수량부족</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item5" compid="switch1.case1.input3" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqtodd"/>
- <BindItem id="item4" compid="switch1.case1.ipt_reqfrdd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqfromdd"/>
- <BindItem id="item0" compid="switch1.case1.cmb_instcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="instcd"/>
- <BindItem id="item1" compid="switch1.case1.cmb_csrreqdeptcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="csrreqdeptcd"/>
- <BindItem id="item2" compid="switch1.case1.cmb_deptcd" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqdeptcd"/>
- <BindItem id="item3" compid="switch1.case1.rdo_dlvflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="dlvflag"/>
- <BindItem id="item6" compid="switch1.case1.cmb_reqpridflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqpridflag"/>
- <BindItem id="item7" compid="switch1.case1.rdo_reqdelrflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqdelrflag"/>
- <BindItem id="item8" compid="switch1.case1.chk_reqallopt" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="reqallopt"/>
- <BindItem id="item9" compid="switch1.case1.rdo_goodflag" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="goodflag"/>
- <BindItem id="item10" compid="switch1.case1.ipt_reqdata" propid="value" datasetid="ds_cond_gooddlvrinfo" columnid="data"/>
- <BindItem id="item11" compid="switch1.case3.cmb_disinstcd2" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="instcd"/>
- <BindItem id="item12" compid="switch1.case3.cmb_discsrreqdeptcd" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="csrreqdeptcd"/>
- <BindItem id="item13" compid="switch1.case3.cmb_disdeptcd" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqdeptcd"/>
- <BindItem id="item14" compid="switch1.case3.input1" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqfromdd"/>
- <BindItem id="item15" compid="switch1.case3.input2" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="reqtodd"/>
- <BindItem id="item16" compid="switch1.case3.rdo_disgoodflag" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="goodflag"/>
- <BindItem id="item17" compid="switch1.case3.ipt_disdata" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="data"/>
- <BindItem id="item18" compid="switch1.case3.chk_disreqallopt" propid="value" datasetid="ds_cond_disgooddlvrinfo" columnid="disreqallopt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SMMNG01700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_setRowTypeIcon(switch1.case3.grd_disgooddlvrlist, 0);
- //grdf_setRowTypeIcon(switch1.case1.grd_gooddlvrlist, 0);
- }
- function fn_eryn(){
- fDeliveflagChg();
- }
- function fn_reqoptflag(){
- //var reqoptflag = ds_cond_gooddlvrinfo.getColumn(0, "reqdelrflag");
- var reqoptflag = String(switch1.case1.chk_reqoptflag.getData()).split(",");
- if(!utlf_isNull(reqoptflag)) switch1.case1.chk_reqallopt.value = "";
-
- var getData = String(switch1.case1.chk_reqoptflag.getData()).replace(","," ");
- ds_cond_gooddlvrinfo.setColumn(0, "reqoptflag", getData);
- if(!utlf_isNull(getData)) switch1.case1.chk_reqallopt.value = "";
- }
- function fn_disreqoptflag(){
- var getData = String(switch1.case3.chk_disreqoptflag.getData()).replace(","," ");
- ds_cond_disgooddlvrinfo.setColumn(0, "disreqoptflag", getData);
- if(!utlf_isNull(getData)) switch1.case3.chk_disreqallopt.value = "";
- }
- function SMMNG01700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(switch1.case1.grd_gooddlvrlist);
-
- var sProp = "col=2,row=1,cellspacing=2,vcellspacing=0,itemWidth=112,itemHeight=20,overflow='visible'";
- switch1.case1.chk_eryn.setInitComp(sProp, ds_chk_eryn,"value","label", "fn_eryn");
-
- var sProp = "col=5,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- switch1.case1.chk_reqoptflag.setInitComp(sProp, ds_chk_reqoptflag,"value","label", "fn_reqoptflag");
-
- var sProp = "col=5,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- switch1.case3.chk_disreqoptflag.setInitComp(sProp, ds_chk_reqoptflag, "value", "label", "fn_disreqoptflag");
-
- var getData = utlf_transNullToEmpty(ds_cond_gooddlvrinfo.getColumn(0, "deliveflag")).split(" ");
- switch1.case1.chk_eryn.setData(getData,null,false);
-
- var getData = utlf_transNullToEmpty(ds_cond_gooddlvrinfo.getColumn(0, "reqoptflag")).split(" ");
- switch1.case1.chk_reqoptflag.setData(getData,null,false);
-
- var getData = utlf_transNullToEmpty(ds_cond_disgooddlvrinfo.getColumn(0, "disreqoptflag")).split(" ");
- switch1.case3.chk_disreqoptflag.setData(getData,null,false);
-
- var getDeptcd = opener.frmf_getParameter("deptcd");
-
- dsf_makeValue(ds_send_reqdata, "reqdeptcd", "string", sysf_getUserInfo("dutplcecd"));
- dsf_makeValue(ds_send_reqdata, "instcd" , "string", sysf_getUserInfo("dutplceinstcd"));
- fDeliveflagChg();//청구차수 선택시 상태값 변경
- ds_send_reqdata.clearData();
- var arrParam = [{dsNm: "ds_Z0007", cdGrpId: "Z0007"}
- ]
- appf_getCodeList(arrParam);
-
- ds_cond_gooddlvrinfo.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_cond_disgooddlvrinfo.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue(ds_send_goodreq, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue(ds_send_goodreq, "useyn", "string", "Y");
-
- var oParam = {};
- oParam.id = "TRMNG00401";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetDeptFlagList";
- oParam.inds = "req=ds_send_goodreq";
- oParam.outds = "ds_temp_csrreqdeptlist=csrreqdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
- ds_hidden_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
- ds_tmp_csrreqdeptlist.copyData(ds_temp_csrreqdeptlist);
-
- ds_send_goodreq.clearData();
-
- frmf_addComboItem( "switch1.case1.cmb_csrreqdeptcd", "전체", "", "above");
- frmf_addComboItem( "switch1.case3.cmb_discsrreqdeptcd", "전체", "", "above");
- switch1.case1.cmb_csrreqdeptcd.value = "";
- switch1.case3.cmb_discsrreqdeptcd.value = "";
-
- dsf_makeValue(ds_send_reqdata, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- if(!utlf_isNull(getDeptcd)){
- dsf_makeValue(ds_send_reqdata, "deptcd", "string", getDeptcd);
- }else{
- dsf_makeValue(ds_send_reqdata, "deptcd", "string", sysf_getUserInfo("dutplcecd"));
- }
- dsf_makeValue(ds_send_reqdata, "refcond", "string", "deptcd");
- var oParam = {};
- oParam.id = "TRMNG00303";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetCsrDeptList2";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_deptcodelist=deptcodelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_deptcodelist.copyData(ds_temp_deptcodelist);
- ds_hidden_deptcodelist.copyData(ds_temp_deptcodelist);
-
- ds_cond_gooddlvrinfo.setColumn(0, "csrreqdeptcd", ds_init_deptcodelist.getColumn(0, "csrreqdeptcd2"));
- ds_cond_disgooddlvrinfo.setColumn(0, "csrreqdeptcd", ds_hidden_deptcodelist.getColumn(0, "csrreqdeptcd2"));
-
- ds_send_reqdata.clearData();
-
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
- ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
-
- //전체 조회되도록 수정 by 박영우 2010-03-05
- frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
- frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
-
- switch1.case1.cmb_deptcd.value = "";
- switch1.case3.cmb_disdeptcd.value = "";
-
- if(!utlf_isNull(getDeptcd)){
- ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", getDeptcd);
- ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", getDeptcd);
- }else{
- ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
- ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", ds_hidden_csrdeptlist.getColumn(0, "deptcd"));
- }
-
- ds_cond_gooddlvrinfo.setColumn(0, "reqfromdd", utlf_getCurrentDate());
- ds_cond_gooddlvrinfo.setColumn(0, "reqtodd", utlf_getCurrentDate());
- ds_cond_disgooddlvrinfo.setColumn(0, "reqfromdd", utlf_getCurrentDate());
- ds_cond_disgooddlvrinfo.setColumn(0, "reqtodd", utlf_getCurrentDate());
-
- ds_send_reqdata.clearData();
-
- ds_main_gooddlvrinfo_gooddlvrlist.clearData();
- ds_main_disgooddlvrinfo_disgooddlvrlist.clearData();
-
- ds_cond_gooddlvrinfo.setColumn(0, "reqallopt", "Y");
-
- switch1.tabindex = 1;
- }
- //불출 및 미불출 내역 조회
- //(srchflag : dvr->불출,dis->미불출)
- function fGoodDvlSearch(srchflag){
-
- fGoodDvlOption(srchflag); //불출 및 미불출에 따른 청구구분 조건
-
- if(srchflag == "dvr"){
- dsf_makeValue(ds_send_reqdata, "instcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "instcd"));
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "csrreqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "reqdeptcd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "reqfromdd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqfromdd"));
- dsf_makeValue(ds_send_reqdata, "reqtodd" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqtodd"));
- dsf_makeValue(ds_send_reqdata, "dlvflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "dlvflag"));
-
- if(ds_cond_gooddlvrinfo.getColumn(0, "reqpridflag") == "-"){
- dsf_makeValue(ds_send_reqdata, "reqpridflag" , "string", "");
- }else{
- dsf_makeValue(ds_send_reqdata, "reqpridflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqpridflag"));
- }
- dsf_makeValue(ds_send_reqdata, "deliveflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "deliveflag"));
- dsf_makeValue(ds_send_reqdata, "reqdelrflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "reqdelrflag"));
- dsf_makeValue(ds_send_reqdata, "goodflag" , "string", ds_cond_gooddlvrinfo.getColumn(0, "goodflag"));
- dsf_makeValue(ds_send_reqdata, "data" , "string", ds_cond_gooddlvrinfo.getColumn(0, "data"));
-
- var oParam = {};
- oParam.id = "TRMNG01701";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetGoodDivrInfoList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_gooddlvrinfo_gooddlvrlist=gooddlvrlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNG01701";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMNG01701") > -1){
- ds_send_reqdata.clearData();
-
- ds_main_gooddlvrinfo_gooddlvrlist.enableevent = false;
- ds_main_gooddlvrinfo_gooddlvrlist.updatecontrol = false;
-
- dsf_setDefaultVal(ds_main_gooddlvrinfo_gooddlvrlist, "exchngqtyColor:,reqqtyColor:,rergstqtyColor:,lendqtyColor:,rgstqtyColor:,sumqtyColor:,sumflag:");
-
- //grd_gooddlvrlist.rebuildStyle();
- for(var i= 0; i < ds_main_gooddlvrinfo_gooddlvrlist.rowcount; i++){
- if(ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "deliveflag") == "2"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "deliveflag", "1");
- }else if(ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "deliveflag") == "1"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "deliveflag", "0");
- }
-
- var exchngflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "exchngflag");
- var reqqtyflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "reqqtyflag");
- var rergstflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "rergstflag");
- var lendflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "lendflag");
- var rgstqtyflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "rgstqtyflag");
- var sumflag = ds_main_gooddlvrinfo_gooddlvrlist.getColumn(i, "sumflag");
-
- if(exchngflag =="N"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "exchngqtyColor", "#ff9900");
- }
-
- if(reqqtyflag =="N" ){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "reqqtyColor", "#ff9900");
- }
- if(rergstflag =="N"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "rergstqtyColor", "#ff9900");
- }
- if(lendflag =="N"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "lendqtyColor", "#ff9900");
- }
- if(rgstqtyflag =="N"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "rgstqtyColor", "#ff9900");
- }
- if(sumflag =="N"){
- ds_main_gooddlvrinfo_gooddlvrlist.setColumn(i, "sumqtyColor", "#ff9900");
- }
- }
-
- ds_main_gooddlvrinfo_gooddlvrlist.updatecontrol = true;
- ds_main_gooddlvrinfo_gooddlvrlist.enableevent = true;
- }
- }else if(srchflag == "dis"){
- dsf_makeValue(ds_send_reqdata, "instcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "instcd"));
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "csrreqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "reqdeptcd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqdeptcd"));
- dsf_makeValue(ds_send_reqdata, "reqfromdd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqfromdd"));
- dsf_makeValue(ds_send_reqdata, "reqtodd" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "reqtodd"));
- dsf_makeValue(ds_send_reqdata, "goodflag" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "goodflag"));
- dsf_makeValue(ds_send_reqdata, "data" , "string", ds_cond_disgooddlvrinfo.getColumn(0, "data"));
-
- var oParam = {};
- oParam.id = "TRMNG01702";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqGetGoodDisDlvrInfoList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_disgooddlvrinfo_disgooddlvrlist=disgooddlvrlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNG01702";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("addqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("addqty", "string");
- }
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("exchngaddqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("exchngaddqty", "string");
- }
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("lendaddqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("lendaddqty", "string");
- }
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("rergstaddqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("rergstaddqty", "string");
- }
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("rgstaddqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("rgstaddqty", "string");
- }
- if( utlf_isNull(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumnInfo("reqaddqty")) ){
- ds_main_disgooddlvrinfo_disgooddlvrlist.addColumn("reqaddqty", "string");
- }
-
- if(arErrorCode.pop("TRMNG01702") > -1){
- ds_send_reqdata.clearData();
- }
- }
- }
- function cf_TRMNG01701(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRMNG01702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //청구차수 선택시 상태값 변경
- function fDeliveflagChg(){
- var eryn = String(switch1.case1.chk_eryn.getData()).split(",");
- var std = utlf_isSearchString(eryn, "1");
- var er = utlf_isSearchString(eryn, "2");
-
- if(std) {
- switch1.case1.cmb_reqpridflag.enable = true;
- if(utlf_isNull(ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"))){
- switch1.case1.cmb_reqpridflag.value = "";
- }else{
- ds_cond_rtninfo.setColumn(0, "reqpridflag", ds_init_tmlist_reqseqlist.getColumn(0, "reqseq"));
- }
- } else {
- switch1.case1.cmb_reqpridflag.enable = false;
- switch1.case1.cmb_reqpridflag.value = "-";
- }
- }
- //청구구분 추가 by 박영우 20100201
- function fGoodDvlOption(srchflag) {
- if(srchflag == "dvr") {
- //그리드 초기화
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 0);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 0);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 0);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 0);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 0);
-
- var reqallopt = ds_cond_gooddlvrinfo.getColumn(0, "reqallopt");
- var reqoptflag = ds_cond_gooddlvrinfo.getColumn(0, "reqoptflag");
-
- if(reqallopt == "Y") {
- dsf_makeValue(ds_send_reqdata, "reqoptflag", "string", "1 2 3 4 5");
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 46);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 46);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 46);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 46);
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 46);
- } else {
- dsf_makeValue(ds_send_reqdata, "reqoptflag", "string", reqoptflag);
-
- var reqopt = utlf_transNullToEmpty(reqoptflag).split(" ");
- var exchnge, req, rergst, lend, rgst; //청구구분: 교환, 청구, 대여, 재멸균, 멸균의뢰
- exchnge = req = rergst = lend = rgst = "N";
-
- for(var i = 0; i < reqopt.length; i++) {
- switch(Number(reqopt[i])) {
- case 1:
- exchnge = "Y";
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(13, "size", 46);
- break;
- case 2:
- req = "Y";
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(14, "size", 46);
- break;
- case 3:
- rergst = "Y";
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(15, "size", 46);
- break;
- case 4:
- lend = "Y";
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(16, "size", 46);
- break;
- case 5:
- rgst = "Y";
- switch1.case1.grd_gooddlvrlist.setFormatColProperty(17, "size", 46);
- break;
- default: exchnge = req = rergst = lend = rgst = "N"; break;
- }
- }
- }
- } else if(srchflag == "dis") {
- //그리드 초기화
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 0);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 0);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 0);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 0);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 0);
-
- var disreqoptflag = ds_cond_disgooddlvrinfo.getColumn(0, "disreqoptflag");
- var disreqallopt = ds_cond_disgooddlvrinfo.getColumn(0, "disreqallopt");
- if(disreqallopt == "Y") {
- dsf_makeValue(ds_send_reqdata, "disreqoptflag", "string", "1 2 3 4 5");
-
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 46);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 46);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 46);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 46);
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 46);
- } else {
- dsf_makeValue(ds_send_reqdata, "disreqoptflag", "string", disreqoptflag);
- var disreqopt = utlf_transNullToEmpty(disreqoptflag).split(" ");
- var exchnge, req, rergst, lend, rgst; //청구구분: 교환, 청구, 대여, 재멸균, 멸균의뢰
- exchnge = req = rergst = lend = rgst = "N";
-
- for(var i = 0; i < disreqopt.length; i++) {
- switch(Number(disreqopt[i])) {
- case 1:
- exchnge = "Y";
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(8, "size", 46);
- break;
- case 2:
- req = "Y";
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(10, "size", 46);
- break;
- case 3:
- rergst = "Y";
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(12, "size", 46);
- break;
- case 4:
- lend = "Y";
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(14, "size", 46);
- break;
- case 5:
- rgst = "Y";
- switch1.case3.grd_disgooddlvrlist.setFormatColProperty(16, "size", 46);
- break;
- default: exchnge = req = rergst = lend = rgst = "N"; break;
- }
- }
- }
- }
- }
- function switch1_case1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGoodDvlSearch("dvr");
- }
- function switch1_case1_cmb_csrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case1.cmb_csrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_init_csrdeptlist.copyData(ds_temp_csrdeptlist);
- if(ds_init_csrdeptlist.rowcount == 1 ){
- ds_cond_gooddlvrinfo.setColumn(0, "reqdeptcd", ds_init_csrdeptlist.getColumn(0, "deptcd"));
- }else{
- frmf_addComboItem( "switch1.case1.cmb_deptcd", "전체", "", "above");
- switch1.case1.cmb_deptcd.value = "";
- }
- ds_send_reqdata.clearData();
- fGoodDvlSearch("dvr");
- }
- function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case1.grd_gooddlvrlist, "반납리스트" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_messageBox("개발중","I009");
- }
- function switch1_case1_rdo_reqdelrflag_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
- var reqdelrflag = rdo_reqdelrflag.value;
- if(reqdelrflag == "ref") {
- switch1.case1.grd_gooddlvrlist.setCellProperty("Head", 2, "text", "청구구분");
- } else if(reqdelrflag == "dvr") {
- switch1.case1.grd_gooddlvrlist.setCellProperty("Head", 2, "text", "불출구분");
- }
- }
- function switch1_case1_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGoodDvlSearch("dvr");
- }
- function switch1_case1_chk_reqallopt_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var reqallopt = ds_cond_gooddlvrinfo.getColumn(0, "reqallopt");
- if(reqallopt == "Y") {
- switch1.case1.chk_reqoptflag.setCheckAll(false);
- ds_cond_gooddlvrinfo.setColumn(0, "reqoptflag", "");
- fGoodDvlSearch("dvr");
- }
- }
- function switch1_case1_ipt_reqdata_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- switch1_case1_btn_search_onclick();
- }
- }
- function ds_main_disgooddlvrinfo_disgooddlvrlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var nodlvqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvqty"));
- var addqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "addqty"));
- var exchngaddqty = 0;
- var lendaddqty = 0;
- var reqaddqty = 0;
- var rgstaddqty = 0;
- var rergstaddqty = 0;
- //미불출수량을 가져온다.
- var exchngqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvexchngqty"));
- var reqqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvreqqty"));
- var lendqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvlendqty"));
- var rgstqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvrgstqty"));
- var rergstqty = parseInt(ds_main_disgooddlvrinfo_disgooddlvrlist.getColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "nodlvrergstqty"));
- var tmpqty = 0; //임시로 값을 담을 변수
- //계산을 위해 값이 없는 변수값의 경우에는 0으로 초기화. 아닌경우에는 그냥 둠.
- if(utlf_isNull(addqty)) {
- addqty = 0;
- }
- if(utlf_isNull(exchngqty)) {
- exchngqty = 0;
- }
- if(utlf_isNull(reqqty)) {
- reqqty = 0;
- }
- if(utlf_isNull(lendqty)) {
- lendqty = 0;
- }
- if(utlf_isNull(rgstqty)) {
- rgstqty = 0;
- }
- if(utlf_isNull(rergstqty)) {
- rergstqty = 0;
- }
- if( switch1.case3.grd_disgooddlvrlist.getCellPos("addqty") == switch1.case3.grd_disgooddlvrlist.currentcol) {
- if( parseInt(nodlvqty) < parseInt(addqty) ) {
- sysf_messageBox("추가불출은 미불출 수량보다 클 수 없습니다.", "E");
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "addqty", 0);
- ds_main_disgooddlvrinfo_disgooddlvrlist.enableevent = false;
- ds_main_disgooddlvrinfo_disgooddlvrlist.updatecontrol = false;
- ds_main_disgooddlvrinfo_disgooddlvrlist.setRowType(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "1");
- ds_main_disgooddlvrinfo_disgooddlvrlist.updatecontrol = true;
- ds_main_disgooddlvrinfo_disgooddlvrlist.enableevent = true;
- return;
- } else {
- //교환수량이 총 추가불출 수량보다 클경우( 내부적인 추가 교환수량을 불출할 수량 계산함.) 교환이 1순위
- if(exchngqty > 0) {
- if(exchngqty > addqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "exchngaddqty", addqty);
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "exchngaddqty", exchngqty);
- tmpqty = addqty - exchngqty;
-
- if(tmpqty == 0) {
- return;
- }
-
- if(lendqty > tmpqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", tmpqty);
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", lendqty);
- tmpqty = tmpqty - lendqty;
- if(tmpqty == 0) {
- return;
- }
- if(rgstqty > tmpqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", tmpqty);
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", rgstqty);
- tmpqty = tmpqty - rgstqty;
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
- }
- }
- }
- } else if(lendqty > 0) {
- if(lendqty > addqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", addqty);
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "lendaddqty", lendqty);
- tmpqty = tmpqty - lendqty;
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
-
- }
- } else if(reqqty > 0) {
- if(reqqty > addqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "reqaddqty", addqty);
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "reqaddqty", reqqty);
- tmpqty = tmpqty - lendqty;
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
-
- }
- } else if(rgstqty > 0) {
- if(lendqty > addqty) {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", addqty);
-
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rgstaddqty", rgstqty);
- tmpqty = tmpqty - lendqty;
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", tmpqty);
-
- }
- } else {
- ds_main_disgooddlvrinfo_disgooddlvrlist.setColumn(ds_main_disgooddlvrinfo_disgooddlvrlist.rowposition, "rergstaddqty", rergstqty);
- }
- }
- }
- }
- function switch1_case3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case3.grd_disgooddlvrlist, "미반납내역" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function switch1_case3_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fGoodDvlSearch("dis");
- }
- function switch1_case3_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- sysf_messageBox("개발중","I009");
- }
- function switch1_case3_cmb_discsrreqdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- dsf_makeValue(ds_send_reqdata, "csrreqdeptcd", "string", switch1.case3.cmb_discsrreqdeptcd.value);
- dsf_makeValue(ds_send_reqdata, "useyn", "string", "Y");
- var oParam = {};
- oParam.id = "TRMNG00402";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "getCsrDeptList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_csrdeptlist=csrdeptlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_hidden_csrdeptlist.copyData(ds_temp_csrdeptlist);
-
- if(ds_hidden_csrdeptlist.rowcount == 1 ){
- ds_cond_disgooddlvrinfo.setColumn(0, "reqdeptcd", ds_hidden_csrdeptlist.getColumn(0, "deptcd"));
- }else{
- frmf_addComboItem( "switch1.case3.cmb_disdeptcd", "전체", "", "above");
- switch1.case3.cmb_disdeptcd.value = "";
-
- }
- ds_send_reqdata.clearData();
- fGoodDvlSearch("dis");
- }
- function switch1_case3_cmb_disdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGoodDvlSearch("dis");
- }
- function switch1_case3_chk_disreqallopt_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var reqallopt = ds_cond_disgooddlvrinfo.getColumn(0, "disreqallopt");
- if(reqallopt == "Y") {
- switch1.case3.chk_disreqoptflag.setCheckAll(false);
- ds_cond_disgooddlvrinfo.setColumn(0, "disreqoptflag", "");
- fGoodDvlSearch("dis");
- }
- }
- function switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var updtdata = grdf_getGridUpdateData(switch1.case3.grd_disgooddlvrlist, 'all');
-
- if(utlf_isNull(updtdata) || updtdata.rowcount == 0) {
- sysf_messageBox("변경된 내역이 없습니다.", "E");
- return;
- }
- ds_send_savedata.copyData(updtdata, true);
-
- var oParam = {};
- oParam.id = "TRMNG01702";
- oParam.service = "csrapp.CsrMngt";
- oParam.method = "reqExeDisGoodDlvrList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TRMNG01702";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMNG01702") > -1) {
- sysf_messageBox("저장되었습니다", "I");
- fGoodDvlSearch("dis");
- }
- }
- function cf_TRMNG01702(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function switch1_case3_ipt_disdata_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- switch1_case3_button6_onclick();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|