123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>물품코드등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <good>
- <goodlist/>
- </good>
- <gooddet>
- <gooddetlist/>
- <goodconstlist/>
- <goodinstlist/>
- </gooddet>
- </list>
- <costhistinfolist>
- <appdd/>
- <rctpdisburseunitcost/>
- <medcarecalcscor/>
- <suplplcecd/>
- </costhistinfolist>
- <item/>
- <gooddet>
- <gooddetlist/>
- </gooddet>
- <goodcopy>
- <goodlist/>
- </goodcopy>
- <newgoodcd>
- <goodcdno/>
- </newgoodcd>
- <checkgood>
- <checkgoodcd/>
- </checkgood>
- </main>
- <send>
- <save>
- <goodlist/>
- <gooddetlist/>
- <setautoins>
- <setyn>N</setyn>
- </setautoins>
- </save>
- <goodlist>
- <goodflag/>
- <goodnm/>
- <lrgcd/>
- <instcd/>
- <edicd/>
- <goodcd/>
- <mdlcd/>
- <spec/>
- <prodcmpy/>
- <smlcd/>
- <model/>
- <mdlnm/>
- <lrgnm/>
- <smlnm/>
- <prodcmpynm/>
- <instflag/>
- <oldcd/>
- </goodlist>
- <gooddetlist>
- <goodcd/>
- <fromdd/>
- <useyn/>
- </gooddetlist>
- <goodcopy>
- <goodflag/>
- <lrgcd/>
- <mdlcd/>
- </goodcopy>
- <snewgoodcd>
- <lrgcd/>
- <mdlcd/>
- </snewgoodcd>
- <scheckgood>
- <scheckgoodcd/>
- </scheckgood>
- <sendmasterexcel/>
- <attach>
- <file/>
- <instcd/>
- </attach>
- </send>
- <init>
- <instflag>
- <label>기관</label>
- <value>Y</value>
- <label>전체</label>
- <value/>
- </instflag>
- <goodflag/>
- <deliveunit/>
- <reqprid/>
- <mngtflag/>
- <purcflag/>
- <instcd/>
- <proddrugsetflag/>
- <instnm/>
- <allsizeyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </allsizeyn>
- <tmpreqflag>
- <label>청구가능</label>
- <value>Y</value>
- <label>청구불가능</label>
- <value>N</value>
- </tmpreqflag>
- <radio2>
- <label>신청유</label>
- <value>Y</value>
- <label>신청무</label>
- <value>N</value>
- </radio2>
- <expnyn>
- <label>고가</label>
- <value>Y</value>
- <label>고가아님</label>
- <value>N</value>
- </expnyn>
- <copydata>
- <mastexcel>
- <goodnm/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <winacnt/>
- <amtacnt/>
- <goodunitcost/>
- <addtaxrate/>
- <purcunit/>
- <deliveunit/>
- <exchqty/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <suppcustcd/>
- <suppcustnm/>
- <mainmngtdeptcd/>
- <mainmngtdeptname/>
- <bnscd/>
- <orgloc/>
- <cmt/>
- </mastexcel>
- </copydata>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fCheckAuth();
- fInitialize();
- btn_excelload.visible = false;
- btn_savemaster.visible = false;
-
- ]]>
- </script>
- <submission id="TRRSC05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/good"/>
- <submission id="TXRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TRRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
- <submission id="TRRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcopy" resultref="/root/main/goodcopy"/>
- <submission id="TRRSC05601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/snewgoodcd" resultref="/root/main/newgoodcd"/>
- <submission id="TRRSC05602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/scheckgood" resultref="/root/main/checkgood"/>
- <submission id="TXRSC05307" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/attach" resultref="/root/hidden/temp1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function insertTomaster()
- {
-
- grd_mastexcel.deleteRow(1);
- grd_mastexcel.refresh();
-
- //grd_mastexcel.rowStatus
- for(var currow = grd_mastexcel.fixedRows ; currow < grd_mastexcel.rows ; currow++)
- {
- grd_mastexcel.addStatus(currow,"insert");
- }
-
- }
-
-
- function fInitialize() {
-
- misfGridInit(grd_goodlist);
- misfGridInit(grd_gooddetlist);
- misfGridInit(grd_costhistinfo);
- misfGridInit(grd_instinfo);
-
- misfGridInit(grd_mastexcel);
- misfGridInit(grd_attach);
-
- misfGridIUD(grd_gooddetlist, "A");
-
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/save/setautoins/setyn","N");
- // rszfUserGoodFlagList(ipt_goodflag,getUserInfo("userid"));
- /*
- misfComboComCdListMulti(
- "R0092,
- R0032,
- R0039,
- R0043,
- R0069,
- R0068,
- R0047,
- R0106,
- R0093,
- R0095,
- R0111,
- R0107,
- R0032",
- "cmb_reqmthd,
- cmb_purcunit,
- cmb_deliveunit,
- cmb_asetflag,
- cmb_stocmngtflag,
- cmb_proddrugsetflag,
- cmb_curncyunit,
- cmb_plceordqtycretflag,
- cmb_reqprid,
- cmb_conflag,
- cmb_purcflag,
- cmb_plceordbase,
- cmb_cntsunit");
- */
- // 2012.12.04 경북대 창고구분 추가
- misfComboComCdListMulti("R0043,R0069,R0106,R0093,R0107,R0032,R0032,030M0001,030R0003","cmb_asetflag,cmb_stocmngtflag,cmb_plceordqtycretflag,cmb_reqprid,cmb_plceordbase,cmb_cntsunit,cmb_specunit,cmb_wareflag,cmb_purccls");
-
- rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag,"Y");
-
- //기관코드 읽어오는 부분 넣기
- var instcd = getUserInfo("dutplceinstcd");
- var instnm = getUserInfo("dutplceinstnm");
-
- if(instcd.length > 0)model.setValue(opt_instcd.attribute("ref"), instcd);
- if(instnm.length > 0)model.setValue(opt_instnm.attribute("ref"), instnm);
-
- //물품구분일 경우 첫번째 index 자동 설정
- if(cmb_asetflag.length> 0) cmb_asetflag.selectedindex= 0;
-
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
- misfMsterDetailSet(grd_goodlist,null, "TRRSC05301" ,"Y");
- misfMsterDetailSet(grd_gooddetlist,grd_goodlist, "TRRSC05302" ,"Y");
- misfMsterDetailSet(grd_costhistinfo,grd_goodlist, "TRRSC05302" ,"N");
- misfMsterDetailSet(grd_instinfo,grd_goodlist, "TRRSC05302" ,"N");
-
- //hidden default value
- /*<!-- [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= S) => (goodflag= SF) -->*/
- model.setValue(ipt_goodflag.attribute("ref"), 'SF');
- model.setValue(ipt_goodflag_search.attribute("ref"), 'SF');
-
- rszfLMSComboList(model.getValue(ipt_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
- rszfLMSComboList(model.getValue(ipt_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
- /* 구매단위는 기준정보 셋팅한다. 및 copy한다. */
- rszfComboUnitList ( cmb_purcunit, model.getValue(opt_instcd.attribute("ref")), model.getValue(ipt_goodflag_search.attribute("ref") ) );
- misfComboCopyItemSet(cmb_purcunit, "", cmb_deliveunit, ""); //규격단위
-
- // 물품구분별 권한
- fSetGoodFlagAuth();
- //rbo_instflag.select(1);
- model.setValue(rbo_instflag.attribute("ref"),"Y");
-
- grd_goodlist.explorerbar = "sortshow";
- model.setFocus("ipt_goodcd");
-
-
- model.refresh();
- }
-
- // 물품구분별 권한체크.
- function fSetGoodFlagAuth()
- {
-
- //btn_save.disabled=true; //이현민 수정test
-
- rszfGetPurcGoodFlagAuthInfo(opt_instcd.value , ipt_goodflag_search.value, getUserInfo("userid"), "%");
-
- if(rszfGetGoodFlagAuthInfoByCond("goodflagauth") =="Y")btn_save.disabled=false;//이현민
- }
-
- // 화면 전체 조회
- function fRetrGoodList(nodecopy) {
- model.resetInstanceNode("/root/main/gooddet/gooddetlist");
-
- misfMsterDetailRetrieve();
- //fAfterRetrGoodList();
-
- if(nodecopy == true)fAfterRetrGoodList();
- else if( nodecopy == false && grd_gooddetlist.rows - grd_gooddetlist.fixedRows== 0 )btn_insert.dispatch("DOMActivate");
- }
-
- function fCheckSaveData()
- {
- if(model.getValue(ipt_goodcd.attribute("ref")).length== 0 )
- {
- messageBox("물품코드는" ,"I003");
- model.setFocus("ipt_goodcd");
- return false;
- }
-
- if(model.getValue(ipt_goodnm.attribute("ref")).length== 0 )
- {
- messageBox("물품코드명은" ,"I003");
- model.setFocus("ipt_goodnm");
- return false;
- }
-
- if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
- {
- messageBox("대분류코드는" ,"I003");
- model.setFocus("cmb_lrgcd");
- return false;
- }
- if(model.getValue(ipt_winacnt.attribute("ref")).length== 0 )
- {
- messageBox("비용계정은" ,"I003");
- model.setFocus("ipt_winacnt");
- return false;
- }
-
- if(model.getValue(ipt_mngtdeptcd.attribute("ref")).length== 0 )
- {
- messageBox("주관리부서는" ,"I003");
- model.setFocus("ipt_mngtdeptcd");
- return false;
- }
- //hbh
- // if(model.getValue(cmb_reqmthd.attribute("ref")).length== 0 )
- // {
- // messageBox("청구방법은" ,"I003");
- // model.setFocus("cmb_reqmthd");
- // return false;
- // }
-
- if(model.getValue(cmb_purcunit.attribute("ref")).length== 0 )
- {
- messageBox("구매단위은" ,"I003");
- model.setFocus("cmb_purcunit");
- return false;
- }
-
- if(model.getValue(ipt_exchqty.attribute("ref")).length== 0 )
- {
- messageBox("환산수량은" ,"I003");
- model.setFocus("ipt_exchqty");
- return false;
- }
-
- if(model.getValue(cmb_deliveunit.attribute("ref")).length== 0 )
- {
- messageBox("불출단위는" ,"I003");
- model.setFocus("cmb_deliveunit");
- return false;
- }
-
- if(model.getValue(cmb_stocmngtflag.attribute("ref")).length== 0 )
- {
- messageBox("재고관리기준은" ,"I003");
- model.setFocus("cmb_stocmngtflag");
- return false;
- }
-
- if(model.getValue(cmb_asetflag.attribute("ref")).length== 0 )
- {
- messageBox("자산구분은" ,"I003");
- model.setFocus("cmb_asetflag");
- return false;
- }
-
- if(model.getValue(ipt_nonusetretdd.attribute("ref")).length > 0 && model.getValue(ipt_nonusetretdd.attribute("ref")) <= getCurrentDate() && model.getValue(ipt_nonusetretresn.attribute("ref")) == 0)
- {
- messageBox("코드 불용일자를 선택하신 경우에는 불용사유가 " ,"I003");
- model.setFocus("ipt_nonusetretresn");
- return false;
- }
-
- // if(model.getValue(ipt_toconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
- // {
- // messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
- // model.setFocus("ipt_fromconterm");
- // return false;
- //
- // }
- //
- // if(model.getValue(ipt_fromconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
- // {
- // messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
- // model.setFocus("ipt_toconterm");
- // return false;
- // }
- return true;
- }
-
- function fCheckSaveMasterData()
- {
-
- for(var currow = grd_mastexcel.fixedRows ; currow < grd_mastexcel.rows ; currow++)
- {
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("goodnm")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 물품코드를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("lrgcd")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 대분류코드를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("mdlcd")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 중분류코드를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("goodunitcost")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 단가를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("purcunit")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 포장단위를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("deliveunit")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 불출단위를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("exchqty")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 환산수량을 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("maincustlastsuplplce")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 주거래처코드를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- if(grd_mastexcel.valueMatrix(currow , grd_mastexcel.colRef("mainmngtdeptcd")).length == 0)
- {
- messageBox((currow - grd_mastexcel.fixedRows + 1) + " 번째 관리부서코드를 " ,"C001");
- grd_mastexcel.row = currow ;
- grd_mastexcel.col= grd_mastexcel.colRef("goodcd");
- return false;
- }
- }
- return true;
- }
-
- function fAfterRetrGoodList()
- {
- if (grd_gooddetlist.rows == 0 )btn_insert.dispatch("DOMActivate");
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
- cmb_lrgcd.dispatch("xforms-value-changed");
- cmb_mdlcd.dispatch("xforms-value-changed");
-
- if(model.getValue(ipt_nonusetretdd.attribute("ref")).length > 0 && model.getValue(ipt_nonusetretdd.attribute("ref")) < getCurrentDate())ipt_nonusetretdd.attribute("background-color") = "#c0c0c0";
- else ipt_nonusetretdd.attribute("background-color") = "#ffffff";
-
- grp_detail.refresh();
- grp_etcgood.refresh();
-
- grd_gooddetlist.row = 1;
- model.setFocus("ipt_goodcd");
- }
-
- function fCheckAuth() {
-
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ; //이현민
- //btn_prt.disabled = !checkAuth("P") ;
- }
-
- function fSetDataCopy(){
- if(grd_gooddetlist.rows < grd_goodlist.fixedRows)grd_gooddetlist.row = 1;
- misfGridRowStatusChange(grd_gooddetlist,"/root/main/list/gooddet" , "/root/main/gooddet");
- grp_detail.refresh();
- }
- function fDefaultSetting()
- {
- model.setValue(grd_gooddetlist.nodeset + "/goodflag" , model.getValue(ipt_goodflag_search.attribute("ref")));
- model.setValue(grd_gooddetlist.nodeset + "/goodcd" , "");
- model.setValue(grd_gooddetlist.nodeset + "/fromdd" , getCurrentDate());
- model.setValue(grd_gooddetlist.nodeset + "/lrgcd" , model.getValue(cmb_lrgcd_search.attribute("ref")));
- model.setValue(grd_gooddetlist.nodeset + "/mdlcd" , model.getValue(cmb_mdlcd_search.attribute("ref")));
- model.setValue(grd_gooddetlist.nodeset + "/smlcd" , model.getValue(cmb_smlcd_search.attribute("ref")));
- //model.setValue(grd_gooddetlist.nodeset + "/prodcmpycd" , model.getValue(ipt_prodcmpy_search.attribute("ref")));
- //model.setValue(grd_gooddetlist.nodeset + "/prodcmpynm" , model.getValue(opt_prodcmpynm_search.attribute("ref")));
- // hbh 추가
- model.setValue(grd_gooddetlist.nodeset + "/instcd" ,getUserInfo("dutplceinstcd"));
- model.setValue(grd_gooddetlist.nodeset + "/useyn" ,'Y');
- model.setValue(grd_gooddetlist.nodeset + "/reqmthd" ,'3'); // 1: 처방집계 2: 정량보충 3:일반청구
- model.setValue(grd_gooddetlist.nodeset + "/purcflag" ,'1');
- model.setValue(grd_gooddetlist.nodeset + "/reqflag" ,'J'); // 청구 방법
- model.setValue(grd_gooddetlist.nodeset + "/reqprid" ,'1'); // 청구주기
- model.setValue(grd_gooddetlist.nodeset + "/asetflag" ,'1'); // 자산구분
- model.setValue(grd_gooddetlist.nodeset + "/gnrlspcl" ,'N'); // 일반전문(약품)
- model.setValue(grd_gooddetlist.nodeset + "/specldrug" ,'N'); // 특별약품 (약품)
- model.setValue(grd_gooddetlist.nodeset + "/todd" ,'99991231'); // 종료일
- model.setValue(grd_gooddetlist.nodeset + "/wareflag" ,'6'); // 창고구분 - 급식재료창고
-
- //jhj 추가
- ipt_goodcd.disabled = false;
- ipt_goodnm.disabled = false;
- cmb_lrgcd.disabled = false;
- ipt_winacnt.disabled = false;
- cmb_asetflag.disabled = false;
- cmb_purcunit.disabled = false;
- cmb_deliveunit.disabled = false;
- ipt_exchqty.disabled = false;
- ipt_mngtdeptcd.disabled = false;
- cmb_stocmngtflag.disabled = false;
- cmb_purccls.disabled = false;
- }
-
- function fChkSaveData(pgrid_name, ptarget_node, psource_node) {
- var node1 = instance1.selectNodes(ptarget_node + "/*");
- var node2 = instance1.selectNodes(psource_node + "/*");
- for (var i = 0; i < node1.length ; i++) {
- for (var j = 0; j < node2.length; j++) {
- if (node1.item(i).nodeName == node2.item(j).nodeName) {
- var nextnode1 = instance1.selectNodes(ptarget_node + "/" + node1.item(i).nodeName + "[" + (pgrid_name.row - pgrid_name.fixedRows + 1) + "]" + "/*");
- var nextnode2 = instance1.selectNodes(psource_node + "/" + node2.item(j).nodeName + "/*");
-
- var copytarget = ptarget_node + "/" + node1.item(i).nodeName + "[" + (pgrid_name.row - pgrid_name.fixedRows + 1) + "]";
- var copysource = psource_node + "/" + node2.item(j).nodeName;
-
- for (var k = 0; k < nextnode1.length; k++) {
- for (var p = 0; p < nextnode2.length; p++) {
- if (nextnode1.item(k).nodeName == nextnode2.item(p).nodeName) {
- if (model.getValue(ptarget_node + "/" + node1.item(i).nodeName + "[" + (pgrid_name.row - pgrid_name.fixedRows + 1) + "]" + "/" + nextnode1.item(k).nodeName) !=
- model.getValue(psource_node + "/" + node2.item(j).nodeName + "/" + nextnode2.item(p).nodeName))return true;
- }
- }
- }
- }
- }
- }
- return false;
- }
- function fCheckRetrieveData()
- {
- if(model.getValue(ipt_goodflag_search.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("ipt_goodflag_search");
- return false;
- }
- return true;
- }
- function fInstGoodCdCopy()
- {
- if(grd_goodlist.row - grd_goodlist.fixedRows == 0)return;
-
- btn_insert.dispatch("DOMActivate");
-
- model.SetValue(ipt_goodcd.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/goodcd"));
- model.SetValue(ipt_goodnm.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/goodnm"));
- model.SetValue(ipt_goodhngnm.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/goodhngnm"));
- model.SetValue(ipt_goodengnm.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/goodengnm"));
- model.SetValue(cmb_lrgcd.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/lrgcd"));
- cmb_lrgcd.dispatch("xforms-value-changed");
- model.SetValue(cmb_mdlcd.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/mdlcd"));
- cmb_mdlcd.dispatch("xforms-value-changed");
- model.SetValue(cmb_smlcd.attribute("ref"),model.getValue(grd_goodlist.nodeset+"["+grd_goodlist.row+"]/smlcd"));
-
- model.refresh();
-
- model.setFocus("ipt_winacnt");
- }
- function fGoodCdCopy()
- {
- if(model.getValue(ipt_goodflag_search.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("ipt_goodflag_search");
- return false;
- }
- if(model.getValue(cmb_lrgcd.attribute("ref")).length== 0 )
- {
- messageBox("대분류코드를 " ,"C002");
- model.setFocus("cmb_lrgcd");
- return false;
- }
- if(model.getValue(cmb_mdlcd.attribute("ref")).length== 0 )
- {
- messageBox("중분류코드를 " ,"C002");
- model.setFocus("cmb_mdlcd");
- return false;
- }
-
- model.setValue("/root/send/goodcopy/goodflag", model.getValue(ipt_goodflag_search.attribute("ref")));
- model.setValue("/root/send/goodcopy/lrgcd", model.getValue(cmb_lrgcd.attribute("ref")));
- model.setValue("/root/send/goodcopy/mdlcd", model.getValue(cmb_mdlcd.attribute("ref")));
- submit("TRRSC05303");
-
- var goodcd = model.getValue("/root/main/goodcopy/goodlist/goodcd");
- if(goodcd.length == 0)goodcd = model.getValue(ipt_goodflag_search.attribute("ref")) + model.getValue(cmb_lrgcd.attribute("ref")) + model.getValue(cmb_mdlcd.attribute("ref")) + "0001";
-
- model.setValue(ipt_goodcd.attribute("ref"), goodcd);
- grp_detail.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1373;">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">식자재 코드 등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0; top:38; width:1195; height:744; ">
- <group id="grp_title" style="left:0px; top:10px; width:1195px; height:61px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:61px; "/>
- <caption id="caption3" class="search_name" style="left:15; top:35; width:86px; height:17px; ">물품코드 :</caption>
- <caption id="caption8" class="search_name" style="left:15px; top:9; width:83px; height:17px; ">대 분 류 :</caption>
- <caption id="caption61" class="search_name" style="left:343px; top:9px; width:83px; height:17px; ">중 분 류 :</caption>
- <caption id="caption39" class="search_name" style="left:700px; top:9px; width:86px; height:17px; ">소 분 류 :</caption>
- <line id="line1" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:52px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="9" style="left:1124px; top:20px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckRetrieveData() == false)return;
- fRetrGoodList(false);
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" navindex="6" _chartype="upper" style="left:430px; top:34px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" navindex="5" imemode="disabled" maxlength="12" _chartype="upper" style="left:100px; top:34px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption81" class="search_name" style="left:700px; top:35px; width:85px; height:17px; ">기 관 :</caption>
- <select1 id="rbo_instflag" ref="/root/send/goodlist/instflag" navindex="7" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:784px; top:35px; width:95px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/instflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_goodflag_search" ref="/root/send/goodlist/goodflag" navindex="8" visibility="hidden" style="left:1075px; top:30px; width:25px; height:19px; "/>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" navindex="2" appearance="minimal" style="left:100px; top:8px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(ipt_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- cmb_mdlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" navindex="3" appearance="minimal" style="left:430px; top:8px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(ipt_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y", "Y");
- cmb_smlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" navindex="4" appearance="minimal" style="left:782px; top:8px; width:160px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="search_name" style="left:343px; top:35px; width:86px; height:17px; ">물 품 명 :</caption>
- </group>
- <caption id="caption9" class="tit_2" style="left:5px; top:81px; width:82px; height:13px; ">식자재목록</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:95px; x2:735; y2:95px; "/>
- <caption id="caption1" class="tit_2" style="left:745; top:81px; width:95px; height:13px; ">통합품목정보</caption>
- <switch id="switch2" style="left:0px; top:450px; width:735px; height:284px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1">
- <datagrid id="grd_costhistinfo" nodeset="/root/main/list/gooddet/goodconstlist" caption="적용일자*^주거래처^보조거래처^제품단가^견적가^외화단가^화폐단위^수불단가^의료수가^제조국^한글명^영문명^규격^모델^관리부서^입고계정^비용계정^수정자" colsep="^" colwidth="80, 124, 127, 99, 83, 0, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:29px; width:733px; height:243px; ">
- <col ref="fromdd"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustnm"/>
- <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="forgncurncyunitcost" format="#,###" style="text-align:right; "/>
- <col ref="curncyunit"/>
- <col/>
- <col format="#,###" style="text-align:right; "/>
- <col ref="prodplce" format="#,###" style="text-align:right; "/>
- <col ref="goodnm"/>
- <col ref="goodhngnm"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="mainmngtdeptnm"/>
- <col ref="winacntnm"/>
- <col ref="amtacntnm"/>
- <col ref="lastupdtrnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_goodlist.row > 0)
- {
- model.setValue("/root/send/gooddetlist/goodcd", model.getValue(grd_goodlist.nodeset + "["+ grd_goodlist.row + "]/goodcd" ));
- model.setValue("/root/send/gooddetlist/fromdd", model.getValue(grd_costhistinfo.nodeset + "["+ grd_costhistinfo.row + "]/fromdd" ));
- model.setValue("/root/send/gooddetlist/useyn", "N");
- submit("TRRSC05302");
- fAfterRetrGoodList();
- model.setValue("/root/send/gooddetlist/fromdd","" );
- }
- ]]>
- </script>
- </datagrid>
- <line id="line21" class="line_1" style="x1:0px; y1:24px; x2:733; y2:24px; "/>
- </case>
- <case id="case2">
- <line id="line49" class="line_1" style="x1:0; y1:24; x2:533px; y2:24; "/>
- <group id="grp_etcgood" style="left:0px; top:29px; width:530px; height:60px; ">
- <line id="line50" class="line_2" style="x1:0px; y1:22px; x2:528px; y2:22px; "/>
- <line id="line53" class="line_3" style="x1:0px; y1:46px; x2:528px; y2:46px; "/>
- <caption id="caption74" class="cell_1" style="left:0px; top:24px; width:108px; height:23px; vertical-align:middle; ">일평균사용량</caption>
- <caption id="caption76" class="cell_1" style="left:264px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주생성구분</caption>
- <select1 id="cmb_plceordbase" ref="/root/main/gooddet/gooddetlist/plceordbase" class="combo_essential" appearance="minimal" style="left:111px; top:2px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/plceordbase">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption78" class="cell_1" style="left:0px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주기준</caption>
- <input id="ipt_mmavguseqty" ref="/root/main/gooddet/gooddetlist/ddavguseqty" class="input_default" style="left:111px; top:26px; width:150px; height:19px; text-align:right; "/>
- <caption id="caption79" class="cell_1" style="left:264px; top:24px; width:108px; height:23px; vertical-align:middle; ">재고보유일수</caption>
- <input id="ipt_prprtystocpossndayno" ref="/root/main/gooddet/gooddetlist/prprtystocpossndayno" class="input_default" style="left:375px; top:26px; width:153px; height:19px; text-align:right; "/>
- <select1 id="cmb_plceordqtycretflag" ref="/root/main/gooddet/gooddetlist/plceordqtycretflag" class="combo_essential" appearance="minimal" style="left:375px; top:2px; width:153px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/plceordqtycretflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </case>
- <case id="case4">
- <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="103, 410" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:29px; width:733px; height:243px; ">
- <col ref="instcd"/>
- <col ref="instnm"/>
- </datagrid>
- <line id="line22" class="line_1" style="x1:0px; y1:24px; x2:733; y2:24px; "/>
- </case>
- <case id="case3" selected="true">
- <line id="line2" class="line_1" style="x1:0px; y1:24px; x2:733; y2:24px; "/>
- <datagrid id="grd_mastexcel" nodeset="/root/init/copydata/mastexcel" caption="물품명^대분류^대분류명^중분류^중분류명^입고계정^비용계정^단가^세율^포장단위^불출단위^환산수량^주거래처코드^주거래처명^보조거래처코드^보조거래처명^관리부서코드^관리부서명^업체코드^원산지^비고^caption6" colsep="^" colwidth="100, 86, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:730px; height:205px; font-size:10pt; ">
- <col ref="goodnm"/>
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <col ref="winacnt"/>
- <col ref="amtacnt"/>
- <col ref="mainmngtdeptcd"/>
- <col ref="mainmngtdeptname"/>
- <col ref="purcunit"/>
- <col ref="deliveunit"/>
- <col ref="exchqty"/>
- <col ref="maincustlastsuplplce"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="goodunitcost"/>
- <col ref="bnscd"/>
- <col ref="orgloc"/>
- <col ref="cmt"/>
- <col ref="addtaxrate"/>
- </datagrid>
- <datagrid id="grd_attach" nodeset="/root/send/attach" class="datagrid1" visibility="hidden" caption="File Name^File Size^caption1" colsep="^" colwidth="403, 93, 100" dataheight="23" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:55px; top:70px; width:660px; height:140px; ">
- <col ref="file" style="text-align:center; "/>
- <col ref="filesize" format="#,###" style="text-align:right; "/>
- <col ref="instcd"/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_insert" class="btn2_letter2" navindex="48" style="left:1152px; top:74px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_gooddetlist);
- misfGridIUD(grd_gooddetlist, "A");
- fDefaultSetting();
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
-
- if(cmb_asetflag.length> 0) cmb_asetflag.selectedindex= 0;
- //if(cmb_purccls.length> 0) cmb_purccls.selectedindex= 0;
-
- if(ipt_fromdd.attribute("background-color") == "#c0c0c0")ipt_fromdd.attribute("background-color") = "#ffffff";
- model.refresh();
- model.setFocus("ipt_goodcd");
- ]]>
- </script>
- </button>
- <button id="btn_choidel" class="btn2_letter5" navindex="47" style="left:1075px; top:74px; width:75px; height:19px; ">
- <caption>선택행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_gooddetlist, "D");
- misfGridIUD(grd_goodlist, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_goodlist" nodeset="/root/main/list/good/goodlist" caption="물품코드^물품구분^물품명^대분류^대분류명^중분류^중분류명^소분류^소분류명" colsep="^" colwidth="75, 0, 135, 42, 87, 47, 85, 59, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" navindex="10" style="left:0px; top:100px; width:735px; height:322px; ">
- <col ref="goodcd" type="output" _key="true"/>
- <col ref="goodflag" visibility="hidden" _key="true"/>
- <col ref="goodnm" type="output" _key="true"/>
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="goodhngnm" visibility="hidden"/>
- <col ref="goodengnm" visibility="hidden"/>
- <col ref="asetflag" visibility="hidden"/>
- <col ref="prodcmpycd" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fRetrGoodList(true);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_instcd" class="btn_sw" group="tab" selected="true" style="left:180px; top:428px; width:90px; height:22px; ">
- <caption>사용기관정보</caption>
- <toggle case="case4" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_excelload.visible = false;
- btn_savemaster.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_addinfo" class="btn_sw" group="tab" style="left:90px; top:428px; width:90px; height:22px; ">
- <caption>부가입력정보</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_excelload.visible = false;
- btn_savemaster.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_costhistinfo" class="btn_sw" group="tab" selected="true" style="left:0px; top:428px; width:90px; height:22px; ">
- <caption>이력정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_excelload.visible = false;
- btn_savemaster.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_masterinsert" class="btn_sw8" visibility="hidden" group="tab" style="left:270px; top:429px; width:112px; height:22px; ">
- <caption>신규코드일관등록</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_excelload.visible = true;
- btn_savemaster.visible = true;
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:740; y1:95px; x2:1195; y2:95px; "/>
- <datagrid id="grd_excel" nodeset="/root/main/list/good/goodlist" visibility="hidden" caption="기관^물품코드^물품구분^물품명^기관별물품명^업체코드^부가세^물품규격^모델^자산구분^대분류코드^대분류명^중분류코드^중분류명^소분류코드^소분류명^edi코드^제조회사코드^제조회사코드^비고^성분명^사용여부^공급처^공급처명^보조거래처^보조거래처명^포장구성단위^물품단가^구매구분^구매구분^청구방법^청구방법명^청구구분^청구구분명^청구주기^청구주기명^최초등록자id^최초등록일시^최종수정자id^최종수정일시" colsep="^" colwidth="50, 50, 50, 50, 100, 100, 100, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" navindex="11" style="left:20px; top:155px; width:440px; height:97px; ">
- <col ref="instcd"/>
- <col ref="goodcd"/>
- <col ref="goodflag"/>
- <col ref="goodnm"/>
- <col ref="goodcd_instcd"/>
- <col ref="bnscd"/>
- <col ref="addtaxrate"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="asetflag"/>
- <col ref="lrgcd"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd"/>
- <col ref="mdlnm"/>
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="edicd"/>
- <col ref="prodcmpycd"/>
- <col ref="prodcmpynm"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="comnm" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="maincustlastsuplplce" visibility="hidden"/>
- <col ref="maincustlastsuplplcenm" visibility="hidden"/>
- <col ref="suppcustcd" visibility="hidden"/>
- <col ref="suppcustnm" visibility="hidden"/>
- <col ref="setunit" visibility="hidden"/>
- <col ref="goodunitcost" visibility="hidden"/>
- <col ref="purcflag" visibility="hidden"/>
- <col ref="purcflagnm" visibility="hidden"/>
- <col ref="reqmthd" visibility="hidden"/>
- <col ref="reqmthdnm" visibility="hidden"/>
- <col ref="reqflag" visibility="hidden"/>
- <col ref="reqflagnm" visibility="hidden"/>
- <col ref="reqprid" visibility="hidden"/>
- <col ref="reqpridnm" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- </datagrid>
- <button id="btn_excel2" class="btn5_letter3" navindex="12" style="left:662px; top:75px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vdate = new Date();
- var HH = vdate.getHours();
- var MI = vdate.getMinutes();
- var SS = vdate.getSeconds();
-
- var vTime = HH +"" + MI +"" + SS;
-
-
- var vFileNM = "식자재목록내역_"+getCurrentDate()+ vTime;
-
- var fileName = window.fileDialog("save", ",", false, vFileNM, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_excel.saveExcel(fileName, vFileNM, true, true, "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelload" class="btn5_letter3" visibility="hidden" style="left:670px; top:430px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- misfGridInit(grd_mastexcel);
- grd_mastexcel.loadExcel(fileName, 1);
- grd_mastexcel.refresh();
- //물품코드를 찾아서 매핑
- insertTomaster();
- ]]>
- </script>
- </button>
- <button id="btn_savemaster" class="btn2_letter2" navindex="50" visibility="hidden" style="left:620px; top:430px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- misfGridInit(grd_gooddetlist);
- misfGridIUD(grd_gooddetlist, "A");
- fDefaultSetting();
- model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
- if(cmb_asetflag.length> 0) cmb_asetflag.selectedindex= 0;
- if(ipt_fromdd.attribute("background-color") == "#c0c0c0")ipt_fromdd.attribute("background-color") = "#ffffff";
- model.refresh();
- model.setFocus("ipt_goodcd");
- */
- if(fCheckSaveMasterData() == false) return;
- model.copyNode("/root/send/sendmasterexcel","/root/init/copydata/mastexcel");
-
- model.makeValue("/root/send/sendmasterexcel/instcd",model.getValue("/root/send/unitref/instcd") );
- alert(model.getValue("/root/send/sendmasterexcel/instcd"))
-
- //return;
-
-
- //submit("TXRSC05307");
-
- //alert("ok");
-
- var maxsize = upload1.attribute("filesize");
- //alert("maxsize" + maxsize);
- var filename = window.fileDialog("open", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //alert("filename"+filename);
- var filelist = filename.split("|");
- //alert("filelist"+filelist);
- var s = new String(filelist[filelist.length-1]);
- //alert("s"+s);
- var ss = s.split("\\");
- //alert("ss"+ ss);
-
- if(filename !=""){
- //작업 전 row를 추가 >파일명 유/무에 따른 분기>
- for(var i = 0 ; i < filelist.length ; i++ ){
- grd_attach.addRow(false);
-
- if(filelist[i] == ""){
- //alert(grd_attach.rows - 1);
- grd_attach.removeRow(false);
- grd_attach.refresh();
- }else{
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- //파일크기('tfHelper.checkFileSize' 참조)
- var fileCnt = upload1.getFileCount();
- var lastIndex = fileCnt - 1;
- var fileSize = upload1.getFileSize(lastIndex);
- grd_attach.textmatrix(grd_attach.rows - 1,1) = fileSize;
-
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
- }
- }
-
- model.setValue("root/send/attach/instcd",model.getValue("/root/send/unitref/instcd") );
- //model.makeValue("/root/send/sendmasterexcel/instcd",model.getValue("/root/send/unitref/instcd") );
- model.refresh();
- //alert(model.getValue("/root/send/sendmasterexcel/instcd"))
-
- openLoadingBar("파일업로드 작업중입니다... ") ;
- submit("TXRSC05307");
- closeLoadingBar();
- misfGridInit(grd_attach);
-
- //btn_search.dispatch("DOMActivate");
- }
-
-
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="41943040" validate="true" style="left:555px; top:425px; width:30px; height:25px; "/>
- </group>
- <group id="group4" visibility="visible" style="left:0; top:12; width:1195; height:27; ">
- <button id="btn_save" class="btn4_letter2" style="left:1069px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //이현민
- model.setValue("/root/send/scheckgood/scheckgoodcd",model.getValue("/root/main/gooddet/gooddetlist/goodcd"));
- //alert(model.getValue("/root/send/scheckgood/scheckgoodcd"));
- submit("TRRSC05602");
- //alert(model.getValue("/root/main/checkgood/checkgoodcd"));
- //alert(model.getValue("/root/main/checkgood/checkgoodcd").getTrim().length);
-
- if (grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 1 || grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 3 ) {
-
- if(model.getValue("/root/main/checkgood/checkgoodcd").getTrim().length != 0 ) {
- messageBox("이미 "+model.getValue("/root/main/checkgood/checkgoodcd")+ "로 저장된 물품Master가 존재합니다. 다시 중분류 돋보기 버튼을 눌러서 물품코드를 다시 생성해주세요" ,"");
- return;
- //alert("이미 "+model.getValue("/root/main/checkgood/checkgoodcd")+ "~로 저장된 물품Master가 존재합니다. 다시 중분류 돋보기 버튼을 눌러서 물품코드를 다시 생성해주세요")
- }
- }
-
- //이현민
-
- if(fCheckSaveData() == false)return;
-
- fSetDataCopy();
- model.refresh();
- misfSave("TXRSC05302");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" && grd_goodlist.row > 0 )fRetrGoodList(true);//btn_search.dispatch("DOMActivate");
- /*
- {
- submit("TRRSC05301");
- grd_goodlist.clearStatus();
- }
- */
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_scrnmove" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <output id="opt_instnm" ref="/root/init/instnm" visibility="hidden" style="left:886px; top:4px; width:100px; height:19px; "/>
- <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" style="left:791px; top:4px; width:100px; height:19px; "/>
- </group>
- <group id="grp_detail" style="left:740px; top:135px; width:455px; height:630px; ">
- <line id="line19" class="line_2" style="x1:0px; y1:463px; x2:455px; y2:463px; "/>
- <line id="line18" class="line_2" style="x1:0px; y1:382px; x2:455px; y2:382px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:439px; x2:455px; y2:439px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:415px; x2:455px; y2:415px; "/>
- <line id="line20" class="line_3" style="x1:0px; y1:510px; x2:455px; y2:510px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:69px; x2:455px; y2:69px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:46px; x2:455px; y2:46px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:23px; x2:455px; y2:23px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:284px; x2:455px; y2:284px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:211px; x2:455px; y2:211px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:186px; x2:455px; y2:186px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:138px; x2:455px; y2:138px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:115px; x2:455px; y2:115px; "/>
- <select1 id="cmb_asetflag" ref="/root/main/gooddet/gooddetlist/asetflag" class="input_essential" disabled="true" navindex="32" appearance="minimal" style="left:110px; top:288px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("cmb_asetflag");
- ]]>
- </script>
- </select1>
- <input id="ipt_goodhngnm" ref="/root/main/gooddet/gooddetlist/goodhngnm" class="input_essential" visibility="hidden" imemode="hangul" maxlength="450" style="left:300px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodnm");
- else model.setFocus("ipt_goodengnm");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <caption id="caption50" class="cell_1" style="left:0px; top:23px; width:108px; height:22px; vertical-align:middle; ">물 품 코 드</caption>
- <input id="ipt_goodcd" ref="/root/main/gooddet/gooddetlist/goodcd" class="input_essential" disabled="true" navindex="15" imemode="disabled" maxlength="12" _chartype="upper" style="left:110px; top:25px; width:168px; height:19px; "/>
- <output id="opt_winacntnm" ref="/root/main/gooddet/gooddetlist/winacntnm" class="output_fix" appearance="output" style="left:215px; top:164px; width:239px; height:19px; "/>
- <caption id="caption66" class="cell_1" style="left:0px; top:138px; width:108px; height:22px; vertical-align:middle; ">소 분 류</caption>
- <output id="opt_amtacntnm" ref="/root/main/gooddet/gooddetlist/amtacntnm" class="output_fix" appearance="output" style="left:215px; top:189px; width:239px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:0px; top:162px; width:108px; height:22px; vertical-align:middle; ">입 고 계 정</caption>
- <caption id="caption68" class="cell_1" style="left:0px; top:92px; width:108px; height:22px; vertical-align:middle; ">대 분 류</caption>
- <caption id="caption47" class="cell_1" style="left:0px; top:46px; width:108px; height:22px; vertical-align:middle; ">물 품 명</caption>
- <button id="btn_amtacnt" class="icon_search" navindex="25" style="left:195px; top:191px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_winacnt,"","amtacnt,amtacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:0px; top:187px; width:108px; height:22px; vertical-align:middle; ">비 용 계 정</caption>
- <input id="ipt_winacnt" ref="/root/main/gooddet/gooddetlist/winacnt" class="input_essential" disabled="false" navindex="22" style="left:110px; top:164px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_winacnt.attribute("ref")) ,"","winacnt,winacntnm" ,ipt_winacnt,"PPRAC00100","","");
- model.refresh();
- model.setFocus("ipt_amtacnt");
- ]]>
- </script>
- </input>
- <caption id="caption29" class="cell_1" style="left:0px; top:115px; width:108px; height:22px; vertical-align:middle; ">중 분 류</caption>
- <input id="ipt_prodcmpycd" ref="/root/main/gooddet/gooddetlist/prodcmpycd" class="input_default" visibility="hidden" style="left:345px; top:588px; width:10px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpynm,," + model.getValue(ipt_prodcmpycd.attribute("ref")) ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- // model.setFocus("ipt_goodmodel");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- // if(event.shiftKey)model.setFocus("cmb_prodplce");
- // else model.setFocus("ipt_goodmodel");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_goodengnm" ref="/root/main/gooddet/gooddetlist/goodengnm" class="input_essential" visibility="hidden" imemode="alpha" maxlength="450" style="left:315px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- // if(event.shiftKey)model.setFocus("ipt_goodhngnm");
- // else model.setFocus("cmb_prodplce");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_amtacnt" ref="/root/main/gooddet/gooddetlist/amtacnt" class="input_default" navindex="24" style="left:110px; top:189px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </input>
- <output id="opt_prodcmpynm" ref="/root/main/gooddet/gooddetlist/prodcmpynm" class="output_fix" visibility="hidden" appearance="output" style="left:355px; top:588px; width:12px; height:19px; "/>
- <input id="ipt_goodnm" ref="/root/main/gooddet/gooddetlist/goodnm" class="input_essential" disabled="false" navindex="17" maxlength="25" style="left:110px; top:48px; width:344px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodcd");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="40" style="left:195px; top:416px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "mainmngtdeptcd,mainmngtdeptnm";
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_purcunit" ref="/root/main/gooddet/gooddetlist/purcunit" class="combo_essential" disabled="true" navindex="33" appearance="minimal" style="left:110px; top:313px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <button id="btn_useinstinfo" class="btn2_letter7" navindex="14" style="left:224px; top:2px; width:97px; height:19px; ">
- <caption>타기관코드복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInstGoodCdCopy();
- ]]>
- </script>
- </button>
- <caption id="caption53" class="cell_1" style="left:0px; top:0px; width:108px; height:22px; vertical-align:middle; ">적 용 일 자</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:310px; width:108px; height:23px; vertical-align:middle; ">포장/불출/환산</caption>
- <button id="btn_photinfo" class="btn2_letter2" navindex="16" style="left:280px; top:25px; width:42px; height:19px; ">
- <caption>사진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //SPRSC00210
- rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- //rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
- ]]>
- </script>
- </button>
- <caption id="caption16" class="cell_1" style="left:0px; top:414px; width:108px; height:23px; vertical-align:middle; ">관 리 부 서</caption>
- <input id="ipt_mngtdeptcd" ref="/root/main/gooddet/gooddetlist/mainmngtdeptcd" class="input_essential" disabled="true" navindex="39" style="left:110px; top:416px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(opt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <select1 id="cmb_deliveunit" ref="/root/main/gooddet/gooddetlist/deliveunit" class="combo_essential" disabled="true" navindex="34" appearance="minimal" style="left:222px; top:313px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_exchqty" ref="/root/main/gooddet/gooddetlist/exchqty" class="input_essential" disabled="true" navindex="35" maxlength="9" format="#,###" style="left:343px; top:313px; width:111px; height:19px; text-align:right; "/>
- <output id="opt_mngtdeptnm" ref="/root/main/gooddet/gooddetlist/mainmngtdeptnm" class="output_fix" appearance="output" style="left:215px; top:416px; width:239px; height:19px; "/>
- <select1 id="cmb_reqflag" ref="/root/main/gooddet/gooddetlist/reqflag" class="combo_default" visibility="hidden" appearance="minimal" style="left:230px; top:588px; width:15px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/main/gooddet/gooddetlist/fromdd" class="input_search" navindex="13" inputtype="date" style="left:110px; top:2px; width:112px; height:19px; background-color:#ffffff; "/>
- <select1 id="cmb_stocmngtflag" ref="/root/main/gooddet/gooddetlist/stocmngtflag" class="combo_essential" disabled="true" navindex="41" appearance="minimal" style="left:111px; top:440px; width:343px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/stocmngtflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:0px; top:438px; width:108px; height:23px; vertical-align:middle; ">재고관리기준</caption>
- <select1 id="cmb_reqprid" ref="/root/main/gooddet/gooddetlist/reqprid" class="combo_default" visibility="hidden" appearance="minimal" style="left:240px; top:588px; width:20px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqprid">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_nonusetretdd" ref="/root/main/gooddet/gooddetlist/todd" class="input_default" navindex="43" inputtype="date" style="left:111px; top:488px; width:87px; height:19px; "/>
- <input id="ipt_nonusetretresn" ref="/root/main/gooddet/gooddetlist/nonusetretresn" class="input_default" navindex="44" style="left:205px; top:488px; width:249px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_nonusetretdd");
- else model.setFocus("cmb_mngtflag");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <textarea id="tar_cmt" ref="/root/main/gooddet/gooddetlist/cmt" navindex="46" style="left:110px; top:535px; width:343px; height:43px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- // if(event.shiftKey)model.setFocus("ipt_reqpsn");
- // else model.setFocus("ipt_lastpurcdd");
- }
- //event.preventDefault();
- ]]>
- </script>
- </textarea>
- <caption id="caption5" class="cell_1" style="left:0px; top:486px; width:108px; height:23px; vertical-align:middle; ">코드불용일자/사유</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:534px; width:108px; height:46px; vertical-align:middle; ">비 고</caption>
- <output id="opt_maincustlastsuplplcenm" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:215px; top:214px; width:239px; height:19px; "/>
- <output id="opt_suppcustnm" ref="/root/main/gooddet/gooddetlist/suppcustnm" class="output_fix" appearance="output" style="left:215px; top:238px; width:239px; height:19px; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplce" class="input_default" navindex="26" style="left:110px; top:214px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(opt_maincustlastsuplplcenm,opt_instcd);
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" navindex="29" style="left:195px; top:240px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","suppcustcd,suppcustnm","SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption67" class="cell_1" style="left:0px; top:335px; width:108px; height:23px; vertical-align:middle; ">단가 / 부가세</caption>
- <input id="ipt_goodunitcost" ref="/root/main/gooddet/gooddetlist/goodunitcost" class="input_default" navindex="36" maxlength="14.2" format="#,###.00" style="left:110px; top:337px; width:156px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9 && event.shiftKey)model.setFocus("cmb_curncyunit");
- //event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.getValue(ipt_prodcmpycd.attribute("ref"))
- ]]>
- </script>
- </input>
- <button id="btn_maincustlastsuplplce" class="icon_search" navindex="27" style="left:195px; top:216px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","opt_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption37" class="cell_1" style="left:0px; top:236px; width:108px; height:23px; vertical-align:middle; ">보 조 거 래 처</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:211px; width:108px; height:23px; vertical-align:middle; ">주 거 래 처</caption>
- <input id="ipt_suppcustcd" ref="/root/main/gooddet/gooddetlist/suppcustcd" class="input_default" navindex="28" style="left:110px; top:238px; width:81px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(opt_suppcustnm,opt_instcd);
- ]]>
- </script>
- </input>
- <input id="ipt_bnscd" ref="/root/main/gooddet/gooddetlist/bnscd" class="input_essential" visibility="hidden" maxlength="12" style="left:285px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodcd");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_cntsunit" ref="/root/main/gooddet/gooddetlist/cntsunit" class="combo_essential" visibility="hidden" appearance="minimal" style="left:150px; top:588px; width:8px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <input id="ipt_specvol" ref="/root/main/gooddet/gooddetlist/specvol" class="input_default" visibility="hidden" format="#,###" style="left:210px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <input id="ipt_com" ref="/root/main/gooddet/gooddetlist/com" class="input_default" visibility="hidden" maxlength="3" style="left:365px; top:588px; width:10px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <input id="ipt_edicd2" ref="/root/main/gooddet/gooddetlist/edicd" class="input_essential" visibility="hidden" imemode="alpha" maxlength="450" style="left:330px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- // if(event.shiftKey)model.setFocus("ipt_goodhngnm");
- // else model.setFocus("cmb_prodplce");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_gnrlspcl" ref="/root/main/gooddet/gooddetlist/gnrlspcl" class="combo_essential" visibility="hidden" appearance="minimal" style="left:210px; top:588px; width:8px; height:19px; ">
- <choices>
- <item>
- <label>일반</label>
- <value>G</value>
- </item>
- <item>
- <label>전문</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_specldrug" ref="/root/main/gooddet/gooddetlist/specldrug" class="combo_essential" visibility="hidden" appearance="minimal" style="left:200px; top:588px; width:8px; height:19px; ">
- <choices>
- <item>
- <label>일반</label>
- <value>N</value>
- </item>
- <item>
- <label>특별</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <input id="ipt_cntsqty" ref="/root/main/gooddet/gooddetlist/cntsqty" class="input_default" visibility="hidden" format="#,###" style="left:115px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <select1 id="rbo_keepmthd" ref="/root/main/gooddet/gooddetlist/keepmthd" visibility="hidden" appearance="full" cellspacing="60" cols="5" overflow="visible" style="left:260px; top:588px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>냉동</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_specunit" ref="/root/main/gooddet/gooddetlist/specunit" class="combo_essential" visibility="hidden" appearance="minimal" style="left:170px; top:588px; width:8px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/specunit">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("cmb_purcunit");
- else model.setFocus("ipt_exchqty");
- }
- //event.preventDefault();
- ]]>
- </script>
- </select1>
- <caption id="caption18" class="tit_2" style="left:5px; top:395px; width:95px; height:13px; ">재고관리기준</caption>
- <line id="line26" class="line_1" style="x1:0px; y1:410px; x2:455px; y2:410px; "/>
- <output id="output1" ref="/root/main/gooddet/gooddetlist/comnm" class="output_fix" visibility="hidden" appearance="output" style="left:375px; top:588px; width:15px; height:19px; "/>
- <input id="ipt_instcd" ref="/root/main/gooddet/gooddetlist/instcd" class="input_essential" visibility="hidden" maxlength="12" style="left:405px; top:588px; width:15px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)model.setFocus("ipt_goodnm");
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <input id="ipt_goodspec" ref="/root/main/gooddet/gooddetlist/goodspec" class="input_default" visibility="hidden" format="#,###" style="left:120px; top:588px; width:20px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("rdo_reqflag");
- else model.setFocus("ipt_plceordnonusedd");
- }
- //event.preventDefault();
-
- ]]>
- </script>
- </input>
- <button id="btn_winacnt" class="icon_search" navindex="23" style="left:195px; top:166px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_winacnt,"","winacnt,winacntnm","PPRAC00100","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/gooddet/gooddetlist/plceordnonusedd" class="input_default" navindex="42" inputtype="date" style="left:111px; top:464px; width:87px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:462px; width:108px; height:23px; vertical-align:middle; ">발주불용일자</caption>
- <select1 id="rbo_addtaxrate" ref="/root/main/gooddet/gooddetlist/addtaxrate" navindex="37" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:315px; top:337px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>면세</label>
- <value>0</value>
- </item>
- <item>
- <label>과세</label>
- <value>10</value>
- </item>
- </choices>
- </select1>
- <line id="line24" class="line_2" style="x1:0px; y1:311px; x2:455px; y2:311px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:359px; width:108px; height:23px; vertical-align:middle; ">원 산 지</caption>
- <input id="ipt_orgloc" ref="/root/main/gooddet/gooddetlist/orgloc" class="input_default" navindex="38" maxlength="30" style="left:110px; top:361px; width:344px; height:19px; text-align:left; "/>
- <input id="ipt_goodflag" ref="/root/main/gooddet/gooddetlist/goodflag" visibility="hidden" style="left:420px; top:588px; width:15px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:286px; width:108px; height:23px; vertical-align:middle; ">자 산 구 분</caption>
- <line id="line25" class="line_2" style="x1:0px; y1:334px; x2:455px; y2:334px; "/>
- <line id="line27" class="line_2" style="x1:0px; y1:487px; x2:455px; y2:487px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:510px; width:108px; height:23px; vertical-align:middle; ">업 체 코 드</caption>
- <input id="input2" ref="/root/main/gooddet/gooddetlist/bnscd" class="input_default" navindex="45" style="left:110px; top:512px; width:156px; height:19px; text-align:left; "/>
- <select1 id="cmb_purccls" ref="/root/main/gooddet/gooddetlist/purccls" class="input_essential" disabled="true" navindex="30" appearance="minimal" style="left:110px; top:263px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="cell_1" style="left:0px; top:261px; width:108px; height:23px; vertical-align:middle; ">구 매 요 구 구 분</caption>
- <line id="line28" class="line_2" style="x1:0px; y1:259px; x2:455px; y2:259px; "/>
- <select1 id="rdo_costconyn" ref="/root/main/gooddet/gooddetlist/costconyn" navindex="31" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:320px; top:265px; width:130px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>단가</label>
- <value>Y</value>
- </item>
- <item>
- <label>비단가</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:0px; top:69px; width:108px; height:22px; vertical-align:middle; ">규 격</caption>
- <line id="line29" class="line_2" style="x1:0px; y1:92px; x2:455px; y2:92px; "/>
- <input id="input3" ref="/root/main/gooddet/gooddetlist/goodspec" class="input_essential" disabled="false" navindex="18" maxlength="25" style="left:110px; top:71px; width:344px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9)
- {
- if(event.shiftKey)model.setFocus("ipt_goodcd");
- else model.setFocus("ipt_goodhngnm");
- }
- //event.preventDefault();
- ]]>
- </script>
- </input>
- <select1 id="cmb_lrgcd" ref="/root/main/gooddet/gooddetlist/lrgcd" class="combo_essential" navindex="19" appearance="minimal" style="left:110px; top:94px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(ipt_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
- cmb_mdlcd.dispatch("xforms-value-changed");
- cmb_mdlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/main/gooddet/gooddetlist/mdlcd" navindex="20" appearance="minimal" style="left:110px; top:117px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(ipt_goodflag.attribute("ref")), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "", "Y");
- cmb_smlcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd" ref="/root/main/gooddet/gooddetlist/smlcd" navindex="21" appearance="minimal" style="left:110px; top:140px; width:161px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_wareflag" class="cell_1" style="left:245px; top:462px; width:70px; height:23px; vertical-align:middle; ">창고구분</caption>
- <select1 id="cmb_wareflag" ref="/root/main/gooddet/gooddetlist/wareflag" class="combo_essential" disabled="true" navindex="-1" appearance="minimal" style="left:317px; top:464px; width:138px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wareflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line6" class="line_2" style="x1:0px; y1:162px; x2:455px; y2:162px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:235px; x2:455px; y2:235px; "/>
- </group>
- <datagrid id="grd_gooddetlist" nodeset="/root/main/list/gooddet/gooddetlist" visibility="hidden" caption="goodcd^todd^prefromdd^instcd^useyn^fromdd^goodflag^edicd^goodnm^goodhngnm^goodengnm^goodspec^goodmodel^pregoodspec^pregoodmodel^asetflag^wareflag^lrgcd^대분류명^중분류코드^중분류명^소분류코드^소분류명^제제약SET구분^계정코드^계정명^비용계정^비용계정명^주관리부서코드^주관리부서명^주사용부서코드^재고관리기준^입고단위^수불단위^환산배수^최소환산수량^재사용여부^분할사용수치^수가정보등록상태^수가정보등록일자^EDI코드^신청부서코드^신청부서명^신청자ID^신청자명^청구기준^청구구분^청구방법^청구주기^제조국^제조회사코드^제조회사명^최종공급처^최종공급처명^보조거래처코드^보조거래처명^계약구분^계약기간From^계약기간To^견적가^외화단가^화폐단위^제품단가^구매구분^ALL SIZE 유무^SET 발주구분^발주기준^발주량생성구분^발주불용일자^부가세율^최종구매일자^불용처리사유^관리구분^규제약품여부^고가여부^cntsqty^일평균사용량^월평균사용예정량^월평균사용량^적정재고보유일수^임시청구구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시^purccls^costconyn^caption1^caption2" colsep="^" colwidth="95, 61, 38, 92, 94, 92, 92, 100, 92, 94, 61, 124, 114, 90, 97, 101, 100, 68, 123, 214, 214, 199, 184, 123, 123, 123, 184, 153, 184, 245, 245, 123, 107, 184, 184, 123, 123, 123, 123, 153, 92, 184, 153, 214, 123, 184, 153, 92, 123, 123, 123, 123, 199, 184, 123, 214, 184, 123, 184, 184, 123, 184, 184, 199, 123, 123, 123, 123, 123, 184, 199, 123, 123, 138, 153, 100, 61, 61, 184, 61, 245, 153, 184, 245, 184, 100, 100, 245, 184, 184, 184, 184, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="49" style="left:15px; top:325px; width:705px; height:85px; ">
- <col ref="goodcd" _key="true"/>
- <col ref="todd" _key="true"/>
- <col ref="prefromdd" style="left:204px; top:23px; width:123px; height:23px; "/>
- <col ref="instcd" _key="true"/>
- <col ref="useyn"/>
- <col ref="fromdd"/>
- <col ref="goodflag"/>
- <col ref="edicd"/>
- <col ref="goodnm" style="left:1078px; top:23px; width:92px; height:23px; "/>
- <col ref="goodhngnm"/>
- <col ref="goodengnm"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="pregoodspec"/>
- <col ref="pregoodmodel"/>
- <col ref="asetflag" _key="true"/>
- <col ref="wareflag"/>
- <col ref="lrgcd" _key="true"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd" style="left:1548px; top:23px; width:214px; height:23px; "/>
- <col ref="mdlnm"/>
- <col ref="smlcd"/>
- <col ref="smlnm"/>
- <col ref="proddrugsetflag"/>
- <col ref="winacnt" _key="true"/>
- <col ref="winacntnm"/>
- <col ref="amtacnt"/>
- <col ref="amtacntnm"/>
- <col ref="mainmngtdeptcd" _key="true"/>
- <col ref="mainmngtdeptnm"/>
- <col ref="mainusedeptcd"/>
- <col ref="stocmngtflag"/>
- <col ref="purcunit"/>
- <col ref="deliveunit"/>
- <col ref="exchqty"/>
- <col ref="minexch"/>
- <col ref="reuseyn"/>
- <col ref="divusenvalqty"/>
- <col ref="calcscorinfoacptstat"/>
- <col ref="calcscorinfoacptdd"/>
- <col ref="edicd"/>
- <col ref="reqdeptcd"/>
- <col ref="reqdeptnm"/>
- <col ref="reqpsn"/>
- <col ref="reqpsnnm"/>
- <col ref="reqflag"/>
- <col ref="reqflagnm"/>
- <col ref="reqmthd" _key="true"/>
- <col ref="reqprid"/>
- <col ref="prodplce"/>
- <col ref="prodcmpycd"/>
- <col ref="prodcmpynm"/>
- <col ref="maincustlastsuplplce" _key="true"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustcd"/>
- <col ref="suppcustnm"/>
- <col ref="conflag"/>
- <col ref="fromconterm"/>
- <col ref="toconterm"/>
- <col ref="estmamt"/>
- <col ref="forgncurncyunitcost"/>
- <col ref="curncyunit"/>
- <col ref="goodunitcost"/>
- <col ref="purcflag"/>
- <col ref="allsizeyn"/>
- <col ref="setplceordflag"/>
- <col ref="plceordbase"/>
- <col ref="plceordqtycretflag"/>
- <col ref="plceordnonusedd"/>
- <col ref="addtaxrate"/>
- <col ref="lastpurcdd"/>
- <col ref="nonusetretresn"/>
- <col ref="mngtflag"/>
- <col ref="expnyn"/>
- <col ref="cmt"/>
- <col ref="cntsqty"/>
- <col ref="ddavguseqty"/>
- <col ref="mmavgusescheqty"/>
- <col ref="mmavguseqty"/>
- <col ref="prprtystocpossndayno"/>
- <col ref="tmpreqflag"/>
- <col ref="oldcd"/>
- <col ref="bnscd"/>
- <col ref="cntsunit"/>
- <col ref="specvol"/>
- <col ref="purccls"/>
- <col ref="costconyn"/>
- <col ref="com"/>
- <col ref="goodtype"/>
- <col ref="narcflag"/>
- <col ref="keepmthd"/>
- <col ref="cntrdrugyn"/>
- <col ref="plceordnonusedd"/>
- <col ref="expnyn"/>
- <col ref="limdrugyn"/>
- <col ref="gnrlspcl"/>
- <col ref="orgloc"/>
- <col ref="specldrug"/>
- <col ref="keeptemp"/>
- <col ref="deliveunit" style="left:13448px; top:23px; width:100px; height:23px; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|