123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>원가 배부코드 등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acntperchgrinfo>
- <acntperchgrlist/>
- </acntperchgrinfo>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <commoninfo>
- <perchgrlist1/>
- <perchgrlist2/>
- <perchgrlist3/>
- <perchgrlist4/>
- <perchgrlist5/>
- <acntlist/>
- </commoninfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/acntperchgrinfo/acntperchgrlist");
- misfComboComCdList("030M0006" ,cmb_sanctflag);
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- if(submit("TRRSA00101")){
- if(submit("TRRSA00102")){
-
- }
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/commoninfo"/>
- <submission id="TRRSA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/acntperchgrinfo"/>
- <submission id="TXRSA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/acntperchgrinfo"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="750" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:1197px; height:730px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:1180px; y2:41px; "/>
- <datagrid id="grd_acntperchgrlist" nodeset="/root/main/acntperchgrinfo/acntperchgrlist" caption="부문코드^부문명칭^관리구분^처리순서^최종^시작부문^종료부문^배부코드^배부코드 명^배부코드(시행) ^배부코드 명(시행)^공통부문^부문분류^LeveL^상위부문^상위부문 명^일반관리_old^일반관리_new^Clinic ID^OCS 부서명^입/외^OCS 부서^참고사항^기관코드" colsep="^" colwidth="74, 258, 57, 112, 71, 132, 134, 50, 255, 100, 197, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 561, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:45px; width:1185px; height:495px; ">
- <col ref="sanctflag" type="input" style="text-align:center; "/>
- <col editmode="inputsearch" itemcount="20" ref="acntcd" type="input" showmask="true" style="text-align:left; "/>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_1" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_2" type="input" format="yyyy/mm/dd" mask="include" showmask="true" style="text-align:center; "/>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_3" type="combo" showmask="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist3">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_4" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist4">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" itemcount="20" ref="perchgr_5" type="combo" showmask="true" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/commoninfo/perchgrlist5">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input"/>
- <col ref="bigo" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="oldsanctflag" visibility="hidden"/>
- <col ref="oldacntcd" visibility="hidden"/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:465px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:255px; height:14px; color:#000000; ">원가 부문코드 등록 ( w_won0e030 )</caption>
- </group>
- <button id="btn_chrtdeptdel" class="btn2_letter3" style="left:1012px; top:20px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var acntcd = grd_acntperchgrlist.valueMatrix(grd_acntperchgrlist.row,grd_acntperchgrlist.colRef("acntcd"));
- if((grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="1")||(grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row)=="3")){
- grd_acntperchgrlist.deleteRow(grd_acntperchgrlist.row);
- }else{
- grd_acntperchgrlist.rowStatus(grd_acntperchgrlist.row) ="4";
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_chrtdeptadd" class="btn2_letter3" style="left:955px; top:20px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_acntperchgrlist.addRow(false);
- model.setValue("/root/main/acntperchgrinfo/acntperchgrlist["+grd_acntperchgrlist.row+"]/instcd",getUserInfo("dutplceinstcd"));
- model.setFocus("grd_acntperchgrlist");
- grd_acntperchgrlist.col = grd_acntperchgrlist.colRef("sanctflag");
- grd_acntperchgrlist.editCell();
- ]]>
- </script>
- </button>
- <button id="btn_chrtdeptsave" class="btn4_letter2" style="left:1069px; top:17px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedata/acntperchgrlist",grd_acntperchgrlist.getUpdateData());
- if(submit("TXRSA00101")){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1129px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
- if(submit("TRRSA00102")){
- model.removeNodeset("/root/send/reqdata");
- }
- ]]>
- </script>
- </button>
- <group id="grp_title" style="left:5px; top:550px; width:1180px; height:170px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1175px; height:161px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:5px; 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:90px; 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:340px; top:140px; width:80px; height:17px; ">LeveL :</caption>
- <caption id="caption23" class="search_name" style="left:610px; top:30px; width:104px; height:17px; ">상위부문 명 :</caption>
- <caption id="caption25" class="search_name" style="left:5px; top:140px; width:86px; height:17px; ">종료부문 :</caption>
- <caption id="caption27" class="search_name" style="left:630px; top:8px; width:113px; height:17px; ">상위부문 :</caption>
- <caption id="caption29" class="search_name" style="left:595px; top:74px; width:118px; height:17px; ">일반관리 new :</caption>
- <caption id="caption31" class="search_name" style="left:602px; top:52px; width:111px; height:17px; ">일반관리 old :</caption>
- <input id="ipt_goodnm" ref="/root/send/goodlist/goodnm" class="input_search" style="left:715px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_prodcmpycd" ref="/root/send/goodlist/prodcmpycd" class="input_search" style="left:715px; 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:1020px; top:52px; width:143px; height:19px; "/>
- <input id="ipt_maincustlastsuplplcenm" ref="/root/send/goodlist/maincustlastsuplplcenm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:8px; width:143px; height:19px; "/>
- <input id="ipt_maincustlastsuplplce" ref="/root/send/goodlist/maincustlastsuplplce" class="input_search" style="left:715px; top:30px; width:210px; 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:1020px; top:30px; width:143px; height:19px; "/>
- <input id="ipt_suppcustcd" ref="/root/send/goodlist/suppcustcd" class="input_search" style="left:715px; top:52px; width:84px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchCust(ipt_suppcustnm,cmb_instcd);
- ]]>
- </script>
- </input>
- <input id="ipt_edicd" ref="/root/send/goodlist/edicd" class="input_search" style="left:411px; 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:411px; top:9px; width:148px; height:19px; "/>
- <caption id="caption33" class="search_name" style="left:326px; top:9px; width:86px; height:17px; ">배부코드 :</caption>
- <caption id="caption34" class="search_name" style="left:283px; top:53px; width:129px; height:17px; ">배부코드 (시행) :</caption>
- <caption id="caption35" class="search_name" style="left:271px; top:75px; width:142px; height:17px; ">배부코드 명(시행) :</caption>
- <caption id="caption36" class="search_name" style="left:321px; top:97px; width:91px; 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:90px; 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:411px; top:140px; width:74px; 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:411px; top:75px; width:184px; 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:411px; 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:326px; top:119px; width:86px; height:17px; ">부문분류 :</caption>
- <select1 id="cmb_reqflag" ref="/root/send/goodlist/reqflag" class="combo_search" appearance="minimal" style="left:411px; 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:5px; top:119px; width:86px; height:17px; ">시작부문 :</caption>
- <select1 id="cmb_reqmthd" ref="/root/send/goodlist/reqmthd" class="combo_search" appearance="minimal" style="left:90px; top:119px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqmthd">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_allsizeyn" ref="/root/send/goodlist/allsizeyn" class="radio_search" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:90px; top:100px; width:145px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>1</value>
- </item>
- <item>
- <label>진행중</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <caption id="caption82" class="search_name" style="left:311px; top:31px; width:99px; height:17px; ">배부코드명 :</caption>
- <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" maxlength="12" style="left:411px; top:31px; width:189px; height:19px; "/>
- <caption id="caption94" class="search_name" style="left:5px; top:75px; width:86px; height:17px; ">처리순서 :</caption>
- <caption id="caption96" class="search_name" style="left:5px; top:97px; width:86px; height:17px; ">최종 :</caption>
- <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" class="combo_search" appearance="minimal" style="left:90px; 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_goodflag" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:90px; top:31px; width:215px; 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:90px; 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:5px; top:31px; width:86px; height:17px; ">부문명칭 :</caption>
- <caption id="caption91" class="search_name" style="left:5px; top:53px; width:86px; height:17px; ">관리구분 :</caption>
- <input id="input2" ref="/root/send/goodlist/goodnm" class="input_search" style="left:715px; top:140px; width:445px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:625px; top:140px; width:113px; height:17px; ">참고사항 :</caption>
- <caption id="caption2" class="search_name" style="left:910px; top:10px; width:107px; height:17px; ">OCS 부서명 :</caption>
- <caption id="caption7" class="search_name" style="left:925px; top:35px; width:107px; height:17px; ">입원/외래 :</caption>
- <caption id="caption8" class="search_name" style="left:925px; top:55px; width:107px; height:17px; ">OCS 부서 :</caption>
- <input id="input1" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:74px; width:140px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:930px; top:74px; width:107px; height:17px; ">Clinic ID :</caption>
- <input id="input3" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:97px; width:140px; height:19px; "/>
- <input id="input4" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:1020px; top:119px; width:140px; height:19px; "/>
- </group>
- <select1 id="cmb_sanctflag" ref="/root/cond/sanctflag" class="combo_s_fix" visibility="hidden" appearance="minimal" style="left:520px; top:20px; width:135px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/sanctflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|