123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIE04200" position="absolute 0 0 1198 783" titletext="재료수가고시작업" onload="SMPIE04200_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="재료수가 고시작업" class="tit_1" position="absolute 0 0 136 26"/>
- <Div id="group2" anchor="left top right" taborder="1" style="align: top;" class="div_SA" position="absolute 0 26 1195 61">
- <Layouts>
- <Layout>
- <Static id="caption41" text="적용일자 :" class="search_name" position="absolute 7 9 94 26" anchor="left top"/>
- <Calendar id="ipt_apdd" taborder="1" onkillfocus="group3_group2_ipt_apdd_onkillfocus" class="input_search" position="absolute 97 8 187 27" caption7="[object Static]" mask="yyyy-mm-dd" anchor="left top">
- <Static id="caption7"/>
- </Calendar>
- <Static id="caption4" text="계약번호 :" class="search_name" position="absolute 215 10 314 27" anchor="left top"/>
- <MaskEdit id="input1" taborder="2" mask="99999999-9999" class="input_search" position="absolute 307 8 414 27" anchor="left top" autoselect="true" type="string"/>
- <Static id="caption3" text="기관선택 :" class="search_name" position="absolute 447 10 546 27" anchor="left top"/>
- <Combo id="combo1" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 544 8 684 27" columncount="-1" rowcount="-1" anchor="left top" value="031" text="경북대학교병원" index="0">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">031</Col>
- <Col id="datacolumn">경북대학교병원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">032</Col>
- <Col id="datacolumn">칠곡경북대학교병원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">033</Col>
- <Col id="datacolumn">경북대학교치과병원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="작업내역" class="tit_2" position="absolute 0 69 100 85"/>
- <Shape id="line1" class="line_10" position="absolute 0 87 1194 90" anchor="left top right"/>
- <Grid id="grd_curematlist" taborder="2" binddataset="ds_main_list01_gridcurematlist" useinputpanel="false" position="absolute 0 90 1194 548" anchor="all" onaftersort="group3_grd_curematlist_onaftersort" cellmovingtype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="194"/>
- <Column size="73"/>
- <Column size="100"/>
- <Column size="78"/>
- <Column size="78"/>
- <Column size="73"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="68"/>
- <Column size="63"/>
- <Column size="63"/>
- <Column size="70"/>
- <Column size="59"/>
- <Column size="68"/>
- <Column size="30"/>
- <Column size="73"/>
- <Column size="85"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="선택"/>
- <Cell col="2" text="계약순번"/>
- <Cell col="3" colspan="3" text="물품(수가)코드 / 수가EDI / 물류EDI" taborder="undefined"/>
- <Cell col="6" text="무산정"/>
- <Cell col="7" text="한글명"/>
- <Cell col="8" text="미계약"/>
- <Cell col="9" text="영문명"/>
- <Cell col="10" text="수가시작일"/>
- <Cell col="11" text="수가종료일"/>
- <Cell col="12" text="계약단가"/>
- <Cell col="13" text="현보험가"/>
- <Cell col="14" text="상한가"/>
- <Cell col="15" text="적용단가"/>
- <Cell col="16" text="적용일반가"/>
- <Cell col="17" text="급여"/>
- <Cell col="18" text="보험가"/>
- <Cell col="19" text="자보가"/>
- <Cell col="20" text="급여가"/>
- <Cell col="21" text="산재가"/>
- <Cell col="22" text="일반가"/>
- <Cell col="23" text="가산 수량"/>
- <Cell col="24" text="mptype"/>
- <Cell col="25" text="typeid"/>
- <Cell col="26" text="classid"/>
- <Cell col="27" text=" 계약일자"/>
- <Cell col="28" text="계약번호"/>
- <Cell col="29" text="계약수량"/>
- <Cell col="30" text="검수 여부"/>
- <Cell col="31" text="검수일자"/>
- <Cell col="32" text="검수번호"/>
- <Cell col="33" text="검수순번"/>
- <Cell col="34" text="신규적용일자"/>
- <Cell col="35" text="오류 여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:setyn" expr="setyn == 'true' || setyn == '1' ? 1 : 0"/>
- <Cell col="2" style="background:EXPR(EXPR(getBgColor1(currow)));" text="bind:purcconseq"/>
- <Cell col="3" style="align:left;" text="bind:goodcd"/>
- <Cell col="4" style="align:left;background:EXPR(bg1);background2:EXPR(bg1);selectbackground:EXPR(bg1);" text="bind:edicd"/>
- <Cell col="5" style="align:left;background:EXPR(bg2);background2:EXPR(bg2);selectbackground:EXPR(bg2);" text="bind:goodedicd"/>
- <Cell col="6" displaytype="combo" style="align:center;" text="bind:freeflag" combodataset="ds_grd_freeflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="7" style="align:left;" text="bind:hngnm"/>
- <Cell col="8" displaytype="text" edittype="text" style="background:EXPR(bg6);background2:EXPR(bg6);selectbackground:EXPR(bg6);" text="bind:purcmisscd"/>
- <Cell col="9" style="align:left;" text="bind:engnm"/>
- <Cell col="10" displaytype="date" text="bind:fromdd"/>
- <Cell col="11" displaytype="date" text="bind:todd"/>
- <Cell col="12" displaytype="number" style="background:EXPR(bg3);background2:EXPR(bg3);selectbackground:EXPR(bg3);" text="bind:congoodunitcost"/>
- <Cell col="13" displaytype="number" style="background:EXPR(bg4);background2:EXPR(bg4);selectbackground:EXPR(bg4);" text="bind:insurbpnt"/>
- <Cell col="14" displaytype="number" text="bind:unitcost"/>
- <Cell col="15" displaytype="number" text="bind:ap_insurbpnt"/>
- <Cell col="16" displaytype="number" text="bind:ap_gnrlrbpnt"/>
- <Cell col="17" text="bind:payflag"/>
- <Cell col="18" displaytype="number" style="background:EXPR(bg4);background2:EXPR(bg4);selectbackground:EXPR(bg4);" text="bind:insurbpnt"/>
- <Cell col="19" displaytype="number" style="background:EXPR(bg5);background2:EXPR(bg5);selectbackground:EXPR(bg5);" text="bind:autmbrbpnt"/>
- <Cell col="20" displaytype="number" text="bind:procrbpnt"/>
- <Cell col="21" displaytype="number" text="bind:inducsrbpnt"/>
- <Cell col="22" displaytype="number" text="bind:gnrlrbpnt"/>
- <Cell col="23" text="bind:bothaddrate"/>
- <Cell col="24" text="bind:mptype"/>
- <Cell col="25" text="bind:typeid"/>
- <Cell col="26" text="bind:classid"/>
- <Cell col="27" displaytype="date" text="bind:purccondd"/>
- <Cell col="28" text="bind:purcconno"/>
- <Cell col="29" displaytype="number" text="bind:conqty"/>
- <Cell col="30" text="bind:chkyn"/>
- <Cell col="31" displaytype="date" text="bind:purcchkdd"/>
- <Cell col="32" text="bind:purcchkno"/>
- <Cell col="33" text="bind:purcchkseq"/>
- <Cell col="34" displaytype="date" text="bind:apdd"/>
- <Cell col="35" text="bind:erryn"/>
- <Cell col="36" text="bind:gubun"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button90" taborder="3" text="1. 작업대상조회(적용가, 일반가)" onclick="group3_button90_onclick" class="btn2" position="absolute 433 67 628 86"/>
- <Button id="button2" taborder="4" text="2. 수가적용(업데이트)" onclick="group3_button2_onclick" class="btn5" position="absolute 629 67 768 86"/>
- <Button id="button4" taborder="5" text="3. 적용일자별 현재수가조회" onclick="group3_button4_onclick" class="btn2" position="absolute 769 67 934 86"/>
- <Button id="button5" taborder="6" text="엑셀저장" onclick="group3_button5_onclick" class="btn7" position="absolute 1117 66 1195 85" anchor="top right"/>
- <Static id="caption2" text="오류리스트" class="tit_2" position="absolute 0 576 170 592" anchor="left bottom"/>
- <Shape id="line2" class="line_10" position="absolute 0 594 1194 597" anchor="left right bottom"/>
- <Button id="button6" taborder="7" text="엑셀저장" onclick="group3_button6_onclick" class="btn7" position="absolute 1117 574 1194 593" anchor="right bottom"/>
- <Grid id="grd_errlist" taborder="8" binddataset="ds_main_list01_griderrlist" useinputpanel="false" position="absolute 0 597 1194 752" anchor="left right bottom" cellmovingtype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="67"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="70"/>
- <Column size="59"/>
- <Column size="80"/>
- <Column size="68"/>
- <Column size="80"/>
- <Column size="500"/>
- <Column size="70"/>
- <Column size="30"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="계약순번"/>
- <Cell col="2" text="물품코드"/>
- <Cell col="3" text="EDI코드"/>
- <Cell col="4" text=" 계약일자"/>
- <Cell col="5" text="계약번호"/>
- <Cell col="6" text="계약단가"/>
- <Cell col="7" text="계약수량"/>
- <Cell col="8" text="상한가"/>
- <Cell col="9" text="오류내용"/>
- <Cell col="10" text="적용일자"/>
- <Cell col="11" text="오류 여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:purcconseq"/>
- <Cell col="2" style="align:left;" text="bind:goodcd"/>
- <Cell col="3" style="align:left;" text="bind:edicd"/>
- <Cell col="4" displaytype="date" text="bind:purccondd"/>
- <Cell col="5" text="bind:purcconno"/>
- <Cell col="6" displaytype="number" text="bind:congoodunitcost"/>
- <Cell col="7" displaytype="number" text="bind:conqty"/>
- <Cell col="8" displaytype="number" text="bind:unitcost"/>
- <Cell col="9" style="align:left;" text="bind:errcmt"/>
- <Cell col="10" displaytype="date" text="bind:apdd"/>
- <Cell col="11" text="bind:erryn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button1" taborder="9" text="0. 계약번호별 자료조회" onclick="group3_button1_onclick" class="btn2" position="absolute 286 67 432 86"/>
- <Static id="caption5" text="수가EDI코드 ↔ 물류EDI코드 불일치" position="absolute 321 552 528 572" anchor="left bottom"/>
- <Static id="caption8" text="급여 : 계약단가 ↔ 현보험가 상이, 급여 이외 : 계약단가 ↔ 자보가 불일치" position="absolute 592 552 997 572" anchor="left bottom"/>
- <Button id="button3" taborder="10" text="전체선택" onclick="group3_button3_onclick" class="btn2" position="absolute 85 67 149 86" visible="false"/>
- <Button id="button7" taborder="11" text="전체해제" onclick="group3_button7_onclick" class="btn2" position="absolute 151 67 215 86" visible="false"/>
- <Button id="btnMatrCompare" taborder="12" text="재료 수가 변경 내역" onclick="grp_btn_btnMatrCompare_onclick" class="btn4" visible="false" position="absolute 917 758 1069 780" anchor="right bottom"/>
- <Button id="btn_init" taborder="13" text="초기화" onclick="grp_btn_btn_init_onclick" class="btn4" position="absolute 1070 758 1138 780" anchor="right bottom"/>
- <Button id="btn_closepredocupopup" taborder="14" text="닫기" class="btn4" position="absolute 1139 758 1195 780" anchor="right bottom" onclick="btn_closepredocupopup_onclick"/>
- <Static id="caption7" position="absolute 26 552 289 572" anchor="left bottom" text="급여 + 동일 수가EDI코드 + 계약단가 불일치"/>
- <Static id="Static00" position="absolute 6 554 21 569" style="background:#b2ebf4ff;border:1 solid #808080ff ;" anchor="left bottom"/>
- <Static id="Static01" position="absolute 301 554 316 569" anchor="left bottom" style="background:#ffc4ebff;border:1 solid #808080ff ;"/>
- <Static id="Static02" position="absolute 572 554 587 569" anchor="left bottom" style="background:#9fc93cff;border:1 solid #808080ff ;"/>
- <Static id="Static03" position="absolute 1038 554 1053 569" anchor="left bottom" style="background:#ffe08cff;border:1 solid #808080ff ;color:#262626ff;"/>
- <Static id="caption00" text="미계약" position="absolute 1058 552 1114 572" anchor="left bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_list02_h801" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reptcd" type="STRING" size="256"/>
- <Column id="lnno" type="STRING" size="256"/>
- <Column id="cmpyno" type="STRING" size="256"/>
- <Column id="cmpynm" type="STRING" size="256"/>
- <Column id="purcdd" type="STRING" size="256"/>
- <Column id="purcqty" type="STRING" size="256"/>
- <Column id="purcunitcost" type="STRING" size="256"/>
- <Column id="purctotamt" type="STRING" size="256"/>
- <Column id="cmpyremark" type="STRING" size="256"/>
- <Column id="itemflaglnkno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reptcd"/>
- <Col id="lnno"/>
- <Col id="cmpyno"/>
- <Col id="cmpynm"/>
- <Col id="purcdd"/>
- <Col id="purcqty"/>
- <Col id="purcunitcost"/>
- <Col id="purctotamt"/>
- <Col id="cmpyremark"/>
- <Col id="itemflaglnkno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="apdd" type="STRING" size="256"/>
- <Column id="purcconno" type="STRING" size="256"/>
- <Column id="appno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="apdd"/>
- <Col id="purcconno"/>
- <Col id="appno"/>
- <Col id="instcd">031</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list01_gridcurematlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_list01_gridcurematlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="appno" type="STRING" size="256"/>
- <Column id="docuno" type="STRING" size="256"/>
- <Column id="corpmark" type="STRING" size="256"/>
- <Column id="chrgnm" type="STRING" size="256"/>
- <Column id="cnfmnm" type="STRING" size="256"/>
- <Column id="appyearmnth" type="STRING" size="256"/>
- <Column id="repttotcnt" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="appno"/>
- <Col id="docuno"/>
- <Col id="corpmark"/>
- <Col id="chrgnm"/>
- <Col id="cnfmnm"/>
- <Col id="appyearmnth"/>
- <Col id="repttotcnt"/>
- <Col id="rem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="resultCnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_list01_griderrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reptcd" type="STRING" size="256"/>
- <Column id="itemflagno" type="STRING" size="256"/>
- <Column id="makecmpynm" type="STRING" size="256"/>
- <Column id="item" type="STRING" size="256"/>
- <Column id="spec" type="STRING" size="256"/>
- <Column id="unit" type="STRING" size="256"/>
- <Column id="lnnoremark" type="STRING" size="256"/>
- <Column id="avg" type="STRING" size="256"/>
- <Column id="fstpurcflag" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reptcd"/>
- <Col id="itemflagno"/>
- <Col id="makecmpynm"/>
- <Col id="item"/>
- <Col id="spec"/>
- <Col id="unit"/>
- <Col id="lnnoremark"/>
- <Col id="avg"/>
- <Col id="fstpurcflag"/>
- <Col id="calcscorcd"/>
- <Col id="edicd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_list01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="gridcurematlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="gridcurematlist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_freeflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">무산정</Col>
- <Col id="cdid">Y</Col>
- </Row>
- <Row>
- <Col id="cdnm">산정</Col>
- <Col id="cdid">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_apdd" propid="value" datasetid="ds_send" columnid="apdd"/>
- <BindItem id="item1" compid="group2.input1" propid="value" datasetid="ds_send" columnid="purcconno"/>
- <BindItem id="item2" compid="group2.combo1" propid="value" datasetid="ds_send" columnid="instcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMPIE04200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
-
- grdf_initGrid(grd_curematlist);
- grdf_setToolTipBind(grd_curematlist);
-
- grdf_initGrid(grd_errlist);
- grdf_setToolTipBind(grd_errlist);
- group2.ipt_apdd.value = utlf_getCurrentDate();
- //if (sysf_getUserId() == "PAM") {
- btnMatrCompare.visible = true;
- //}
- }
- //
- // // 신청번호생성 신청일자 Valid Check
- // function fDayChk(){
- // var appno = ds_send_createappno.getColumn(0, "appno1");
- // var dd = utlf_getCurrentDate();
- // if(appno != dd){
- // var chk = sysf_messageBox("신청일자가 오늘일자와 다릅니다.","Q003");
- // if(chk == "6"){
- // return true;
- // }else{
- // return false;
- // }
- // }
- // }
- //
- // // 전체조회 H803
- // function fReSelectAllF080(nowRow) {
- //
- // // H801조회
- // // submit("TRPIE00205");
- // var oParam = {};
- // oParam.id = "TRPIE00205";
- // oParam.service = "edimngtapp.EdiMngt";
- // oParam.method = "reqGetH801";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=gridpiehh801";
- // oParam.async = false;
- // oParam.callback = "cf_TRPIE00205";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TRPIE00205(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TRPIE00205(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TRPIE00205") > -1
- // arErrorCode.pop("TRPIE00205") < 0
- // */
- //
- //
- // grd_piehh801.row = 1;
- //
- // // H802조회
- // var appno = grd_piehh801.valueMatrix(nowRow, grd_piehh801.colRef("appno"));
- // if (appno != "") {
- // ds_send_appno.setColumn( 0, "appno", appno);
- // // submit("TRPIE00202");
- // var oParam = {};
- // oParam.id = "TRPIE00202";
- // oParam.service = "edimngtapp.EdiMngt";
- // oParam.method = "reqGetH802";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=gridpiehh802";
- // oParam.async = false;
- // oParam.callback = "cf_TRPIE00202";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TRPIE00202(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TRPIE00202(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TRPIE00202") > -1
- // arErrorCode.pop("TRPIE00202") < 0
- // */
- //
- //
- //
- // // H803조회
- // var appno = grd_piehh802.valueMatrix(1, grd_piehh802.colRef("appno"));
- // var reptcd = grd_piehh802.valueMatrix(1, grd_piehh802.colRef("reptcd"));
- // if (appno != "" && reptcd != "") {
- // ds_send_reptcd.setColumn( 0, "appno", appno);
- // ds_send_reptcd.setColumn( 0, "reptcd", "");
- // // submit("TRPIE00203");
- // var oParam = {};
- // oParam.id = "TRPIE00203";
- // oParam.service = "edimngtapp.EdiMngt";
- // oParam.method = "reqGetH803";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=gridpiehh803";
- // oParam.async = false;
- // oParam.callback = "cf_TRPIE00203";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TRPIE00203(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TRPIE00203(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TRPIE00203") > -1
- // arErrorCode.pop("TRPIE00203") < 0
- // */
- //
- //
- // }
- // }
- // }
- //
- // // 입고세부조회
- // function fSelectDtlInpt() {
- //
- // var reptcd = grd_piehh802.valueMatrix(grd_piehh802.row, grd_piehh802.colRef("reptcd"));
- //
- // if (reptcd == "") {
- // sysf_messageBox("조회할 품목코드를", "C002"); //선택하십시오 !
- // } else {
- // ds_hidden_sppie00130_h802_cond.clearData(); ds_hidden_sppie00130_h802_cond.addRow();
- // ds_hidden_sppie00130_h802_cond.setColumn( 0, "fromdd", utlf_getCurrentDate()); // 검색시작일자
- // ds_hidden_sppie00130_h802_cond.setColumn( 0, "todd", utlf_getCurrentDate()); // 검색종료일자
- // ds_hidden_sppie00130_h802_cond.setColumn( 0, "srchcond1", "1"); // 검색구분 1:edi, 2:처방코드
- // ds_hidden_sppie00130_h802_cond.setColumn( 0, "srchcond2", reptcd); // 검색코드
- // ds_hidden_sppie00130_h802_cond.setColumn( 0, "dtlselectyn", "Y"); // 입고상세조회여부
- //
- // // 입고내역조회 팝업화면
- // frmf_modal("SPPIE00130", "SPPIE00130", "ds_hidden_sppie00130_h802_cond""-"ds_init"", "", "1", "10", "10", "", "", "", "", "", "M");
- //
- // // 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("ds_hidden_sppie00130_h803_rslt");
- // if (rsltNode != null) {
- // for (var i = maxRow; i < rsltNode.childNodes.length + maxRow; i++) {
- // ds_main_list03_gridpiehh803.setColumn( i, "appno", grd_piehh802.valueMatrix(grd_piehh802.row, grd_piehh802.colRef("appno")));
- // ds_main_list03_gridpiehh803.setColumn( i, "reptcd", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "reptcd")));
- // ds_main_list03_gridpiehh803.setColumn( i, "lnno", "0");
- // ds_main_list03_gridpiehh803.setColumn( i, "cmpyno", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "cmpyno")));
- // ds_main_list03_gridpiehh803.setColumn( i, "cmpynm", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "cmpynm")));
- // ds_main_list03_gridpiehh803.setColumn( i, "purcdd", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "purcdd")));
- // ds_main_list03_gridpiehh803.setColumn( i, "purcqty", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "purcqty")));
- // ds_main_list03_gridpiehh803.setColumn( i, "purcunitcost", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "purcunitcost")));
- // ds_main_list03_gridpiehh803.setColumn( i, "purctotamt", ds_hidden_sppie00130_h803_rslt_h803.getColumn(rsltRow, "purctotamt")));
- // ds_main_list03_gridpiehh803.setColumn( i, "cmpyremark", "-");
- // ds_main_list03_gridpiehh803.setColumn( i, "itemflaglnkno", 1);
- // rsltRow += 1;
- // }
- //
- // //grd_piehh803.refresh();
- //
- // }
- //
- // for (var i = maxRow; i < grd_piehh803.rows; i++) {
- // grd_piehh803.rowStatus(i) = 1; // 1:insert 상태로 변경
- // }
- // }
- // }
- //
- // function group3_group2_ipt_apdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- //
- // //ds_send.setColumn( 0, "todd",ds_send.getColumn(0, "fromdd"));
- // //model.refreshpart("ds_send_todd");
- //
- // }
- //
- // function group3_grd_curematlist_onaftersort {
- //
- // group3.grd_curematlist.gridToInstance();
- //
- // }
- //
- // 1. 작업대상조회
- function group3_button90_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_list01_gridcurematlist.clearData(); ds_main_list01_gridcurematlist.addRow();
- var apdd = ds_send.getColumn(0, "apdd");
- var purcconno = ds_send.getColumn(0, "purcconno");
- if(utlf_isNull(apdd)){
- sysf_messageBox("적용일을","C001");
- group2.ipt_apdd.setFocus();
- return false;
- }
- if(utlf_isNull(purcconno)){
- sysf_messageBox("계약번호를","C001");
- ipt_purcconno.setFocus();
- return false;
- }
- var oParam = {};
- oParam.id = "TRPIE04202";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetRsphcontBypurcconno";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridcurematlist=gridcurematlist ds_main_list01_griderrlist=griderrlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIE04202";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_main_list01_gridcurematlist, "setyn:true");
- sysf_messageBox("완료!! 대상선정 정상", "I001"); //I001=처리되었습니다.
-
- fSetBackGround();
- }
- // 2.수가적용(업데이트)
- function group3_button2_onclick(obj:Button, e:ClickEventInfo) {
- //group3.grd_curematlist.setCellProprty("body", 9, "background", "#FFFFFF"); grd_curematlist.setCellProperty("body", 9, "background2", "#FFFFFF");
- //group3.grd_curematlist.setCellProprty("body", 10, "background", "#FFFFFF"); grd_curematlist.setCellProperty("body", 10, "background2", "#FFFFFF");
- // 적용가, 일반가 업데이트
- if (ds_main_list01_gridcurematlist.rowcount > 0) {
- var ap_insurbpnt = ds_main_list01_gridcurematlist.getColumn(0, "ap_insurbpnt");
- if (ap_insurbpnt != "0" && !utlf_isNull(ap_insurbpnt)) {
- var oParam = {};
- oParam.id = "TXPIE04201";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExePicmmechHistory";
- oParam.inds = "gridcurematlist=ds_main_list01_gridcurematlist:U";
- oParam.outds = "ds_=result";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE04201";
- tranf_submit(oParam);
- sysf_messageBox("[ 3.적용일자별 현재수가조회] 버튼을 눌러서 확인하세요! 정상", "I001"); //I001=처리되었습니다.
- } else {
- sysf_messageBox("적용단가가 없거나 내역이 없어서 저장", "E001"); //E001=할 수 없습니다.
- }
- } else {
- sysf_messageBox("저장할 내용이", "I004"); //I004=없습니다.
- }
- }
- // 3. 적용일자별 현재수가조회
- function group3_button4_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_list01_gridcurematlist.clearData();
- var apdd = ds_send.getColumn(0, "apdd");
- if(utlf_isNull(apdd)){
- sysf_messageBox("적용일을","C001");
- group2.ipt_apdd.setFocus();
- return false;
- }
- var oParam = {};
- oParam.id = "TRPIE04203";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetPicmmechCureMatByApdd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridcurematlist=gridcurematlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIE04203";
- tranf_submit(oParam);
- }
- function group3_button5_onclick(obj:Button, e:ClickEventInfo) {
- if(ds_main_list01_gridcurematlist.rowcount > 0)
- {
- grdf_exportExcel(grd_curematlist, "약가생성자료", "see");
- }
- else
- {
- sysf_messageBox("저장할 내역이", "I004");
- }
- }
- function group3_button6_onclick(obj:Button, e:ClickEventInfo) {
- if(ds_main_list01_griderrlist.rowcount > 0)
- {
- grdf_exportExcel(grd_errlist, "재료수가 고시작업 에러리스트", "see");
- }
- else
- {
- sysf_messageBox("저장할 내역이", "I004");
- }
- }
- // 0.계약번호별 자료조회
- function group3_button1_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_list01_gridcurematlist.clearData();
- ds_main_list01_gridcurematlist.addRow();
-
- var apdd = ds_send.getColumn(0, "apdd");
- var purcconno = ds_send.getColumn(0, "purcconno");
- if(utlf_isNull(apdd)){
- sysf_messageBox("적용일을","C001");
- group2.ipt_apdd.setFocus();
- return false;
- }
- if(utlf_isNull(purcconno)){
- sysf_messageBox("계약번호를","C001");
- group2.ipt_purcconno.setFocus();
- return false;
- }
- // submit("TRPIE04201");
- var oParam = {};
- oParam.id = "TRPIE04201";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetPurcconno";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list01_gridcurematlist=gridcurematlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPIE04201";
- tranf_submit(oParam);
- }
- function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_list01_gridcurematlist.clearData();
- ds_main_list01_griderrlist.clearData();
- }
- function grp_btn_btnMatrCompare_onclick(obj:Button, e:ClickEventInfo) {
- frmf_open("SPPIE04210", "SPPIE04210", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function ds_main_list01_gridcurematlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "setyn" ){
- obj.setColumn(e.row, "setyn", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function btn_closepredocupopup_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- // 배경처리
- function fSetBackGround() {
- ds_main_list01_gridcurematlist.addColumn("bg1", "string"); // 수가EDI코드
- ds_main_list01_gridcurematlist.addColumn("bg2", "string"); // 물류EDI코드
- ds_main_list01_gridcurematlist.addColumn("bg3", "string"); // 계약단가
- ds_main_list01_gridcurematlist.addColumn("bg4", "string"); // 보험가
- ds_main_list01_gridcurematlist.addColumn("bg5", "string"); // 자보단가
- ds_main_list01_gridcurematlist.addColumn("bg6", "string"); // 미계약
- // 동일코드 중 금액이 다른 데이터 추출처리
- var edicd1 = "";
- var cost1 = "";
- var payflag1 = "";
-
- var edicd2 = "";
- var cost2 = "";
- var payflag2 = "";
-
- for (var i = 0; i < ds_main_list01_gridcurematlist.rowcount; i++) {
-
- edicd1 = ds_main_list01_gridcurematlist.getColumn(i, "edicd");
- cost1 = ds_main_list01_gridcurematlist.getColumn(i, "congoodunitcost");
- payflag1 = ds_main_list01_gridcurematlist.getColumn(i, "payflag");
-
- // 1. 계약단가 불일치
- if (ds_main_list01_gridcurematlist.getColumn(i, "edicd") != '-') {
-
- for(var j = 1 ; j <= ds_main_list01_gridcurematlist.rowcount ; j++) {
-
- // 동일 로우는 스킵
- if (i == j) {
- continue;
- }
-
- edicd2 = ds_main_list01_gridcurematlist.getColumn(j, "edicd");
- cost2 = ds_main_list01_gridcurematlist.getColumn(j, "congoodunitcost");
- payflag2 = ds_main_list01_gridcurematlist.getColumn(j, "payflag");
-
- // edi코드가 동일하면서 계약단가가 다른 경우 배경색 표시
- // 급여일 때만 체크하도록 수정 by 조중래 20150423
- if (payflag1 == '급여' && payflag2 == '급여' && edicd1 == edicd2 && cost1 != cost2) {
- // 수가EDI코드 배경
- ds_main_list01_gridcurematlist.setColumn(i, "bg1", "#B2EBF4"); // 하늘색
- ds_main_list01_gridcurematlist.setColumn(j, "bg1", "#B2EBF4"); // 하늘색
-
- // 계약단가 배경
- ds_main_list01_gridcurematlist.setColumn(i, "bg3", "#B2EBF4"); // 하늘색
- ds_main_list01_gridcurematlist.setColumn(j, "bg3", "#B2EBF4"); // 하늘색
- }
- }
- }
- // 2. EDI코드 불일치
- if (edicd1 != ds_main_list01_gridcurematlist.getColumn(i, "goodedicd")) {
- // 수가EDI코드 배경
- ds_main_list01_gridcurematlist.setColumn(i, "bg1", "#FFC4EB"); // 분홍색
-
- // 물류EDI코드 배경
- ds_main_list01_gridcurematlist.setColumn(i, "bg2", "#FFC4EB"); // 분홍색
- }
- // 3. 금액 불일치(급여 : 계약단가 != 현보험가) 시 배경처리(#9FC93C 연초록색)
- if (payflag1 == '급여'
- && ds_main_list01_gridcurematlist.getColumn(i, "congoodunitcost") != ds_main_list01_gridcurematlist.getColumn(i, "insurbpnt")) {
- ds_main_list01_gridcurematlist.setColumn(i, "bg3", "#9FC93C"); // 연초록색
- ds_main_list01_gridcurematlist.setColumn(i, "bg4", "#9FC93C"); // 연초록색
- }
- // 4. 금액 불일치(급여 이외 : 계약단가 != 자보가) 시 배경처리(#9FC93C 연초록색)
- if (payflag1 != '급여'
- && ds_main_list01_gridcurematlist.getColumn(i, "congoodunitcost") != ds_main_list01_gridcurematlist.getColumn(i, "autmbrbpnt")) {
- ds_main_list01_gridcurematlist.setColumn(i, "bg3", "#9FC93C"); // 연초록색
- ds_main_list01_gridcurematlist.setColumn(i, "bg5", "#9FC93C"); // 연초록색
- }
-
- // 5. 미계약
- if (!utlf_isNull(ds_main_list01_gridcurematlist.getColumn(i, "purcmisscd"))) {
- ds_main_list01_gridcurematlist.setColumn(i, "bg6", "#FFE08C"); // 노랑색
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|