12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRSD00190" position="absolute 0 0 1140 600" titletext="물품코드 검색화면" oninit="SPRSD00190_oninit" onload="SPRSD00190_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 8 0 1140 595" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 5 1125 90" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Edit position="absolute 90 59 251 78" id="ipt_goodnm" class="input_s_essential" autoselect="true" onkeyup="group3_group2_ipt_goodnm_onkeyup" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="hover"/>
- <Button position="absolute 1045 22 1101 44" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
- <Shape position="absolute 1031 14 1037 73" linetype="vertical" id="line13" class="line_4"/>
- <Static text="물 품 명 :" position="absolute 15 60 91 77" id="caption2" class="search_name"/>
- <Combo position="absolute 90 8 251 27" id="cmb_instcd" class="combo_s_essential" taborder="1" innerdataset="@ds_init_instcd" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="기관코드 :" position="absolute 15 9 91 26" id="caption4" class="search_name"/>
- <Static text="물품구분 :" position="absolute 514 9 590 26" id="caption8" class="search_name"/>
- <Combo position="absolute 588 8 745 27" id="cmb_goodflag" class="combo_s_essential" taborder="1" innerdataset="@ds_init_cmb_goodflag_comcodelist" datacolumn="cdnm" codecolumn="cdid" onitemchanged="group3_group2_cmb_goodflag_onitemchanged"/>
- <Static text="물품코드 :" position="absolute 15 35 91 52" id="caption3" class="search_name"/>
- <Edit readonly="true" position="absolute 1040 0 1105 19" id="opt_reqmthd" visible="false" class="output"/>
- <Static text="대 분 류 :" position="absolute 514 35 590 52" id="caption7" class="search_name"/>
- <Static text="중 분 류 :" position="absolute 514 60 590 77" id="caption9" class="search_name"/>
- <Button position="absolute 901 59 917 75" id="btn_prodcmpycd" class="icon_search" text="" onclick="group3_group2_btn_prodcmpycd_onclick"/>
- <Edit position="absolute 840 59 895 78" id="ipt_prodcmpycd" class="input_default" autoselect="true" onkillfocus="group3_group2_ipt_prodcmpycd_onkillfocus"/>
- <Edit position="absolute 920 60 1021 79" id="ipt_prodcmpynm" class="input_search" autoselect="true" onkillfocus="group3_group2_ipt_prodcmpynm_onkillfocus"/>
- <Static text="규 격 :" position="absolute 763 9 838 26" id="caption10" class="search_name"/>
- <Static text="제조회사 :" position="absolute 763 60 839 77" id="caption12" class="search_name"/>
- <Edit position="absolute 840 8 1020 27" id="ipt_goodspec" class="input_default" autoselect="true"/>
- <Edit position="absolute 840 34 1020 53" id="ipt_goodmodel" class="input_default" autoselect="true"/>
- <Static text="모 델 :" position="absolute 763 35 838 52" id="caption11" class="search_name"/>
- <Static text="구 자 재 :" position="absolute 270 60 344 77" id="caption13" class="search_name"/>
- <Edit position="absolute 345 59 431 78" id="ipt_oldcd_search" class="input_search" autoselect="true" tooltiptext="구 MIS시스템 앞자리를 구분없이 입력하세요(70101)" tooltiptype="hover"/>
- <Combo position="absolute 345 34 484 53" id="cmb_reqprid" class="combo_default" enable="false" innerdataset="@ds_init_reqpridflag" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="청구구분 :" position="absolute 270 9 346 26" id="cap_reqflag" class="search_name"/>
- <Static text="주 기 :" position="absolute 270 35 346 52" id="cap_reqprid" class="search_name"/>
- <Combo position="absolute 345 8 484 27" id="cmb_reqflag" class="combo_default" enable="false" innerdataset="@ds_init_reqflag" datacolumn="reqflagnm" codecolumn="reqflag" onitemchanged="group3_group2_cmb_reqflag_onitemchanged"/>
- <Static text="ex) 70101" position="absolute 433 60 498 80" id="caption14"/>
- <Combo position="absolute 624 8 679 27" id="cmb_goodflagcopy" class="combo_s_essential" taborder="1" visible="false" innerdataset="@ds_init_instcd" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 1045 47 1113 69" id="btn_clear" class="btn4" text="초기화" onclick="group3_group2_btn_clear_onclick"/>
- <Combo position="absolute 588 34 745 53" id="cmb_lrgcd" onitemchanged="group3_group2_cmb_lrgcd_onitemchanged"/>
- <Combo position="absolute 588 59 745 78" id="cmb_mdlcd"/>
- <Edit position="absolute 90 34 251 53" id="ipt_goodcd" class="input_s_essential" autoselect="true" onkeyup="group3_group2_ipt_goodcd_onkeyup" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="hover" inputmode="upper"/>
- <Edit position="absolute 0 0 15 19" id="ipt_reqcheck" visible="false" autoselect="true"/>
- <Edit position="absolute 20 0 30 19" id="ipt_nonusegoodview" visible="false" autoselect="true"/>
- <Edit position="absolute 40 0 95 19" id="ipt_purcdmnddd" visible="false" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="물품코드조회리스트" position="absolute 0 98 145 114" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 114 700 120" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 119 700 594" id="grd_goodlist" class="grd_agtplcelist" binddataset="ds_main_goodlist" oncelldblclick="group3_grd_goodlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="20"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="170"/>
- <Column size="0"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="56"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="67"/>
- <Column size="50"/>
- <Column size="49"/>
- <Column size="0"/>
- <Column size="50"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64"/>
- <Cell col="65"/>
- <Cell col="66"/>
- <Cell col="67"/>
- <Cell col="68"/>
- <Cell col="69"/>
- <Cell col="70"/>
- <Cell col="71"/>
- <Cell col="72"/>
- <Cell col="73"/>
- <Cell col="74"/>
- <Cell col="75"/>
- <Cell col="76"/>
- <Cell col="77"/>
- <Cell col="78"/>
- <Cell col="79"/>
- <Cell col="80"/>
- <Cell col="81"/>
- <Cell col="82"/>
- <Cell col="83"/>
- <Cell col="84"/>
- <Cell col="85"/>
- <Cell col="86"/>
- <Cell col="87"/>
- <Cell col="88"/>
- <Cell col="89"/>
- <Cell col="90"/>
- <Cell col="91"/>
- <Cell col="92"/>
- <Cell col="93"/>
- <Cell col="94"/>
- <Cell col="95"/>
- <Cell col="96"/>
- <Cell col="97"/>
- <Cell col="98"/>
- <Cell col="99"/>
- <Cell col="100"/>
- <Cell col="101"/>
- <Cell col="102"/>
- <Cell col="103"/>
- <Cell col="104"/>
- <Cell col="105" text="a"/>
- <Cell col="106"/>
- <Cell col="107"/>
- <Cell col="108"/>
- <Cell col="109"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' || select == '1' ? '1' : '0'"/>
- <Cell col="2" style="align:left;" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left;" text="bind:goodnm"/>
- <Cell col="5" text="bind:prodcmpycd"/>
- <Cell col="6" style="align:left;" text="bind:goodspec"/>
- <Cell col="7" style="align:left;" text="bind:goodhngnm"/>
- <Cell col="8" style="align:left;" text="bind:goodengnm"/>
- <Cell col="9" style="align:left;" text="bind:goodmodel"/>
- <Cell col="10" text="bind:prodcmpynm"/>
- <Cell col="11" text="bind:instcd"/>
- <Cell col="12" text="bind:goodflag"/>
- <Cell col="13" displaytype="number" style="align:left;" text="bind:minexch" mask="0.0"/>
- <Cell col="14" displaytype="number" style="align:left;" text="bind:safestocqty" mask="0.0"/>
- <Cell col="15" style="align:left;" text="bind:stocqty"/>
- <Cell col="16" style="align:left;" text="bind:userqty"/>
- <Cell col="17" style="align:left;" text="bind:purcunit"/>
- <Cell col="18" text="bind:todd"/>
- <Cell col="19" text="bind:useyn"/>
- <Cell col="20" text="bind:fromdd"/>
- <Cell col="21" text="bind:asetflag"/>
- <Cell col="22" text="bind:lrgcd"/>
- <Cell col="23" text="bind:lrgnm"/>
- <Cell col="24" text="bind:mdlcd"/>
- <Cell col="25" text="bind:mdlnm"/>
- <Cell col="26" text="bind:smlcd"/>
- <Cell col="27" text="bind:smlnm"/>
- <Cell col="28" text="bind:proddrugsetflag"/>
- <Cell col="29" text="bind:winacnt"/>
- <Cell col="30" text="bind:winacntnm"/>
- <Cell col="31" text="bind:amtacnt"/>
- <Cell col="32" text="bind:amtacntnm"/>
- <Cell col="33" text="bind:mainmngtdeptcd"/>
- <Cell col="34" text="bind:mainmngtdeptnm"/>
- <Cell col="35" text="bind:mainusedeptcd"/>
- <Cell col="36" text="bind:mainusedeptnm"/>
- <Cell col="37" text="bind:purclnkgoodcd"/>
- <Cell col="38" text="bind:stocmngtflag"/>
- <Cell col="39" text="bind:deliveunit"/>
- <Cell col="40" text="bind:purcunitnm"/>
- <Cell col="41" text="bind:deliveunitnm"/>
- <Cell col="42" text="bind:exchqty"/>
- <Cell col="43" text="bind:reuseyn"/>
- <Cell col="44" text="bind:divusenvalqty"/>
- <Cell col="45" text="bind:calcscorinfoacptstat"/>
- <Cell col="46" text="bind:calcscorinfoacptdd"/>
- <Cell col="47" text="bind:insuyn"/>
- <Cell col="48" text="bind:edicd"/>
- <Cell col="49" text="bind:newrgstdd"/>
- <Cell col="50" text="bind:reqdeptcd"/>
- <Cell col="51" text="bind:reqdeptnm"/>
- <Cell col="52" text="bind:reqpsn"/>
- <Cell col="53" text="bind:reqpsnnm"/>
- <Cell col="54" text="bind:reqflag"/>
- <Cell col="55" text="bind:reqflagnm"/>
- <Cell col="56" text="bind:reqmthd"/>
- <Cell col="57" text="bind:reqprid"/>
- <Cell col="58" text="bind:iopsnflag"/>
- <Cell col="59" text="bind:prodplce"/>
- <Cell col="60" text="bind:prodplcenm"/>
- <Cell col="61" text="bind:maincustlastsuplplce"/>
- <Cell col="62" text="bind:maincustlastsuplplcenm"/>
- <Cell col="63" text="bind:suppcustcd"/>
- <Cell col="64" text="bind:suppcustnm"/>
- <Cell col="65" text="bind:conflag"/>
- <Cell col="66" text="bind:fromconterm"/>
- <Cell col="67" text="bind:toconterm"/>
- <Cell col="68" text="bind:estmamt"/>
- <Cell col="69" text="bind:forgncurncyunitcost"/>
- <Cell col="70" text="bind:curncyunit"/>
- <Cell col="71" text="bind:curncyunitnm"/>
- <Cell col="72" text="bind:goodunitcost"/>
- <Cell col="73" text="bind:purcflag"/>
- <Cell col="74" text="bind:allsizeyn"/>
- <Cell col="75" text="bind:setplceordflag"/>
- <Cell col="76" text="bind:plceordbase"/>
- <Cell col="77" text="bind:plceordqtycretflag"/>
- <Cell col="78" text="bind:plceordnonusedd"/>
- <Cell col="79" text="bind:addtaxrate"/>
- <Cell col="80" text="bind:lastpurcdd"/>
- <Cell col="81" text="bind:nonusetretresn"/>
- <Cell col="82" text="bind:mngtflag"/>
- <Cell col="83" text="bind:bnscd"/>
- <Cell col="84" text="bind:cntrdrugyn"/>
- <Cell col="85" text="bind:narcflag"/>
- <Cell col="86" text="bind:expnyn"/>
- <Cell col="87" text="bind:cntsunit"/>
- <Cell col="88" text="bind:cntsqty"/>
- <Cell col="89" text="bind:specvol"/>
- <Cell col="90" text="bind:drugkind"/>
- <Cell col="91" text="bind:cooppurcyn"/>
- <Cell col="92" text="bind:autrampharm"/>
- <Cell col="93" text="bind:keepmthd"/>
- <Cell col="94" text="bind:specldrug"/>
- <Cell col="95" text="bind:gnrlspcl"/>
- <Cell col="96" text="bind:welfprt"/>
- <Cell col="97" text="bind:goodtype"/>
- <Cell col="98" text="bind:com"/>
- <Cell col="99" text="bind:limdrugyn"/>
- <Cell col="100" text="bind:cmt"/>
- <Cell col="101" text="bind:safestocappdd"/>
- <Cell col="102" text="bind:ddavguseqty"/>
- <Cell col="103" text="bind:mmavgusescheqty"/>
- <Cell col="104" text="bind:mmavguseqty"/>
- <Cell col="105" text="bind:prprtystocpossndayno"/>
- <Cell col="106" text="bind:orgloc"/>
- <Cell col="107" text="bind:oldcd"/>
- <Cell col="108" text="bind:allsizespecid"/>
- <Cell col="109" text="bind:tmpreqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 636 93 700 112" id="btn_listcopy" class="btn2" text="선택적용" onclick="group3_btn_listcopy_onclick"/>
- <Static text="선택리스트" position="absolute 705 98 850 114" id="caption5" class="tit_2"/>
- <Shape position="absolute 705 114 1125 120" linetype="horizontal" id="line2" class="line_10"/>
- <Grid position="absolute 705 119 1125 594" id="grd_apply" class="grd_agtplcelist" binddataset="ds_apply_goodapplist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="20"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="170"/>
- <Column size="0"/>
- <Column size="73"/>
- <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="30"/>
- <Column size="42"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- <Cell col="49"/>
- <Cell col="50"/>
- <Cell col="51"/>
- <Cell col="52"/>
- <Cell col="53"/>
- <Cell col="54"/>
- <Cell col="55"/>
- <Cell col="56"/>
- <Cell col="57"/>
- <Cell col="58"/>
- <Cell col="59"/>
- <Cell col="60"/>
- <Cell col="61"/>
- <Cell col="62"/>
- <Cell col="63"/>
- <Cell col="64"/>
- <Cell col="65"/>
- <Cell col="66"/>
- <Cell col="67"/>
- <Cell col="68"/>
- <Cell col="69"/>
- <Cell col="70"/>
- <Cell col="71"/>
- <Cell col="72"/>
- <Cell col="73"/>
- <Cell col="74"/>
- <Cell col="75"/>
- <Cell col="76"/>
- <Cell col="77"/>
- <Cell col="78"/>
- <Cell col="79"/>
- <Cell col="80"/>
- <Cell col="81"/>
- <Cell col="82"/>
- <Cell col="83"/>
- <Cell col="84"/>
- <Cell col="85"/>
- <Cell col="86"/>
- <Cell col="87"/>
- <Cell col="88"/>
- <Cell col="89"/>
- <Cell col="90"/>
- <Cell col="91"/>
- <Cell col="92"/>
- <Cell col="93"/>
- <Cell col="94"/>
- <Cell col="95"/>
- <Cell col="96"/>
- <Cell col="97"/>
- <Cell col="98"/>
- <Cell col="99"/>
- <Cell col="100"/>
- <Cell col="101"/>
- <Cell col="102"/>
- <Cell col="103"/>
- <Cell col="104"/>
- <Cell col="105" text="a"/>
- <Cell col="106"/>
- <Cell col="107"/>
- <Cell col="108"/>
- <Cell col="109"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' || select == '1' ? '1' : '0'"/>
- <Cell col="2" style="align:left;" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" style="align:left;" text="bind:goodnm"/>
- <Cell col="5" text="bind:prodcmpycd"/>
- <Cell col="6" style="align:left;" text="bind:goodspec"/>
- <Cell col="7" text="bind:goodhngnm"/>
- <Cell col="8" text="bind:goodengnm"/>
- <Cell col="9" text="bind:goodmodel"/>
- <Cell col="10" text="bind:prodcmpynm"/>
- <Cell col="11" text="bind:instcd"/>
- <Cell col="12" text="bind:goodflag"/>
- <Cell col="13" text="bind:minexch"/>
- <Cell col="14" text="bind:safestocqty"/>
- <Cell col="15" text="bind:stocqty"/>
- <Cell col="16" displaytype="number" edittype="masknumber" style="align:left;" text="bind:userqty" mask="0.0"/>
- <Cell col="17" style="align:left;" text="bind:purcunit"/>
- <Cell col="18" text="bind:todd"/>
- <Cell col="19" text="bind:useyn"/>
- <Cell col="20" text="bind:fromdd"/>
- <Cell col="21" text="bind:asetflag"/>
- <Cell col="22" text="bind:lrgcd"/>
- <Cell col="23" text="bind:lrgnm"/>
- <Cell col="24" text="bind:mdlcd"/>
- <Cell col="25" text="bind:mdlnm"/>
- <Cell col="26" text="bind:smlcd"/>
- <Cell col="27" text="bind:smlnm"/>
- <Cell col="28" text="bind:proddrugsetflag"/>
- <Cell col="29" text="bind:winacnt"/>
- <Cell col="30" text="bind:winacntnm"/>
- <Cell col="31" text="bind:amtacnt"/>
- <Cell col="32" text="bind:amtacntnm"/>
- <Cell col="33" text="bind:mainmngtdeptcd"/>
- <Cell col="34" text="bind:mainmngtdeptnm"/>
- <Cell col="35" text="bind:mainusedeptcd"/>
- <Cell col="36" text="bind:mainusedeptnm"/>
- <Cell col="37" text="bind:purclnkgoodcd"/>
- <Cell col="38" text="bind:stocmngtflag"/>
- <Cell col="39" text="bind:deliveunit"/>
- <Cell col="40" text="bind:purcunitnm"/>
- <Cell col="41" text="bind:deliveunitnm"/>
- <Cell col="42" text="bind:exchqty"/>
- <Cell col="43" text="bind:reuseyn"/>
- <Cell col="44" text="bind:divusenvalqty"/>
- <Cell col="45" text="bind:calcscorinfoacptstat"/>
- <Cell col="46" text="bind:calcscorinfoacptdd"/>
- <Cell col="47" text="bind:insuyn"/>
- <Cell col="48" text="bind:edicd"/>
- <Cell col="49" text="bind:newrgstdd"/>
- <Cell col="50" text="bind:reqdeptcd"/>
- <Cell col="51" text="bind:reqdeptnm"/>
- <Cell col="52" text="bind:reqpsn"/>
- <Cell col="53" text="bind:reqpsnnm"/>
- <Cell col="54" text="bind:reqflag"/>
- <Cell col="55" text="bind:reqflagnm"/>
- <Cell col="56" text="bind:reqmthd"/>
- <Cell col="57" text="bind:reqprid"/>
- <Cell col="58" text="bind:iopsnflag"/>
- <Cell col="59" text="bind:prodplce"/>
- <Cell col="60" text="bind:prodplcenm"/>
- <Cell col="61" text="bind:maincustlastsuplplce"/>
- <Cell col="62" text="bind:maincustlastsuplplcenm"/>
- <Cell col="63" text="bind:suppcustcd"/>
- <Cell col="64" text="bind:suppcustnm"/>
- <Cell col="65" text="bind:conflag"/>
- <Cell col="66" text="bind:fromconterm"/>
- <Cell col="67" text="bind:toconterm"/>
- <Cell col="68" text="bind:estmamt"/>
- <Cell col="69" text="bind:forgncurncyunitcost"/>
- <Cell col="70" text="bind:curncyunit"/>
- <Cell col="71" text="bind:curncyunitnm"/>
- <Cell col="72" text="bind:goodunitcost"/>
- <Cell col="73" text="bind:purcflag"/>
- <Cell col="74" text="bind:allsizeyn"/>
- <Cell col="75" text="bind:setplceordflag"/>
- <Cell col="76" text="bind:plceordbase"/>
- <Cell col="77" text="bind:plceordqtycretflag"/>
- <Cell col="78" text="bind:plceordnonusedd"/>
- <Cell col="79" text="bind:addtaxrate"/>
- <Cell col="80" text="bind:lastpurcdd"/>
- <Cell col="81" text="bind:nonusetretresn"/>
- <Cell col="82" text="bind:mngtflag"/>
- <Cell col="83" text="bind:bnscd"/>
- <Cell col="84" text="bind:cntrdrugyn"/>
- <Cell col="85" text="bind:narcflag"/>
- <Cell col="86" text="bind:expnyn"/>
- <Cell col="87" text="bind:cntsunit"/>
- <Cell col="88" text="bind:cntsqty"/>
- <Cell col="89" text="bind:specvol"/>
- <Cell col="90" text="bind:drugkind"/>
- <Cell col="91" text="bind:cooppurcyn"/>
- <Cell col="92" text="bind:autrampharm"/>
- <Cell col="93" text="bind:keepmthd"/>
- <Cell col="94" text="bind:specldrug"/>
- <Cell col="95" text="bind:gnrlspcl"/>
- <Cell col="96" text="bind:welfprt"/>
- <Cell col="97" text="bind:goodtype"/>
- <Cell col="98" text="bind:com"/>
- <Cell col="99" text="bind:limdrugyn"/>
- <Cell col="100" text="bind:cmt"/>
- <Cell col="101" text="bind:safestocappdd"/>
- <Cell col="102" text="bind:ddavguseqty"/>
- <Cell col="103" text="bind:mmavgusescheqty"/>
- <Cell col="104" text="bind:mmavguseqty"/>
- <Cell col="105" text="bind:prprtystocpossndayno"/>
- <Cell col="106" text="bind:orgloc"/>
- <Cell col="107" text="bind:oldcd"/>
- <Cell col="108" text="bind:reqpridnm"/>
- <Cell col="109" text="bind:tmpreqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1019 93 1061 112" id="btn_delete" class="btn2" text="삭제" onclick="group3_btn_delete_onclick"/>
- <Button position="absolute 1069 92 1125 114" id="btn_save" class="btn4" text="적용" onclick="group3_btn_save_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_goodflag_comcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_reqpridflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqflagnm" type="STRING"/>
- <Column id="reqflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_apply_goodapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_apply_goodapplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="select" type="STRING"/>
- <Column id="goodcd" type="STRING"/>
- <Column id="allsizespecid" type="STRING"/>
- <Column id="goodnm" type="STRING"/>
- <Column id="prodcmpycd" type="STRING"/>
- <Column id="goodspec" type="STRING"/>
- <Column id="goodhngnm" type="STRING"/>
- <Column id="goodengnm" type="STRING"/>
- <Column id="goodmodel" type="STRING"/>
- <Column id="prodcmpynm" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="goodflag" type="STRING"/>
- <Column id="minexch" type="STRING"/>
- <Column id="safestocqty" type="STRING"/>
- <Column id="stocqty" type="STRING"/>
- <Column id="userqty" type="STRING"/>
- <Column id="purcunit" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="useyn" type="STRING"/>
- <Column id="fromdd" type="STRING"/>
- <Column id="asetflag" type="STRING"/>
- <Column id="lrgcd" type="STRING"/>
- <Column id="lrgnm" type="STRING"/>
- <Column id="mdlcd" type="STRING"/>
- <Column id="mdlnm" type="STRING"/>
- <Column id="smlcd" type="STRING"/>
- <Column id="smlnm" type="STRING"/>
- <Column id="proddrugsetflag" type="STRING"/>
- <Column id="winacnt" type="STRING"/>
- <Column id="winacntnm" type="STRING"/>
- <Column id="amtacnt" type="STRING"/>
- <Column id="amtacntnm" type="STRING"/>
- <Column id="mainmngtdeptcd" type="STRING"/>
- <Column id="mainmngtdeptnm" type="STRING"/>
- <Column id="mainusedeptcd" type="STRING"/>
- <Column id="mainusedeptnm" type="STRING"/>
- <Column id="purclnkgoodcd" type="STRING"/>
- <Column id="stocmngtflag" type="STRING"/>
- <Column id="deliveunit" type="STRING"/>
- <Column id="purcunitnm" type="STRING"/>
- <Column id="deliveunitnm" type="STRING"/>
- <Column id="exchqty" type="STRING"/>
- <Column id="reuseyn" type="STRING"/>
- <Column id="divusenvalqty" type="STRING"/>
- <Column id="calcscorinfoacptstat" type="STRING"/>
- <Column id="calcscorinfoacptdd" type="STRING"/>
- <Column id="insuyn" type="STRING"/>
- <Column id="edicd" type="STRING"/>
- <Column id="newrgstdd" type="STRING"/>
- <Column id="reqdeptcd" type="STRING"/>
- <Column id="reqdeptnm" type="STRING"/>
- <Column id="reqpsn" type="STRING"/>
- <Column id="reqpsnnm" type="STRING"/>
- <Column id="reqflag" type="STRING"/>
- <Column id="reqflagnm" type="STRING"/>
- <Column id="reqmthd" type="STRING"/>
- <Column id="reqprid" type="STRING"/>
- <Column id="iopsnflag" type="STRING"/>
- <Column id="prodplce" type="STRING"/>
- <Column id="prodplcenm" type="STRING"/>
- <Column id="maincustlastsuplplce" type="STRING"/>
- <Column id="maincustlastsuplplcenm" type="STRING"/>
- <Column id="suppcustcd" type="STRING"/>
- <Column id="suppcustnm" type="STRING"/>
- <Column id="conflag" type="STRING"/>
- <Column id="fromconterm" type="STRING"/>
- <Column id="toconterm" type="STRING"/>
- <Column id="estmamt" type="STRING"/>
- <Column id="forgncurncyunitcost" type="STRING"/>
- <Column id="curncyunit" type="STRING"/>
- <Column id="curncyunitnm" type="STRING"/>
- <Column id="goodunitcost" type="STRING"/>
- <Column id="purcflag" type="STRING"/>
- <Column id="allsizeyn" type="STRING"/>
- <Column id="setplceordflag" type="STRING"/>
- <Column id="plceordbase" type="STRING"/>
- <Column id="plceordqtycretflag" type="STRING"/>
- <Column id="plceordnonusedd" type="STRING"/>
- <Column id="addtaxrate" type="STRING"/>
- <Column id="lastpurcdd" type="STRING"/>
- <Column id="nonusetretresn" type="STRING"/>
- <Column id="mngtflag" type="STRING"/>
- <Column id="bnscd" type="STRING"/>
- <Column id="cntrdrugyn" type="STRING"/>
- <Column id="narcflag" type="STRING"/>
- <Column id="expnyn" type="STRING"/>
- <Column id="cntsunit" type="STRING"/>
- <Column id="cntsqty" type="STRING"/>
- <Column id="specvol" type="STRING"/>
- <Column id="drugkind" type="STRING"/>
- <Column id="cooppurcyn" type="STRING"/>
- <Column id="autrampharm" type="STRING"/>
- <Column id="keepmthd" type="STRING"/>
- <Column id="specldrug" type="STRING"/>
- <Column id="gnrlspcl" type="STRING"/>
- <Column id="welfprt" type="STRING"/>
- <Column id="goodtype" type="STRING"/>
- <Column id="com" type="STRING"/>
- <Column id="limdrugyn" type="STRING"/>
- <Column id="cmt" type="STRING"/>
- <Column id="safestocappdd" type="STRING"/>
- <Column id="ddavguseqty" type="STRING"/>
- <Column id="mmavgusescheqty" type="STRING"/>
- <Column id="mmavguseqty" type="STRING"/>
- <Column id="prprtystocpossndayno" type="STRING"/>
- <Column id="orgloc" type="STRING"/>
- <Column id="oldcd" type="STRING"/>
- <Column id="reqpridnm" type="STRING"/>
- <Column id="tmpreqflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256" sumtext="조회조건 "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="indexgb" type="STRING" size="256" sumtext="색인구분 "/>
- <Column id="indexnm" type="STRING" size="256" sumtext="색인명 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류 "/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델 "/>
- <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서코드 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="reqcheck" type="STRING" size="256" sumtext="청구화면구분 "/>
- <Column id="nonusegoodview" type="STRING" size="256" sumtext="불용물품조회여부 "/>
- <Column id="purcdmnddd" type="STRING" size="256" sumtext="시행일자 "/>
- <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자 "/>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면id "/>
- <Column id="prodcmpynm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="goodnm "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
- <Column id="userqty" type="STRING" size="256" sumtext="사용자입력수량 "/>
- <Column id="deliveunit" type="STRING" size="256" sumtext="수불단위 "/>
- <Column id="estmamt" type="BIGDECIMAL" size="256" sumtext="견적가 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="todd" type="STRING" size="256" sumtext="todd "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부 "/>
- <Column id="fromdd" type="STRING" size="256" sumtext="fromdd "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분(r0025) "/>
- <Column id="goodhngnm" type="STRING" size="256" sumtext="영문명 "/>
- <Column id="goodengnm" type="STRING" size="256" sumtext="물품명 "/>
- <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드 "/>
- <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
- <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드 "/>
- <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명 "/>
- <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드 "/>
- <Column id="smlnm" type="STRING" size="256" sumtext="소분류 "/>
- <Column id="winacnt" type="STRING" size="256" sumtext="계정코드 "/>
- <Column id="winacntnm" type="STRING" size="256" sumtext="계정코드명 "/>
- <Column id="amtacnt" type="STRING" size="256" sumtext="비용계정 "/>
- <Column id="amtacntnm" type="STRING" size="256" sumtext="비용계정명 "/>
- <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관리부서코드 "/>
- <Column id="mainmngtdeptnm" type="STRING" size="256" sumtext="주관리부서명 "/>
- <Column id="stocmngtflag" type="STRING" size="256" sumtext="재고관리기준 "/>
- <Column id="purcunit" type="STRING" size="256" sumtext="입고단위 "/>
- <Column id="purcunitnm" type="STRING" size="256" sumtext="입고단위 "/>
- <Column id="deliveunitnm" type="STRING" size="256" sumtext="수불단위 "/>
- <Column id="exchqty" type="BIGDECIMAL" size="256" sumtext="환산배수 "/>
- <Column id="minexch" type="BIGDECIMAL" size="256" sumtext="최소환산수량 "/>
- <Column id="divusenvalqty" type="STRING" size="256" sumtext="분할사용수치 "/>
- <Column id="edicd" type="STRING" size="256" sumtext="edi코드 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구기준 "/>
- <Column id="reqflagnm" type="STRING" size="256" sumtext="청구기준명 "/>
- <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="prodplce" type="STRING" size="256" sumtext="제조국 "/>
- <Column id="prodplcenm" type="STRING" size="256" sumtext="제조국명 "/>
- <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="최종공급처 "/>
- <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="최종공급처 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
- <Column id="forgncurncyunitcost" type="BIGDECIMAL" size="256" sumtext="외화단가 "/>
- <Column id="curncyunit" type="STRING" size="256" sumtext="화폐단위 "/>
- <Column id="curncyunitnm" type="STRING" size="256" sumtext="화폐단위 "/>
- <Column id="goodunitcost" type="BIGDECIMAL" size="256" sumtext="제품단가 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="safestocqty" type="BIGDECIMAL" size="256" sumtext="안전재고량 "/>
- <Column id="ddavguseqty" type="BIGDECIMAL" size="256" sumtext="일평균사용량 "/>
- <Column id="mmavgusescheqty" type="BIGDECIMAL" size="256" sumtext="월평균사용예정량 "/>
- <Column id="mmavguseqty" type="BIGDECIMAL" size="256" sumtext="월평균사용량 "/>
- <Column id="prprtystocpossndayno" type="BIGDECIMAL" size="256" sumtext="적정재고보유일수 "/>
- <Column id="stocqty" type="STRING" size="256" sumtext="재고량 "/>
- <Column id="curemealstocqty" type="STRING" size="256" sumtext="치료식현재고수량 "/>
- <Column id="empmealstocqty" type="STRING" size="256" sumtext="직원식현재고수량 "/>
- <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="직원야식현재고수량 "/>
- <Column id="curemealstocqty" type="STRING" size="256" sumtext="영양팀치료식 "/>
- <Column id="empmealstocqty" type="STRING" size="256" sumtext="영양팀직원식 "/>
- <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="영양팀직원야식 "/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize여부 "/>
- <Column id="orgloc" type="STRING" size="256" sumtext="원산지 "/>
- <Column id="select" type="STRING" size="256" sumtext=" "/>
- <Column id="bnscd" type="STRING" size="256" sumtext=" "/>
- <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
- <Column id="goodpurccost" type="STRING" size="256" sumtext="납품가 "/>
- <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize코드 "/>
- <Column id="reqfnldeptcd" type="STRING" size="256" sumtext="출고부서 "/>
- <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서 "/>
- <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- <Column id="constunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- <Column id="tmpreqflag" type="STRING" size="256" sumtext="임의청구구분 "/>
- <Column id="prcpexchqty" type="STRING" size="256" sumtext="처방/수불환산수량 "/>
- <Column id="mainusedeptcd" type="STRING" size="256" sumtext="주사용부서코드 "/>
- <Column id="wareflag" type="STRING" size="256" sumtext="창고구분"/>
- <Column id="costyn" type="STRING" size="256" sumtext="단가계약여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256" sumtext="물품코드 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqcheck" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="goodflag" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="oldcd" type="STRING" size="256"/>
- <Column id="reqprid" type="STRING" size="256"/>
- <Column id="nonusegoodview" type="STRING" size="256"/>
- <Column id="purcdmnddd" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="goodcd" type="STRING" size="256"/>
- <Column id="goodnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_goodflagcopy_comcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_main_prodcmpylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_copytemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.ipt_reqcheck" propid="value" datasetid="ds_send" columnid="reqcheck"/>
- <BindItem id="item1" compid="group3.group2.ipt_nonusegoodview" propid="value" datasetid="ds_send" columnid="nonusegoodview"/>
- <BindItem id="item2" compid="group3.group2.ipt_purcdmnddd" propid="value" datasetid="ds_send" columnid="purcdmnddd"/>
- <BindItem id="item3" compid="group3.group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
- <BindItem id="item4" compid="group3.group2.ipt_goodcd" propid="value" datasetid="ds_send" columnid="goodcd"/>
- <BindItem id="item5" compid="group3.group2.ipt_goodnm" propid="value" datasetid="ds_send" columnid="goodnm"/>
- <BindItem id="item6" compid="group3.group2.cmb_reqflag" propid="value" datasetid="ds_send" columnid="reqflag"/>
- <BindItem id="item7" compid="group3.group2.cmb_reqprid" propid="value" datasetid="ds_send" columnid="reqprid"/>
- <BindItem id="item8" compid="group3.group2.ipt_oldcd_search" propid="value" datasetid="ds_send" columnid="oldcd"/>
- <BindItem id="item9" compid="group3.group2.cmb_goodflagcopy" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item10" compid="group3.group2.cmb_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
- <BindItem id="item11" compid="group3.group2.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- <BindItem id="item12" compid="group3.group2.cmb_mdlcd" propid="value" datasetid="ds_send" columnid="mdlcd"/>
- <BindItem id="item13" compid="group3.group2.ipt_goodspec" propid="value" datasetid="ds_send" columnid="goodspec"/>
- <BindItem id="item14" compid="group3.group2.ipt_goodmodel" propid="value" datasetid="ds_send" columnid="goodmodel"/>
- <BindItem id="item15" compid="group3.group2.ipt_prodcmpycd" propid="value" datasetid="ds_send" columnid="prodcmpycd"/>
- <BindItem id="item16" compid="group3.group2.ipt_prodcmpynm" propid="value" datasetid="ds_send" columnid="prodcmpynm"/>
- <BindItem id="item17" compid="group3.group2.opt_reqmthd" propid="value" datasetid="ds_send" columnid="reqflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_purccommonxp -> SPRSD00190
- * Creator : yjh
- * Make Date : 2017-07-03
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-07-03 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // 청구구분
- var tReqFlagData = "A." // 01 Y 의료소모품
- + "B." // 02 Z 일반소모품
- + "C." // 03 K 의료비품
- + "D." // 04 G 일반비품
- + "E." // 05 P 약품및재료
- + "F." // 06 P 제제약품
- + "G." // 07 E 장비
- + "H." // 08 P 수액
- + "I." // 09 P 조영제
- + "S." // 10 B 수리관리
- + "X." // 11 T 교환물품
- + "Y." // 12 T 청구물품
- + "Z" ; // 13 T 멸균의뢰
-
- var tReqFlag = tReqFlagData.split(".");
-
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- // 물품구분
- var tGoodFlagData = "Y." // 01 의료소모품
- + "Z." // 02 일반소모품
- + "U." // 03 의료비품
- + "GE." // 04 일반비품
- + "PH." // 05 약품
- + "PH." // 06 약품
- + "PH." // 07 약품및재료
- + "PH." // 08 약품
- + "PH." // 09 약품
- + "BC." // 10 수리부품
- + "TM." // 11 공급실물품
- + "TM." // 12 공급실물품
- + "TM" ; // 13 공급실물품
- var tGoodFlag = tGoodFlagData.split(".");
- var tPath = ds_init_cmb_goodflag_comcodelist;
- var sPath = ds_init_cmb_goodflagcopy_comcodelist;
-
- function fReqFagChange(pReqFlag) {
- ds_init_cmb_goodflag_comcodelist.clearData();
- var sNode = ds_init_cmb_goodflagcopy_comcodelist;
- var nIdx = ds_init_cmb_goodflagcopy_comcodelist.rowcount;
-
- for( var i=0 ; i<tReqFlag.length ; i++ ){
-
- if (tReqFlag[i] == pReqFlag) {
- for( var n=0 ; n<nIdx ; n++ ){
- if( ds_init_cmb_goodflagcopy_comcodelist.getColumn(n, "cdid") == tGoodFlag[i] ){
- xNode = ds_init_cmb_goodflag_comcodelist;
-
- if( utlf_isNull(xNode) || ds_init_cmb_goodflag_comcodelist.rowcount < 1 ){
- var nRow = ds_init_cmb_goodflag_comcodelist.addRow();
- ds_init_cmb_goodflag_comcodelist.copyRow(nRow, ds_init_cmb_goodflagcopy_comcodelist, n);
- } else {
- var nRow = ds_init_cmb_goodflag_comcodelist.addRow();
- ds_init_cmb_goodflag_comcodelist.copyRow(nRow, ds_init_cmb_goodflagcopy_comcodelist, n);
- }
- }
- }
-
- }
- }
-
- group3.group2.cmb_goodflag.index = 0; //청구구분
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPRSD00190
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPRSD00190_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPRSD00190
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPRSD00190_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.grd_goodlist);
- grdf_initGrid(group3.grd_apply);
-
- try{
- for( var i=0 ; i<arg_ds_source_defaultvalue.rowcount ; i++ ){
- var nRow = ds_target_defaultvalue.addRow();
-
- ds_target_defaultvalue.copyRow(nRow, arg_ds_source_defaultvalue, i);
- }
-
- if( ds_target_defaultvalue.rowcount < 1 ){
- ds_target_defaultvalue.addRow();
- }
- }catch(e){
- }
-
- misfGridInit(group3.grd_goodlist);
- misfGridInit(group3.grd_apply );
- misfComboComCdList('Z0007', group3.group2.cmb_instcd ); //기관코드
- misfComboComCdList('R0025', group3.group2.cmb_goodflagcopy, "N"); //물품구분
- var paramrpirdd = opener.frmf_getParameter("paramrpirdd"); //수리일자
- if( !utlf_isNull(paramrpirdd) ){
- ds_send.setColumn(0, "scrnid", "SPRSD00190");
- }
- ds_send.setColumn(0, "rpirdd",paramrpirdd);
-
- if( utlf_transNullToEmpty(ds_send.getColumn(0, "instcd")).length == 0 && group3.group2.cmb_instcd.getCount() > 0 ) group3.group2.cmb_instcd.index = 0;
- if( utlf_transNullToEmpty(ds_send.getColumn(0, "goodflag")).length == 0 && group3.group2.cmb_goodflag.getCount() > 0 ) group3.group2.cmb_goodflag.index = 0;
-
- xNode = ds_target_defaultvalue.getColumn(0, "reqcheck");
-
- if( utlf_isNull(xNode) ){
- //model.makeNode(PURTARGET_NODE + "/reqcheck");
- }
- misfComboComCdListMulti("R0093", "group3.group2.cmb_reqprid");
- frmf_addComboItem( "group3.group2.cmb_reqprid", "전체", "", "above");
- group3.group2.cmb_reqprid.index = 0;
-
- var vCodeCls = "";
-
- var vReqCheck = ds_target_defaultvalue.getColumn(0, "reqcheck");
-
- if (vReqCheck == "Y") {
- vCodeCls = "C";
- } else if( vReqCheck == "N") {
- //부서별 기준량 등록에서 호출할 경우 N 으로 키값 넘김
- vCodeCls = "SF";
- }
- else {
- vCodeCls = "SF";
- }
-
- rszfUserReqFlagList("group3.group2.cmb_reqflag", sysf_getUserInfo("dutplceinstcd"), sysf_getUserInfo("userid"),"%",vCodeCls);
- ds_send.setColumn(0, "instcd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "instcd" )));
- ds_send.setColumn(0, "goodflag", utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodflag")));
- ds_send.setColumn(0, "reqflag" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqflag" )));
- ds_send.setColumn(0, "oldcd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "oldcd" )));
- ds_send.setColumn(0, "reqprid" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqprid")));
- ds_send.setColumn(0, "nonusegoodview" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "nonusegoodview")));
- ds_send.setColumn(0, "purcdmnddd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "purcdmnddd")));
- //cmb_goodflag.disabled = false;
-
- /* --------------------------------------------------------------------------------------------
- sql문에 청구부서별 안전재고를 가져와야한다.
- 프로그램 call시 변경해야한다. 인자값이 없을경우 해당 user값으로 setting한다.......2007.10.08 HBH
- ----------------------------------------------------------------------------------------------*/
- if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqdeptcd")).length == 0 ) ds_send.setColumn(0, "reqdeptcd", sysf_getUserInfo("dutplcecd"));
- else ds_send.setColumn(0, "reqdeptcd", ds_target_defaultvalue.getColumn(0, "reqdeptcd"));
- /* --------------------------------------------------------------------------------------------
- [2007.11.17 HBH] 물품청구 프로그램에서 CALL시 물품청구주기가 와야한다.
- ----------------------------------------------------------------------------------------------*/
-
- if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodflag")).length > 0 ){
- group3.group2.cmb_goodflag.enable = false;
- rszfLMSComboList(ds_send.getColumn(0, "goodflag"), "", "", "group3.group2.cmb_lrgcd", "", "L","Y");
- }
-
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 영양팀 명칭검색으로 이 window 가 open시 기본값 셋팅한다.
- // 2007.08.09 황
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodcd")).length > 0 )
- {
- ds_send.setColumn(0, "goodcd", ds_target_defaultvalue.getColumn(0, "goodcd"));
- group3.group2.btn_search.click();
- }
- else if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodnm")).length > 0 )
- {
- ds_send.setColumn(0, "goodnm", ds_target_defaultvalue.getColumn(0, "goodnm"));
- group3.group2.btn_search.click();
- }
- else if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "oldcd")).length > 0 )
- {
- ds_send.setColumn(0, "oldcd" , ds_target_defaultvalue.getColumn(0, "oldcd") );
- group3.group2.btn_search.click();
- }
-
- group3.group2.ipt_goodnm.setFocus();
-
- // grd_goodlist.fixedcellcheckbox(0,grd_goodlist.colRef("select"),false) = true;
- // grd_apply.fixedcellcheckbox(0,grd_apply.colRef("select"),false) = true;
-
- // vReqCheck = "Y";
-
- if (vReqCheck == "Y") {
- group3.group2.cmb_reqflag.enable = true; // 청구구분
- group3.group2.cmb_reqprid.enable = true; // 청구주기
- group3.group2.cmb_reqflag.index = 0; //청구구분
- ds_send.setColumn(0, "reqcheck" , ds_target_defaultvalue.getColumn(0, "reqcheck") ); //청구쪽에서 풀품코드 팝업을 호출했는지 DB쪽에 넘기기 위한 키값 설정
- } else if ( vReqCheck == "N" ) { //부서별 기준량 등록에서 팝업을 호출했을때 다른 조건은 기존과 동일하고 쿼리에 넘길 키 값만 셋팅하자
- ds_send.setColumn(0, "reqcheck" , ds_target_defaultvalue.getColumn(0, "reqcheck") ); //청구쪽에서 풀품코드 팝업을 호출했는지 DB쪽에 넘기기 위한 키값 설정
- frmf_addComboItem( "group3.group2.cmb_reqflag", "전체", "", "above");
- group3.group2.cmb_reqflag.index = 0;
- ds_init_cmb_goodflag_comcodelist.copyData(ds_init_cmb_goodflagcopy_comcodelist);
- }
- else {
- frmf_addComboItem( "group3.group2.cmb_reqflag", "전체", "", "above");
- ds_init_cmb_goodflag_comcodelist.copyData(ds_init_cmb_goodflagcopy_comcodelist);
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodnm
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group3_group2_ipt_goodnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- group3.group2.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(group3.grd_goodlist);
-
- if( utlf_transNullToEmpty(ds_send.getColumn(0, "instcd")).length == 0 )
- {
- sysf_messageBox("기관코드를" , "C002");
- group3.group2.cmb_instcd.setFocus();
- return;
- }
- if( utlf_isNull(ds_send.getColumn(0, "goodnm")) ){
- ds_send.setColumn(0, "indexnm","");
- }
-
- if( utlf_transNullToEmpty(ds_send.getColumn(0, "goodflag")).length == 0 )
- {
- sysf_messageBox("물품구분을" , "C002");
- group3.group2.cmb_goodflag.setFocus();
- return;
- }
-
- var oParam = {};
- oParam.id = "TRRSD00191";
- oParam.service = "purccommonapp.PurcCommon";
- oParam.method = "reqGetGoodListByCond";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_goodlist=goodlist ds_main_cntlist=cntlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRSD00191";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_goodlist.getColumnInfo("")) ){
- ds_main_goodlist.addColumn("select", "string");
- }
-
- dsf_setDefaultVal(ds_main_goodlist, "select:false");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_goodflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group3_group2_cmb_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- rszfLMSComboList(ds_send.getColumn(0, "goodflag"), "", "", "group3.group2.cmb_lrgcd", "", "L","Y");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_prodcmpycd
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function group3_group2_btn_prodcmpycd_onclick(obj:Button, e:ClickEventInfo)
- {
- rszfOpenPopUpListByWndName(group3.group2.ipt_prodcmpycd, "", "prodcmpycd,prodcmpynm", "SPRSD00160", "", "");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prodcmpycd
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 포커스 아웃시
- ****************************************************************************************/
- function group3_group2_ipt_prodcmpycd_onkillfocus(obj:Edit, e:KillFocusEventInfo)
- {
- if( !utlf_isNull(group3.group2.ipt_prodcmpycd.value) ){
- rszfValidationCheck("TRRSD00161",
- "prodcmpylist",
- "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + ds_send.getColumn(0, "prodcmpycd") + ",",
- "",
- "prodcmpycd,prodcmpynm",
- "group3.group2.ipt_prodcmpycd",
- "SPRSD00160",
- "",
- "");
- }else{
- group3.group2.ipt_prodcmpynm.value = "";
- }
- }
- function cf_TRRSD00161(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prodcmpynm
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 포커스 아웃시
- ****************************************************************************************/
- function group3_group2_ipt_prodcmpynm_onkillfocus(obj:Edit, e:KillFocusEventInfo)
- {
- if( !utlf_isNull(group3.group2.ipt_prodcmpynm.value) )
- {
- rszfValidationCheck("TRRSD00161",
- "prodcmpylist",
- "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + ds_send.getColumn(0, "prodcmpynm"),
- "",
- "prodcmpycd,prodcmpynm",
- "group3.group2.ipt_prodcmpycd",
- "SPRSD00160",
- "",
- "");
- }else{
- group3.group2.ipt_prodcmpycd.value = "";
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_reqflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group3_group2_cmb_reqflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group3.group2.cmb_reqprid.value = '';
- rszfComboReqPridList(group3.group2.cmb_reqprid, group3.group2.cmb_instcd.value, group3.group2.cmb_reqflag.value);
- group3.group2.cmb_reqprid.index = 0;
-
- fReqFagChange(utlf_transNullToEmpty(group3.group2.cmb_reqflag.value));
- /* 위의 select(0); 에서 cmb_reqpridflag value가 있으면 reqpridflag xforms-value_changed 가 발생한다.
- */
-
- if( utlf_transNullToEmpty(group3.group2.cmb_reqprid.value).length == 0 )
- {
- //fSetReqAuth();
- // btn_search.dispatch("DOMActivate");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_clear
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화버튼 클릭시
- ****************************************************************************************/
- function group3_group2_btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(group3.grd_goodlist);
- misfGridInit(group3.grd_apply);
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_lrgcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group3_group2_cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- rszfLMSComboList(ds_send.getColumn(0, "goodflag"), ds_send.getColumn(0, "lrgcd"), "", "group3.group2.cmb_mdlcd", "", "M","Y");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodcd
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group3_group2_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- group3.group2.btn_search.click();
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_goodlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function group3_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_main_goodlist.setColumn(ds_main_goodlist.rowposition, "select", "true");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_listcopy
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택적용버튼 클릭시
- ****************************************************************************************/
- function group3_btn_listcopy_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_goodlist.rowcount == 0 )
- {
- sysf_messageBox("적용할 내역이","I004");
- return;
- }
-
- ds_copytemp.clearData();
-
- var varcopy = ds_main_goodlist.filter("select=='true'");
- ds_copytemp.copyData(ds_main_goodlist, true);
- ds_main_goodlist.filter("");
-
- ds_apply_goodapplist.copyData(ds_copytemp);
-
- if( utlf_isNull(ds_apply_goodapplist.getColumnInfo("userqty")) ){
- ds_apply_goodapplist.addColumn("userqty", "string");
- }
-
- var misexch = 0;
-
- ds_apply_goodapplist.enableevent = false;
- ds_apply_goodapplist.updatecontrol = false;
-
- for( var row=0 ; row<ds_apply_goodapplist.rowcount ; row++ )
- {
- ds_apply_goodapplist.setColumn(row, "select", "false");
-
- if( utlf_transNullToEmpty(ds_apply_goodapplist.getColumn(row, "userqty")).length == 0 )
- {
- misexch = ds_apply_goodapplist.getColumn(row, "minexch");
- if( misexch > 0 ) ds_apply_goodapplist.setColumn(row, "userqty", misexch);
- else ds_apply_goodapplist.setColumn(row, "userqty", "1");
- }
- ds_apply_goodapplist.setRowType(row, 2);
- }
-
- ds_apply_goodapplist.updatecontrol = true;
- ds_apply_goodapplist.enableevent = true;
-
- for( var row=0 ; row<ds_main_goodlist.rowcount ; row++ ) ds_main_goodlist.setColumn(row, "select", "false");
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_apply_goodapplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_apply_goodapplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "select" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
-
- break;
-
- case "userqty" :
- var misexch = ds_apply_goodapplist.getColumn(ds_apply_goodapplist.rowposition, "minexch");
- var usrqty = ds_apply_goodapplist.getColumn(ds_apply_goodapplist.rowposition, "userqty");
-
- if( misexch > 0 && usrqty && usrqty%misexch != 0 ){
- sysf_messageBox("최소청구량에 ["+ misexch + "]맞춰서" , "C001");
- ds_apply_goodapplist.setColumn(ds_apply_goodapplist.rowposition, "userqty", "");
- group3.grd_apply.showEditor(true);
- }
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_delete
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제버튼 클릭시
- ****************************************************************************************/
- function group3_btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- for( var currow=ds_apply_goodapplist.rowcount ; currow>=0 ; currow-- )
- if( ds_apply_goodapplist.getColumn(currow, "select") == "true" ) ds_apply_goodapplist.deleteRow(currow);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 적용버튼 클릭시
- ****************************************************************************************/
- function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_apply_goodapplist.rowcount == 0 )
- {
- sysf_messageBox("적용할 내역이","I004");
- this.close();
- return;
- }
- var nodelist = ds_apply_goodapplist;
-
- var rCVS = dsf_getDsCSV(ds_apply_goodapplist)
- if ( frmf_checkOpener() ) {
- opener.frmf_setParameter("SMRSD00400_", rCVS);
-
- } else {
- var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
- }
- this.close();
- }
- function ds_main_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "select" :
- if( e.newvalue == "true" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
-
- break;
-
- default :
- break;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|