123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <ptlist>
- <ptinfo>
- <errflag/>
- <uncosumamt/>
- <rcptsumamt/>
- <remnamt/>
- <pid/>
- <hngnm/>
- <ordtype/>
- <orddd/>
- <cretno/>
- <dschdd/>
- <orddeptcd/>
- <orddeptnm/>
- <orddrid/>
- <insukind/>
- <insukindnm/>
- <suppkind/>
- <suppkindnm/>
- <uncocd/>
- <unconm/>
- <uncorcptflag/>
- <uncoamt/>
- <rcptamt/>
- <debtamt/>
- <endyn/>
- <rcptdd/>
- <rcptno/>
- <rcptseqno/>
- <seqno/>
- <rcptstat/>
- <rcptexecdd/>
- </ptinfo>
- </ptlist>
- <uncolist>
- <uncoinfo>
- <pid/>
- <hngnm/>
- <ordtype/>
- <orddd/>
- <cretno/>
- <dschdd/>
- <orddeptcd/>
- <orddeptnm/>
- <orddrid/>
- <insukind/>
- <insukindnm/>
- <suppkind/>
- <suppkindnm/>
- <uncocd/>
- <unconm/>
- <uncorcptflag/>
- <uncoamt/>
- <rcptamt/>
- <debtamt/>
- <endyn/>
- <rcptdd/>
- <rcptno/>
- <rcptseqno/>
- <seqno/>
- <rcptexecdd/>
- <rcptstat/>
- <remfact/>
- </uncoinfo>
- </uncolist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <totalflag/>
- <rcptflag/>
- <pid/>
- <orddd/>
- <cretno/>
- <dschdd/>
- <uncocd/>
- <unco/>
- </send>
- <init/>
- <hidden>
- <uncoamt>0</uncoamt>
- <rcptamt>0</rcptamt>
- <remnamt>0</remnamt>
- </hidden>
- </root>
- </instance>
- <submission id="TRPAM00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ptlist/ptinfo"/>
- <submission id="TRPAM00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/uncolist/uncoinfo"/>
- <submission id="TXPAM00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </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">
- <![CDATA[
-
- function fGetUncoList(isNew) {
-
- if (isNew) {
- if (!grd_err.isCell(event.target)) {
- return;
- }
-
- if (grd_err.row < grd_err.fixedRows) {
- return;
- }
-
- var row = grd_err.row;
-
- model.setValue("/root/send/pid", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/pid"));
- model.setValue("/root/send/orddd", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/orddd"));
- model.setValue("/root/send/cretno", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/cretno"));
- model.setValue("/root/send/dschdd", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/dschdd"));
- model.setValue("/root/send/uncocd", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/uncocd"));
- }
-
- grd_unco.rebuildStyle();
-
- submit("TRPAM00502");
-
- var cnt = instance1.selectNodes("/root/main/uncolist/uncoinfo").length;
-
- if (cnt > 0) {
-
- var selKey = model.getValue("/root/send/pid")
- + model.getValue("/root/send/orddd")
- + model.getValue("/root/send/cretno")
- + model.getValue("/root/send/uncocd");
-
- var prevKey = model.getValue("/root/main/uncolist/uncoinfo/pid")
- + model.getValue("/root/main/uncolist/uncoinfo/orddd")
- + model.getValue("/root/main/uncolist/uncoinfo/cretno")
- + model.getValue("/root/main/uncolist/uncoinfo/uncocd");
-
- var color = "white";
-
- for (var i = 1; i <= cnt; i++) {
-
- var currKey = model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/pid")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/orddd")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/cretno")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/uncocd");
-
- if (currKey != prevKey) {
-
- color = color == "white" ? "#ebebeb" : "white";
-
- prevKey = currKey;
-
- }
-
- if (currKey == selKey) {
- color = "#ffffa0";
- }
-
- grd_unco.rowStyle(i, "all", "background-color") = color;
-
- if (currKey == selKey) {
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("dschdd")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("dschdd")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("dschdd")) = "solid";
-
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("endyn")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("endyn")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("endyn")) = "solid";
-
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("uncoamt")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("uncoamt")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("uncoamt")) = "solid";
-
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("rcptamt")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("rcptamt")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("rcptamt")) = "solid";
-
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("debtamt")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("debtamt")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("debtamt")) = "solid";
-
- grd_unco.cellStyle("border-color", i, grd_unco.colRef("rcptstat")) = "#ff0000";
- grd_unco.cellStyle("border-width", i, grd_unco.colRef("rcptstat")) = "2px";
- grd_unco.cellStyle("border-style", i, grd_unco.colRef("rcptstat")) = "solid";
- }
- }
- }
- }
-
- function fSetUncoAmt() {
-
- var uncoamt = 0;
- var rcptamt = 0;
-
- var selKey = model.getValue("/root/send/pid")
- + model.getValue("/root/send/orddd")
- + model.getValue("/root/send/cretno")
- + model.getValue("/root/send/uncocd");
-
- var cnt = instance1.selectNodes("/root/main/uncolist/uncoinfo").length;
-
- for (var i = 1; i <= cnt; i++) {
- var currKey = model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/pid")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/orddd")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/cretno")
- + model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/uncocd");
-
- if (selKey != currKey) {
- continue;
- }
-
- uncoamt += parseInt(model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/uncoamt"));
- rcptamt += parseInt(model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/rcptamt"));
- rcptamt += parseInt(model.getValue("/root/main/uncolist/uncoinfo[" + i + "]/debtamt"));
- }
-
- var remnamt = uncoamt - rcptamt;
-
- model.setValue("/root/hidden/uncoamt", uncoamt);
- model.setValue("/root/hidden/rcptamt", rcptamt);
- model.setValue("/root/hidden/remnamt", remnamt);
-
- cap_uncoamt.refresh();
- cap_rcptamt.refresh();
- cap_remnamt.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/send/fromdd", "19000101");
- model.setValue("/root/send/todd", getCurrentDate());
-
- ipt_fromdd.refresh();
- ipt_todd.refresh();
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/hidden/uncoamt", "0");
- model.setValue("/root/hidden/rcptamt", "0");
- model.setValue("/root/hidden/remnamt", "0");
-
- cap_uncoamt.refresh();
- cap_rcptamt.refresh();
- cap_remnamt.refresh();
-
- submit("TRPAM00501");
-
- model.resetInstanceNode("/root/main/uncolist/uncoinfo");
- grd_unco.refresh();
- grd_unco.rebuildStyle();
- ]]>
- </script>
- </button>
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; font-family:돋움; vertical-align:middle; ">미수 발생 및 종결 관리</caption>
- <caption id="caption1" class="search_name" style="left:5px; top:32px; width:95px; height:17px; ">수납 기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="0" inputtype="date" style="left:101px; top:31px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:206px; top:31px; width:90px; height:19px; "/>
- <caption id="caption4" style="left:191px; top:35px; width:15px; height:15px; text-align:center; ">~</caption>
- <line id="line13" style="x1:1118px; y1:28px; x2:1118px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:70px; width:185px; height:14px; ">미수 발생 및 종결 오류 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
- <datagrid id="grd_err" nodeset="/root/main/ptlist/ptinfo" allowselection="false" backcoloralternate="#ffffff" caption="오류^미수합계^수납합계^미수잔액^등록번호^환자명^진료형태^진료일^생성번호^퇴원일^진료과코드^진료과^진료의^주유형코드^주유형^보조유형코드^보조유형^미수코드^미수명^정산구분^미수금액^수납금액^대손금액^종결여부^수납일^영수증번호^영수증일련번호^영수증번호별일련번호^수납상태^수납일" colsep="^" colwidth="40, 90, 90, 90, 60, 60, 60, 80, 0, 80, 0, 120, 0, 0, 80, 0, 90, 0, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="label" style="left:0px; top:90px; width:1195px; height:390px; text-align:center; ">
- <col disabled="true" ref="errflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>종결</label>
- <value>E</value>
- </item>
- <item>
- <label>미결</label>
- <value>P</value>
- </item>
- </choices>
- </col>
- <col ref="uncosumamt" format="(-)#,###" style="font-weight:bold; color:red; text-align:right; padding-right:2; "/>
- <col ref="rcptsumamt" format="(-)#,###" style="font-weight:bold; color:blue; text-align:right; padding-right:2; "/>
- <col ref="remnamt" format="(-)#,###" style="font-weight:bold; color:purple; text-align:right; padding-right:2; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cretno"/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrid"/>
- <col ref="insukind"/>
- <col ref="insukindnm" style="text-align:center; "/>
- <col ref="suppkind"/>
- <col ref="suppkindnm" style="text-align:center; "/>
- <col ref="uncocd"/>
- <col ref="unconm" style="text-align:center; "/>
- <col ref="uncorcptflag"/>
- <col ref="uncoamt"/>
- <col ref="rcptamt"/>
- <col ref="debtamt"/>
- <col disabled="true" ref="endyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>종결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미결</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="rcptdd"/>
- <col ref="rcptno"/>
- <col ref="rcptseqno"/>
- <col ref="seqno"/>
- <col ref="rcptstat"/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if (!grd_err.isCell(event.target)) {
- return;
- }
-
- model.setValue("/root/send/totalflag", "");
- model.setValue("/root/send/rcptflag", "");
-
- var row = grd_err.row;
-
- model.setValue("/root/hidden/uncoamt", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/uncosumamt"));
- model.setValue("/root/hidden/rcptamt", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/rcptsumamt"));
- model.setValue("/root/hidden/remnamt", model.getValue("/root/main/ptlist/ptinfo[" + row + "]/remnamt"));
-
- cap_uncoamt.refresh();
- cap_rcptamt.refresh();
- cap_remnamt.refresh();
-
- chk_totalflag.refresh();
- chk_rcptflag.refresh();
-
- fGetUncoList(true);
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:0px; top:490px; width:118px; height:14px; ">환자별 미수 내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:505px; x2:1195px; y2:505px; "/>
- <datagrid id="grd_unco" nodeset="/root/main/uncolist/uncoinfo" caption="등록번호^환자명^진료형태^진료일^생성번호^퇴원일^진료과코드^진료과^진료의^주유형코드^주유형^보조유형코드^보조유형^미수코드^미수명^정산구분^미수금액^수납금액^대손금액^종결여부^수납상태^RCPTDD^RCPTNO^R.SEQNO^SEQNO^수납일^비고" colsep="^" colwidth="60, 60, 60, 80, 60, 100, 0, 120, 0, 0, 0, 0, 0, 60, 140, 60, 80, 80, 80, 60, 60, 80, 60, 60, 60, 80, 200" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="free" style="left:0px; top:510px; width:1195px; height:230px; text-align:center; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cretno" style="text-align:center; "/>
- <col ref="dschdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrid"/>
- <col ref="insukind"/>
- <col ref="insukindnm" style="text-align:center; "/>
- <col ref="suppkind"/>
- <col ref="suppkindnm" style="text-align:center; "/>
- <col ref="uncocd" style="text-align:center; "/>
- <col ref="unconm" style="text-align:center; "/>
- <col disabled="true" ref="uncorcptflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>발생</label>
- <value>1</value>
- </item>
- <item>
- <label>입금</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="uncoamt" type="input" format="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="rcptamt" type="input" format="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="debtamt" type="input" format="(-)#,###" style="text-align:right; padding-right:2; "/>
- <col ref="endyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>종결</label>
- <value>Y</value>
- </item>
- <item>
- <label>미결</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="rcptstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>C</label>
- <value>C</value>
- </item>
- <item>
- <label>D</label>
- <value>D</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptno" style="text-align:center; "/>
- <col ref="rcptseqno" style="text-align:center; "/>
- <col ref="seqno" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="remfact" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (!grd_unco.isCell(event.target)) {
- return;
- }
-
- if (grd_unco.row > 0 && grd_unco.colAttribute(grd_unco.col, "type") == "input") {
- grd_unco.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_unco.cellStyle("font-weight", grd_unco.row, grd_unco.col) = "bold";
- grd_unco.cellStyle("background-color", grd_unco.row, grd_unco.col) = "#ffb4b4";
-
- fSetUncoAmt();
- ]]>
- </script>
- </datagrid>
- <select id="chk_totalflag" ref="/root/send/totalflag" overflow="visible" appearance="full" style="left:140px; top:488px; width:130px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>미수 내역 전체 조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/pid") != "") {
- fGetUncoList(false);
-
- fSetUncoAmt();
- }
- ]]>
- </script>
- </select>
- <select id="chk_rcptflag" ref="/root/send/rcptflag" overflow="visible" appearance="full" style="left:280px; top:488px; width:115px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>수납 취소건 포함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/pid") != "") {
- fGetUncoList(false);
-
- fSetUncoAmt();
- }
- ]]>
- </script>
- </select>
- <caption id="caption5" style="left:310px; top:31px; width:415px; height:20px; ">※ 발생 및 종결 기준 : [ 등록번호 ] [ 진료일 ] [ 생성번호 ] [ 미수코드 ]</caption>
- <button id="btn_xls1" class="btn2_letter2" style="left:1153px; top:65px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var day = model.getValue("/root/send/fromdd") + "-" + model.getValue("/root/send/todd");
- var filename = window.fileDialog("save", ",", false, "미수 발생 및 종결 오류 내역_" + day, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- grd_err.saveExcel(filename, "sheetname:오류내역;colhiddenextend:false;rowhiddenextend:false");
-
- messageBox("엑셀 저장이 완료되었습니다.", "I999");
- ]]>
- </script>
- </button>
- <button id="btn_xls2" class="btn2_letter2" style="left:1153px; top:485px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var info = model.getValue("/root/send/pid");
- var filename = window.fileDialog("save", ",", false, "환자별 미수 내역_" + info, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- grd_unco.saveExcel(filename, "sheetname:미수내역;colhiddenextend:false;rowhiddenextend:false");
-
- messageBox("엑셀 저장이 완료되었습니다.", "I999");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter6" style="left:1092px; top:743px; width:104px; height:22px; ">
- <caption>수정내역저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rows = grd_unco.rows;
-
- var cnt = 0;
-
- for (var i = 1; i < rows; i++) {
- if (grd_unco.rowStatus(i) == 2) {
- cnt++;
- }
- }
-
- if (cnt < 1) {
- messageBox("수정된 내역이 없습니다.", "E999");
- return;
- } else if (messageBox("[ " + cnt + " ] 개의 미수 데이터를 수정하시겠습니까?", "Q999") != 6) {
- return;
- }
-
- var str = grd_unco.getUpdateData("update");
-
- model.setValue("/root/send/unco", str);
-
- submit("TXPAM00301");
-
- model.setValue("/root/send/totalflag", "");
- model.setValue("/root/send/rcptflag", "");
-
- chk_totalflag.refresh();
- chk_rcptflag.refresh();
-
- fGetUncoList(false);
-
- fSetUncoAmt();
- ]]>
- </script>
- </button>
- <caption id="caption6" style="left:745px; top:483px; width:35px; height:20px; vertical-align:middle; padding-top:1; ">발생 :</caption>
- <caption id="cap_uncoamt" ref="/root/hidden/uncoamt" format="(-)#,###" style="left:781px; top:483px; width:80px; height:20px; font-weight:bold; color:red; text-align:right; padding-right:2; border-color:#808080; border-style:solid; ">0</caption>
- <caption id="cap_rcptamt" ref="/root/hidden/rcptamt" format="(-)#,###" style="left:910px; top:483px; width:80px; height:20px; font-weight:bold; color:blue; text-align:right; padding-right:2; border-color:#808080; border-style:solid; ">0</caption>
- <caption id="caption8" style="left:874px; top:483px; width:35px; height:20px; vertical-align:middle; padding-top:1; ">수납 :</caption>
- <caption id="cap_remnamt" ref="/root/hidden/remnamt" format="(-)#,###" style="left:1040px; top:483px; width:80px; height:20px; font-weight:bold; color:purple; text-align:right; padding-right:2; border-color:#808080; border-style:solid; ">0</caption>
- <caption id="caption10" style="left:1004px; top:483px; width:35px; height:20px; vertical-align:middle; padding-top:1; ">잔액 :</caption>
- <caption id="caption7" visibility="hidden" style="left:542px; top:744px; width:538px; height:20px; color:#646464; ">환자별 수정 내역은 수정 후 바로 갱신되지만, 미수 발생 및 종결 오류 내역은 재조회 후 갱신됩니다.</caption>
- </xhtml:body>
- </xhtml:html>
|