123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <goodlists>
- <goodlist>
- <appinstdata/>
- </goodlist>
- </goodlists>
- <gooddet>
- <goodinstlist/>
- </gooddet>
- </list>
- <allsizelists>
- <allsizelist>
- </allsizelist>
- </allsizelists>
- </main>
- <send>
- <goodlist>
- <goodflag/>
- <goodnm/>
- <lrgcd/>
- <edicd/>
- <goodcd/>
- <mdlcd/>
- <spec/>
- <prodcmpy/>
- <smlcd/>
- <model/>
- <prodcmpynm/>
- <instflag/>
- <oldcd/>
- <filecls>S</filecls>
- <instcd/>
- <fr_fromdd/>
- <to_fromdd/>
- </goodlist>
- <gooddetlist>
- <goodcd/>
- <fromdd/>
- <useyn/>
- </gooddetlist>
- <allsizelist>
- <instcd/>
- <goodcd/>
- <instflag>1</instflag>
- </allsizelist>
- </send>
- <init>
- <comcd>
- <Z00071>
- <Z00071>
- <cdid>
- <![CDATA[001]]>
- </cdid>
- <cdnm>
- <![CDATA[가톨릭중앙의료원]]>
- </cdnm>
- <dispseq>
- <![CDATA[1]]>
- </dispseq>
- <cdsid>
- <![CDATA[Z0007001]]>
- </cdsid>
- <cdgrupid>
- <![CDATA[Z0007]]>
- </cdgrupid>
- <detldesc>
- <![CDATA[가톨릭중앙의료원]]>
- </detldesc>
- <cdval/>
- <minval/>
- <maxval/>
- <minopercd/>
- <maxopercd/>
- <cdengabbrnm/>
- <valifromdd>
- <![CDATA[20060916]]>
- </valifromdd>
- <valitodd>
- <![CDATA[29991231]]>
- </valitodd>
- </Z00071>
- </Z00071>
- </comcd>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInstInitForm();
- ]]>
- </script>
- <submission id="TRRSC05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
- <submission id="TRRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
- <submission id="TRRSC00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/allsizelist" resultref="/root/main/allsizelists"/>
- </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" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05302.js"/>
- <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05304.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,701;1,689;">
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:740px; ">
- <line id="line7" class="line_1" style="x1:0px; y1:120px; x2:694px; y2:120px; "/>
- <caption id="caption1" class="tit_2" visibility="visible" style="left:705px; top:104px; width:153px; height:13px; ">통합물품목상세정보</caption>
- <datagrid id="grd_goodlist" nodeset="/root/main/list/goodlists/goodlist" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명" colsep="^" colwidth="80, 0, 180, 0, 0, 100, 80, 0, 0, 90, 0, 0, 66, 0, 80, 0, 80" dataheight="23" ellipsis="false" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:125px; width:694px; height:605px; ">
- <col ref="goodcd" type="output" _key="true"/>
- <col ref="goodflag" visibility="hidden" _key="true"/>
- <col ref="goodnm" type="output" _key="true"/>
- <col ref="goodhngnm" type="output" _key="true"/>
- <col ref="goodengnm" type="output"/>
- <col ref="goodspec" type="output"/>
- <col ref="goodmodel" type="output"/>
- <col ref="asetflag" type="output"/>
- <col ref="prodcmpycd" type="output"/>
- <col ref="prodcmpynm"/>
- <col ref="edicd"/>
- <col ref="lrgcd" type="output"/>
- <col ref="lrgnm"/>
- <col ref="mdlcd" type="output"/>
- <col ref="mdlnm"/>
- <col ref="smlcd" type="output"/>
- <col ref="smlnm"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="appinstdata" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- fAppInstcdClear();
- ipt_appinstdata.value = grd_goodlist.valueMatrix(grd_goodlist.row, grd_goodlist.colRef("appinstdata"));
- fAppInstcdGridSet(ipt_appinstdata.value);
- if (grd_goodlist.valueMatrix(grd_goodlist.row, grd_goodlist.colRef("goodcd")) != "") {
- fInstRetrGoodList(true);
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_goodlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grd_goodlist.dispatch("onrowchanged");
- ]]>
- </script>
- </datagrid>
- <group id="grp_title" style="left:0px; top:9px; width:1195px; height:87px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:87px; "/>
- <caption id="caption88" class="search_name" style="left:465px; top:61px; width:82px; height:17px; ">EDI코드 :</caption>
- <caption id="caption89" class="search_name" style="left:464px; top:35px; width:86px; height:17px; ">물품코드 :</caption>
- <caption id="caption90" class="search_name" style="left:270px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
- <caption id="caption91" class="search_name" style="left:830px; top:9px; width:83px; height:17px; ">대 분 류 :</caption>
- <caption id="caption92" class="search_name" style="left:464px; top:9px; width:83px; height:17px; ">물 품 명 :</caption>
- <caption id="caption94" class="search_name" style="left:830px; top:35px; width:83px; height:17px; ">중 분 류 :</caption>
- <caption id="caption95" class="search_name" style="left:10px; top:61px; width:88px; height:17px; ">제 조 원 :</caption>
- <caption id="caption96" class="search_name" style="left:830px; top:61px; width:83px; height:17px; ">소 분 류 :</caption>
- <line id="line36" class="line_4" style="x1:1109px; y1:11px; x2:1109px; y2:77px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1124px; top:32px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(fCheckRetrieveData() == false)return;
-
- fInstRetrGoodList(false);
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodflag_search" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:360px; top:8px; width:95px; 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_goodlist);
- misfGridInit(grd_instinfo);
- model.resetInstanceNode("/root/main/goodlists/det/gooddetlist");
-
- //권한체크.
- //fSetGoodFlagAuth();
- // btn_save.disabled=true;
- rszfGetPurcGoodFlagAuthInfo(cmb_instcd_search.value , cmb_goodflag_search.value, getUserInfo("userid"), "%");
-
- // if (rszfGetGoodFlagAuthInfoByCond("goodflagauth") =="Y")
- // {
- // btn_save.disabled=false;
- // btn_sgsave.disabled=false;
- // }
-
- gGoodFlag = model.getValue(cmb_goodflag_search.attribute("ref"));
- //fCheckAuth();
-
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "", "Y");
- //rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
-
- cmb_mdlcd_search.value='';
- cmb_smlcd_search.value='';
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" style="left:554px; top:8px; width:261px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13)
- {
- ipt_goodnm_search.value = ipt_goodnm_search.currentText;
- ipt_goodnm_search.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_edicd_search" ref="/root/send/goodlist/edicd" class="input_search" _chartype="upper" style="left:555px; top:60px; width:95px; height:19px; "/>
- <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" maxlength="12" _chartype="upper" style="left:554px; top:35px; width:96px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13)
- {
- ipt_goodcd_search.value = ipt_goodcd_search.currentText;
- ipt_goodcd_search.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_prodcmpy_search" ref="/root/send/goodlist/prodcmpy" class="input_search" style="left:100px; top:60px; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpy_search.value != "")
- {
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpycd," + model.getValue(ipt_prodcmpy_search.attribute("ref")) + "," ,
- "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpynm_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button6" class="icon_search" style="left:201px; top:62px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_prodcmpy_search,"","prodcmpy,prodcmpynm","SPRSD00160","","");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_prodcmpynm_search" ref="/root/send/goodlist/prodcmpynm" class="input_search" style="left:229px; top:60px; width:226px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_prodcmpynm_search.value != "")
- {
- rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
- "prodcmpynm,," + model.getValue(ipt_prodcmpynm_search.attribute("ref")) ,
- "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
- }else{
- ipt_prodcmpy_search.value = "";
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" appearance="minimal" style="left:920px; top:8px; width:171px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "", "Y");
- cmb_mdlcd_search.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" appearance="minimal" style="left:920px; top:59px; width:171px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" appearance="minimal" style="left:920px; top:35px; width:171px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "", "Y");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd_search" ref="/root/send/goodlist/instcd" appearance="minimal" editmode="search" style="left:100px; top:8px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcd/Z00071/Z00071">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd_search" class="search_name" style="left:10px; top:9px; width:117px; height:17px; ">기관코드 :</caption>
- <input id="ipt_appdtfrom" ref="/root/send/goodlist/fr_fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:35px; width:150px; height:19px; text-align:center; "/>
- <input id="ipt_appdtto" ref="/root/send/goodlist/to_fromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:272px; top:35px; width:150px; height:19px; text-align:center; "/>
- <caption id="caption7" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">적용일자 :</caption>
- <caption id="caption8" style="left:257px; top:37px; width:25px; height:17px; ">~</caption>
- </group>
- <button id="button1" class="btn_sw" group="tab" style="left:879px; top:128px; width:89px; height:22px; ">
- <caption>적용기관</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <button id="btn_allsizeinfo" class="btn_sw" group="tab" selected="true" style="left:700px; top:128px; width:90px; height:22px; ">
- <caption>AllSize정보</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <switch id="switch1" style="left:700px; top:149px; width:481px; height:581px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_allsize" nodeset="/root/main/allsizelists/allsizelist" caption="물품코드^ID^규격^모델^단위^비고" colsep="^" colwidth="0, 37, 183, 80, 59, 91, 100, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
- <col ref="goodcd" visibility="hidden"/>
- <col ref="allsizespecid" maxlength="4" style="text-align:center; "/>
- <col ref="goodspec" type="input"/>
- <col ref="goodmodel" type="input"/>
- <col id="goodunit" ref="goodunit" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input"/>
- <col ref="instflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_allsize.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="105, 347" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
- <col ref="instcd"/>
- <col ref="instnm"/>
- </datagrid>
- </case>
- <case id="case3" style="left:0px; top:0px; width:479px; height:579px; ">
- <datagrid id="grd_applist" nodeset="/root/init/comcd/Z00070/Z00070" visibility="visible" caption="CHK^기관코드^기관명" colsep="^" colwidth="60, 72, 183" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:479px; height:579px; ">
- <col checkvalue="Y,N" ref="minval" type="checkbox"/>
- <col ref="cdid" style="text-align:center; "/>
- <col ref="cdnm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //grd_allsize.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_instcdinfo" class="btn_sw" group="tab" style="left:790px; top:128px; width:89px; height:22px; ">
- <caption>사용기관정보</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <input id="ipt_appinstdata" ref="/root/main/list/goodlists/goodlist/appinstdata" visibility="hidden" _chartype="upper" style="left:980px; top:125px; width:180px; height:19px; "/>
- <line id="line5" class="line_1" style="x1:703px; y1:120px; x2:1185px; y2:120px; "/>
- <caption id="caption2" class="tit_2" visibility="visible" style="left:5px; top:104px; width:172px; height:14px; ">통합 물품 기관 적용내역</caption>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:190px; height:13px; ">통합 물품 기관 적용내역</caption>
- </group>
- <group id="group4" visibility="visible" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line20" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1112px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInstInitForm();
- ]]>
- </script>
- </button>
- <button id="btn_scrnmove" class="btn3_letter4" visibility="hidden" style="left:56px; 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>
- </group>
- </xhtml:body>
- </xhtml:html>
|