1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057 |
- <?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>기관별 물품종합 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <goodhistory>
- <goodhistorylist/>
- </goodhistory>
- <good>
- <goodlist/>
- </good>
- </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/>
- </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/>
- <plceordbase/>
- <selectonly>Y</selectonly>
- <basedd/>
- </goodlist>
- <goodhistory>
- <goodcd/>
- <instcd/>
- </goodhistory>
- <save>
- <goodlist/>
- <setautoins>
- <setyn>Y</setyn>
- <insfromdd/>
- </setautoins>
- </save>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSC00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" 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"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.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">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
-
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_costlist);
- misfGridInit(grd_goodhistory);
- rszfGoodFlagListByPgmGubn(cmb_goodflag,"","N");
- //rszfUserGoodFlagList(cmb_goodflag,getUserInfo("userid")); 모든 부서가 볼수 있게 권한을 없음(최학록부장님이 확인)
- //rszfUserInstList(cmb_instcd,getUserInfo("userid"));모든 부서가 볼수 있게 권한을 없음(최학록부장님이 확인)
- misfComboComCdListMulti("Z0007,R0111,R0069,R0092,R0095,R0107","cmb_instcd,cmb_purcflag,cmb_stocmngtflag,cmb_reqmthd,cmb_conflag,cmb_plceordbase");
-
- rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag,"Y",getUserInfo("dutplceinstcd"),"Y");
- rszfComboAppendBlankChild("cmb_reqmthd,cmb_conflag,cmb_plceordbase,cmb_purcflag,cmb_stocmngtflag");
-
- //기관코드 읽어오는 부분 넣기
- var instcd = getUserInfo("dutplceinstcd");
- var instnm = getUserInfo("dutplceinstnm");
-
- if(instcd.length > 0)model.setValue(cmb_instcd.attribute("ref"), instcd);
- else
- {
- if(cmb_instcd.length> 0) cmb_instcd.selectedindex= 0;
- }
-
- //물품구분일 경우 첫번째 index 자동 설정
- if(cmb_goodflag.length> 0) {
- cmb_goodflag.selectedindex= 0;
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
-
- cmb_mdlcd_search.value='';
- cmb_smlcd_search.value='';
- }
-
- misfMsterDetailSet(grd_costlist,null, "TRRSC00601" ,"N");
- // misfMsterDetailSet(grd_goodhistory,grd_costlist,"TRRSC00602" ,"N");
-
- grd_costlist.explorerbar = "sortshow";
- grd_goodhistory.explorerbar = "sortshow";
-
- grd_costlist.selectionmode = "list";
- model.setFocus("ipt_lrgcd_search");
- rbo_useyn.select(0);
-
- model.setValue(opt_seelct.attribute("ref"),"Y");
- ipt_basedd.value = getCurrentDate();
- model.refresh();
- }
-
- function fGridAutoRowchanged()
- {
- if(grd_costlist.rows > grd_costlist.fixedRows)
- {
- grd_costlist.row = grd_costlist.fixedRows;
- // grd_costlist.dispatch("onmousedown");
- // grd_costlist.dispatch("onrowchanged");
- // grd_costlist.dispatch("onclick");
- }
- }
-
- function fSetGoodSpec()
- {
- model.setValue(opt_poptitle.attribute("ref"), "물품 규격을 입력해 주세요");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title","opt_poptitle");
- model.refresh();
-
- fSetAllApply(grd_costlist,"goodspec", model.getValue(opt_popinputcd.attribute("ref")));
- }
-
- function fSetGoodModel()
- {
- model.setValue(opt_poptitle.attribute("ref"), "물품 모델을 입력해 주세요");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title","opt_poptitle");
- model.refresh();
-
- fSetAllApply(grd_costlist,"goodmodel", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetGoodnm()
- {
- model.setValue(opt_poptitle.attribute("ref"), "물품명 입력해 주세요");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title","opt_poptitle");
- model.refresh();
-
- fSetAllApply(grd_costlist,"goodnm", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetGoodUnitCost()
- {
- model.setValue(opt_poptitle.attribute("ref"), "제품 단가를 입력해 주세요");
- model.setValue(opt_popformat.attribute("ref"), "#,###");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title,format","opt_poptitle,opt_popformat");
- model.refresh();
-
- fSetAllApply(grd_costlist,"goodunitcost", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetExchQty()
- {
- model.setValue(opt_poptitle.attribute("ref"), "환산수량을 입력해 주세요");
- model.setValue(opt_popformat.attribute("ref"), "#,###");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title,format","opt_poptitle,opt_popformat");
- model.refresh();
-
- fSetAllApply(grd_costlist,"exchqty", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetMainCustLastSuplplce()
- {
- model.setValue(opt_popcond.attribute("ref"),"custom");
- model.setValue(opt_poptitle.attribute("ref"), "주거래처를 선택해 주세요");
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd,popinputnm","SMRSC03701" ,"title,cond,instcd","opt_poptitle,opt_popcond,cmb_instcd");
- model.refresh();
-
- fSetAllApply(grd_costlist,"maincustlastsuplplce,maincustlastsuplplcenm", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetSuppCustCd()
- {
- model.setValue(opt_popcond.attribute("ref"),"custom");
- model.setValue(opt_poptitle.attribute("ref"), "보조 거래처를 선택해 주세요");
-
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd,popinputnm","SMRSC03701" ,"title,cond,instcd","opt_poptitle,opt_popcond,cmb_instcd");
- model.refresh();
-
- fSetAllApply(grd_costlist,"suppcustcd,suppcustnm", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetGoodProdCmpy()
- {
- model.setValue(opt_popcond.attribute("ref"),"prodcmpy");
- model.setValue(opt_poptitle.attribute("ref"), "제조회사를 선택해 주세요");
-
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd,popinputnm","SMRSC03701" ,"title,cond,instcd","opt_poptitle,opt_popcond,cmb_instcd");
- model.refresh();
-
- fSetAllApply(grd_costlist,"prodcmpycd,prodcmpynm", model.getValue(opt_popinputcd.attribute("ref")));
- }
- function fSetPurcUnit()
- {
- model.setValue(opt_popcond.attribute("ref"),"purcunit");
- model.setValue(opt_poptitle.attribute("ref"), "포장단위를 선택해 주세요");
-
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title,cond","opt_poptitle,opt_popcond");
- model.refresh();
-
- fSetAllApply(grd_costlist,"purcunit", model.getValue(opt_popinputcd.attribute("ref")));
- }
-
- function fSetDeliveUnit()
- {
- model.setValue(opt_popcond.attribute("ref"),"deliveunit");
- model.setValue(opt_poptitle.attribute("ref"), "수불단위를 선택해 주세요");
-
- rszfOpenPopUpListByWndName(opt_popinputcd,"","popinputcd","SMRSC03701" ,"title,cond","opt_poptitle,opt_popcond");
- model.refresh();
-
- fSetAllApply(grd_costlist,"deliveunit", model.getValue(opt_popinputcd.attribute("ref")));
- }
-
- function fSetAllApply(f_grid, f_id , f_value)
- {
- if(f_id == null || f_id.length == 0 || f_value == null || f_value.length == 0 )return;
-
- var f_selid = f_id.split(",");
- var f_selvalue = f_value.split(",");
-
- for(currow = 0 ; currow < f_grid.selectedRows; currow++)
- {
- for (var k = 0; k < f_selid.length; k++) {
- if(f_grid.colRef(f_selid[k]) != -1)
- {
- if(model.getValue(f_grid.nodeset + "[" + (f_grid.selectedRow(currow)- f_grid.fixedRows + 1) + "]/" + f_selid[k]) != f_selvalue[k])
- {
- model.setValue(f_grid.nodeset + "[" + (f_grid.selectedRow(currow)- f_grid.fixedRows + 1) + "]/" + f_selid[k] ,f_selvalue[k]);
- if(f_grid.rowStatus(f_grid.selectedRow(currow)) == "0")f_grid.rowStatus(f_grid.selectedRow(currow)) = "2";
- }
- }
- }
- }
- }
- function fZoomInOut(pCall)
- {
- var selrow = 0;
- var selzoomin = "N";
- /* 조회버튼 click시 원래사이즈로 초기화 .2007.10.01 */
- if (pCall == "search")
- {
- for(currow = 0 ; currow < grd_costlist.Rows; currow++)
- {
- selrow = grd_costlist.selectedRow(currow);
- if(grd_costlist.rowHeight(selrow) == 50)
- {
- grd_costlist.rowHeight(selrow) = 23;
- grd_costlist.cellstyle("font-size",selrow, 1 , selrow, grd_costlist.cols -1) = "10pt";
- }
- }
-
- }
- else
- {
- for(currow = 0 ; currow < grd_costlist.selectedRows; currow++)
- {
- selrow = grd_costlist.selectedRow(currow);
- if(grd_costlist.rowHeight(selrow) == 23)
- {
- grd_costlist.rowHeight(selrow) = 50;
- grd_costlist.cellstyle("font-size",selrow, 1,selrow,grd_costlist.cols -1) = "15pt";
- selzoomin = "Y";
- }
- else
- {
- grd_costlist.rowHeight(selrow) = 23;
- grd_costlist.cellstyle("font-size",selrow, 1 , selrow, grd_costlist.cols -1) = "10pt";
- }
- }
- }
-
- if(selzoomin == "Y")grd_costlist.ellipsis ="false";
- else grd_costlist.ellipsis ="true";
- }
-
- function fWindowPosition(inout)
- {
- if(inout =="O")
- {
- // grp_title.visible = false;
- swt_select.attribute("style") = "left:0px; top:186px; width:1195px; height:413px; border-style:solid; ";
- grd_costlist.attribute("style") ="left:0px; top:29px; width:1193px; height:372px; ";
- }
- else
- {
- // grp_title.visible = true ;
- swt_select.attribute("style") = "left:0px; top:10px; width:1195px; height:589px; border-style:solid; ";
- grd_costlist.attribute("style") = "left:0px; top:29px; width:1193px; height:548px;";
- }
-
- model.refresh();
- }
-
- function fSetDataCopy(pnode,nodename)
- {
- misfGridInit(grd_goodhistory);
-
- if (swt_select.selectedIndex == 0)
- {
- misfGridInit(grd_costlist);
- fgrid = grd_costlist;
- }
- else return;
-
- var codynode = instance1.selectNodes(pnode + "/*");
-
- var tmpdata = "";
- for (var j = 1; j <= codynode.length ; j++) {
- misfGridIUD(fgrid,"A");
- addRow = fgrid.rows - fgrid.fixedRows;
-
- for(var curcol = 1; curcol < fgrid.cols ; curcol++)
- {
- tmpdata = model.getValue(pnode +"/" + nodename + "[" + j + "]/" + fgrid.colAttribute(curcol, "ref"));
- if(tmpdata.length> 0)model.setValue(fgrid.nodeset + "[" + addRow + "]/" + fgrid.colAttribute(curcol, "ref") , tmpdata);
- }
- addRow = addRow + 1;
- }
- fgrid.clearStatus();
- model.refresh();
- }
- function fSaveDataSetting(pSubmit_Id) {
-
- if (swt_select.selectedIndex == 0)fgrid = grd_costlist;
- else return;
-
- var insfromdd = model.getValue(ipt_insfromdd.attribute("ref"));
- model.removenode("/root/send/save");
- model.makeNode("/root/send/save/goodlist");
- model.makeNode("/root/send/save/gooddetlist");
- model.makeNode("/root/send/save/setautoins/setyn");
- model.makeNode("/root/send/save/setautoins/insfromdd")
-
- model.setValue("/root/send/save/setautoins/setyn","Y");
- model.setValue("/root/send/save/setautoins/insfromdd",insfromdd);
-
- model.refresh();
-
- if(swt_select.selectedIndex == 0)model.setValue("/root/send/save/goodlist" , fgrid.getUpdateData());
- model.setValue("/root/send/save/gooddetlist" , fgrid.getUpdateData());
-
- submit(pSubmit_Id);
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error")
- {
- fgrid.clearStatus();
- submit("TRRSC00602");
- }
- }
- function fCheckRetrieveData()
- {
- if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
- {
- messageBox("기관코드를 " ,"C002");
- model.setFocus("cmb_instcd");
- return false;
- }
- if(model.getValue(cmb_goodflag.attribute("ref")).length== 0 )
- {
- messageBox("물품구분을 " ,"C002");
- model.setFocus("cmb_goodflag");
- return false;
- }
- model.setValue("/root/send/goodlist/offset","0");
- model.setValue("/root/send/goodlist/pagesize", 20);
- return true;
- }
- function zoomInAndOut(string) {
- if (string == "in") {
- currZoom = myContainer.style.zoom;
- currZoom = currZoom.substring(0, currZoom.length - 1);
- currZoom = parseInt(currZoom, 10);
- newZoom = currZoom + 1;
-
- if (newZoom> 10000) return;
-
- myContainer.style.zoom = newZoom + "%";
- }
- else if (string == "out") {
- currZoom = myContainer.style.zoom;
- currZoom = currZoom.substring(0, currZoom.length - 1);
- currZoom = parseInt(currZoom, 10);
- newZoom = currZoom - 1;
-
- if (newZoom <1) return;
-
- myContainer.style.zoom = newZoom + "%";
- }
- }
- function fSubmitOnScroll() {
- if (swt_select.selectedIndex == 0)fgrid = grd_costlist;
- else return;
- if(fgrid.vscroll.attribute("max") == fgrid.vscroll.attribute("pos")) {
- model.setValue("/root/send/goodlist/offset", fgrid.rows-fgrid.fixedRows);
- model.setValue("/root/send/goodlist/pagesize", 20);
- submit("TRRSC00601");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0; top:0; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">기관별 물품종합 조회</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:166px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1195px; height:161px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:150px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:100px; top:9px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/instcd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" class="search_name" style="left:310px; top:140px; width:112px; height:17px; ">재고관리기준 :</caption>
- <caption id="caption23" class="search_name" style="left:640px; top:30px; width:86px; height:17px; ">주거래처 :</caption>
- <caption id="caption25" class="search_name" style="left:15px; top:140px; width:86px; height:17px; ">구매구분 :</caption>
- <input id="input1" ref="/root/send/goodlist/to_fromdd" class="input_search" inputtype="date" style="left:833px; top:118px; width:85px; height:19px; "/>
- <caption id="caption27" class="search_name" style="left:640px; top:8px; width:86px; height:17px; ">물 품 명 :</caption>
- <caption id="caption29" class="search_name" style="left:640px; top:74px; width:86px; height:17px; ">제조회사 :</caption>
- <caption id="caption31" class="search_name" style="left:627px; top:52px; width:99px; height:17px; ">보조거래처 :</caption>
- <input id="ipt_goodnm" ref="/root/send/goodlist/goodnm" class="input_search" style="left:725px; top:8px; width:193px; height:19px; "/>
- <input id="ipt_prodcmpycd" ref="/root/send/goodlist/prodcmpycd" class="input_search" style="left:725px; top:74px; width:84px; 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,prodcmpynm"
- ,"prodcmpycd," + ipt_prodcmpycd.value ,"","prodcmpycd,prodcmpynm"
- ,ipt_prodcmpycd,"SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpynm" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:831px; top:74px; width:143px; height:19px; "/>
- <button id="btn_prodcmpycd" class="icon_search" style="left:812px; top:74px; 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="output_fix" navindex="-1" editable="false" style="left:831px; top:30px; width:143px; height:19px; "/>
- <button id="btn_maincustlastsuplplce" class="icon_search" style="left:812px; top:30px; 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:725px; top:30px; width:84px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_maincustlastsuplplcenm,cmb_instcd);
- ]]>
- </script>
- </input>
- <input id="ipt_suppcustnm" ref="/root/send/goodlist/suppcustnm" class="output_fix" navindex="-1" editable="false" style="left:831px; top:52px; width:143px; height:19px; "/>
- <input id="ipt_suppcustcd" ref="/root/send/goodlist/suppcustcd" class="input_search" style="left:725px; top:52px; width:84px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suppcustnm,cmb_instcd);
- ]]>
- </script>
- </input>
- <button id="btn_suppcustcd" class="icon_search" style="left:812px; top:52px; 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_search" style="left:421px; top:53px; width:148px; height:19px; "/>
- <input id="ipt_goodcd" ref="/root/send/goodlist/sch_goodcd" class="input_search" imemode="disabled" _chartype="upper" style="left:421px; top:9px; width:148px; height:19px; "/>
- <caption id="caption33" class="search_name" style="left:336px; top:9px; width:86px; height:17px; ">물품코드 :</caption>
- <caption id="caption34" class="search_name" style="left:333px; top:53px; width:89px; height:17px; ">EDI 코드 :</caption>
- <caption id="caption35" class="search_name" style="left:336px; top:75px; width:86px; height:17px; ">계약구분 :</caption>
- <caption id="caption36" class="search_name" style="left:336px; top:97px; width:86px; height:17px; ">발주기준 :</caption>
- <caption id="caption37" class="search_name" style="left:640px; top:97px; width:86px; 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:725px; top:97px; width:148px; 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:1125px; top:70px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // size 원위치
- fZoomInOut("search")
- if (fCheckRetrieveData() == false) return;
- misfGridInit(grd_costlist);
- misfGridInit(grd_goodhistory);
- misfMsterDetailRetrieve();
- // if ( grd_costlist.rows - grd_costlist.fixedRows > 0 ) submit("TRRSC00602");
- ]]>
- </script>
- </button>
- <line id="line_title" class="line_4" style="x1:1110px; y1:12px; x2:1110px; y2:152px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input23" ref="/root/send/goodlist/fr_fromdd" class="input_search" inputtype="date" style="left:725px; top:118px; width:86px; height:19px; "/>
- <caption id="caption38" class="search_name" style="left:640px; top:118px; width:86px; height:17px; ">적용기간 :</caption>
- <caption id="caption1" style="left:832px; top:146px; width:5px; height:20px; font-weight:bold; ">~</caption>
- <select1 id="cmb_purcflag" ref="/root/send/goodlist/purcflag" class="combo_search" appearance="minimal" style="left:100px; top:140px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/purcflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_stocmngtflag" ref="/root/send/goodlist/stocmngtflag" class="combo_search" appearance="minimal" style="left:421px; top:140px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/stocmngtflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_conflag" ref="/root/send/goodlist/conflag" class="combo_search" appearance="minimal" style="left:421px; top:75px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/conflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_plceordbase" ref="/root/send/goodlist/plceordbase" class="combo_search" appearance="minimal" style="left:421px; top:97px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/plceordbase">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_reqflag" class="search_name" style="left:336px; top:119px; width:86px; height:17px; ">청구구분 :</caption>
- <select1 id="cmb_reqflag" ref="/root/send/goodlist/reqflag" class="combo_search" appearance="minimal" style="left:421px; top:119px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:15px; top:119px; width:86px; height:17px; ">청구방법 :</caption>
- <select1 id="cmb_reqmthd" ref="/root/send/goodlist/reqmthd" class="combo_search" appearance="minimal" style="left:100px; top:119px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" visibility="hidden" style="left:915px; top:95px; width:86px; height:17px; ">All Size :</caption>
- <select1 id="rdo_allsizeyn" ref="/root/send/goodlist/allsizeyn" class="radio_search" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:1000px; top:95px; width:110px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/allsizeyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption82" class="search_name" style="left:336px; top:31px; width:86px; height:17px; ">구 코 드 :</caption>
- <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" maxlength="12" style="left:421px; top:31px; width:148px; height:19px; "/>
- <caption id="caption2" style="left:816px; top:118px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <caption id="caption94" class="search_name" style="left:15px; top:75px; width:86px; height:17px; ">중 분 류 :</caption>
- <caption id="caption96" class="search_name" style="left:15px; top:97px; width:86px; height:17px; ">소 분 류 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" class="combo_search" appearance="minimal" style="left:100px; top:53px; width:148px; 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.refresh();
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" class="combo_search" appearance="minimal" style="left:100px; top:97px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_goodflag" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:100px; top:31px; width:148px; 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);
- misfGridInit(grd_goodhistory);
-
- // rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
- rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
-
- cmb_mdlcd_search.value='';
- cmb_smlcd_search.value='';
-
- model.refresh();
- //misfGridInit(grd_gooddetlist);
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" class="combo_search" appearance="minimal" style="left:100px; top:75px; width:148px; 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();
- cmb_smlcd_search.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption90" class="search_name" style="left:15px; top:31px; width:86px; height:17px; ">물품구분:</caption>
- <caption id="caption91" class="search_name" style="left:15px; top:53px; width:86px; height:17px; ">대 분 류 :</caption>
- <output id="opt_seelct" ref="/root/send/goodlist/selectonly" visibility="hidden" style="left:975px; top:115px; width:100px; height:19px; "/>
- </group>
- <datagrid id="grd_goodhistory" nodeset="/root/main/list/goodhistory/goodhistorylist" visibility="visible" caption="적용일자*^사용유무^규격^모델^제조회사^제조국^주거래처^보조거래처^EDI 코드^입고단위^불출단위^제품단가^입고계정^비용계정^견적가^외화단가^화폐단위^제품단가^수불단가^의료수가^대분류^중분류^소분류^수정자^수정일시" colsep="^" colwidth="80, 0, 65, 60, 66, 66, 80, 80, 75, 71, 73, 40, 100, 70, 51, 55, 69, 41, 71, 70, 94, 100, 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:628px; width:1195px; height:106px; ">
- <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" visibility="hidden"/>
- <col ref="winacntnm"/>
- <col ref="amtacntnm"/>
- <col ref="estmamt" visibility="hidden"/>
- <col ref="forgncurncyunitcost" visibility="hidden"/>
- <col ref="curncyunitnm"/>
- <col ref="goodunitcost" visibility="hidden"/>
- <col visibility="hidden"/>
- <col visibility="hidden"/>
- <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>
- <line id="line8" class="line_1" style="x1:0px; y1:623px; x2:1195px; y2:623px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:609px; width:95px; height:13px; ">이력정보</caption>
- <switch id="swt_select" style="left:0px; top:186px; width:1195px; height:413px; ">
- <case id="cse_costlist">
- <button id="btn_ZoomOut" class="btn2_letter5" style="left:1019px; top:3px; width:75px; height:19px; ">
- <caption>ZoomOut</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fWindowPosition("O");
- ]]>
- </script>
- </button>
- <button id="btn_ZoomIn" class="btn2_letter4" style="left:953px; top:3px; width:64px; height:19px; ">
- <caption>ZoomIn</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fWindowPosition("I");
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:1193px; y2:24px; "/>
- <button id="btn_zoomin" class="btn2_letter7" style="left:1096px; top:3px; width:97px; height:19px; ">
- <caption>크게/작게 보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fZoomInOut("zoom");
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter3" navindex="12" style="left:900px; top:3px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "물품종합조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_costlist.saveExcel(fileName, "물품종합조회");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_costlist" nodeset="/root/main/list/good/goodlist" caption="적용일자^물품코드^물품코드^품명^규격^EDI 코드^All_SIze 유무^모델^제조회사^포장단위^환산수량^수불단위^단가계약여부^단가^단가 계약기간^단가 계약기간^주거래처^보조거래처^구매구분^청구구분^청구방법^청구주기^계정과목^계정과목^수정자^수정일시" colsep="^" colwidth="70, 70, 24, 153, 112, 75, 86, 72, 78, 69, 64, 61, 87, 80, 70, 70, 106, 84, 57, 89, 70, 65, 65, 100, 62, 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" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:29px; width:1193px; height:372px; ">
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; padding-left:5; "/>
- <col ref="goodspec" style="text-align:left; padding-left:5; "/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="allsizeyn" visibility="hidden" style="text-align:center; "/>
- <col ref="goodmodel" style="text-align:left; padding-left:5; "/>
- <col ref="prodcmpynm" style="text-align:left; padding-left:5; "/>
- <col ref="purcunit" style="text-align:center; "/>
- <col ref="exchqty" format="#,###" style="text-align:right; "/>
- <col ref="deliveunit" style="text-align:center; "/>
- <col ref="costconyn" style="text-align:center; "/>
- <col ref="goodunitcost" visibility="visible" format="#,###" style="text-align:right; "/>
- <col ref="fromconterm" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="toconterm" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="maincustlastsuplplcenm" style="text-align:left; padding-left:5; "/>
- <col ref="suppcustnm" style="text-align:left; padding-left:10; "/>
- <col ref="purcflagnm" style="text-align:center; "/>
- <col ref="reqflagnm" style="text-align:center; "/>
- <col ref="reqmthdnm" style="text-align:center; "/>
- <col ref="reqpridnm" style="text-align:center; "/>
- <col ref="winacnt" style="text-align:center; "/>
- <col ref="winacntnm" style="text-align:left; "/>
- <col ref="lastupdtrnm" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <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="lrgnm" visibility="hidden"/>
- <col ref="mdlcd" visibility="hidden"/>
- <col ref="mdlnm" visibility="hidden"/>
- <col ref="smlcd" visibility="hidden"/>
- <col ref="smlnm" visibility="hidden"/>
- <col ref="proddrugsetflag" visibility="hidden"/>
- <col ref="winacnt" visibility="hidden"/>
- <col ref="winacntnm" visibility="hidden"/>
- <col ref="amtacnt" visibility="hidden"/>
- <col ref="amtacntnm" visibility="hidden"/>
- <col ref="mainmngtdeptcd" visibility="hidden"/>
- <col ref="mainmngtdeptnm" visibility="hidden"/>
- <col ref="mainusedeptcd" visibility="hidden"/>
- <col ref="purclnkgoodcd" 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="insuyn" visibility="hidden"/>
- <col ref="newrgstdd" visibility="hidden"/>
- <col ref="reqdeptcd" visibility="hidden"/>
- <col ref="reqdeptnm" visibility="hidden"/>
- <col ref="reqpsn" visibility="hidden"/>
- <col ref="reqpsnnm" visibility="hidden"/>
- <col ref="reqflag" visibility="hidden"/>
- <col ref="reqflagnm" visibility="hidden"/>
- <col ref="reqmthd" visibility="hidden"/>
- <col ref="reqprid" visibility="hidden"/>
- <col ref="iopsnflag" 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="cntrdrugyn" visibility="hidden"/>
- <col ref="narcflag" visibility="hidden"/>
- <col ref="expnyn" visibility="hidden"/>
- <col ref="cntsunit" visibility="hidden"/>
- <col ref="cntsqty" visibility="hidden"/>
- <col ref="specvol" visibility="hidden"/>
- <col ref="drugkind" visibility="hidden"/>
- <col ref="cooppurcyn" visibility="hidden"/>
- <col ref="autrampharm" visibility="hidden"/>
- <col ref="keepmthd" visibility="hidden"/>
- <col ref="specldrug" visibility="hidden"/>
- <col ref="gnrlspcl" visibility="hidden"/>
- <col ref="welfprt" visibility="hidden"/>
- <col ref="goodtype" visibility="hidden"/>
- <col ref="com" visibility="hidden"/>
- <col ref="limdrugyn" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="safestocappdd" visibility="hidden"/>
- <col ref="safestocqty" visibility="hidden"/>
- <col ref="ddavguseqty" visibility="hidden"/>
- <col ref="mmavgusescheqty" visibility="hidden"/>
- <col ref="mmavguseqty" visibility="hidden"/>
- <col ref="prprtystocpossndayno" visibility="hidden"/>
- <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();
- }
- else if(grd_costlist.colRef("allsizeyn") == grd_costlist.col)
- {
- if (grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("allsizeyn")) == "Y" )
- rszfOpenPopUpListByWndName(grd_costlist,"","allsizespecid,goodspec","SPRSD00280","instcd,goodcd","cmb_instcd,"+ grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("goodcd")) );
- //rszfOpenPopUpListByWndName(grd_costlist,"","allsizespecid,goodspec","SPRSD00280","instcd,goodcd",grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("instcd")) + ','+ grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("goodcd")) );
- //rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","instcd,instnm,goodcd,goodnm,goodunit","SPRSC00211","instcd,instnm,goodcd,goodnm,goodunit", grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("instcd")) + "," + grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("instcd")) + "," + grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("goodcd")) + "," + grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("goodnm")) + "," + grd_costlist.valueMatrix(grd_costlist.row, grd_costlist.colRef("purcunit")) );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_costlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onscrolldown">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if ( grd_costlist.row != grd_costlist.fixedRows-1 && grd_costlist.rows - grd_costlist.fixedRows > 0 ) {
- model.setValue( "/root/send/goodhistory/instcd", grd_costlist.valueMatrix( grd_costlist.row, grd_costlist.colRef("instcd")) );
- model.setValue( "/root/send/goodhistory/goodcd", grd_costlist.valueMatrix( grd_costlist.row, grd_costlist.colRef("goodcd")) );
- submit("TRRSC00602");
- model.refresh();
- }
- grd_costlist.dispatch("onmouseup");
- ]]>
- </script>
- </datagrid>
- <input id="ipt_basedd" ref="/root/send/goodlist/basedd" class="input_search" inputtype="date" style="left:510px; top:3px; width:86px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:335px; top:4px; width:180px; height:17px; ">단가계약여부 기준일자 :</caption>
- </case>
- </switch>
- </group>
- <group id="group2" style="left:0px; top:12; width:1195px; height:27px; ">
- <!--
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- -->
- <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- misfGridInit(grd_costlist);
- misfGridInit(grd_goodhistory);
- if(instcd.length > 0)model.setValue(cmb_instcd.attribute("ref"), instcd);
- else
- {
- if(cmb_instcd.length> 0) cmb_instcd.selectedindex= 0;
- }
- //물품구분일 경우 첫번째 index 자동 설정
- if(cmb_goodflag.length> 0) cmb_goodflag.selectedindex= 0;
- ]]>
- </script>
- </button>
- <line id="line7" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <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_popformat" ref="/root/init/popformat" visibility="hidden" style="left:531px; 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; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|