123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973 |
- <?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="">
- <send>
- <send01>
- <ioflag>1</ioflag>
- <insucompnm/>
- <termflag>1</termflag>
- <fromdate/>
- <todate/>
- <endyn>1</endyn>
- <pid/>
- <patnm/>
- <clamdg/>
- <chk401/>
- </send01>
- <send02>
- <clamno/>
- <docuseqno/>
- <instcd/>
- <acptno/>
- </send02>
- <send03>
- <clamno/>
- <docuseqno/>
- <docuflag/>
- <savedocuflag/>
- <title/>
- <cnt401/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <chk401/>
- </send03>
- </send>
- <main>
- <list01>
- <patbaseinfo>
- <gridpatbaseinfo>
- <insucdnm/>
- <clamym/>
- <ioflag/>
- <pid/>
- <patnm/>
- <orddeptnm/>
- <indd/>
- <dschdd/>
- <interm/>
- <acdacptno/>
- <orddeptcd/>
- <clamno/>
- <docuseqno/>
- <docuflag/>
- <clamdg/>
- <pidsn/>
- </gridpatbaseinfo>
- </patbaseinfo>
- <tdinfodetl>
- <tdinfo>
- <tddecidocuarvdd/>
- <tdacptdd/>
- <tdacptno/>
- <perchrgnm/>
- <perchrgid/>
- <chrgjudgnm/>
- <paylimitdd/>
- <judgno/>
- <tdcomsamt/>
- </tdinfo>
- <gridpifmtrds>
- <chkbox/>
- <lnno/>
- <item/>
- <adjtcd/>
- <matractflag/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <edicd/>
- <hngnm/>
- <unitcost/>
- <clamdayqty/>
- <clamtotqty/>
- <adjtdayqty/>
- <adjttotqty/>
- <adjtamt/>
- <aprvdayqty/>
- <aprvtotqty/>
- <aprvamt/>
- <tddayqty/>
- <tdtotqty/>
- <trobamt/>
- <tddecidayqty/>
- <tddecitotqty/>
- <tddecicutamt/>
- <tddeciamt/>
- <tdcomsamt/>
- <clamno/>
- <docuseqno/>
- <instcd/>
- <acptno/>
- <acdacptno/>
- <clamdd/>
- <pid/>
- <patnm/>
- <ordterm/>
- <ediunitcost/>
- <docuflag/>
- <clamamt/>
- <attdocu/>
- <attetc/>
- <answdocucnts/>
- <tdacptdd/>
- <tdacptno/>
- <chrgjudgnm/>
- <tddecidocuarvdd/>
- <paylimitdd/>
- <judgno/>
- <insucmpymark/>
- <dg/>
- </gridpifmtrds>
- </tdinfodetl>
- </list01>
- <list02>
- <gridpifmtrds/>
- </list02>
- <list03>
- <attdocu/>
- <attetc/>
- <answdocucnts/>
- </list03>
- <result/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <hidden>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- </hidden>
- <init>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0103list>
- <P0103>
- <cdid/>
- <cdnm/>
- </P0103>
- </P0103list>
- <U0001list>
- <U0001>
- <cd/>
- <nm/>
- </U0001>
- </U0001list>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF70601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send03" resultref="/root/main/list01"/>
- <submission id="TRPIF70602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send01" resultref="/root/main/list01/patbaseinfo"/>
- <submission id="TRPIF70603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send03" resultref="/root/main/list01/tdinfodetl"/>
- <submission id="TXPIF70601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/>
- <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //btn_newreg.visible = false;
- //btn_rowdel.visible = false;
- //btn_print.visible = false;
- zbcfGetCodeList(new Array("P0028"), new Array( "/root/init/P0028list"));
- //btn_newreg.visible = false; // 신규삭감등록 버튼 비활성
- //btn_rowdel.visible = false; // 행삭제버튼 비활성
- //손보사 ID및 NM을 조회한다.
- submit("TRPIF70305");
- // 공통코드 Load작업
- CommCode_Load();
- ]]>
- </script>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function Node_Init() {
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- chkbox_attdocu.disabled = true;
-
- // 팝업오픈시 자동조회
- if(window.parent != null) {
-
- model.setValue("/root/send/send01/pid",model.getValue("/root/send/send03/pid"));
- model.setValue("/root/send/send01/insucompnm",model.getValue("/root/send/send03/insuno"));
- model.setValue("/root/send/send01/fromdate",model.getValue("/root/send/send03/clamym"));
- model.setValue("/root/send/send01/todate",model.getValue("/root/send/send03/clamym"));
-
- if ( submit("TRPIF70601") ) {
- fCheckPreData();
- }
-
- var indd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/indd");
- var dschdd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/dschdd");
-
- var tddecidocuarvdd = model.getValue("root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd");
-
- if(indd != "" & dschdd != "") {
- var interm = getDateInterval(indd,dschdd)+1;
- model.setValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/interm", interm);
- }
-
- // 첨부자료 및 기타 첨부자료 Box 비활성 및 값 초기화
- txtar_answdocucnts.value = "";
- chkbox_attdocu.value= "";
- txtbox_attetc.value= "";
- chkbox_attdocu.disabled=true;
- txtbox_attetc.disabled=true;
- }
- }
-
- function fCheckPreData(){
- // 최초 조회시 이미 등록된 건은 선택박스 비활성화
- // 선택박스 체크시 입력상태로 바뀌고 분심결정이 자동 셋팅 된다.
- for(var i = 1; i < grd_pifmtrds.rows ; i++) {
- if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecidayqty")) > 0) {
- grd_pifmtrds.isReadOnly(i, grd_pifmtrds.colRef("chkbox")) = true;
- }
- }
- grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecidayqty"), "data","background-color") = "#ffff00";
- grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecitotqty"), "data","background-color") = "#ffff00";
- grd_pifmtrds.colStyle(grd_pifmtrds.colRef("tddecicutamt"), "data","background-color") = "#ffff00";
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">분심결정등록관리</caption>
- </group>
- <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line33" class="line_1" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
- <caption id="caption86" class="tit_2" style="left:6px; top:85px; width:147px; height:14px; ">환자기본정보</caption>
- <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; 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="caption1" class="search_name" style="left:605px; top:9px; width:86px; height:17px; ">손보사명 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.removeNodeset("/root/main/list01/tdinfodetl");
- if(submit("TRPIF70602")) {
- var rows = grd_patbaseinfo.rows;
- for(var i=1;i<rows;i++) {
- var indd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+i+"]/indd");
- var dschdd = model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+i+"]/dschdd");
- var interm = getDateInterval(indd,dschdd)+1;
- model.setValue("/root/main/list01/patbaseinfo/gridpatbaseinfo/interm", interm);
- }
- }
- txtar_answdocucnts.value = "";
- chkbox_attdocu.value = "";
- chkbox_attdocu.disabled = true;
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1108px; y1:8px; x2:1108px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:605px; top:33px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption2" class="search_name" style="left:830px; top:9px; width:87px; height:17px; ">청구차수 :</caption>
- <caption id="caption5" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">내원유형 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:33px; width:112px; height:17px; ">종결구분 :</caption>
- <select1 id="combo5" ref="/root/send/send01/insucompnm" class="combo_search" appearance="minimal" style="left:694px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" style="left:465px; top:10px; width:15px; height:20px; ">~</caption>
- <input id="input5" ref="/root/send/send01/clamdg" class="input_search" style="left:920px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_fromdate" ref="/root/send/send01/fromdate" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:375px; top:9px; width:85px; height:19px; "/>
- <input id="ipt_todate" ref="/root/send/send01/todate" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:480px; top:9px; width:85px; height:19px; "/>
- <input id="ipt_pid" ref="/root/send/send01/patnm" class="input_search" inputtype="button" style="left:694px; top:32px; width:100px; height:19px; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (ipt_pid.value) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid.value);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- ipt_pid.value = model.getValue("/root/main/patinfo/patinfolist/pid");
- ipt_patnm.value = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- model.refresh();
- ]]>
- </script>
- <input id="ipt_patnm" ref="/root/send/send01/pid" style="left:800px; top:32px; width:59px; height:19px; "/>
- <select id="chk401" ref="/root/send/send01/chk401" overflow="visible" appearance="full" style="left:918px; top:31px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>동의서 없음</label>
- <value>N</value>
- </item>
- </choices>
- </select>
- </group>
- <select1 id="radio1" ref="/root/send/send01/ioflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:102px; top:21px; width:143px; height:16px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- <item>
- <label>외래</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/send/send01/endyn" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:102px; top:45px; width:153px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>완료</label>
- <value>2</value>
- </item>
- <item>
- <label>미완료</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="tit_2" style="left:6px; top:300px; width:144px; height:14px; ">분심 및 분심결정내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:315px; x2:1194px; y2:315px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:288px; x2:1194px; y2:288px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:244px; width:95px; height:14px; ">분심결정정보</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:265px; width:103px; height:21px; vertical-align:middle; ">분심결정도착일자</caption>
- <caption id="caption16" class="cell_1" style="left:211px; top:265px; width:84px; height:21px; vertical-align:middle; ">분심접수번호</caption>
- <caption id="caption9" class="cell_1" style="left:403px; top:265px; width:48px; height:21px; vertical-align:middle; ">담당자</caption>
- <caption id="caption12" class="cell_1" style="left:559px; top:266px; width:72px; height:20px; vertical-align:middle; ">담당심사역</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:259px; x2:1194px; y2:259px; "/>
- <caption id="caption11" class="tit_2" style="left:6px; top:635px; width:147px; height:14px; ">답변서내용</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:650px; x2:800px; y2:650px; "/>
- <caption id="caption13" class="tit_2" style="left:811px; top:635px; width:152px; height:13px; ">첨부자료</caption>
- <line id="line5" class="line_1" style="x1:805px; y1:650px; x2:995px; y2:650px; "/>
- <button id="button13" class="btn2_letter2" style="left:1084px; top:238px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var cnt = 0;
- for(var i=1;i<grd_pifmtrds.rows;i++) {
- if(grd_pifmtrds.rowStatus(i) == 1 || grd_pifmtrds.rowStatus(i) == 2 || grd_pifmtrds.rowStatus(i) == 3) {
- ++cnt;
- }
- }
-
- if(cnt > 0) {
- if(ipt_tddecidocuarvdd.value == "") {
- messageBox("분심결정도착일자를","C001");
- model.setFocus("ipt_tddecidocuarvdd");
- return false;
- }
-
- if(ipt_tdcomstotamt.value == "") {
- messageBox("분심수수료를","C001");
- model.setFocus("ipt_tdcomstotamt");
- return false;
- }
-
- for(var i=1;i<grd_pifmtrds.rows;i++) {
- if ( grd_pifmtrds.rowStatus(i) == 2 ) { // 수정 상태인 것만 저장
- if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecidayqty")) == "") {
- var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno"));
- messageBox("줄번호 "+lnno+"의 분심결정일투를","C001");
- return false;
- }
- if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecitotqty")) == "") {
- var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno"));
- messageBox("줄번호 "+lnno+"의 분심결정총투를","C001");
- return false;
- }
- if(grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("tddecicutamt")) == "") {
- var lnno = grd_pifmtrds.valueMatrix(i, grd_pifmtrds.colRef("lnno"));
- messageBox("줄번호 "+lnno+"의 분심결정삭감액을","C001");
- return false;
- }
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tdcomsamt", ipt_tdcomstotamt.value); // 분심수수료 세팅
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddecidocuarvdd", ipt_tddecidocuarvdd.value); // 분심결정도착일자 세팅
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/paylimitdd", ipt_paylimitdd.value); // 납임기한일자 세팅
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/judgno", ipt_judgno.value); // 심사번호 세팅
-
- // grd_pifmtrds.valueMatrix(i,41) = ipt_tddecidocuarvdd.value; // 그리드에 분심결정도착일자 세팅
- // grd_pifmtrds.valueMatrix(i,22) = ipt_tdcomstotamt.value; // 그리드에 분심수수료 세팅
- // grd_pifmtrds.valueMatrix(i,42) = ipt_paylimitdd.value; // 그리드에 납입기한일자 세팅
- // grd_pifmtrds.valueMatrix(i,43) = ipt_judgno.value; // 그리드에 심사번호 세팅
- }
- }
-
- model.setValue("/root/main/list02/gridpifmtrds", grd_pifmtrds.getUpdateData());
- submit("TXPIF70601"); // Insert 또는 Update
-
- model.resetInstanceNode("/root/main/list01");
- // 재조회
- if ( submit("TRPIF70601") ) {
- fCheckPreData();
- }
-
- // 첨부자료 및 기타 첨부자료 Box 비활성 및 값 초기화
- chkbox_attdocu.value= "";
- txtbox_attetc.value= "";
- txtar_answdocucnts.value= "";
- chkbox_attdocu.disabled=true;
- txtbox_attetc.disabled=true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_newreg" class="btn2_letter6" style="left:897px; top:238px; width:86px; height:19px; ">
- <caption>신규삭감등록</caption>
- </button>
- <button id="btn_rowdel" class="btn2_letter3" style="left:985px; top:238px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- </button>
- <output id="opt_perchrgnm" ref="/root/main/list01/tdinfodetl/tdinfo/perchrgnm" class="output_fix" style="left:455px; top:266px; width:100px; height:19px; "/>
- <output id="opt_chrgjudgnm" ref="/root/main/list01/tdinfodetl/tdinfo/chrgjudgnm" class="output_fix" style="left:635px; top:266px; width:100px; height:19px; "/>
- <output id="opt_tdacptno" ref="/root/main/list01/tdinfodetl/tdinfo/tdacptno" class="output_fix" style="left:299px; top:266px; width:100px; height:19px; "/>
- <datagrid id="grd_pifmtrds" nodeset="/root/main/list01/tdinfodetl/gridpifmtrds" class="datagrid2" caption="^줄
번호^항목^조정
사유^구분^그룹코드^수가코드^EDI코드^처방명칭^단가^청구
일투^청구
총투^청구액^조정
일투^조정
총투^조정
금액^동의
일투^동의
총투^동의액^분심
일투^분심
총투^분쟁가액^분심결정
일투^분심결정
총투^분심결정
삭감액^분심결정액^caption2" colsep="^" colwidth="25, 34, 40, 35, 32, 80, 80, 75, 142, 59, 36, 36, 68, 34, 34, 68, 36, 36, 69, 36, 36, 69, 55, 55, 76, 76, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="1" ellipsis="true" extendlastcol="scroll" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:320px; width:1194px; height:273px; ">
- <col checkvalue="Y,N" ref="chkbox" type="checkbox"/>
- <col ref="lnno" name="줄번호" style="text-align:center; "/>
- <col ref="item" name="항목" style="text-align:center; "/>
- <col ref="adjtcd" name="조정사유" style="text-align:center; "/>
- <col ref="matractflag" type="combo" name="I/II구분" style="text-align:center; ">
- <choices>
- <item>
- <label>재료</label>
- <value>1</value>
- </item>
- <item>
- <label>행위</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="grupcalcscorcd" name="그룹코드" style="text-align:center; "/>
- <col ref="snglcalcscorcd" name="수가코드"/>
- <col ref="edicd" name="EDI코드"/>
- <col ref="hngnm" name="처방명칭"/>
- <col ref="unitcost" format="#,###" name="단가" style="text-align:right; "/>
- <col ref="clamdayqty" name="청구일투" style="text-align:center; "/>
- <col ref="clamtotqty" name="청구총투" style="text-align:center; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtdayqty" style="text-align:center; "/>
- <col ref="adjttotqty" style="text-align:center; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="aprvdayqty" name="동의일투" style="text-align:center; "/>
- <col ref="aprvtotqty" name="동의총투" style="text-align:center; "/>
- <col ref="aprvamt" format="#,###" name="동의액" style="text-align:right; "/>
- <col ref="tddayqty" name="분심일투" style="text-align:center; "/>
- <col ref="tdtotqty" name="분심총투" style="text-align:center; "/>
- <col ref="trobamt" format="#,###" name="분쟁가액" style="text-align:right; "/>
- <col ref="tddecidayqty" type="input" name="분심결정일투" style="text-align:center; "/>
- <col ref="tddecitotqty" type="input" name="분심결정총투" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_pifmtrds.col == grd_pifmtrds.colRef("tddecitotqty")) {
- var row = grd_pifmtrds.row;
-
-
- var tddecitotamt = Number(opt_tddecitotamt.value); // 분심결정총액
- var tddecicuttotamt = Number(opt_tddecicuttotamt.value); // 분심결정삭감총액
-
- var unitcost = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("unitcost"))); // 단가
- var tddecitotqty = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddecitotqty"))); // 분심결정총투
- var tddeciamt = unitcost * tddecitotqty; // 분심결정액(단가*분심결정총투)
- var trobamt = Number(grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("trobamt"))); // 분쟁가액
- var tddecicutamt = trobamt - tddeciamt; // 분심결정삭감액(분쟁가액 - 분심결정액)
- var tdcomsamt = 0; // 분심수수료
-
- grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddeciamt")) = tddeciamt; // 그리드 히든의 분심결정액 세팅
- grd_pifmtrds.valueMatrix(row, grd_pifmtrds.colRef("tddecicutamt")) = tddecicutamt; // 그리드에 분심결정삭감액 세팅
- tddecitotamt += tddeciamt; // 분심결정총액 추가
- tddecicuttotamt += tddecicutamt; // 분심결정삭감총액 추가
-
- opt_tddecitotamt.value = tddecitotamt;
- opt_tddecicuttotamt.value = tddecicuttotamt;
- opt_tdtotamt.value = tddecitotamt + tdcomsamt;
- }
-
- if(grd_pifmtrds.col == grd_pifmtrds.colRef("chkbox")) {
- if ( grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("chkbox")) == "Y" ) {
- grd_pifmtrds.rowStatus(grd_pifmtrds.row) = 2;
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecidayqty")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddayqty"));
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecitotqty")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tdtotqty"));
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecicutamt")) = grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("trobamt"));
- } else {
- grd_pifmtrds.rowStatus(grd_pifmtrds.row) = 0;
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecidayqty")) = "";
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecitotqty")) = "";
- grd_pifmtrds.valueMatrix(grd_pifmtrds.row, grd_pifmtrds.colRef("tddecicutamt")) = "";
- }
- }
- ]]>
- </script>
- <col ref="tddecicutamt" type="input" format="#,###" name="분심결정삭감액" style="text-align:right; "/>
- <col ref="tddeciamt" format="#,###" name="분심결정액" style="text-align:right; "/>
- <col ref="tdcomsamt" visibility="hidden" name="분심수수료"/>
- <col ref="clamno" visibility="hidden" name="청구번호"/>
- <col ref="docuseqno" visibility="hidden" name="명일련"/>
- <col ref="instcd" visibility="hidden" name="기관코드"/>
- <col ref="acptno" visibility="hidden" name="접수번호"/>
- <col ref="ediunitcost" visibility="hidden" name="edi단가"/>
- <col ref="docuflag" visibility="hidden" name="서식구분"/>
- <col ref="attdocu" visibility="hidden" name="첨부자료"/>
- <col ref="attetc" visibility="hidden" name="기타첨부자료"/>
- <col ref="answdocucnts" visibility="hidden" name="답변서"/>
- <col ref="tdacptdd" visibility="hidden" name="분심접수일자"/>
- <col ref="tdacptno" visibility="hidden" name="분심접수번호"/>
- <col ref="chrgjudgnm" visibility="hidden" name="담당심사역"/>
- <col ref="tddecidocuarvdd" visibility="hidden" name="분심결정도착일자"/>
- <col ref="paylimitdd" visibility="hidden" name="납입기한일자"/>
- <col ref="judgno" visibility="hidden" name="심사번호"/>
- <col ref="insucmpymark" visibility="hidden" name="보험사기호"/>
- <col ref="dg" visibility="hidden" name="차수"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- // onrowchanged - 그리드 로우를 클릭하면 하단 답변서 내용, 첨부자료, 기타 첨부자료 TEXT 값을 셋팅하기 위한 이벤트
- chkbox_attdocu.disabled = false;
- var row_cnt = grd_pifmtrds.row;
- if(row_cnt <= 0) { return false; }
-
- chkbox_attdocu.value = "";
- model.setValue("/root/main/list03/attdocu", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("attdocu")));
- model.setValue("/root/main/list03/attetc", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("attetc")));
- model.setValue("/root/main/list03/answdocucnts", grd_pifmtrds.valueMatrix(row_cnt, grd_pifmtrds.colRef("answdocucnts")));
-
- var attdocu = chkbox_attdocu.value;
- var size = attdocu.length;
- var cnt = 0;
-
- for(var i=0;i<=size;i++) {
- var temp = attdocu.substring(i,i+1);
- if(temp == "0") {
- cnt++;
- }
- }
-
- if(cnt > 0) {
- txtbox_attetc.disabled = false;
- } else {
- txtbox_attetc.disabled = true;
- }
-
- chkbox_attdocu.refresh();
- txtar_answdocucnts.refresh();
- txtbox_attetc.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // 2010.04.19 기능 추가
- if(event.keyCode == "13") {
-
- var cur_col = grd_pifmtrds.col; // col을 미리 저장해 두지 않으면 if문 타고 내려가면서 현재 col로 바껴서 삐꾸 납니다.
-
- model.setFocus("body");
- model.setFocus("grd_pifmtrds");
-
- if ( cur_col == grd_pifmtrds.colRef("tddecidayqty") ) {
- grd_pifmtrds.col = grd_pifmtrds.colRef("tddecitotqty");
- grd_pifmtrds.dispatch("onentercell");
- grd_pifmtrds.editCell();
- }
- if ( cur_col == grd_pifmtrds.colRef("tddecitotqty") ) {
- grd_pifmtrds.col = grd_pifmtrds.colRef("tddecicutamt");
- grd_pifmtrds.dispatch("onentercell");
- grd_pifmtrds.editCell();
- }
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_termflag" ref="/root/send/send01/termflag" class="radio_search" appearance="full" cols="1" rows="3" overflow="visible" style="left:295px; top:14px; width:75px; height:48px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>1</value>
- </item>
- <item>
- <label>진료월</label>
- <value>2</value>
- </item>
- <item>
- <label>입금일자</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_termflag.value == "3") {
- ipt_fromdate.attribute("format") = "yyyy-mm-dd";
- ipt_todate.attribute("format") = "yyyy-mm-dd";
- ipt_todate.attribute("maxlength") = 8;
- model.refresh();
- }
- if(rdo_termflag.value == "1" || rdo_termflag.value == "2") {
- ipt_fromdate.attribute("format") = "yyyy-mm";
- ipt_todate.attribute("format") = "yyyy-mm";
- ipt_todate.attribute("maxlength") = 6;
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <datagrid id="grd_patbaseinfo" nodeset="/root/main/list01/patbaseinfo/gridpatbaseinfo" class="datagrid" caption="손보사^청구월^내원유형^등록번호^수진자명^진료과^입원일^퇴원일^재원기간^사고접수번호" colsep="^" colwidth="120, 110, 110, 110, 110, 110, 110, 110, 110, 122" dataheight="25" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:105px; width:1194px; height:125px; ">
- <col ref="insucdnm" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="interm" style="text-align:center; "/>
- <col ref="acdacptno" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="docuseqno" visibility="hidden"/>
- <col ref="docuflag" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if( grd_patbaseinfo.isCell(event.target) && grd_patbaseinfo.row >= grd_patbaseinfo.fixedRows ){
-
- model.removenode("/root/main/list01/tdinfodetl");
- var row = grd_patbaseinfo.row;
-
- model.setValue("/root/send/send03/clamno", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamno"));
- model.setValue("/root/send/send03/docuseqno", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/docuseqno"));
- model.setValue("/root/send/send03/docuflag", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/docuflag"));
- model.setValue("/root/send/send03/clamym", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamym"));
- model.setValue("/root/send/send03/clamdg", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/clamdg"));
- model.setValue("/root/send/send03/pid", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/pid"));
- model.setValue("/root/send/send03/pidsn", model.getValue("/root/main/list01/patbaseinfo/gridpatbaseinfo["+row+"]/pidsn"));
- model.setValue("/root/send/send03/chk401", model.getValue("/root/send/send01/chk401"));
-
- if ( submit("TRPIF70603") ) {
- fCheckPreData();
- }
-
- var tddecidocuarvdd = model.getValue("root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd");
-
- if(tddecidocuarvdd != "") {
- var rows = grd_pifmtrds.rows;
-
- var trobtotamt = 0; // 분쟁가총액
- var tddecitotamt = 0; // 분심결정총액
- var tddecicuttotamt = 0; // 분심결정삭감총액 (분쟁가총액 - 분심결정총액)
- var tdtotamt = 0; // 분심총액 (분심결정총액 + 분심수수료)
- var tdcomstotamt = 0; // 분심수수료
-
- for(var i=1;i<rows;i++) {
- trobtotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/trobamt")); // 분쟁가총액
- tddecitotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddeciamt")); // 분심결정총액
- }
-
- tddecicuttotamt = trobtotamt - tddecitotamt; // 분심결정삭감액
- tdcomstotamt = Number(ipt_tdcomstotamt.value); // 분심수수료
-
- opt_trobtotamt.value = trobtotamt; // 분쟁가총액 세팅
- opt_tddecitotamt.value = tddecitotamt; // 분심결정총액 세팅
- opt_tddecicuttotamt.value = tddecicuttotamt; // 분심결정삭감총액 세팅
- opt_tdtotamt.value = tddecitotamt + tdcomstotamt; // 분심총액 세팅
- } else {
- var rows = grd_pifmtrds.rows;
-
- var trobtotamt = 0; // 분쟁가총액
-
- for(var i=1;i<rows;i++) {
- trobtotamt += Number(model.getValue("root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/trobamt"));
- }
-
- opt_trobtotamt.value = trobtotamt;
- }
-
- txtar_answdocucnts.value = "";
- chkbox_attdocu.value = "";
- chkbox_attdocu.disabled = true;
- }
- ]]>
- </script>
- </datagrid>
- <select id="chkbox_attdocu" ref="/root/main/list03/attdocu" overflow="visible" appearance="full" cols="2" rows="5" style="left:805px; top:655px; width:190px; height:86px; border-style:none; ">
- <choices>
- <item>
- <label>응급실기록지</label>
- <value>1</value>
- </item>
- <item>
- <label>투약기록지</label>
- <value>2</value>
- </item>
- <item>
- <label>경과기록지</label>
- <value>3</value>
- </item>
- <item>
- <label>간호기록지</label>
- <value>4</value>
- </item>
- <item>
- <label>의사명령지</label>
- <value>5</value>
- </item>
- <item>
- <label>검사결과지</label>
- <value>6</value>
- </item>
- <item>
- <label>수술기록지</label>
- <value>7</value>
- </item>
- <item>
- <label>방사선결과지</label>
- <value>8</value>
- </item>
- <item>
- <label>마취기록지</label>
- <value>9</value>
- </item>
- <item>
- <label>기타</label>
- <value>0</value>
- </item>
- </choices>
- <!-- 첨부자료 체크해제시-->
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- var attdocu = chkbox_attdocu.value;
- var size = attdocu.length;
- var cnt = 0;
- var row = grd_pifmtrds.row;
-
- for(var i=0;i<=size;i++) {
- var temp = attdocu.substring(i,i+1);
- if(temp == "0") {
- cnt++;
- }
- }
-
- if(cnt > 0) {
- if(txtbox_attetc.value == "") {
- messageBox("기타 첨부자료를 수기","C001");
- txtbox_attetc.disabled = false;
- model.setFocus("txtbox_attetc");
- }
- } else {
- txtbox_attetc.value = "";
- txtbox_attetc.disabled = false;
- }
-
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/attdocu",chkbox_attdocu.value); // 첨부자료 인스턴스에 변경된 값 저장
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/attetc",txtbox_attetc.value); // 기타자료 인스턴스에 변경된 값 저장
- if(grd_pifmtrds.rowStatus(row) == "0") {
- grd_pifmtrds.rowStatus(row) = "2";
- }
- ]]>
- </script>
- <!-- 첨부자료 체크시-->
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var attdocu = chkbox_attdocu.value;
- var row_cnt = grd_pifmtrds.row;
-
- if(grd_pifmtrds.rowStatus(row_cnt) == "0") {
- grd_pifmtrds.rowStatus(row_cnt) = "2";
- }
-
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row_cnt+"]/attdocu",attdocu);
-
- var attdocu = chkbox_attdocu.value;
- var size = attdocu.length;
- var cnt = 0;
-
- for(var i=0;i<size;i++) {
- var temp = attdocu.substring(i,i+1);
- if(temp == "0") {
- cnt++;
- }
- }
-
- if(cnt > 0) {
- if(txtbox_attetc.value == "") {
- messageBox("기타 첨부자료를 수기","C001");
- txtbox_attetc.disabled = false;
- model.setFocus("txtbox_attetc");
- }
- }
- /*
- if(attdocu.substring(attdocu.length-1,attdocu.length)== "0") {
- if(txtbox_attetc.value == "") {
- messageBox("기타 첨부자료를 수기","C001");
- txtbox_attetc.disabled = false;
- model.setFocus("txtbox_attetc");
- }
- }
- */
- ]]>
- </script>
- </select>
- <textarea id="txtbox_attetc" ref="/root/main/list03/attetc" disabled="true" style="left:1000px; top:655px; width:193px; height:86px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row_cnt = grd_pifmtrds.row;
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row_cnt+"]/attetc",txtbox_attetc.value);
- ]]>
- </script>
- </textarea>
- <caption id="caption14" class="tit_2" style="left:1004px; top:635px; width:147px; height:13px; ">기타 첨부자료 TEXT</caption>
- <line id="line6" class="line_1" style="x1:1000px; y1:650px; x2:1193px; y2:650px; "/>
- <textarea id="txtar_answdocucnts" ref="/root/main/list03/answdocucnts" style="left:0px; top:655px; width:800px; height:86px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_pifmtrds.row;
- if(row > 0) {
- if(grd_pifmtrds.rowStatus(row) == "0") {
- grd_pifmtrds.rowStatus(row) = "2";
- }
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+row+"]/answdocucnts",txtar_answdocucnts.value);
- }
- ]]>
- </script>
- </textarea>
- <caption id="caption15" class="cell_1" style="left:288px; top:598px; width:71px; height:24px; vertical-align:middle; ">분쟁가총액</caption>
- <caption id="caption17" class="cell_1" style="left:852px; top:598px; width:71px; height:24px; vertical-align:middle; ">분심수수료</caption>
- <caption id="caption18" class="cell_1" style="left:1029px; top:598px; width:60px; height:24px; vertical-align:middle; ">분심총액</caption>
- <caption id="caption19" class="cell_1" style="left:465px; top:598px; width:83px; height:24px; vertical-align:middle; ">분심결정총액</caption>
- <caption id="caption20" class="cell_1" style="left:647px; top:598px; width:107px; height:24px; vertical-align:middle; ">분심결정삭감총액</caption>
- <line id="line7" class="line_3" style="x1:288px; y1:597px; x2:1192px; y2:597px; "/>
- <line id="line8" class="line_3" style="x1:288px; y1:622px; x2:1193px; y2:622px; "/>
- <button id="btn_print" class="btn2_letter2" style="left:1040px; top:238px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <input id="ipt_tddecidocuarvdd" ref="/root/main/list01/tdinfodetl/tdinfo/tddecidocuarvdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:107px; top:266px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rows = grd_pifmtrds.rows;
-
- for(var i=1;i<rows;i++) {
- // 수정된 것만 날짜 셋팅
- if ( grd_pifmtrds.rowStatus(i) == "2" ) {
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/tddecidocuarvdd", ipt_tddecidocuarvdd.value);
- }
- }
- ]]>
- </script>
- </input>
- <output id="opt_tddecitotamt" class="output_fix" format="#,###" style="left:551px; top:600px; width:93px; height:19px; text-align:right; "/>
- <output id="opt_tddecicuttotamt" class="output_fix" format="#,###" style="left:757px; top:600px; width:92px; height:19px; text-align:right; "/>
- <output id="opt_tdtotamt" class="output_fix" format="#,###" style="left:1092px; top:600px; width:100px; height:19px; text-align:right; "/>
- <output id="opt_trobtotamt" class="output_fix" format="#,###" style="left:362px; top:600px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_tdcomstotamt" ref="/root/main/list01/tdinfodetl/tdinfo/tdcomsamt" class="input_s_essential" format="#,###" style="left:926px; top:600px; width:100px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- opt_tdtotamt.value = Number(opt_tdtotamt.value) + Number(ipt_tdcomstotamt.value);
- ]]>
- </script>
- </input>
- <caption id="caption21" class="cell_1" style="left:739px; top:265px; width:62px; height:21px; vertical-align:middle; ">납입기한</caption>
- <caption id="caption22" class="cell_1" style="left:908px; top:265px; width:62px; height:21px; vertical-align:middle; ">심사번호</caption>
- <input id="ipt_paylimitdd" ref="/root/main/list01/tdinfodetl/tdinfo/paylimitdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:804px; top:266px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rows = grd_pifmtrds.rows;
-
- for(var i=1;i<rows;i++) {
- grd_pifmtrds.rowStatus(i) = "2";
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/paylimitdd", ipt_paylimitdd.value);
- }
- ]]>
- </script>
- </input>
- <input id="ipt_judgno" ref="/root/main/list01/tdinfodetl/tdinfo/judgno" class="input_search" style="left:974px; top:266px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rows = grd_pifmtrds.rows;
-
- for(var i=1;i<rows;i++) {
- grd_pifmtrds.rowStatus(i) = "2";
- model.setValue("/root/main/list01/tdinfodetl/gridpifmtrds["+i+"]/judgno", ipt_judgno.value);
- }
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1194px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <button id="button3" class="btn2_letter4" style="left:1128px; top:251px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
- if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
-
- var tmp = yy+mm+dd;
- var fileName = window.fileDialog("save", ",", false, "분심결정등록관리_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") { grd_pifmtrds.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|