123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- <?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="">
- <send>
- <apdd/>
- <purcconno/>
- <appno/>
- <list01>
- <gridcurematlist/>
- </list01>
- <instcd>031</instcd>
- </send>
- <main>
- <list01>
- <gridcurematlist>
- <appno/>
- <docuno/>
- <corpmark/>
- <chrgnm/>
- <cnfmnm/>
- <appyearmnth/>
- <repttotcnt/>
- <rem/>
- </gridcurematlist>
- <griderrlist>
- <reptcd/>
- <itemflagno/>
- <makecmpynm/>
- <item/>
- <spec/>
- <unit/>
- <lnnoremark/>
- <avg/>
- <fstpurcflag/>
- <calcscorcd/>
- <edicd/>
- </griderrlist>
- </list01>
- <list02>
- <h801>
- <reptcd/>
- <lnno/>
- <cmpyno/>
- <cmpynm/>
- <purcdd/>
- <purcqty/>
- <purcunitcost/>
- <purctotamt/>
- <cmpyremark/>
- <itemflaglnkno/>
- </h801>
- </list02>
- </main>
- <init>
- </init>
- <hidden>
- <result>
- <resultCnt/>
- </result>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIE04202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIE04203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TXPIE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list01/gridcurematlist" resultref="/root/hidden/result"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ipt_apdd.value = getCurrentDate();
-
- if (getUserId() == "PAM") {
- btnMatrCompare.visible = true;
- }
- ]]>
- </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" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- // 신청번호생성 신청일자 Valid Check
- function fDayChk(){
- var appno = model.getValue("/root/send_createappno/appno1");
- var dd = getCurrentDate();
- if(appno != dd){
- var chk = messageBox("신청일자가 오늘일자와 다릅니다.","Q003");
- if(chk == "6"){
- return true;
- }else{
- return false;
- }
- }
- }
-
- // 전체조회 H803
- function fReSelectAllF080(nowRow) {
-
- // H801조회
- submit("TRPIE00205");
- grd_piehh801.row = 1;
-
- // H802조회
- var appno = grd_piehh801.valueMatrix(nowRow, grd_piehh801.colRef("appno"));
- if (appno != "") {
- model.setValue("/root/send_appno/appno", appno);
- submit("TRPIE00202");
-
- // H803조회
- var appno = grd_piehh802.valueMatrix(1, grd_piehh802.colRef("appno"));
- var reptcd = grd_piehh802.valueMatrix(1, grd_piehh802.colRef("reptcd"));
- if (appno != "" && reptcd != "") {
- model.setValue("/root/send_reptcd/appno", appno);
- model.setValue("/root/send_reptcd/reptcd", "");
- submit("TRPIE00203");
- }
- }
- }
-
- // 입고세부조회
- function fSelectDtlInpt() {
-
- var reptcd = grd_piehh802.valueMatrix(grd_piehh802.row, grd_piehh802.colRef("reptcd"));
-
- if (reptcd == "") {
- messageBox("조회할 품목코드를", "C002"); //선택하십시오 !
- } else {
- model.resetInstanceNode("/root/hidden/sppie00130_h802/cond");
- model.setValue("/root/hidden/sppie00130_h802/cond/fromdd", getCurrentDate()); // 검색시작일자
- model.setValue("/root/hidden/sppie00130_h802/cond/todd", getCurrentDate()); // 검색종료일자
- model.setValue("/root/hidden/sppie00130_h802/cond/srchcond1", "1"); // 검색구분 1:edi, 2:처방코드
- model.setValue("/root/hidden/sppie00130_h802/cond/srchcond2", reptcd); // 검색코드
- model.setValue("/root/hidden/sppie00130_h802/cond/dtlselectyn", "Y"); // 입고상세조회여부
-
- // 입고내역조회 팝업화면
- modal("SPPIE00130", 1, "10", "10", "SPPIE00130", "/root/hidden/sppie00130_h802/cond", "/root/init", "", "");
-
- // H803 그리드에 새로 신규추가할 maxrow 찾기
- maxRow = grd_piehh803.rows -1;
- var tmpreptcd = grd_piehh803.valueMatrix(maxRow, grd_piehh803.colRef("reptcd"));
- if (tmpreptcd != "") {
- maxRow = maxRow + 1;
- }
-
- var rsltRow = 1;
- var rsltNode = instance1.selectSingleNode("/root/hidden/sppie00130_h803/rslt");
- if (rsltNode != null) {
- for (var i = maxRow; i < rsltNode.childNodes.length + maxRow; i++) {
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/appno", grd_piehh802.valueMatrix(grd_piehh802.row, grd_piehh802.colRef("appno")));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/reptcd", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/reptcd"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/lnno", "0");
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/cmpyno", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/cmpyno"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/cmpynm", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/cmpynm"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/purcdd", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/purcdd"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/purcqty", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/purcqty"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/purcunitcost", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/purcunitcost"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/purctotamt", model.getValue("/root/hidden/sppie00130_h803/rslt/h803["+ rsltRow +"]/purctotamt"));
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/cmpyremark", "-");
- model.makeValue("/root/main/list03/gridpiehh803["+ i +"]/itemflaglnkno", 1);
- rsltRow += 1;
- }
- grd_piehh803.refresh();
- }
-
- for (var i = maxRow; i < grd_piehh803.rows; i++) {
- grd_piehh803.rowStatus(i) = 1; // 1:insert 상태로 변경
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:800px; height:14px; ">재료수가 고시작업</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption41" class="search_name" style="left:23px; top:9px; width:87px; height:17px; ">적용일자 :</caption>
- <input id="ipt_apdd" ref="/root/send/apdd" class="input_search" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:113px; top:8px; width:90px; height:19px; ">
- <caption id="caption7"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //model.setValue("/root/send/todd",model.getValue("/root/send/fromdd"));
- //model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:231px; top:10px; width:99px; height:17px; ">계약번호 :</caption>
- <input id="input1" ref="/root/send/purcconno" class="input_search" maxlength="12" format="99999999-9999" appearance="input" style="left:323px; top:8px; width:107px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:463px; top:10px; width:99px; height:17px; ">기관선택 :</caption>
- <select1 id="combo1" ref="/root/send/instcd" class="combo_search" appearance="minimal" style="left:560px; top:8px; width:140px; height:19px; ">
- <choices>
- <item>
- <label>경북대학교병원</label>
- <value>031</value>
- </item>
- <item>
- <label>칠곡경북대학교병원</label>
- <value>032</value>
- </item>
- <item>
- <label>경북대학교치과병원</label>
- <value>033</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:100px; height:14px; ">작업내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:75px; "/>
- <datagrid id="grd_curematlist" nodeset="/root/main/list01/gridcurematlist" caption="선택^순번^물품(수가)코드 / 수가EDI / 물류EDI^물품(수가)코드 / 수가EDI / 물류EDI^물품(수가)코드 / 수가EDI / 물류EDI^무산정^한글명^미계약^영문명^수가시작일^수가종료일^계약단가^현보험가^상한가^적용단가^적용일반가^급여^보험가^자보가^급여가^산재가^일반가^mptype^typeid^classid^ 계약일자^계약번호^계약수량^검수여부^검수일자^검수번호^검수순번^신규적용일자^오류여부" colsep="^" colwidth="30, 40, 70, 70, 70, 50, 133, 60, 100, 78, 78, 73, 70, 70, 70, 70, 50, 70, 70, 70, 70, 70, 68, 63, 63, 70, 59, 68, 59, 73, 85, 75, 80, 100, 100" dataheight="25" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:80px; width:1194px; height:458px; ">
- <col ref="setyn" type="checkbox"/>
- <col ref="purcconseq" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="edicd" style="text-align:left; "/>
- <col ref="goodedicd" style="text-align:left; "/>
- <col disabled="true" ref="freeflag" 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="hngnm" style="text-align:left; "/>
- <col ref="purcmisscd" type="input"/>
- <col ref="engnm" visibility="hidden" style="text-align:left; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="congoodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="insurbpnt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="unitcost" format="#,###" style="text-align:right; "/>
- <col ref="ap_insurbpnt" format="#,###" style="text-align:right; "/>
- <col ref="ap_gnrlrbpnt" format="#,###" style="text-align:right; "/>
- <col ref="payflag" style="text-align:center; "/>
- <col ref="insurbpnt" format="#,###" style="text-align:right; "/>
- <col ref="autmbrbpnt" format="#,###" style="left:1431px; top:23px; width:70px; height:23px; text-align:right; "/>
- <col ref="procrbpnt" format="#,###" style="text-align:right; "/>
- <col ref="inducsrbpnt" format="#,###" style="text-align:right; "/>
- <col ref="gnrlrbpnt" format="#,###" style="text-align:right; "/>
- <col ref="mptype" style="text-align:center; "/>
- <col ref="typeid" style="text-align:center; "/>
- <col ref="classid" style="text-align:center; "/>
- <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcconno" style="text-align:center; "/>
- <col ref="conqty" style="text-align:right; "/>
- <col ref="chkyn" style="text-align:center; "/>
- <col ref="purcchkdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcchkno" style="text-align:center; "/>
- <col ref="purcchkseq" style="text-align:center; "/>
- <col ref="apdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="erryn" style="text-align:center; "/>
- <col ref="gubun" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_curematlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button90" class="btn2_letter15" style="left:429px; top:54px; width:185px; height:19px; ">
- <caption>1. 작업대상조회(적용가, 일반가)</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/main/list01/gridcurematlist");
-
- var apdd = model.getValue("/root/send/apdd");
- var purcconno = model.getValue("/root/send/purcconno");
-
- if(apdd == ""){
- messageBox("적용일을","C001");
- model.setFocus("ipt_apdd");
- return false;
- }
- if(purcconno == ""){
- messageBox("계약번호를","C001");
- model.setFocus("ipt_purcconno");
- return false;
- }
- if( submit("TRPIE04202")) {
- messageBox("완료!! 대상선정 정상", "I001"); //I001=처리되었습니다.
- }
-
- // grd_curematlist.colstyle(8, "data", "background-color") = "#FFF000";
- // grd_curematlist.colstyle(9, "data", "background-color") = "#FFF000";
- var edicd1; // EDI코드
- var edicd2;
-
- var cost1; // 계약단가
- var cost2;
-
- var payflag1; // 급비구분
- var payflag2;
-
- var insurbpnt; // 보험단가
- var autmbrbpnt; // 자보단가
-
- for(var i = 1 ; i <= grd_curematlist.rows ; i++) {
-
- // 동일코드 중 금액이 다른 데이터 추출처리
- edicd1 = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("edicd"));
- cost1 = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("congoodunitcost"));
- payflag1 = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("payflag"));
-
- if (edicd1 != '-') {
- for(var j = 1 ; j <= grd_curematlist.rows ; j++) {
-
- // 동일 로우는 스킵
- if (i == j) {
- continue;
- }
-
- edicd2 = grd_curematlist.valueMatrix(j, grd_curematlist.colRef("edicd"));
- cost2 = grd_curematlist.valueMatrix(j, grd_curematlist.colRef("congoodunitcost"));
- payflag2 = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("payflag"));
-
- // edi코드가 동일하면서 계약단가가 다른 경우 배경색 표시
- // 급여일 때만 체크하도록 수정 by 조중래 20150423
- if (payflag1 == '급여' && payflag2 == '급여' && edicd1 == edicd2 && cost1 != cost2) {
- grd_curematlist.rowStyle(i, "data", "background-color") = "#B2EBF4"; // 하늘색
- grd_curematlist.rowStyle(j, "data", "background-color") = "#B2EBF4"; // 하늘색
- }
- }
- }
-
- // 수가의 EDI와 물류의 EDI코드가 상이한 경우
- if(grd_curematlist.valueMatrix(i, grd_curematlist.colRef("edicd"))
- != grd_curematlist.valueMatrix(i, grd_curematlist.colRef("goodedicd"))) {
- grd_curematlist.rowStyle(i, "all", "background-color") = "#F361A6"; // 분홍색
- }
-
- insurbpnt = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("insurbpnt"));
- autmbrbpnt = grd_curematlist.valueMatrix(i, grd_curematlist.colRef("autmbrbpnt"));
-
- // 급여 : 계약단가 <> 현보험가 상이할 경우 배경색 표시
- // 급여 이외 : 계약단가 <> 자보가 상이할 경우 배경색 표시
- if (payflag1 == '급여' && cost1 != insurbpnt) {
- grd_curematlist.cellstyle("background-color", i, 12) = "#9FC93C"; // 연초록색
- grd_curematlist.cellstyle("background-color", i, 18) = "#9FC93C"; // 연초록색
-
- } else if (payflag1 != '급여' && cost1 != autmbrbpnt) {
- grd_curematlist.cellstyle("background-color", i, 12) = "#9FC93C"; // 연초록색
- grd_curematlist.cellstyle("background-color", i, 19) = "#9FC93C"; // 연초록색
- }
- // if(grd_curematlist.valueMatrix(i, grd_curematlist.colRef("gubun")) == "Y" ) {
- // grd_curematlist.rowStyle(i, "all", "background-color") = "#FF0000";
- // } else {
- // grd_curematlist.rowStyle(i, "all", "background-color") = "#FFFFFF";
- // }
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter10" style="left:623px; top:54px; width:130px; height:19px; ">
- <caption>2. 수가적용(업데이트)</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //model.copyNode("/root/send/list02/h801", "/root/main/list01/gridpiehh801");
- // model.setValue("/root/send/list02/h801", model.getValue("/root/main/list01/gridpiehh801"));
- grd_curematlist.colstyle(9, "data", "background-color") = "#FFFFFF";
- grd_curematlist.colstyle(10, "data", "background-color") = "#FFFFFF";
-
- // 적용가, 일반가 업데이트
- if (getNodesetCount("/root/main/list01/gridcurematlist") > 0) {
- var ap_insurbpnt = model.getValue("/root/main/list01/gridcurematlist[1]/ap_insurbpnt");
- if (ap_insurbpnt != "0" && ap_insurbpnt != "") {
-
- model.resetInstanceNode("/root/send/list01/gridcurematlist");
-
- for (var i = 0; i < grd_curematlist.rows; i++) {
- //if (grd_piehh801.valueMatrix(i, grd_piehh801.colRef("chkbox")) == "true") {
- grd_curematlist.rowStatus(i) = 2;
- //}
- }
- // for( var i = 1; i < grd_piehh801.rows; i++) {
- // grd_piehh801.rowStatus(i) = 2;
- // }
- model.setValue("/root/send/list01/gridcurematlist", grd_curematlist.getUpdateData());
-
- // alert(grd_curematlist.getUpdateData());
- if (submit("TXPIE04201")) {
- messageBox("[ 3.적용일자별 현재수가조회] 버튼을 눌러서 확인하세요! 정상", "I001"); //I001=처리되었습니다.
- }
-
- } else {
- messageBox("적용단가가 없거나 내역이 없어서 저장", "E001"); //E001=할 수 없습니다.
- }
- } else {
- messageBox("저장할 내용이", "I004"); //I004=없습니다.
- }
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter13" style="left:763px; top:54px; width:163px; height:19px; ">
- <caption>3. 적용일자별 현재수가조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/main/list01/gridcurematlist");
-
- var apdd = model.getValue("/root/send/apdd");
-
- if(apdd == ""){
- messageBox("적용일을","C001");
- model.setFocus("ipt_apdd");
- return false;
- }
- submit("TRPIE04203");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:1125px; top:53px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "약가생성자료", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_curematlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:5px; top:575px; width:165px; height:14px; ">오류리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:593px; x2:1194px; y2:592px; "/>
- <button id="button6" class="btn2_letter4" style="left:1125px; top:570px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "재료수가 고시작업 에러리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_errlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_errlist" nodeset="/root/main/list01/griderrlist" caption="계약순번^물품코드^EDI코드^ 계약일자^계약번호^계약단가^계약수량^상한가^오류내용^적용일자^오류여부" colsep="^" colwidth="67, 77, 77, 70, 59, 80, 68, 80, 463, 97, 92" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:595px; width:1194px; height:135px; ">
- <col ref="purcconseq" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="edicd" style="text-align:left; "/>
- <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="purcconno" style="text-align:center; "/>
- <col ref="congoodunitcost" format="#,###" style="text-align:right; "/>
- <col ref="conqty" style="text-align:right; "/>
- <col ref="unitcost" format="#,###" style="text-align:right; "/>
- <col ref="errcmt" style="text-align:left; "/>
- <col ref="apdd" style="text-align:center; "/>
- <col ref="erryn" style="text-align:center; "/>
- </datagrid>
- <button id="button1" class="btn2_letter11" style="left:280px; top:54px; width:141px; height:19px; ">
- <caption>0. 계약번호별 자료조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/main/list01/gridcurematlist");
- grd_curematlist.rebuildStyle();
- //grd_curematlist.colstyle(10, "data", "background-color") = "#FFFFFF";
- //grd_curematlist.colstyle(11, "data", "background-color") = "#FFFFFF";
-
- var apdd = model.getValue("/root/send/apdd");
- var purcconno = model.getValue("/root/send/purcconno");
-
- if(apdd == ""){
- messageBox("적용일을","C001");
- model.setFocus("ipt_apdd");
- return false;
- }
- if(purcconno == ""){
- messageBox("계약번호를","C001");
- model.setFocus("ipt_purcconno");
- return false;
- }
-
- submit("TRPIE04201");
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:5px; top:543px; width:15px; height:15px; background-color:#B2EBF4; "/>
- <shape id="rectangle2" appearance="rectangle" style="left:330px; top:543px; width:15px; height:15px; background-color:#F361A6; "/>
- <shape id="rectangle3" appearance="rectangle" style="left:625px; top:543px; width:15px; height:15px; background-color:#9FC93C; "/>
- <caption id="caption5" style="left:350px; top:541px; width:240px; height:20px; ">수가의 EDI와 물류의 EDI코드가 상이한 경우</caption>
- <caption id="caption7" style="left:25px; top:541px; width:269px; height:20px; ">급여 EDI코드가 동일하면서 계약단가가 다른 경우</caption>
- <caption id="caption8" style="left:645px; top:541px; width:374px; height:20px; ">급여 : 계약단가 / 현보험가 상이, 급여 이외 : 계약단가 / 자보가 상이</caption>
- <button id="button3" class="btn2_letter4" style="left:79px; top:54px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var Rows = getNodesetCount("/root/main/list01/gridcurematlist");
-
- if (Rows < 1){
- return;
- }
-
- for(var i=1; i<=Rows; i++){
- model.setValue("/root/main/list01/gridcurematlist["+ i +"]/setyn","true");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter4" style="left:145px; top:54px; width:64px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var Rows = getNodesetCount("/root/main/list01/gridcurematlist");
-
- if (Rows < 1){
- return;
- }
-
- for(var i=1; i<=Rows; i++){
- model.setValue("/root/main/list01/gridcurematlist["+ i +"]/setyn","false");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:752px; width:1195px; height:27px; ">
- <button id="btn_closepredocupopup" class="btn4_letter2" style="left:1127px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1056px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main/list01/gridpiehh801");
- //model.resetInstanceNode("/root/main/list02/gridpiehh802");
- //model.resetInstanceNode("/root/main/list03/gridpiehh803");
-
- //grd_piehh801.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- //grd_piehh802.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- //grd_piehh803.clearStatus();
-
- model.resetInstanceNode("/root/main/list01/gridcurematlist");
- grd_curematlist.rebuildStyle();
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btnMatrCompare" class="btn4_letter9" visibility="hidden" style="left:912px; top:2px; width:140px; height:22px; ">
- <caption>재료 수가 변경 내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPPIE04210");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|