123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNP00361" position="absolute 0 0 1000 849" titletext="수술간호기록 장비등록 관리" oninit="SPMNP00361_oninit" onload="SPMNP00361_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 590 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="수술간호기록 장비등록 관리" position="absolute 0 0 202 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group2" taborder="1" class="div_SA" position="absolute 0 25 1000 60" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" position="absolute 928 7 934 29" anchor="top right"/>
- <Edit id="ipt_equipsrc" taborder="3" position="absolute 71 8 191 28" onkeydown="group2_ipt_equipsrc_onkeydown"/>
- <Edit id="ipt_equipcode" taborder="4" position="absolute 285 8 405 28" onkeydown="group2_ipt_equipcode_onkeydown"/>
- <Static id="caption3" text="자산명 :" class="search_name" position="absolute 9 8 67 28"/>
- <Static id="caption00" text="자산코드 :" class="search_name" position="absolute 209 10 289 30"/>
- <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 938 8 994 28" anchor="top right" onclick="group2_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_equiplist" taborder="3" binddataset="ds_main_list_chklist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 360 1000 849" anchor="all" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="219"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="장비코드"/>
- <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="최종 변경일"/>
- <Cell col="12" text="lastupdtrid"/>
- <Cell col="13" text="cdgrupid"/>
- <Cell col="14" text="기타"/>
- </Band>
- <Band id="body">
- <Cell/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center;" text="bind:wongayn" combodataset="ds_init_M0769list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" text="bind:eqid"/>
- <Cell col="3" text="bind:fixasetcd"/>
- <Cell col="4" edittype="expr:fixasetcd == null || fixasetcd == "" ? "text" : """ style="align:left;" text="bind:goodflaghngnm"/>
- <Cell col="5" edittype="expr:fixasetcd == null || fixasetcd == "" ? "text" : """ style="align:left;" text="bind:goodflagengnm"/>
- <Cell col="6" displaytype="text" edittype="expr:fixasetcd == null || fixasetcd == "" ? "text" : """ text="bind:goodmodel"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:sortseq"/>
- <Cell col="8" text="bind:installplcenm"/>
- <Cell col="9" displaytype="combo" edittype="combo" style="align:center;" text="bind:oproomcd" combodataset="ds_init_installplcelist_installplceinfo" combocodecol="oproomcd" combodatacol="oproomnm" combodisplayrowcount="-1"/>
- <Cell col="10" text="bind:lastupdtrnm"/>
- <Cell col="11" text="bind:lastupdtdt" mask="yyyy-mm-dd"/>
- <Cell col="12" text="bind:lastupdtrid"/>
- <Cell col="13" text="bind:cdgrupid"/>
- <Cell col="14" edittype="text" text="bind:rmk1"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line15" class="line_10" position="absolute 0 354 1000 363" anchor="left top right"/>
- <Static id="caption20" text="수술 장비 및 기구 목록" class="tit_2" position="absolute 0 339 172 355"/>
- <Button id="button8" taborder="4" text="행추가" onclick="group3_button8_onclick" class="btn2" position="absolute 162 335 215 355"/>
- <Button id="button9" taborder="5" text="행삭제" onclick="group3_button9_onclick" class="btn2" position="absolute 217 335 270 355"/>
- <Button id="button2" taborder="7" text="저장" onclick="button2_onclick" class="btn4" position="absolute 944 335 1000 355" anchor="top right"/>
- <Grid id="Grid_jasan" taborder="8" useinputpanel="false" position="absolute 0 83 1000 332" autofittype="col" binddataset="ds_temp_equiplist_equipinfo" oncelldblclick="Grid_jasan_oncelldblclick" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="75"/>
- <Column size="75"/>
- </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" text="규격"/>
- <Cell col="4" text="모델"/>
- <Cell col="5" text="사용부서"/>
- <Cell col="6" text="제조원"/>
- </Band>
- <Band id="body">
- <Cell text="bind:fixasetcd"/>
- <Cell col="1" style="align:left middle;" text="bind:goodflaghngnm" tooltiptext="bind:goodflaghngnm"/>
- <Cell col="2" style="align:left middle;" text="bind:goodflagengnm" tooltiptext="bind:goodflagengnm"/>
- <Cell col="3" style="align:left;" text="bind:goodspec" tooltiptext="bind:goodspec"/>
- <Cell col="4" style="align:left;" text="bind:goodmodel"/>
- <Cell col="5" text="bind:installplcenm"/>
- <Cell col="6" text="bind:prodcmpynm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption00" text="자산 목록" class="tit_2" position="absolute 0 62 96 78"/>
- <Shape id="line00" class="line_10" position="absolute 0 77 1000 86" anchor="left top right"/>
- <Static id="caption24" text="※ 장비 목록에 추가를 위하여 더블 클릭 해주세요." position="absolute 83 60 400 80"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_chklist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" sumtext="기관코드" size="256"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="생성일자"/>
- <Column id="eqmodel" type="STRING" size="256" sumtext="사용자입력 모델"/>
- <Column id="eqid" type="STRING" size="256" sumtext="생성순번 및 장비코드"/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산번호"/>
- <Column id="eqennm" type="STRING" size="256" sumtext="지정 장비명 영어"/>
- <Column id="eqhnnm" type="STRING" size="256" sumtext="지정 장비명 한글"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방 코드"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제여부"/>
- <Column id="wongayn" type="STRING" size="256" sumtext="원가장비여부"/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="장비명 한글"/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="장비명 영어"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="사용부서"/>
- <Column id="rmk1" type="STRING" size="256" sumtext="기타"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_equiplist_equipinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산코드"/>
- <Column id="fixasetnm" type="STRING" size="256" sumtext="자산명"/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산명(한글)"/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="자산명(영문)"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="mngtno" type="STRING" size="256" sumtext="S/N"/>
- <Column id="mngtdeptnm" type="STRING" size="256" sumtext="사용부서"/>
- <Column id="mngtgrade" type="STRING" size="256" sumtext="관리등급"/>
- <Column id="oldcd" type="STRING" size="256" sumtext="구코드"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
- <Column id="suplplcenm" type="STRING" size="256" sumtext="거래처"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조원"/>
- <Column id="prodplce" type="STRING" size="256" sumtext="제조국"/>
- <Column id="possndd" type="STRING" size="256" sumtext="취득일자"/>
- <Column id="goodmodel" 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="cdgrupid" type="STRING" size="256" sumtext="cdgrupid"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="oproomcd"/>
- <Column id="goodflagnm" type="STRING" size="256" sumtext="자산명 검색"/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산코드 검색"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_installplcelist_installplceinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방 코드"/>
- <Column id="oproomnm" type="STRING" size="256" sumtext="수술방 이름"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_listdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" sumtext="기관코드" size="256"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="생성일자"/>
- <Column id="eqmodel" type="STRING" size="256" sumtext="사용자입력 모델"/>
- <Column id="eqid" type="STRING" size="256" sumtext="생성순번 및 장비코드"/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산번호"/>
- <Column id="eqennm" type="STRING" size="256" sumtext="지정 장비명 영어"/>
- <Column id="eqhnnm" type="STRING" size="256" sumtext="지정 장비명 한글"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방 코드"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제여부"/>
- <Column id="wongayn" type="STRING" size="256" sumtext="원가장비여부"/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="장비명 한글"/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="장비명 영어"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="사용부서"/>
- <Column id="rmk1" type="STRING" size="256" sumtext="기타"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="equipnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_list_chklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" sumtext="기관코드" size="256"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="생성일자"/>
- <Column id="genrno" type="STRING" size="256" sumtext="생성순번 및 장비코드"/>
- <Column id="fixasetcd" type="STRING" size="256" sumtext="자산번호"/>
- <Column id="eqid" type="STRING" size="256" sumtext="장비명 코드"/>
- <Column id="eqnm" type="STRING" size="256" sumtext="지정 장비명"/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술방 코드"/>
- <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
- <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제여부"/>
- <Column id="wongayn" type="STRING" size="256" sumtext="원가장비여부"/>
- <Column id="goodflaghngnm" type="STRING" size="256" sumtext="장비명 한글"/>
- <Column id="goodflagengnm" type="STRING" size="256" sumtext="장비명 영어"/>
- <Column id="installplcenm" type="STRING" size="256" sumtext="사용부서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0769list" 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>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_equipcode" propid="value" datasetid="ds_send" columnid="fixasetcd"/>
- <BindItem id="item1" compid="group2.ipt_equipsrc" propid="value" datasetid="ds_send" columnid="goodflagnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_opanstxp -> SPMNP00361
- * Creator : yjh
- * Make Date : 2016-07-21
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-07-21 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fInitialize()
- {
- grdf_setRowTypeIcon(grd_equiplist, 0);
-
- fOprationRoomcode();//수술방 코드 조회
- fJasanSearch();// 자산 목록 조회
- fJangbiSearch();//장비 목록 조회
-
- //ds_init_installplcelist_installplceinfo.insertRow(0);
- ds_main_list_chklist.rowposition = -1;
-
- //그리드 정렬기능 추가
- grdf_setGridSort(grd_equiplist);
- grdf_setGridSort(Grid_jasan);
-
-
- //공통코드 셋팅(원가, 일반)
- appf_getCodeList([{dsNm: "ds_init_M0769list", cdGrpId: "M0769"}], false);
- }
- //수술방 코드 조회
- function fOprationRoomcode()
- {
- var oParam = {};
- oParam.id = "TRMNP00370";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetOpRoomLst";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_installplcelist_installplceinfo=installplceinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP00370";
- tranf_submit(oParam); // 수술방
- }
- //장비 목록 조회
- function fJangbiSearch()
- {
- var oParam = {};
- oParam.id = "TRMNP00361";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetOpNrecEquipList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_chklist=chklist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP00361";
- tranf_submit(oParam); // 장비목록
- }
- //자산 목록 조회
- function fJasanSearch()
- {
- var oParam = {};
- oParam.id = "TRMNP00371";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqGetOpRecEquiplist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_equiplist_equipinfo=equipinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNP00371";
- tranf_submit(oParam); // 자산목록.
- }
- function fClickDeleteBtn(){
- var selectedRows = grdf_getSelectedRows(grd_equiplist);
- if(selectedRows.length < 0){
- return;
- }
-
- var arrPostion = new Array();
- var index = 0;
-
- for(var i = selectedRows.length - 1; i >= 0; i--) {
- var iRow = selectedRows[i];
-
- var status = ds_main_list_chklist.getRowType(iRow);
- if(status == 2){
- ds_main_list_chklist.deleteRow(iRow);
- }else{
- arrPostion[index++] = iRow;
- }
- }
- if(arrPostion.length > 0)
- grdf_setStatus(grd_equiplist, "d", arrPostion);
- }
- function fClickRowAddBtn(){
-
- var nRow = ds_main_list_chklist.addRow(); // 입력할 행 추가.
-
- //장비 추가시 원가값 기본 입력
- ds_main_list_chklist.setColumn(nRow, "wongayn", "N");
- grd_equiplist.setCellPos(1);
- grd_equiplist.setFocus();
- }
- function fOnClickSaveBtn()
- {
- var oDsUpdate = grdf_getGridUpdateData(grd_equiplist);
- if( oDsUpdate.rowcount < 1 ) {
- sysf_messageBox("입력","E013"); // 그리드에 데이터가 업데이트 되지 않으면 "입력된 데이터가 없습니다."는 메시지 출력
- return ;
- }
-
- grdf_setStatusColumn(oDsUpdate, "status"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
- ds_send_listdata.copyData(oDsUpdate, true);
-
- for(var iIndex = 0 ; iIndex < ds_send_listdata.rowcount ; iIndex++)
- {
- //수술방 미입력시 알림 처리
- if(utlf_isNull(ds_send_listdata.getColumn(iIndex, "oproomcd")))
- {
- sysf_messageBox("수술방을 입력하십시오.", "C999")
- return;
- }
-
- if(ds_send_listdata.getColumn(iIndex, "status") == "i")
- {
- //수술방 미입력시 알림 처리
- if(utlf_isNull(ds_send_listdata.getColumn(iIndex, "goodflagengnm")))
- {
- sysf_messageBox("자산명(영어)는 필수 입력 항목입니다.", "C999")
- return;
- }
-
-
- //status가 i인(추가되는 항목) 항목에 대하여 동일 자산코드를 동일 수술방에 저장할 경우 알림 처리
- ds_temp_list_chklist.copyData(ds_main_list_chklist);
- var varCondition = "fixasetcd == '" + ds_send_listdata.getColumn(iIndex, "fixasetcd")
- + "' && oproomcd == '" + ds_send_listdata.getColumn(iIndex, "oproomcd") + "'";
- ds_temp_list_chklist.filter(varCondition);
-
- if(ds_temp_list_chklist.rowcount > 1)
- {
- sysf_messageBox("수술방에 동일 장비 및 기구가 존재합니다.", "C999")
-
- return;
- }
-
-
- //자산번호가 없는 경우 명칭 및 모델을 사용자 명칭 및 모델에 입력
- if(utlf_isNull(ds_send_listdata.getColumn(iIndex, "fixasetcd")))
- {
- ds_send_listdata.setColumn(iIndex, "eqennm", ds_send_listdata.getColumn(iIndex, "goodflagengnm"));
- ds_send_listdata.setColumn(iIndex, "eqhnnm", ds_send_listdata.getColumn(iIndex, "goodflaghngnm"));
- ds_send_listdata.setColumn(iIndex, "eqmodel", ds_send_listdata.getColumn(iIndex, "goodmodel"));
- }
- }
-
- }
-
- var oParam = {};
- oParam.id = "TXMNP00361";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqSetOpNrecEquipList";
- oParam.inds = "listdata=ds_send_listdata";
- oParam.outds = "ds_main_list_chklist=chklist";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00361";
- tranf_submit(oParam);
-
- if( arErrorCode.pop("TXMNP00361") > -1 ){
- ds_send_listdata.clearData();
- }
-
- fJangbiSearch();//장비 목록 조회
- }
- function cf_TXMNP00361(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP00361
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNP00361_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNP00361
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNP00361_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button8
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행추가버튼 클릭시
- ****************************************************************************************/
- function group3_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickRowAddBtn();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button9
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행삭제버튼 클릭시
- ****************************************************************************************/
- function group3_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickDeleteBtn();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fOnClickSaveBtn();
- }
- function Grid_jasan_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fClickRowAddBtn();
- var add_row = ds_main_list_chklist.rowcount;
- var cur_row = Grid_jasan.currentrow;
- ds_main_list_chklist.setColumn(add_row-1, "fixasetcd", ds_temp_equiplist_equipinfo.getColumn(cur_row, "fixasetcd"));
- ds_main_list_chklist.setColumn(add_row-1, "goodflaghngnm", ds_temp_equiplist_equipinfo.getColumn(cur_row, "goodflaghngnm"));
- ds_main_list_chklist.setColumn(add_row-1, "goodflagengnm", ds_temp_equiplist_equipinfo.getColumn(cur_row, "goodflagengnm"));
- ds_main_list_chklist.setColumn(add_row-1, "goodmodel", ds_temp_equiplist_equipinfo.getColumn(cur_row, "goodmodel"));
- ds_main_list_chklist.setColumn(add_row-1, "installplcenm", ds_temp_equiplist_equipinfo.getColumn(cur_row, "installplcenm"));
- }
- function group2_ipt_equipsrc_onkeydown(obj:Edit, e:KeyEventInfo)
- {
-
- }
- function group2_ipt_equipcode_onkeydown(obj:Edit, e:KeyEventInfo)
- {
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전체 조회버튼 클릭시
- ****************************************************************************************/
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fJasanSearch();//자산 목록 조회
- fJangbiSearch();//장비 목록 조회
- }
- ]]></Script>
- </Form>
- </FDL>
|