123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>기관별 자재Spec.일괄변경</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <goodhistory>
- <goodhistorylist/>
- </goodhistory>
- <good>
- <goodlist/>
- </good>
- <excelcost>
- <excelcostlist/>
- </excelcost>
- <rscdgchg>
- <rscdgchglist/>
- </rscdgchg>
- </list>
- <gooddet>
- <gooddetlist/>
- </gooddet>
- </main>
- <target>
- <defaultvalue/>
- </target>
- <init>
- <allsizeyn>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </allsizeyn>
- <useyn>
- <label>사용</label>
- <value>Y</value>
- <label>불용</label>
- <value>N</value>
- <label>전체</label>
- <value>A</value>
- </useyn>
- <popmenu>
- <grd_costlist>
- <item>
- <name>품명일괄변경</name>
- <func>fSetGoodnm</func>
- </item>
- <item>
- <name>규격일괄변경</name>
- <func>fSetGoodSpec</func>
- </item>
- <item>
- <name>모델일괄변경</name>
- <func>fSetGoodModel</func>
- </item>
- <item>
- <name>제조회사일괄변경</name>
- <func>fSetGoodProdCmpy</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>포장단위일괄변경</name>
- <func>fSetPurcUnit</func>
- </item>
- <item>
- <name>환산수량일괄변경</name>
- <func>fSetExchQty</func>
- </item>
- <item>
- <name>수불단위일괄변경</name>
- <func>fSetDeliveUnit</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>단가일괄변경</name>
- <func>fSetGoodUnitCost</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>주거래처일괄변경</name>
- <func>fSetMainCustLastSuplplce</func>
- </item>
- <item>
- <name>보조거래처일괄변경</name>
- <func>fSetSuppCustCd</func>
- </item>
- </grd_costlist>
- </popmenu>
- <popinputcd/>
- <popinputnm/>
- <poptitle/>
- <popcond/>
- <popformat/>
- <prcpunit/>
- <CopyData>
- <CopyGoodLists>
- <goodexcel>
- <fromdd/>
- <goodcd/>
- <goodnm/>
- <purcflag/>
- <purcflagnm/>
- <reqprid/>
- <reqpridnm/>
- <reqmthd/>
- <reqmthdnm/>
- <goodunitcost/>
- <maincustlastsuplplce/>
- <suplplcenm/>
- <suppcustcd/>
- <suppcustnm/>
- <prodcmpycd/>
- <prodcmpynm/>
- <cmt/>
- </goodexcel>
- </CopyGoodLists>
- </CopyData>
- </init>
- <send>
- <goodlist>
- <instcd/>
- <lrgcd/>
- <lrgnm/>
- <mdlcd/>
- <mdlnm/>
- <smlcd/>
- <smlnm/>
- <edicd/>
- <goodcd/>
- <goodflag/>
- <goodnm/>
- <prodcmpycd/>
- <prodcmpynm/>
- <maincustlastsuplplce/>
- <maincustlastsuplplcenm/>
- <suppcustcd/>
- <suppcustnm/>
- <purcflag/>
- <stocmngtflag/>
- <reqmthd/>
- <allsizeyn/>
- <conflag/>
- <useyn/>
- <fr_fromdd/>
- <to_fromdd/>
- <reqflag/>
- <sch_goodcd/>
- <offset/>
- <pagesize>20</pagesize>
- <oldcd/>
- </goodlist>
- <goodhistory>
- <goodcd/>
- </goodhistory>
- <save>
- <goodlist/>
- <setautoins>
- <setyn>Y</setyn>
- <insfromdd/>
- </setautoins>
- <chngyn>Y</chngyn>
- </save>
- <goodcostlist>
- <instcd/>
- <goodcd/>
- </goodcostlist>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitForm();
- ]]>
- </script>
- <submission id="TRRSC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" add="bottom" resultref="/root/main/list/good"/>
- <submission id="TRRSC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodhistory" resultref="/root/main/list/goodhistory"/>
- <submission id="TXRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- <submission id="TXRSC03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/rscdgchg/rscdgchglist" resultref="/root/temp"/>
- <submission id="TXRSC03703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/excelgoodlists" resultref="/root/hidden/temp"/>
- </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="../../../mis/purcbaseweb/js/SMRSC03700.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,775;" style="font-family:굴림체; font-size:8pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">기관별 자재Spec.일괄변경</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195; height:744; ">
- <group id="grp_title" style="left:0px; top:10px; width:1195px; height:138px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:138px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15; top:8px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_costlist);
- misfGridInit(grd_rscdgchglist);
- // btn_search.dispatch("DOMActivate");
- fUnitSet();
- ]]>
- </script>
- </select1>
- <caption id="cap_maincustlastsuplplce" class="search_name" style="left:530px; top:61px; width:103px; height:17px; ">주 거 래 처 :</caption>
- <caption id="cap_goodflag" class="search_name" style="left:15px; top:35px; width:86px; height:17px; ">물품구분 :</caption>
- <input id="input1" ref="/root/send/goodlist/to_fromdd" class="input_default" inputtype="date" style="left:774px; top:35px; width:111px; height:19px; "/>
- <caption id="cap_lrgcd" class="search_name" style="left:15px; top:61px; width:83px; height:17px; ">대 분 류 :</caption>
- <caption id="caption27" class="search_name" style="left:530px; top:8px; width:103px; height:17px; ">물 품 명 :</caption>
- <caption id="caption28" class="search_name" style="left:15px; top:87px; width:83px; height:17px; ">중 분 류 :</caption>
- <caption id="caption29" class="search_name" style="left:530px; top:113px; width:103px; height:17px; ">제 조 회 사 :</caption>
- <caption id="caption30" class="search_name" style="left:15px; top:113px; width:83px; height:17px; ">소 분 류 :</caption>
- <caption id="cap_suppcustcd" class="search_name" style="left:530px; top:87px; width:103px; height:17px; ">보조거래처 :</caption>
- <input id="ipt_goodnm" ref="/root/send/goodlist/goodnm" class="input_default" style="left:635px; top:8px; width:250px; height:19px; "/>
- <input id="ipt_prodcmpycd" ref="/root/send/goodlist/prodcmpycd" class="input_search" style="left:635px; top:113px; width:111px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(ipt_prodcmpynm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + model.getValue(ipt_prodcmpycd.attribute("ref")) + "," ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpynm" ref="/root/send/goodlist/prodcmpynm" class="input_search" style="left:774px; top:113px; width:245px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_prodcmpynm.attribute("ref")).length == 0 ) model.setValue(ipt_prodcmpycd.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + model.getValue(ipt_prodcmpynm.attribute("ref")),
- "","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_prodcmpycd" class="icon_search" style="left:753px; top:110px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodlist/maincustlastsuplplcenm" class="input_search" style="left:774px; top:61px; width:245px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_maincustlastsuplplcenm.attribute("ref")).length == 0 ) model.setValue(ipt_maincustlastsuplplce.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_maincustlastsuplplcenm.attribute("ref")),
- "","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:753px; top:61px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_maincustlastsuplplce" ref="/root/send/goodlist/maincustlastsuplplce" class="input_search" style="left:635px; top:61px; width:111px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_maincustlastsuplplce.attribute("ref")).length == 0 ) model.setValue(ipt_maincustlastsuplplcenm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustnm" ref="/root/send/goodlist/suppcustnm" class="input_search" style="left:774px; top:87px; width:245px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_suppcustnm.attribute("ref")).length == 0 ) model.setValue(ipt_suppcustcd.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_suppcustnm.attribute("ref")),
- "","suppcustcd,suppcustnm" ,ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustcd" ref="/root/send/goodlist/suppcustcd" class="input_search" style="left:635px; top:87px; width:111px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(ipt_suppcustcd.attribute("ref")).length == 0 ) model.setValue(ipt_suppcustnm.attribute("ref"),"");
- else rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")),"","suppcustcd,suppcustnm" ,ipt_suppcustcd,"SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" style="left:753px; top:87px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_edicd" ref="/root/send/goodlist/edicd" class="input_default" style="left:375px; top:61px; width:130px; height:19px; "/>
- <input id="ipt_goodcd" ref="/root/send/goodlist/sch_goodcd" class="input_default" style="left:375px; top:8px; width:130px; height:19px; "/>
- <caption id="cap_goodcd" class="search_name" style="left:290px; top:8px; width:89px; height:17px; ">물품코드 :</caption>
- <caption id="caption34" class="search_name" style="left:290px; top:61px; width:89px; height:17px; ">EDI코드 :</caption>
- <caption id="caption37" class="search_name" style="left:290px; top:113px; width:89px; height:17px; ">사용여부 :</caption>
- <select1 id="rbo_useyn" ref="/root/send/goodlist/useyn" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:376px; top:113px; width:128px; height:19px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:54px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // size 원위치
- fZoomInOut("search")
- if(fCheckRetrieveData() == false)return;
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodflag" ref="/root/send/goodlist/goodflag" class="combo_search" appearance="minimal" style="left:100px; top:34px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_costlist);
- fSetGoodFlagAuth();
- // btn_search.dispatch("DOMActivate");
- fUnitSet();
-
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
-
- ]]>
- </script>
- </select1>
- <input id="input23" ref="/root/send/goodlist/fr_fromdd" class="input_default" inputtype="date" style="left:635px; top:35px; width:111px; height:19px; "/>
- <caption id="caption38" class="search_name" style="left:530px; top:35px; width:103px; height:17px; ">적 용 기 간 :</caption>
- <caption id="caption1" style="left:754px; top:35px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_insfromdd" ref="/root/send/save/setautoins/insfromdd" class="input_default" inputtype="date" style="left:375px; top:87px; width:130px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:290px; top:87px; width:89px; height:17px; ">변경일자 :</caption>
- <caption id="caption82" class="search_name" style="left:290px; top:35px; width:89px; height:17px; ">구 코 드 :</caption>
- <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" maxlength="12" style="left:375px; top:35px; width:130px; height:19px; "/>
- <line id="line_title" class="line_4" style="x1:1109px; y1:15px; x2:1109px; y2:125px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" appearance="minimal" style="left:100px; top:60px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
- cmb_mdlcd_search.value='';
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" appearance="minimal" style="left:100px; top:86px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y", "Y");
- cmb_smlcd_search.value='';
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" appearance="minimal" style="left:100px; top:112px; width:165px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <switch id="swt_select" class="sw_box" style="left:0px; top:180px; width:1195px; height:560px; border-style:solid; ">
- <case id="cse_costlist" selected="true" style="left:0px; top:0px; width:1193px; height:578px; ">
- <button id="bbt_excelload" class="btn2_letter8" style="left:1080px; top:4px; width:108px; height:19px; ">
- <caption>엑셀자료가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLoadExcel_2("0",grp_copygood, grd_copygood);
- ]]>
- </script>
- </button>
- <datagrid id="grd_costlist" nodeset="/root/main/list/good/goodlist" caption="적용일자^물품코드^품명^규격^모델^제조회사^제조회사^포장단위^환산수량^수불단위^단가^주거래처^주거래처^보조거래처^보조거래처^수정자^수정일시" colsep="^" colwidth="69, 64, 163, 74, 55, 94, 20, 81, 61, 79, 52, 94, 20, 94, 20, 60, 69, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:25px; width:1193px; height:390px; ">
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="goodcd"/>
- <col ref="goodnm" type="input"/>
- <col ref="goodspec" type="input"/>
- <col ref="goodmodel" type="input"/>
- <col ref="prodcmpynm"/>
- <col ref="prodcmpycd" type="inputbutton" style="color:#ffffff; "/>
- <col ref="purcunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="exchqty" type="input" format="#,###" style="text-align:right; "/>
- <col ref="deliveunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="goodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="maincustlastsuplplce" type="inputbutton" style="color:#ffffff; "/>
- <col ref="suppcustnm"/>
- <col ref="suppcustcd" type="inputbutton" style="color:#ffffff; "/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <col ref="pregoodnm" visibility="hidden"/>
- <col ref="prepurcunit" visibility="hidden"/>
- <col ref="preexchqty" visibility="hidden"/>
- <col ref="predeliveunit" visibility="hidden"/>
- <col ref="pregoodspec" visibility="hidden"/>
- <col ref="pregoodmodel" visibility="hidden"/>
- <col ref="pregoodunitcost" visibility="hidden"/>
- <col ref="premaincustlastsuplplce" visibility="hidden"/>
- <col ref="presuppcustcd" visibility="hidden"/>
- <col ref="preprodcmpycd" visibility="hidden"/>
- <col ref="todd" visibility="hidden"/>
- <col ref="prefromdd" visibility="hidden"/>
- <col ref="pregoodspec" visibility="hidden"/>
- <col ref="pregoodmodel" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="goodhngnm" visibility="hidden"/>
- <col ref="goodengnm" visibility="hidden"/>
- <col ref="asetflag" visibility="hidden"/>
- <col ref="lrgcd" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="proddrugsetflag" visibility="hidden"/>
- <col ref="winacnt" visibility="hidden"/>
- <col ref="amtacnt" visibility="hidden"/>
- <col ref="mainmngtdeptcd" visibility="hidden"/>
- <col ref="mainusedeptcd" visibility="hidden"/>
- <col ref="stocmngtflag" visibility="hidden"/>
- <col ref="minexch" visibility="hidden"/>
- <col ref="reuseyn" visibility="hidden"/>
- <col ref="divusenvalqty" visibility="hidden"/>
- <col ref="calcscorinfoacptstat" visibility="hidden"/>
- <col ref="calcscorinfoacptdd" visibility="hidden"/>
- <col ref="edicd" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqdeptnm" visibility="hidden"/>
- <col ref="reqpsn" visibility="hidden"/>
- <col ref="reqflag" visibility="hidden"/>
- <col ref="reqmthd" visibility="hidden"/>
- <col ref="reqprid" visibility="hidden"/>
- <col ref="prodplce" visibility="hidden"/>
- <col ref="conflag" visibility="hidden"/>
- <col ref="fromconterm" visibility="hidden"/>
- <col ref="toconterm" visibility="hidden"/>
- <col ref="estmamt" visibility="hidden"/>
- <col ref="forgncurncyunitcost" visibility="hidden"/>
- <col ref="curncyunit" visibility="hidden"/>
- <col ref="purcflag" visibility="hidden"/>
- <col ref="allsizeyn" visibility="hidden"/>
- <col ref="setplceordflag" visibility="hidden"/>
- <col ref="plceordbase" visibility="hidden"/>
- <col ref="plceordqtycretflag" visibility="hidden"/>
- <col ref="plceordnonusedd" visibility="hidden"/>
- <col ref="addtaxrate" visibility="hidden"/>
- <col ref="lastpurcdd" visibility="hidden"/>
- <col ref="nonusetretresn" visibility="hidden"/>
- <col ref="mngtflag" visibility="hidden"/>
- <col ref="bnscd" visibility="hidden"/>
- <col ref="expnyn" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="ddavguseqty" visibility="hidden"/>
- <col ref="mmavgusescheqty" visibility="hidden"/>
- <col ref="mmavguseqty" visibility="hidden"/>
- <col ref="prprtystocpossndayno" visibility="hidden"/>
- <col ref="oldcd" visibility="hidden"/>
- <col ref="insuyn" visibility="hidden"/>
- <col ref="prcpunit" visibility="hidden"/>
- <col ref="prcpexchqty" visibility="hidden"/>
- <col ref="tmpreqflag" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(swt_select.selectedIndex == 0 && (grd_costlist.isCell(event.target) && grd_costlist.mouseRow >= grd_costlist.fixedrows))window.setPopupMenu(true, "/root/init/popmenu/grd_costlist/item", "name", "func", false);
- else window.setPopupMenu(false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- misfMsterDetailRetrieve();
- // model.setValue("/root/send/goodcostlist/instcd", grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("instcd")));
- // model.setValue("/root/send/goodcostlist/goodcd", grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("goodcd")));
- // submit("TRRSC03702");
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_costlist.colRef("prodcmpycd") == grd_costlist.col)
- {
- rszfOpenPopUpListByWndName(grd_costlist,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
- model.refresh();
- }
- else if(grd_costlist.colRef("maincustlastsuplplce") == grd_costlist.col)
- {
- rszfOpenPopUpListByWndName(grd_costlist,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- }
- else if(grd_costlist.colRef("suppcustcd") == grd_costlist.col)
- {
- rszfOpenPopUpListByWndName(grd_costlist,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_costlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:1193px; y2:24px; "/>
- <button id="btn_zoomin" class="btn2_letter7" style="left:981px; top:4px; width:97px; height:19px; ">
- <caption>크게/작게 보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fZoomInOut();
- ]]>
- </script>
- </button>
- <button id="btn_ZoomIn" class="btn2_letter4" visibility="hidden" style="left:761px; top:4px; width:64px; height:19px; ">
- <caption>ZoomIn</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fWindowPosition("I");
- ]]>
- </script>
- </button>
- <button id="btn_ZoomOut" class="btn2_letter5" visibility="hidden" style="left:826px; top:4px; width:75px; height:19px; ">
- <caption>ZoomOut</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fWindowPosition("O");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter5" navindex="12" style="left:903px; top:4px; width:75px; height:19px; ">
- <caption>Excel 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "자재SPEC일괄변경List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- //grd_excel.saveExcel(fileName, "물품코드");
- grd_costlist.saveExcel(fileName, "물품코드");
- }
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:0px; y1:445px; x2:1195px; y2:445px; "/>
- <datagrid id="grd_goodhistory" nodeset="/root/main/list/goodhistory/goodhistorylist" caption="적용일자*^사용유무^규격^모델^제조회사^제조국^주거래처^보조거래처^EDI 코드^입고단위^불출단위^제품단가^입고계정^비용계정^견적가^외화단가^화폐단위^제품단가^수불단가^의료수가^대분류^중분류^소분류^수정자^수정일시" colsep="^" colwidth="80, 0, 65, 60, 66, 66,80, 80, 75, 71, 73, 64, 100, 70, 71, 70, 69, 71, 71, 100, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:450px; width:1195px; height:108px; ">
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="useyn"/>
- <col ref="goodspec"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="prodplcenm"/>
- <col ref="maincustlastsuplplcenm"/>
- <col ref="suppcustnm"/>
- <col ref="edicd"/>
- <col ref="purcunitnm"/>
- <col ref="deliveunitnm"/>
- <col ref="goodunitcost"/>
- <col ref="winacntnm"/>
- <col ref="amtacntnm"/>
- <col ref="estmamt"/>
- <col ref="forgncurncyunitcost"/>
- <col ref="curncyunitnm"/>
- <col ref="goodunitcost"/>
- <col/>
- <col/>
- <col ref="lrgnm"/>
- <col ref="mdlnm"/>
- <col ref="smlnm"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_costlist.row > 0)
- {
- model.setValue("/root/send/gooddetlist/goodcd", model.getValue(grd_costlist.nodeset + "["+ grd_costlist.row + "]/goodcd" ));
- model.setValue("/root/send/gooddetlist/fromdd", model.getValue(grd_costlist.nodeset + "["+ grd_costlist.row + "]/fromdd" ));
- submit("TRRSC05302");
- fAfterRetrGoodList();
- model.setValue("/root/send/gooddetlist/fromdd","" );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodhistory.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:3px; top:431px; width:95px; height:13px; ">이력정보</caption>
- <group id="grp_copygood" visibility="hidden" style="left:0px; top:0; width:1193px; height:556px; border-style:solid; ">
- <button id="button2" class="btn2_letter3" style="left:1009px; top:3px; width:52px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_copygood.deleteRow(grd_copygood.row);
-
- // misfGridIUD(grd_allsizecopy, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_copygood" nodeset="/root/init/CopyData/CopyGoodLists/goodexcel" caption="적용일자^물품코드^품명^구매구분^청구주기^청구방법^단가^주거래처^주거래처명^보조거래처^보조거래처명^제조사^제조사명^비고" colsep="^" colwidth="95, 90, 130, 62, 63, 61, 83, 98, 100, 100, 100, 56, 66, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" tooltip="true" style="left:-1px; top:29px; width:1190px; height:525px; ">
- <col ref="fromdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="goodcd">
- <![CDATA[/>]]>
- </col>
- <col ref="goodnm"/>
- <col ref="purcflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="reqprid" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="reqmthd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="goodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="maincustlastsuplplce" type="inputbutton" style="text-align:center; "/>
- <col ref="suplplcenm">
- <![CDATA[/>]]>
- </col>
- <col ref="suppcustcd" type="inputbutton" style="text-align:center; "/>
- <col ref="suppcustnm">
- <![CDATA[/>]]>
- </col>
- <col ref="prodcmpycd" type="inputbutton" style="text-align:center; "/>
- <col ref="prodcmpynm">
- <![CDATA[/>]]>
- </col>
- <col ref="cmt"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_copygood.colRef("prodcmpycd") == grd_copygood.col)
- {
- rszfOpenPopUpListByWndName(grd_copygood,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
- model.refresh();
- }
- else if(grd_copygood.colRef("maincustlastsuplplce") == grd_copygood.col)
- {
- rszfOpenPopUpListByWndName(grd_copygood,"","maincustlastsuplplce,suplplcenm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- }
- else if(grd_copygood.colRef("suppcustcd") == grd_copygood.col)
- {
- rszfOpenPopUpListByWndName(grd_copygood,"","suppcustcd,suppcustnm","SPRSD00220","instcd","cmb_instcd");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:-1px; y1:24px; x2:1189px; y2:24px; "/>
- <button id="button7" class="btn4_letter2" style="left:1131px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택물품을 적용하는 처리하는 함수
- fSaveGoodExcel();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:4px; top:7px; width:240px; height:14px; ">자재Spec일괄변경 Excel Data Lists</caption>
- <button id="button10" class="btn4_letter2" style="left:1070px; top:2px; width:55px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_copygood.visible = false;
- misfGridInit(grd_copygood);
- ]]>
- </script>
- </button>
- <caption id="caption9" visibility="hidden" style="left:360px; top:5px; width:365px; height:20px; font-weight:bold; color:#ff0000; ">
- <![CDATA[**]]>
- </caption>
- </group>
- </case>
- <case id="cse_goodlist" style="left:0px; top:0px; width:1193px; height:578px; ">
- <datagrid id="grd_rscdgchglist" nodeset="/root/main/list/rscdgchg/rscdgchglist" caption="물품코드^적용일자^OLD 단가^NEW 단가^OLD Edi Code^NEW Edi Code^OLD 보조거래처^NEW 보조거래처^고시" colsep="^" colwidth="143, 120, 100, 100, 100, 100, 120, 120, 249, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:29px; width:1193px; height:527px; ">
- <col ref="goodcd" type="input" _key="true"/>
- <col ref="fromdd" type="inputdate" format="yyyy-mm-dd" _key="true"/>
- <col ref="oldgoodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="newgoodunitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="oldedicd" type="input"/>
- <col ref="newedicd" type="input"/>
- <col ref="oldsuppcustcd"/>
- <col ref="newsuppcustcd"/>
- <col ref="chgcmt" type="input"/>
- <col ref="instcd" visibility="hidden" _key="true"/>
- </datagrid>
- <button id="btn_loadexcel" class="btn2_letter8" style="left:1085px; top:3px; width:108px; height:19px; ">
- <caption>엑셀자료가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLoadExcel();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:0px; y1:24px; x2:1193px; y2:24px; "/>
- <button id="button1" class="btn2_letter6" style="left:995px; top:3px; width:86px; height:19px; ">
- <caption>데이터지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_rscdgchglist);
- grd_rscdgchglist.refresh();
- cap_cnt.value = "0";
- ]]>
- </script>
- </button>
- <caption id="caption2" style="left:710px; top:5px; width:75px; height:17px; font-weight:bold; ">총 건수 :</caption>
- <caption id="cap_cnt" format="#,###" style="left:775px; top:5px; width:60px; height:17px; font-weight:bold; text-align:right; ">0</caption>
- <caption id="caption3" style="left:840px; top:5px; width:75px; height:17px; font-weight:bold; ">건</caption>
- <button id="button8" class="btn2_letter3" style="left:939px; top:3px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rscdgchglist.deleteRow(grd_rscdgchglist.row);
- cap_cnt.value = grd_rscdgchglist.rows- grd_rscdgchglist.fixedRows;
-
- // misfGridIUD(grd_allsizecopy, "D");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_cost" class="btn_sw" group="tab" selected="true" style="left:0px; top:159px; width:149px; height:22px; ">
- <caption>단가, 거래처 일괄변경</caption>
- <toggle case="cse_costlist" ev:event="DOMActivate"/>
- </button>
- <button id="btn_excel" class="btn_sw" group="tab" selected="false" style="left:149px; top:159px; width:160px; height:22px; ">
- <caption>Excel 고시단가 Update</caption>
- <toggle case="cse_goodlist" ev:event="DOMActivate"/>
- </button>
- <caption id="caption10" visibility="hidden" style="left:360px; top:150px; width:365px; height:20px; font-weight:bold; color:#ff0000; ">
- <![CDATA[**]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //window.load("\\..\\자재SPEC일괄변경_SAMPLE_2.xls","html");
- ]]>
- </script>
- </caption>
- </group>
- <group id="group2" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_scrnmove" class="btn3_letter4" visibility="hidden" style="left:57px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <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[
- fSaveDataSetting("TXRSC05302");
- ]]>
- </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>
- <output id="opt_popinputcd" ref="/root/init/popinputcd" visibility="hidden" style="left:840px; top:3px; width:100px; height:19px; "/>
- <output id="opt_poptitle" ref="/root/init/poptitle" visibility="hidden" style="left:737px; top:3px; width:100px; height:19px; "/>
- <output id="opt_popcond" ref="/root/init/popcond" visibility="hidden" style="left:634px; top:3px; width:100px; height:19px; "/>
- <output id="opt_popformat" ref="/root/init/popformat" visibility="hidden" style="left:531px; top:3px; width:100px; height:19px; "/>
- <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
- <select1 id="cmb_prcpunit" ref="/root/init/prcpunit" class="combo_search" visibility="hidden" appearance="minimal" style="left:380px; top:4px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/goodflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetGoodFlagAuth();
- ]]>
- </script>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|