123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528 |
- <?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>
- <uncocdspec>
- <uncocdspeclist/>
- </uncocdspec>
- <result/>
- <P0072list>
- <P0072>
- <cdnm/>
- <cdid/>
- </P0072>
- </P0072list>
- </main>
- <send>
- <srchcond>A</srchcond>
- <srchcnts/>
- <basedd/>
- <clsflag/>
- <discuncoflag/>
- <updatedata>
- <discuncocd/>
- <discunconm/>
- <earncls/>
- <calcscorcd/>
- <outpayapprate/>
- <outnopyapprate/>
- <outspecapprate/>
- <inpayapprate/>
- <innopyapprate/>
- <inspecapprate/>
- <basehealexamapprate/>
- <addhealexamapprate/>
- <fromdd/>
- <todd/>
- <discuncocls/>
- <autappyn/>
- <seqno/>
- <workflag/>
- <discuncoflag/>
- <medfeeapprate/>
- <aftrcptyn/>
- <kioskpossyn/>
- <realuseyn/>
- <orderbyseq/>
- </updatedata>
- </send>
- <hidden>
- <desc>
- <discuncocd/>
- <discunconm/>
- <earncls/>
- <calcscorcd/>
- <outpayapprate/>
- <outnopyapprate/>
- <outspecapprate/>
- <inpayapprate/>
- <innopyapprate/>
- <inspecapprate/>
- <basehealexamapprate/>
- <addhealexamapprate/>
- <fromdd/>
- <todd/>
- <discuncocls/>
- <autappyn/>
- <seqno/>
- <discuncoflag/>
- <realuseyn/>
- <orderbyseq/>
- </desc>
- </hidden>
- <init>
- <earncls>
- <cdnm/>
- <cdid/>
- </earncls>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPMB01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/uncocdspec"/>
- <submission id="TXPMB01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/main/result"/>
- <submission id="TRPMB01402" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- ipt_srchcnts.disabled = true;
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- //조회조건부,입력부,조회부
- function fInitialize() {
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/hidden/desc");
- model.removeNodeset("/root/main/uncocdspec/uncocdspeclist");
- model.setFocus("cmb_srchcond");
- model.setValue("/root/send/srchcond","A");
- zbcfGetCodeList( new Array("P0072"), new Array("/root/main/P0072list") );
- submit("TRPMB01402");
- model.refresh();
- }
-
- //입력창의 내용이 기존내용과 비교하여 변경된 내역이 있는지 체크한다.
- //return : 변경된 경우 True, 변경된 내역이 없을 경우 False
- function fCheckModify() {
-
- //입력창에 매핑된 send Node 와 변경 전 데이타인 hidden Node 를 비교한다.
- //변경되었으면, return true
- if ( (model.getValue("/root/hidden/desc/discuncocd") ) != ( model.getValue("/root/send/updatedata/discuncocd")) ) return true; //할인코드
- if ( (model.getValue("/root/hidden/desc/discunconm") ) != ( model.getValue("/root/send/updatedata/discunconm")) ) return true; //할인코드명
- if ( (model.getValue("/root/hidden/desc/earncls") ) != ( model.getValue("/root/send/updatedata/earncls")) ) return true; //수익분류
- if ( (model.getValue("/root/hidden/desc/calcscorcd") ) != ( model.getValue("/root/send/updatedata/calcscorcd")) ) return true; //수가코드
- if ( (model.getValue("/root/hidden/desc/outpayapprate") ) != ( model.getValue("/root/send/updatedata/outpayapprate")) ) return true; //외래급여할인률
- if ( (model.getValue("/root/hidden/desc/outnopyapprate") ) != ( model.getValue("/root/send/updatedata/outnopyapprate")) ) return true; //외래비급여할인률
- if ( (model.getValue("/root/hidden/desc/outspecapprate") ) != ( model.getValue("/root/send/updatedata/outspecapprate")) ) return true; //외래특진료할인률
- if ( (model.getValue("/root/hidden/desc/inpayapprate") ) != ( model.getValue("/root/send/updatedata/inpayapprate")) ) return true; //입원급여할인률
- if ( (model.getValue("/root/hidden/desc/innopyapprate") ) != ( model.getValue("/root/send/updatedata/innopyapprate")) ) return true; //입원비급여할인률
- if ( (model.getValue("/root/hidden/desc/inspecapprate") ) != ( model.getValue("/root/send/updatedata/inspecapprate")) ) return true; //입원특진료할인률
- if ( (model.getValue("/root/hidden/desc/basehealexamapprate") ) != ( model.getValue("/root/send/updatedata/basehealexamapprate")) ) return true; //기본건진할인률
- if ( (model.getValue("/root/hidden/desc/addhealexamapprate") ) != ( model.getValue("/root/send/updatedata/addhealexamapprate")) ) return true; //추가건진할인률
- if ( (model.getValue("/root/hidden/desc/fromdd") ) != ( model.getValue("/root/send/updatedata/fromdd")) ) return true; //시작일자
- if ( (model.getValue("/root/hidden/desc/todd") ) != ( model.getValue("/root/send/updatedata/todd")) ) return true; //종료일자
- if ( (model.getValue("/root/hidden/desc/discuncocls") ) != ( model.getValue("/root/send/updatedata/discuncocls")) ) return true; //분류구분
- if ( (model.getValue("/root/hidden/desc/autappyn") ) != ( model.getValue("/root/send/updatedata/autappyn")) ) return true; //자동산정여부
- if ( (model.getValue("/root/hidden/desc/realuseyn") ) != ( model.getValue("/root/send/updatedata/realuseyn")) ) return true; //자동산정여부
- if ( (model.getValue("/root/hidden/desc/orderbyseq") ) != ( model.getValue("/root/send/updatedata/orderbyseq")) ) return true; //자동산정여부
-
- return false;
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="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:189px; height:14px; ">미수코드관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line2" class="line_2" style="x1:0px; y1:145px; x2:1194px; y2:145px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
- <group id="group2" style="left:0px; top:10px; width:1194px; height:59px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:18px; width:86px; height:17px; ">검색조건 :</caption>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption21" class="search_name" style="left:722px; top:8px; width:86px; height:17px; ">기준일자 :</caption>
- <caption id="caption17" class="search_name" style="left:722px; top:32px; width:86px; height:17px; ">분류구분 :</caption>
- <select1 id="cmb_srchcond" ref="/root/send/srchcond" class="combo_search" appearance="minimal" style="left:105px; top:18px; width:155px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>코드</label>
- <value>C</value>
- </item>
- <item>
- <label>명칭</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if (model.getValue("/root/send/srchcond") == "A") {
- ipt_srchcnts.disabled = true;
- } else {
- ipt_srchcnts.disabled = false;
- }
-
- ]]>
- </script>
- </select1>
- <input id="ipt_srchcnts" ref="/root/send/srchcnts" class="input_s_essential" style="left:263px; top:18px; width:327px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- var vsrchcnts = ipt_srchcnts.currentText;
- model.setValue("/root/send/srchcnts", vsrchcnts);
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_basedd" ref="/root/send/basedd" class="input_search" inputtype="date" style="left:811px; top:8px; width:155px; height:19px; "/>
- <select1 id="cmb_clsflag" ref="/root/send/clsflag" class="combo_search" appearance="minimal" style="left:811px; top:32px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/P0072list/P0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입력부, 조회부 초기화 후, 조회
- model.removeNodeset("/root/main/uncocdspec/uncocdspeclist");
- model.resetInstanceNode("/root/send/updatedata");
- model.resetInstanceNode("/root/hidden/desc");
-
- model.setValue("/root/send/discuncoflag","U");
- submit("TRPMB01401");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:79px; width:95px; height:14px; ">미수코드내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:94px; x2:1194px; y2:94px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:99px; width:127px; height:23px; ">미수코드</caption>
- <caption id="caption8" class="cell_1" style="left:365px; top:99px; width:164px; height:23px; ">외래미수률(급여/비급/특진)</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:123px; width:127px; height:23px; ">미수코드명</caption>
- <caption id="caption5" class="cell_1" style="left:365px; top:123px; width:164px; height:23px; ">입원미수률(급여/비급/특진)</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:147px; width:127px; height:23px; ">수익분류/수가코드</caption>
- <caption id="caption10" class="cell_1" style="left:365px; top:147px; width:164px; height:23px; ">시작일자/종료일자</caption>
- <caption id="caption13" class="cell_1" style="left:757px; top:147px; width:135px; height:23px; ">자동산정여부</caption>
- <caption id="caption14" class="cell_1" style="left:757px; top:123px; width:135px; height:23px; ">진찰료적용률/분류구분</caption>
- <caption id="caption20" class="tit_2" style="left:5px; top:180px; width:139px; height:14px; ">미수코드내역 리스트</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:195px; x2:1194px; y2:195px; "/>
- <line id="line7" class="line_3" style="x1:1px; y1:169px; x2:1195px; y2:169px; "/>
- <caption id="caption4" style="left:587px; top:100px; width:19px; height:19px; ">%</caption>
- <caption id="caption11" style="left:661px; top:100px; width:16px; height:19px; ">%</caption>
- <button id="button54" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 신규 입력을 위해 입력창을 초기화한다.
- // 입력창은 send Node와 매핑되어 있으므로, send Node를 초기화한다.
- // 입력전 데이터와 비교하기 위해, hidden Node 를 초기화한다.
- model.resetInstanceNode("/root/hidden/desc");
- model.resetInstanceNode("/root/send/updatedata");
-
- //신규입력 작업구분 : I 세팅
- model.makeValue("/root/send/updatedata/workflag","I");
- model.makeValue("/root/send/updatedata/aftrcptyn","N");
- model.makeValue("/root/send/updatedata/kioskpossyn","N");
- model.setValue("/root/send/updatedata/autappyn","N");
-
- model.setValue("/root/send/updatedata/fromdd", getCurrentDate());
- model.setValue("/root/send/updatedata/todd", "99991231");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption15" style="left:736px; top:100px; width:16px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption18" style="left:661px; top:124px; width:16px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption19" style="left:587px; top:124px; width:19px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption22" style="left:736px; top:124px; width:16px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption12" style="left:949px; top:100px; width:25px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption16" class="cell_1" style="left:757px; top:99px; width:135px; height:23px; vertical-align:middle; ">건진미수률(기본/추가)</caption>
- <caption id="caption23" style="left:1022px; top:100px; width:25px; height:19px; vertical-align:middle; ">%</caption>
- <input id="ipt_discuncocd" ref="/root/send/updatedata/discuncocd" class="input_default" appearance="input" style="left:130px; top:100px; width:230px; height:19px; "/>
- <input id="ipt_discunconm" ref="/root/send/updatedata/discunconm" class="input_default" style="left:130px; top:124px; width:230px; height:19px; "/>
- <input id="ipt_calcscorcd" ref="/root/send/updatedata/calcscorcd" class="input_default" style="left:249px; top:148px; width:89px; height:19px; "/>
- <button id="btn_calcscorcd" class="icon_search" style="left:341px; top:149px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("iParam_mother_view", "SMPMB00400_할인코드관리");
- open("../../../pam/calcscormngtweb/xrw/SMPIC00200_수가조회", "", "200", "200" ,"SMPIC00200_수가조회", "", "");
- //open("SMPIC00200", "", "200", "200" ,"SMPIC00200_수가조회", "", "");
- //modal("../../../pam/calcscormngtweb/xrw/SMPIC00200", "1","150", "150", "SMPIC00200", "/root/source", "/root/send");
-
- //window.load ("../../../pam/calcscormngtweb/xrw/SMPIC00200_수가조회.xrw","xrw","","");
- ]]>
- </script>
- </button>
- <select1 id="cmb_earncls" ref="/root/send/updatedata/earncls" class="combo_search" appearance="minimal" style="left:130px; top:148px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/earncls">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/updatedata/fromdd" class="input_default" disabled="false" inputtype="date" appearance="input" style="left:531px; top:148px; width:101px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var fromdd = model.getValue("/root/send/updatedata/fromdd");
- var todd = model.getValue("/root/send/updatedata/todd");
- var today = getCurrentDate();
- if (fromdd < today) {
- messageBox("시작일자를 금일 이전으로 설정할 수 없습니다.", "E");
- model.setValue("/root/send/updatedata/fromdd", today);
- model.refresh();
- } else if ( fromdd > todd ) {
- messageBox("시작일자를 종료일자 이후로 설정할 수 없습니다.", "E");
- model.setValue("/root/send/updatedata/fromdd", today);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/updatedata/todd" class="input_default" disabled="false" inputtype="date" appearance="input" style="left:651px; top:148px; width:101px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var fromdd = model.getValue("/root/send/updatedata/fromdd");
- var todd = model.getValue("/root/send/updatedata/todd");
- var today = getCurrentDate();
- if (todd < today) {
- messageBox("종료일자를 금일 이전으로 설정할 수 없습니다.", "E");
- model.setValue("/root/send/updatedata/todd", "99991231");
- model.refresh();
- } else if ( fromdd > todd ) {
- messageBox("종료일자를 시작일자 이전으로 설정할 수 없습니다.", "E");
- model.setValue("/root/send/updatedata/todd", "99991231");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_outpayapprate" ref="/root/send/updatedata/outpayapprate" class="input_default" appearance="input" style="left:532px; top:100px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_outnopyapprate" ref="/root/send/updatedata/outnopyapprate" class="input_default" appearance="input" style="left:606px; top:100px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_outspecapprate" ref="/root/send/updatedata/outspecapprate" class="input_default" appearance="input" style="left:682px; top:100px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_inpayapprate" ref="/root/send/updatedata/inpayapprate" class="input_default" appearance="input" style="left:532px; top:124px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_innopyapprate" ref="/root/send/updatedata/innopyapprate" class="input_default" appearance="input" style="left:606px; top:124px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_inspecapprate" ref="/root/send/updatedata/inspecapprate" class="input_default" appearance="input" style="left:682px; top:124px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_basehealexamapprate" ref="/root/send/updatedata/basehealexamapprate" class="input_default" appearance="input" style="left:895px; top:100px; width:52px; height:19px; text-align:right; "/>
- <input id="ipt_addhealexamapprate" ref="/root/send/updatedata/addhealexamapprate" class="input_default" appearance="input" style="left:968px; top:100px; width:52px; height:19px; text-align:right; "/>
- <select1 id="cmb_discuncocls" ref="/root/send/updatedata/discuncocls" class="combo_default" appearance="minimal" style="left:968px; top:124px; width:69px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/P0072list/P0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_autappyn" ref="/root/send/updatedata/autappyn" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:895px; top:149px; width:118px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_uncocdlist" nodeset="/root/main/uncocdspec/uncocdspeclist" caption="미수코드^미수명^수익분류^수가코드^외래미수률^외래미수률^외래미수률^입원미수률^입원미수률^입원미수률^기본건진미수률^추가건진미수률^진찰료
적용률^시작일자^종료일자^분류구분^자동산정^실사용
여부^표시
순서^수정일시^수정자^caption1|미수코드^미수명^수익분류^수가코드^급여^비급여^특진료^급여^비급여^특진료^기본건진미수률^추가건진미수률^진찰료
적용률^시작일자^종료일자^분류구분^자동산정^실사용
여부^표시
순서^수정일시^수정자^caption1" colsep="^" colwidth="57, 190, 57, 63, 42, 42, 42, 42, 42, 42, 55, 57, 57, 75, 75, 32, 35, 50, 50, 134, 70, 100" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:200px; width:1195px; height:531px; ">
- <col class="text_center" ref="discuncocd"/>
- <col class="text_left" ref="discunconm"/>
- <col class="text_center" ref="earncls"/>
- <col class="text_center" ref="calcscorcd"/>
- <col class="text_right" ref="outpayapprate"/>
- <col class="text_right" ref="outnopyapprate"/>
- <col class="text_right" ref="outspecapprate"/>
- <col class="text_right" ref="inpayapprate"/>
- <col class="text_right" ref="innopyapprate"/>
- <col class="text_right" ref="inspecapprate"/>
- <col class="text_right" ref="basehealexamapprate"/>
- <col class="text_right" ref="addhealexamapprate"/>
- <col class="text_right" ref="medfeeapprate"/>
- <col class="text_center" ref="fromdd" format="yyyy-mm-dd"/>
- <col class="text_center" ref="todd" format="yyyy-mm-dd"/>
- <col class="text_center" disabled="true" ref="discuncocls" type="combo">
- <choices>
- <itemset nodeset="/root/main/P0072list/P0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="text_center" ref="autappyn"/>
- <col/>
- <col/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="left:1118px; top:25px; width:150px; height:25px; "/>
- <col class="text_center" ref="lastupdtrid"/>
- <col ref="seqno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //조회된 리스트를 선택 시, hidden Node 와 입력창(send Node)에 세팅한다.
- //입력창은 send Node 와 매핑된다.
- if ( grd_uncocdlist.row-1 > 0 ) {
- model.resetInstanceNode("/root/send/updatedata");
- model.resetInstanceNode("/root/hidden/desc");
-
- var vtodd = model.getValue("/root/main/uncocdspec/uncocdspeclist["+(grd_uncocdlist.row-1)+"]/todd");
-
- if (vtodd == "") {
- vtodd = "99991231"
- }
- if (vtodd <= getCurrentDate()) {
- messageBox("이미 종료된 내역은 수정하실 수 없습니다. 수정이 필요한 경우 정보지원팀으로 연락 바랍니다","I999","");
- return;
- }
-
- model.copyNode("/root/send/updatedata","/root/main/uncocdspec/uncocdspeclist["+(grd_uncocdlist.row-1)+"]");
- model.copyNode("/root/hidden/desc","/root/main/uncocdspec/uncocdspeclist["+(grd_uncocdlist.row-1)+"]");
-
- //seqno 세팅
- model.makeValue("/root/send/updatedata/seqno",model.getValue("/root/hidden/desc/seqno"));
-
- //기존내역 수정, 작업구분 : U 세팅
- model.makeValue("/root/send/updatedata/workflag","U");
-
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <input id="input1" ref="/root/send/updatedata/medfeeapprate" class="input_default" appearance="input" style="left:895px; top:124px; width:52px; height:19px; text-align:right; "/>
- <caption id="caption24" style="left:949px; top:124px; width:25px; height:19px; vertical-align:middle; ">%</caption>
- <caption id="caption25" style="left:637px; top:148px; width:14px; height:19px; font-weight:bold; vertical-align:middle; ">~</caption>
- <caption id="caption26" class="cell_1" style="left:1042px; top:123px; width:75px; height:23px; vertical-align:middle; ">표시순서</caption>
- <caption id="caption27" class="cell_1" style="left:1042px; top:99px; width:75px; height:23px; vertical-align:middle; ">실사용여부</caption>
- <caption id="caption28" class="cell_1" style="left:1042px; top:147px; width:75px; height:23px; vertical-align:middle; "/>
- <select1 id="rdo_realuseyn" ref="/root/send/updatedata/realuseyn" appearance="full" cols="2" overflow="visible" style="left:1119px; top:100px; width:76px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_orderbyseq" ref="/root/send/updatedata/orderbyseq" class="input_default" appearance="input" style="left:1120px; top:124px; width:74px; height:19px; text-align:right; "/>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_update" class="btn4_letter2" style="left:1010px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( model.getValue("/root/send/updatedata/workflag") == '' || model.getValue("/root/send/updatedata/workflag") == ' ' ){
- model.makeValue("/root/send/updatedata/workflag","I");
- }
- //처음 세팅된 데이타와 비교하여 변경된 내역이 있는지 확인한다.
- // return 값이 false 이면, 변경된 내역이 없다.
- if ( fCheckModify() == false ) {
- messageBox("변경된 내역이 없어, 저장하지", "E007"); //변경된 내역이 없어, 저장하지 않았습니다.
- return;
- }
-
- //빈값 채움
- var vcalcscorcd = model.getValue("/root/send/updatedata/calcscorcd");
- var vearncls = model.getValue("/root/send/updatedata/earncls");
-
- if (vcalcscorcd == null || vcalcscorcd == "" ||vcalcscorcd== " " ) {
- model.setValue("/root/send/updatedata/calcscorcd","-");
- }
- if (vearncls == null || vearncls =="" || vearncls==" " ) {
- model.setValue("/root/send/updatedata/earncls","-");
- }
-
- //필수사항과 입력타입을 체크한다.
- if(isRequiredControls("ipt_discuncocd","ipt_discunconm","cmb_earncls","ipt_calcscorcd","ipt_outpayapprate","ipt_outnopyapprate","ipt_outspecapprate",
- "ipt_inpayapprate","ipt_innopyapprate","ipt_inspecapprate","ipt_basehealexamapprate","ipt_addhealexamapprate",
- "ipt_fromdd","cmb_discuncocls")) {
- //messageBox("모든 필수값이 입력이","I002");
- }
- else {
- return;
- }
-
- model.setValue("/root/send/updatedata/discuncoflag","U");
- model.makeNode("/root/send/updatedata/reductexptexptyn");
- model.setValue("/root/send/updatedata/reductexptexptyn","N");
- //실사용여부 체크
- if( model.getValue("/root/send/updatedata/realuseyn") != 'N' ){
- model.makeNode("/root/send/updatedata/realuseyn");
- model.setValue("/root/send/updatedata/realuseyn", "Y");
- }
- //할인코드 저장 처리
- if (submit("TXPMB01401") == true) {
- btn_search.dispatch("DOMActivate"); //저장처리 후, 내역 재조회(조회 이벤트 호출)
- }
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" style="left:1068px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //삭제확인-선택하신 미수코드를 삭제하시겠습니까? Yes(6),No(7)
- if (messageBox("선택하신 미수코드를 ", "Q001") == '6') {
- //Yes 이면, 미수코드 삭제처리
-
- //삭제 작업구분 : D 세팅
- model.makeValue("/root/send/updatedata/workflag","D");
-
- model.setValue("/root/send/updatedata/discuncoflag","U");
- if (submit("TXPMB01401") == true) {
- btn_search.dispatch("DOMActivate"); //삭제처리 후, 내역 재조회(조회 이벤트 호출)
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //화면 초기화
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|