123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMR04000" position="absolute 0 0 1230 815" titletext="연명진료대상" oninit="SPMRI09000_oninit" onload="SPMRI09000_onload">
- <Layouts>
- <Layout>
- <Div id="roundrect1" type="roundrectangle" position="absolute 0 25 1230 60" class="div_SA" anchor="left top right"/>
- <Static text="연명진료대상" position="absolute 0 0 118 25" id="caption6" class="tit_1"/>
- <Shape position="absolute 0 62 1230 68" linetype="horizontal" id="line12" class="line_10" anchor="left top right"/>
- <Combo position="absolute 636 35 758 54" id="cmb_orddeptcd" class="combo_search" innerdataset="@ds_init_orddept_dept" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_orddeptcd_onitemchanged" taborder="5" visible="true"/>
- <Button position="absolute 1161 32 1217 54" id="btn_excel" class="btn7" text="엑셀" onclick="btn_excel_onclick" taborder="6" anchor="top right"/>
- <Static text="진료부서" position="absolute 557 37 622 54" id="caption3" class="search_name" visible="true"/>
- <Button position="absolute 1103 32 1159 54" id="button1" class="btn1" text="조회" onclick="button1_onclick" taborder="7" anchor="top right"/>
- <Grid id="grd_list" taborder="8" binddataset="ds_main_list" useinputpanel="false" selecttype="multirow" oncelldblclick="grd_list_oncelldblclick" position="absolute 0 67 1230 815" cellsizebandtype="allband" cellsizingtype="col" oncellclick="grd_list_oncellclick" onrbuttondown="grd_list_onrbuttondown" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="64"/>
- <Column size="59"/>
- <Column size="39"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="106"/>
- <Column size="84"/>
- <Column size="108"/>
- <Column size="136"/>
- <Column size="186"/>
- <Column size="93"/>
- <Column size="117"/>
- <Column size="95"/>
- <Column size="137"/>
- <Column size="117"/>
- <Column size="80"/>
- <Column size="128"/>
- <Column size="61"/>
- <Column size="96"/>
- <Column size="125"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </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="cretno"/>
- <Cell col="7" text="주민번호"/>
- <Cell col="8" text="진료일"/>
- <Cell col="9" text="등록서식(국가)"/>
- <Cell col="10" text="처방정보"/>
- <Cell col="11" text="OCR서식"/>
- <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="OCR번호"/>
- <Cell col="22" text="cretno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" style="align:left;" text="bind:hngnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:orddd"/>
- <Cell col="5" text="bind:fromdd"/>
- <Cell col="6" text="bind:cretno"/>
- <Cell col="7" style="align:left;" text="bind:rrgstno"/>
- <Cell col="8" text="bind:orddd" mask="####-##-##"/>
- <Cell col="9" displaytype="combo" style="align:center;color:blue;" text="bind:doccode" combodataset="ds_doctype" combocodecol="value" combodatacol="label"/>
- <Cell col="10" style="align:left;" text="bind:ordlist"/>
- <Cell col="11" style="align:left;" text="bind:formnm"/>
- <Cell col="12" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="13" style="align:left;" text="bind:bigo"/>
- <Cell col="14" style="align:left;" text="bind:ward"/>
- <Cell col="15" text="bind:fstprntdt" mask="####-##-## ##:##:##"/>
- <Cell col="16" style="align:left;" text="bind:fstprntdept"/>
- <Cell col="17" text="bind:fstprntnm"/>
- <Cell col="18" text="bind:updtdt" mask="####-##-## ##:##:##"/>
- <Cell col="19" text="bind:scanyn"/>
- <Cell col="20" text="bind:pdano"/>
- <Cell col="21" style="align:left;" text="bind:ocrtag"/>
- <Cell col="22" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption00" text="등록번호" class="search_name" position="absolute 342 37 407 54"/>
- <Edit id="Edit00" taborder="9" position="absolute 417 35 517 55" autoselect="true"/>
- <Static id="caption01" text="반납확인일" class="search_name" position="absolute 6 37 100 54"/>
- <Calendar id="ipt_infromdd" taborder="10" class="input_essential" position="absolute 108 35 201 54" mask="yyyy-mm-dd" autoselect="true"/>
- <Calendar id="ipt_intodd" taborder="11" class="input_essential" position="absolute 209 35 302 54" mask="yyyy-mm-dd" autoselect="true"/>
- <Button id="btn_new" taborder="12" text="신규" class="btn4" position="absolute 935 33 991 55" onclick="btn_new_onclick" visible="false"/>
- <PopupMenu id="comn_menu" innerdataset="ds_ocrmsrght" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" position="absolute 1232 0 1333 22" onmenuclick="comn_menu_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_ward_icudept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="infromdd" type="STRING" size="256"/>
- <Column id="intodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_initlist_icudept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext=""/>
- <Column id="pid" type="STRING" size="256" sumtext=""/>
- <Column id="hngnm" type="STRING" size="256" sumtext=""/>
- <Column id="sex" type="STRING" size="256" sumtext=""/>
- <Column id="age" type="STRING" size="256" sumtext=""/>
- <Column id="fstprntdt" type="STRING" size="256" sumtext=""/>
- <Column id="fstprntdept" type="STRING" size="256" sumtext=""/>
- <Column id="fstprntnm" type="STRING" size="256"/>
- <Column id="pdano" type="STRING" size="256"/>
- <Column id="formnm" type="STRING" size="256"/>
- <Column id="rgstyn" type="STRING" size="256" sumtext="등록여부"/>
- <Column id="scanyn" type="STRING" size="256"/>
- <Column id="updtdt" type="STRING" size="256"/>
- <Column id="ocrtag" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="jinyn" type="STRING" size="256"/>
- <Column id="doccode" type="STRING" size="256"/>
- <Column id="docsn" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="ordlist" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_doctype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">계획서</Col>
- <Col id="value">01</Col>
- </Row>
- <Row>
- <Col id="label">의향서</Col>
- <Col id="value">02</Col>
- </Row>
- <Row>
- <Col id="label">이행서</Col>
- <Col id="value">07</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_ocrmsrght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcd">lf_RecViewPrint</Col>
- <Col id="hardcdnm">기록보기</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="docucd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
- <Column id="treatno" type="STRING" size="256" sumtext="TREAT번호"/>
- <Column id="cmc_cretno" type="STRING" size="256" sumtext="EMR연동_원무순번"/>
- <Column id="cmc_spcid" type="STRING" size="256" sumtext="CDIS연동_기관코드"/>
- <Column id="cmc_orddate" type="STRING" size="256" sumtext="CDIS연동_검사일"/>
- <Column id="cmc_orderseqno" type="STRING" size="256" sumtext="CDIS연동_처방번호"/>
- <Column id="ocmnum" type="STRING" size="256" sumtext="진단서키값"/>
- <Column id="pageno" type="STRING" size="256" sumtext="진단서키값"/>
- <Column id="instcd" type="STRING" size="256" sumtext="병원구분"/>
- <Column id="ocrcode" type="STRING" size="256" sumtext="ocrtag"/>
- <Column id="screenid" type="STRING" size="256" sumtext="openerscreenid"/>
- <Column id="itemindxseq" type="STRING" size="256" sumtext="itemindxseq"/>
- <Column id="hardcdno" type="STRING" size="256" sumtext="hardcdno"/>
- <!--
- <Column id="dtpube" type="STRING" size="256" sumtext="시행일"/>
- <Column id="dtpuen" type="STRING" size="256" sumtext="시행일"/>
- <Column id="puclcd" type="STRING" size="256" sumtext="시행과코드"/>
- <Column id="teno" type="STRING" size="256" sumtext="검사번호"/>
- <Colmn id="rcvno" type="STRING" size="256" sumtext="접수번호"/>
- -->
- <Column id="ocrcodes" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item4" compid="cmb_orddeptcd" propid="value" datasetid="ds_cond" columnid="orddept"/>
- <BindItem id="item0" compid="Edit00" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item5" compid="ipt_infromdd" propid="value" datasetid="ds_cond" columnid="infromdd"/>
- <BindItem id="item6" compid="ipt_intodd" propid="value" datasetid="ds_cond" columnid="intodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_anstrecxp -> SMMMR04000
- * Creator : yjh
- * Make Date : 2016-10-31
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-31 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMR04000
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMRI09000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
-
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMR04000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMRI09000_onload(obj:Form, e:LoadEventInfo)
- {
- fIni();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_list
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_list.rowposition;
-
- var pid = ds_main_list.getColumn(row,"pid");
- var orddd = ds_main_list.getColumn(row,"orddd");
- var cretno = ds_main_list.getColumn(row,"cretno");
- var hngnm = ds_main_list.getColumn(row,"hngnm");
-
- frmf_setParameter("SPMRI09001_param_pid", pid);
- frmf_setParameter("SPMRI09001_param_orddd", orddd);
- frmf_setParameter("SPMRI09001_param_cretno", cretno);
- frmf_setParameter("SPMRI09001_param_hngnm", hngnm);
- frmf_setParameter("SPMRI09001_param_edityn", "Y");
- frmf_setParameter("SPMRI09001_param_jinyn", "Y");
-
-
- frmf_modal("SPMRI09001", "SPMRI09001", null, null, null, null, null, null, null, null, null, null, "M");
- //fSearch();
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : ipt_reqstnddd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 달력 값 변경시
- ****************************************************************************************/
- function ipt_reqstnddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_cond.setColumn(0, "stnddd", ds_cond.getColumn(0, "stnddd"));
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : ipt_reqenddd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 달력 값 변경시
- ****************************************************************************************/
- function ipt_reqenddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_cond.setColumn(0, "enddd", ds_cond.getColumn(0, "enddd"));
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_term
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function cmb_term_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var date2 = ipt_reqenddd.value;
- var term = cmb_term.value;
- ipt_reqstnddd.value = (date2+"").toDate().getAddDate(-term, "D").getDateFormat("YYYYMMDD");
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_icu
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function cmb_icu_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_cond.setColumn(0, "ward", ds_cond.getColumn(0, "ward"));
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_orddeptcd
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_cond.setColumn(0, "orddept", ds_cond.getColumn(0, "orddept"));
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( grd_list.rowcount > 0 ){
- grdf_exportExcel(grd_list, "YEON", "YEON", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
-
-
- }
- function fSearch()
- {
- var oParam = {};
- oParam.id = "SPMRI09002_1";
- oParam.service = "recmngtapp.IntegrityRec";
- oParam.method = "reqGetYeonOCRList";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_main_list=list";
- oParam.async = false;
- //oParam.callback = "cf_TRMMR04001";
- tranf_submit(oParam);
- }
- function fIni()
- {
-
- grdf_initGrid(grd_list);
-
- var vNowDD = utlf_getCurrentDate();
-
- ds_cond.setColumn(0, "infromdd", vNowDD.toDate().getAddDate(-1, "M").getDateFormat());
- ds_cond.setColumn(0, "intodd", vNowDD);
-
- lf_mmbfGetDeptCodeComboList(ds_init_orddept_dept, "A", vNowDD);
- frmf_addComboItem("cmb_orddeptcd", "전체", "-", "above");
- cmb_orddeptcd.index = 0;
-
-
-
- }
- function btn_new_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SPMRI09001_param_pid", "");
- frmf_setParameter("SPMRI09001_param_hngnm", "");
- frmf_setParameter("SPMRI09001_param_edityn", "Y");
- frmf_setParameter("SPMRI09001_param_newyn", "Y");
- frmf_modal("SPMRI09001", "SPMRI09001", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col != obj.getBindCellIndex("body", "doccode")) return;
-
- var row = e.row;
- var doccode = ds_main_list.getColumn(row, "doccode");
- var docsn = ds_main_list.getColumn(row, "docsn");
-
- if(utlf_isNull(doccode) || utlf_isNull(docsn)) return;
-
- frmf_setParameter("SPMRI09004_PARAM1", doccode );
- frmf_setParameter("SPMRI09004_PARAM2", docsn );
-
- frmf_modal("SPMRI09004", "SPMRI09004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_list
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 우클릭 이벤트
- ****************************************************************************************/
- function grd_list_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
- if(e.col > -1 && e.row > -1)
- {
- comn_menu.trackPopup(e.screenX,e.screenY);
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : OCR 기록 조회
- ****************************************************************************************/
- function lf_RecViewPrint(){
- var aSelRows = grdf_getSelectedRows(grd_list);
-
- if( aSelRows.length < 1 ){
- return;
- }
- ds_send_iemr.clearData();
- var ocrcodes = null;
- for(var i = 0; i < aSelRows.length; i++){
- var ocrcode = ds_main_list.getColumn(aSelRows[i], "ocrtag");
- if( !utlf_isNull(ocrcode) ){
- if( ocrcodes == null ){
- ocrcodes = ocrcode;
- }else{
- ocrcodes = ocrcodes + "|" + ocrcode;
- }
- }
- }
- if( ocrcodes != null ){
- var nRow = ds_send_iemr.addRow();
- ds_send_iemr.setColumn(nRow, "ocrcodes", ocrcodes);
- }
- var objArg = new Object();
- objArg.arg_ds_hidden_temp = ds_send_iemr;
- frmf_modal("SSMRC03130", "SSMRC03130", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- }
- /****************************************************************************************
- * Components : PopupMenu
- * Components ID : comn_menu
- * Event : onmenuclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 팝업메뉴 실행
- ****************************************************************************************/
- function comn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- ]]></Script>
- </Form>
- </FDL>
|