123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNP01805" position="absolute 0 0 1145 620" titletext="Cart복사 조회" oninit="SPMNP01805_oninit" onload="SPMNP01805_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1135 616" id="grp_cartmain" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 362 615" id="group2">
- <Layouts>
- <Layout>
- <Static text="마취의" position="absolute 10 10 75 26" align="align:center middle;" id="caption2" class="tit_2"/>
- <Grid position="absolute 5 30 360 260" id="grd_perfid" binddataset="ds_main_MnpmcartList_perfid_codelist" oncellclick="grp_cartmain_group2_grd_perfid_oncellclick" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="170"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="사번"/>
- <Cell col="1" text="이름"/>
- <Cell col="2" text="사용"/>
- <Cell col="3"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:datacd"/>
- <Cell col="1" text="bind:datanm"/>
- <Cell col="2" text="bind:ncnt"/>
- <Cell col="3" text="bind:ucnt"/>
- <Cell col="4" text="bind:tcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox position="absolute 80 9 215 24" id="chk_useyn" text="사용중인 처방만 보기" truevalue="Y" falsevalue="N" onclick="grp_cartmain_group2_chk_useyn_onclick"/>
- <Grid position="absolute 5 267 360 615" id="grd_ccrtno" binddataset="ds_main_MnpmcartList_ccrtno_codelist" oncellclick="grp_cartmain_group2_grd_ccrtno_oncellclick" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="200"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="Cart코드"/>
- <Cell col="1" text="마취명"/>
- <Cell col="2" text="사용"/>
- <Cell col="3"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:datacd" tooltiptext="bind:datacd"/>
- <Cell col="1" style="align:left top;padding:5 2 0 2;" text="bind:datanm" wordwrap="char" tooltiptext="bind:datanm"/>
- <Cell col="2" text="bind:tcnt"/>
- <Cell col="3" text="bind:ucnt"/>
- <Cell col="4" text="bind:ncnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 365 30 1135 615" id="grd_good" binddataset="ds_main_MnphcagoLists_mnphcagolist" onheadclick="grp_cartmain_grd_good_onheadclick" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="225"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox" expr="0"/>
- <Cell col="1" text="물품"/>
- <Cell col="2" text="SUB"/>
- <Cell col="3" text="산정"/>
- <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="CaseCart 번호"/>
- <Cell col="12" text="Cart물품순번"/>
- <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="Drug용법코드"/>
- <Cell col="25" text="재고량"/>
- <Cell col="26" text="기준누적수량"/>
- <Cell col="27" text="청구구분"/>
- <Cell col="28" text="구매구분"/>
- <Cell col="29" text="산정여부"/>
- <Cell col="30" text="수가코드"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:fcheck"/>
- <Cell col="1" text="bind:goodcd" tooltiptext="bind:goodcd"/>
- <Cell col="2" text="bind:allsizespecid"/>
- <Cell col="3" text="bind:calculyn"/>
- <Cell col="4" style="align:left top;padding:5 2 0 2;" text="bind:goodengnm" wordwrap="char" tooltiptext="bind:goodengnm"/>
- <Cell col="5" text="bind:goodspec" tooltiptext="bind:goodspec"/>
- <Cell col="6" style="align:left top;padding:5 2 0 2;" text="bind:goodmodel" wordwrap="char" tooltiptext="bind:goodmodel"/>
- <Cell col="7" style="align:left top;padding:5 2 0 2;" text="bind:makernm" wordwrap="char" tooltiptext="bind:makernm"/>
- <Cell col="8" text="bind:prcpunit"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:payflagcd" enable="false"/>
- <Cell col="10" text="bind:goodqty"/>
- <Cell col="11" text="bind:ccrtno"/>
- <Cell col="12" text="bind:cartgoodseq"/>
- <Cell col="13" text="bind:instcd"/>
- <Cell col="14" text="bind:goodcls"/>
- <Cell col="15" text="bind:deliveunit"/>
- <Cell col="16" text="bind:fromdd"/>
- <Cell col="17" text="bind:todd"/>
- <Cell col="18" text="bind:fcheck"/>
- <Cell col="19" text="bind:recstat"/>
- <Cell col="20" text="bind:custnm"/>
- <Cell col="21" text="bind:useflag"/>
- <Cell col="22" text="bind:goodflag"/>
- <Cell col="23" text="bind:prcpclscd"/>
- <Cell col="24" text="bind:drugmthdspccd"/>
- <Cell col="25" text="bind:stocqty"/>
- <Cell col="26" text="bind:acmlbaseqty"/>
- <Cell col="27" text="bind:reqmthd"/>
- <Cell col="28" text="bind:purcflag"/>
- <Cell col="29" text="bind:calcscorcd"/>
- <Cell col="30" text="bind:insuyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1091 4 1133 23" id="bbt_append2" class="btn2" text="추가" onclick="grp_cartmain_bbt_append2_onclick"/>
- <Button position="absolute 1023 4 1087 23" id="button12" class="btn2" text="엑셀저장" onclick="grp_cartmain_button12_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_MnpmcartList_perfid_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="datacd" type="STRING"/>
- <Column id="datanm" type="STRING"/>
- <Column id="ncnt" type="STRING"/>
- <Column id="ucnt" type="STRING"/>
- <Column id="tcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_MnpmcartList_ccrtno_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="datacd" type="STRING"/>
- <Column id="datanm" type="STRING"/>
- <Column id="tcnt" type="STRING"/>
- <Column id="ucnt" type="STRING"/>
- <Column id="ncnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged">
- <ColumnInfo>
- <Column id="fcheck" type="STRING"/>
- <Column id="goodcd" type="STRING"/>
- <Column id="allsizespecid" type="STRING"/>
- <Column id="calculyn" type="STRING"/>
- <Column id="goodengnm" type="STRING"/>
- <Column id="goodspec" type="STRING"/>
- <Column id="goodmodel" type="STRING"/>
- <Column id="makernm" type="STRING"/>
- <Column id="prcpunit" type="STRING"/>
- <Column id="payflagcd" type="STRING"/>
- <Column id="goodqty" type="STRING"/>
- <Column id="ccrtno" type="STRING"/>
- <Column id="cartgoodseq" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="goodcls" type="STRING"/>
- <Column id="deliveunit" type="STRING"/>
- <Column id="fromdd" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="fcheck" type="STRING"/>
- <Column id="recstat" type="STRING"/>
- <Column id="custnm" type="STRING"/>
- <Column id="useflag" type="STRING"/>
- <Column id="goodflag" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="drugmthdspccd" type="STRING"/>
- <Column id="stocqty" type="STRING"/>
- <Column id="acmlbaseqty" type="STRING"/>
- <Column id="reqmthd" type="STRING"/>
- <Column id="purcflag" type="STRING"/>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="insuyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="그룹아이디"/>
- <Column id="cdid" type="STRING" size="256" sumtext="아이디"/>
- <Column id="supcdid" type="STRING" size="256" sumtext="상위"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_hardcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256" sumtext="단위코드"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="단위명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext=" 진료과 "/>
- <Column id="perfid" type="STRING" size="256" sumtext=" 집도의 "/>
- <Column id="ccrtno" type="STRING" size="256" sumtext=" CaseCart 번호 "/>
- <Column id="useflag" type="STRING" size="256" sumtext=" 사용여부 "/>
- <Column id="qryflag" type="STRING" size="256" sumtext=" Query 구분 1:진료과,2:집도의,2:CART 코드"/>
- <Column id="countyn" type="STRING" size="256" sumtext=" CART물품여부 "/>
- <Column id="cartgubn" type="STRING" size="256" sumtext=" Cart구분(O:수술,A:마취) "/>
- <Column id="anstkind" type="STRING" size="256" sumtext=" 마취종류(코드정의서 M0017 참조) "/>
- <Column id="anstageflag" type="STRING" size="256" sumtext=" 수술마취나이구분(코드 M0246 참조) "/>
- <Column id="callflag" type="STRING" size="256" sumtext="호출구분(CCDS:카트물픔등록 페이지)"/>
- <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
- <Column id="refnm" type="STRING" size="256" sumtext="검색명"/>
- <Column id="condflag" type="STRING" size="256" sumtext="한글영문구분"/>
- <Column id="opuseflag" type="STRING" size="256" sumtext="수술명사용구분"/>
- <Column id="opnm" type="STRING" size="256" sumtext="수술명사용구분"/>
- <Column id="cartgoodseq" type="STRING" size="256"/>
- <Column id="oprsrvno" type="STRING" size="256"/>
- <Column id="selectflag" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="oproomcd" type="STRING" size="256"/>
- <Column id="menuparam" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="grupcd" type="STRING" size="256"/>
- <Column id="purcflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_Wk1802_codelists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="datacd" type="STRING" size="256" sumtext="진료과,집도의,CART 코드"/>
- <Column id="datanm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
- <Column id="opengnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
- <Column id="ophngnm" type="STRING" size="256" sumtext="진료과,집도의,CART 명칭"/>
- <Column id="ucnt" type="STRING" size="256" sumtext="CART 사용건수 "/>
- <Column id="ncnt" type="STRING" size="256" sumtext="CART 미사용건수 "/>
- <Column id="tcnt" type="STRING" size="256" sumtext="총건수 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_Wk1802_MnphcagoLists_mnphcagolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodengnm" type="STRING" size="256" sumtext=" 01 물품명 "/>
- <Column id="makernm" type="STRING" size="256" sumtext=" 02 제조원 "/>
- <Column id="goodqty" type="STRING" size="256" sumtext=" 03 수량 "/>
- <Column id="ccrtno" type="STRING" size="256" sumtext=" 04 Cart No "/>
- <Column id="cartgoodseq" type="STRING" size="256" sumtext=" 05 물품순번 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext=" 07 물품코드 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext=" 08 Size 코드 "/>
- <Column id="payflagcd" type="STRING" size="256" sumtext=" 09 급여구분 "/>
- <Column id="goodcls" type="STRING" size="256" sumtext=" 10 물품(처치)구분 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext=" 11 Size내역 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext=" 12 물품모델 "/>
- <Column id="deliveunit" type="STRING" size="256" sumtext=" 13 물품단위 "/>
- <Column id="prcpunit" type="STRING" size="256" sumtext=" 14 처방단위 "/>
- <Column id="fromdd" type="STRING" size="256" sumtext=" 15 시작일자 "/>
- <Column id="todd" type="STRING" size="256" sumtext=" 16 종료일자 "/>
- <Column id="fcheck" type="STRING" size="256" sumtext=" 17 Check Flag "/>
- <Column id="recstat" type="STRING" size="256" sumtext=" 18 Record 구분 "/>
- <Column id="custnm" type="STRING" size="256" sumtext=" 19 제조원 "/>
- <Column id="useflag" type="STRING" size="256" sumtext=" 20 사용구분 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext=" 21 물품구분 "/>
- <Column id="prcpclscd" type="STRING" size="256" sumtext=" 22 처방분류 "/>
- <Column id="drugmthdspccd" type="STRING" size="256" sumtext=" 23 투여방법 및 검체코드 "/>
- <Column id="stocqty" type="STRING" size="256" sumtext=" 24 해당 수술방의 실재고 "/>
- <Column id="acmlbaseqty" type="STRING" size="256" sumtext=" 25 물품 기준수량 "/>
- <Column id="reqmthd" type="STRING" size="256" sumtext=" 26 청구방법 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext=" 27 구매구분 "/>
- <Column id="calculyn" type="STRING" size="256" sumtext=" 28 산정여부 "/>
- <Column id="insuyn" type="STRING" size="256" sumtext=" 29 수가여부"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext=" 30 수가코드"/>
- <Column id="grupcd" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
- <Column id="cartgubn" type="STRING" size="256" sumtext=" 31 그룹코드 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_Wk1802_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ccrtno" type="STRING" size="256"/>
- <Column id="useflag" type="STRING" size="256"/>
- <Column id="qryflag" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cartgubn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_opanstxp -> SPMNP01805
- * Creator : yjh
- * Make Date : 2016-06-22
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-06-22 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_opanstxp::SPMNP01805.xjs"; //yjh : 커밋
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP01805
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNP01805_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP01805
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNP01805_onload(obj:Form, e:LoadEventInfo)
- {
- ds_init_Wk1802_cond.setColumn(0, "useflag", "A");
- ds_init_Wk1802_cond.setColumn(0, "qryflag", "1");
-
- fInit();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_good
- * Event : onheadclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 체크박스 클릭시
- ****************************************************************************************/
- function grp_cartmain_grd_good_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- switch( e.col ){
- case 0 :
- if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
- obj.setCellProperty("Head", e.col, "expr", "1");
-
- grdf_setGridCheckAll(obj, e);
- }else{
- obj.setCellProperty("Head", e.col, "expr", "0");
-
- grdf_setGridCheckAll(obj, e);
- }
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_MnphcagoLists_mnphcagolist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_MnphcagoLists_mnphcagolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "fcheck" :
- if( e.newvalue == "0" ){
- grp_cartmain.grd_good.setCellProperty("Head", 0, "expr", "0");
- }
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_useyn
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function grp_cartmain_group2_chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- fRemoveNode(1);
- fRemoveNode(2);
- fRemoveNode(3);
-
- ds_init_Wk1802_cond.setColumn(0, "qryflag", "2");
-
- fMnpmcartData_Read(1, grp_cartmain.group2.grd_perfid, ds_init_Wk1802_cond.getColumn(0, "orddeptcd"));
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_perfid
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_cartmain_group2_grd_perfid_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fRemoveNode(2);
- fRemoveNode(3);
-
- ds_init_Wk1802_cond.setColumn(0, "qryflag", "3");
- fMnpmcartData_Read(2, grp_cartmain.group2.grd_ccrtno, ds_init_Wk1802_cond.getColumn(0, "orddeptcd"), ds_main_MnpmcartList_perfid_codelist.getColumn(ds_main_MnpmcartList_perfid_codelist.rowposition, "datacd"));
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_ccrtno
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_cartmain_group2_grd_ccrtno_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fRemoveNode(3);
- ds_init_Wk1802_cond.setColumn(0, "ccrtno", ds_main_MnpmcartList_ccrtno_codelist.getColumn(ds_main_MnpmcartList_ccrtno_codelist.rowposition, "datacd"));
- fMnphcagoRead(0, grp_cartmain.grd_good, ds_init_Wk1802_cond.getColumn(0, "ccrtno"), "");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button12
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function grp_cartmain_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if( grp_cartmain.grd_good.rowcount > 0 ){
- grdf_exportExcel(grp_cartmain.grd_good, "Cart복사물품리스트", "Cart복사물품리스트", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : bbt_append2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 추가버튼 클릭시
- ****************************************************************************************/
- function grp_cartmain_bbt_append2_onclick(obj:Button, e:ClickEventInfo)
- {
- fCopyGood();
- }
- ]]></Script>
- </Form>
- </FDL>
|