123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLF00300" position="absolute 0 0 1259 805" titletext="검체코드관리" onload="SMLLF00300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 122 25" anchor="default" positiontype="position" text="검체코드관리"/>
- <Grid id="grd_spc" taborder="1" useinputpanel="false" position="absolute 0 97 1256 805" anchor="all" binddataset="ds_grid_grd_spc" positiontype="position" autoenter="select" onheadclick="grdf_setEventGrid" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="25"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="180"/>
- <Column size="150"/>
- <Column size="142"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="80"/>
- <Column size="82"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <Cell col="1"/>
- <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="유린검체여부"/>
- <Cell col="13" text="Urine채취시간"/>
- <Cell col="14" text="Urine팝업여부"/>
- <Cell col="15" text="확인코드"/>
- <Cell col="16" text="검체표시순서"/>
- <Cell col="17" text="미생물검체여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" celltype="head" displaytype="image"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:spcfromdd"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:spctodd"/>
- <Cell col="4" style="align:left middle;background:EXPR(spctodd < utlf_getCurrentDate() ? 'darksalmon' : 'default');background2:EXPR(spctodd < utlf_getCurrentDate() ? 'darksalmon' : 'default');" text="bind:spccd"/>
- <Cell col="5" displaytype="text" text="bind:spcnm"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:spcscrnnm" editlimit="50" editlengthunit="utf8"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:spcabbrnm" editlimit="20" editlengthunit="utf8"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:spcprntnm" editlimit="20" editlengthunit="utf8"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:spclblnm" editlimit="10" editlengthunit="utf8"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:spcbasetubecd" editlimit="3" editlengthunit="utf8"/>
- <Cell col="11" displaytype="combo" edittype="combo" text="bind:spckind" combodataset="ds_init_spckind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" displaytype="checkbox" edittype="checkbox" style="align:center;" text="bind:urinspcyn" expr="expr:urinspcyn == 'Y' || urinspcyn =='1' ? '1' : '0'" editlimit="1" editlengthunit="utf8" combodataset="ds_init_checkyn" combocodecol="cd" combodatacol="nm"/>
- <Cell col="13" displaytype="combo" edittype="expr:urinspcyn=="N"?"readonly":"combo"" text="bind:urinextrtm" expr="expr:urinspcyn=="N"?"-":urinextrtm" combodataset="ds_init_lb0010" combocodecol="cd" combodatacol="nm"/>
- <Cell col="14" displaytype="combo" edittype="expr:urinspcyn=="N"?"readonly":"combo"" text="bind:urinpopwndyn" expr="expr:urinspcyn=="N"?"N":urinpopwndyn" editlimit="1" editlengthunit="utf8" combodataset="ds_init_checkyn" combocodecol="cd" combodatacol="nm"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:cnfmcd" editlimit="3" editlengthunit="utf8"/>
- <Cell col="16" displaytype="text" edittype="text" editfilter="number" text="bind:spcdispseq" editlimit="10" editlengthunit="utf8"/>
- <Cell col="17" displaytype="checkbox" edittype="checkbox" text="bind:microspcyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="검체코드상세내역" class="tit_2" position="absolute 0 77 133 97" positiontype="position"/>
- <Div id="grp_sea" taborder="2" position="absolute 0 25 1256 67" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="2" text="검색" class="btn1" position="absolute 1116 10 1172 30" anchor="top right" positiontype="position" onclick="grp_sea_btn_search_onclick"/>
- <Shape id="line11" linetype="vertical" class="line_4" position="absolute 1108 6 1108 28" positiontype="position"/>
- <Shape id="line14" linetype="vertical" class="line_4" position="absolute 273 6 273 28" positiontype="position"/>
- <Static id="caption2" text="조회구분" class="search_name" position="absolute 8 10 82 30" positiontype="position"/>
- <Combo id="cmb_srchflag" taborder="3" class="combo_search" position="absolute 829 10 979 30" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="1" value="2" text="검체명">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">검체코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">검체명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption4" text="검색구분" class="search_name" position="absolute 755 10 829 30" positiontype="position"/>
- <Edit id="ipt_refflag" taborder="4" class="input_search" position="absolute 982 10 1092 30" imemode="hangul" positiontype="position" autoselect="true" autoskip="true"/>
- <Combo id="cmb_refgbn" taborder="5" class="combo_search" position="absolute 82 10 232 30" positiontype="position" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="1" text="사용코드" onitemchanged="grp_sea_cmb_refgbn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">사용코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">전체코드</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_reset" taborder="6" text="초기화" class="btn1" position="absolute 1175 10 1244 30" anchor="top right" positiontype="position" onclick="grp_sea_btn_reset_onclick"/>
- <Button id="btn_inquery" taborder="7" text="조회" class="btn1" position="absolute 256 10 312 30" anchor="top right" onclick="grp_sea_btn_inquery_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel" taborder="3" text="엑셀" class="btn7" position="absolute 1137 74 1197 94" anchor="top right" positiontype="position" onclick="btn_excel_onclick"/>
- <Button id="btn_rowadd" taborder="4" text="행추가" class="btn2" position="absolute 1200 74 1256 94" anchor="top right" positiontype="position" onclick="btn_rowadd_onclick"/>
- <Button id="btn_save" taborder="5" text="저장" class="btn4" position="absolute 1200 0 1256 20" anchor="top right" positiontype="position" onclick="btn_save_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_spc" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="spcfromdd" type="STRING"/>
- <Column id="spctodd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="spcscrnnm" type="STRING"/>
- <Column id="spcabbrnm" type="STRING"/>
- <Column id="spcprntnm" type="STRING"/>
- <Column id="spclblnm" type="STRING"/>
- <Column id="spcbasetubecd" type="STRING"/>
- <Column id="spckind" type="STRING"/>
- <Column id="urinspcyn" type="STRING"/>
- <Column id="urinextrtm" type="STRING"/>
- <Column id="urinpopwndyn" type="STRING"/>
- <Column id="cnfmcd" type="STRING"/>
- <Column id="spcdispseq" type="STRING"/>
- <Column id="microspcyn" type="STRING"/>
- <Column id="checkcolor" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_spckind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">0</Col>
- <Col id="nm">기타검체</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">일반검체</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">미생물검체</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">혈액용량</Col>
- </Row>
- <Row>
- <Col id="cd">4</Col>
- <Col id="nm">방사면역검체</Col>
- </Row>
- <Row>
- <Col id="cd">5</Col>
- <Col id="nm">판독검체(종합검증용)</Col>
- </Row>
- <Row>
- <Col id="cd">6</Col>
- <Col id="nm">조직은행검체</Col>
- </Row>
- <Row>
- <Col id="cd">7</Col>
- <Col id="nm">검사배양검체</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_checkyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">Y</Col>
- <Col id="nm">Y</Col>
- </Row>
- <Row>
- <Col id="cd">N</Col>
- <Col id="nm">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_grd_select" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="spcscrnnm" type="STRING"/>
- <Column id="spcabbrnm" type="STRING"/>
- <Column id="spcprntnm" type="STRING"/>
- <Column id="spclblnm" type="STRING"/>
- <Column id="spckind" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_database_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="able" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_execute" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="able" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="btn_excel" propid="enable" datasetid="ds_print" columnid="able"/>
- <BindItem id="item1" compid="btn_rowadd" propid="enable" datasetid="ds_execute" columnid="able"/>
- <BindItem id="item2" compid="btn_save" propid="enable" datasetid="ds_execute" columnid="able"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLLF00300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- grdf_setRowTypeIcon(grd_spc, 1);
- //조회구분에따라 종료일 숨기기
- lf_setHddentodd()
- //초기화 데이타셋 로딩
- lf_initDataSet()//
- //그리드 Sort
- grdf_setGridSort(grd_spc);
- //검체리스트 조회
- lf_getSpcList();
- lf_menumaster();//메뉴권한
- }
- //종료일 숨김처리
- function lf_setHddentodd(){
- // if(grp_sea.cmb_refgbn.value == "1"){
- // grd_spc.setFormatColProperty(3,"size",0);
- // } else {
- // grd_spc.setFormatColProperty(3,"size",90);
- // }
- lf_getSpcList();
- }
- //초기화데이타 로드
- function lf_initDataSet(){
- lf_getDbDeptcd("0000|0010|","cbf_SMLLF00300");
- }
- //조회버튼 클릭 시 검체 조회
- function lf_getSpcList(){
-
- var sInDsName = dsf_createDsRow("in_ds_search"
- , [{col: "cond1", val: grp_sea.cmb_refgbn.value}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}]);
-
- var oParam = {};
- oParam.id = "TRLLF00301";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetSpcList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_spc=getspc";
- oParam.async = false;
- oParam.callback = "cbf_SMLLF00300";
- tranf_submit(oParam);
- }
- //검색버튼 클릭 시 검체조회
- function lf_getSpcSearch(){
- var sInDsName = dsf_createDsRow("in_ds_search"
- , [{col: "searchgbn", val: grp_sea.cmb_srchflag.value}
- , {col: "searchtext", val: grp_sea.ipt_refflag.value}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}]);
-
- var oParam = {};
- oParam.id = "TRLLF00302";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetSpcListRef";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_spc=getspcref";
- oParam.async = false;
- oParam.callback = "cbf_SMLLF00300";
- tranf_submit(oParam);
- }
- //콜백함수
- function cbf_SMLLF00300(strSvcID, nErrorCode, strErrorMag){
- if(strSvcID == "TXLLF00301" && nErrorCode==0){
- lf_getSpcList();
- sysf_messageBox("","I001","");
- }
- //종료체크
- lf_changeColor();
- }
- //종료된 데이타 색깔 바꾸기
- function lf_changeColor(){
- var i =0;
- var j =0;
- if (ds_grid_grd_spc.rowcount == 0) return;
- var sExpr = "EXPR(checkcolor)";
- //Row색깔 투입
- ds_grid_grd_spc.updatecontrol = false ;
- for(j=0; j < ds_grid_grd_spc.rowcount; j++){
- if (ds_grid_grd_spc.getColumn(j,"spctodd") < utlf_getCurrentDate()) {
- ds_grid_grd_spc.setColumn(j, "checkcolor", "yellow");
- } else {
- ds_grid_grd_spc.setColumn(j, "checkcolor", "default");
- }
- ds_grid_grd_spc.setRowType(j,"1");
- }
- ds_grid_grd_spc.updatecontrol = true ;
- //색깔변경
- for (i=0; i < grd_spc.getCellCount('Head'); i++ ) {
- grd_spc.setCellProperty("Body",i,"background", sExpr);
- grd_spc.setCellProperty("Body",i,"background2", sExpr);
- }
-
- }
- // 그리드 필수값 체크
- function lf_ckeckNull(){
- var nRow =0;
- var sSpcCd ="";
- var bChkValue= frmf_chkMdtGrid(grd_spc,[2,3,4,5,6,7],["사용시작일자","사용종료일자","검체코드","검체명","검체명(화면)","검체명(약어)"]);
- if(bChkValue==true) {
- //핵의학 검체일 경우
- if(lgv_sUserdeptflagcd == "N"){
- for(nRow=0;nRow<ds_grid_grd_spc.rowcount;nRow++){
- if(ds_grid_grd_spc.getRowType(nRow) == Dataset.ROWTYPE_INSERT || ds_grid_grd_spc.getRowType(nRow) == Dataset.ROWTYPE_UPDATE){
- sSpcCd = ds_grid_grd_spc.getColumn(nRow,"spccd");
- if(utlf_mid(sSpcCd,0,1) != "N"){
- sysf_messageBox("방사면역 검체코드는 첫 문자가 N으로 시작해야지만 등록 가능합니다.", "I", "");
- return;
- }
- } }
- //진검 검체일 경우
- } else {
- for(nRow=0;nRow<ds_grid_grd_spc.rowcount;nRow++){
- if(ds_grid_grd_spc.getRowType(nRow) == Dataset.ROWTYPE_INSERT || ds_grid_grd_spc.getRowType(nRow) == Dataset.ROWTYPE_UPDATE){
- sSpcCd = ds_grid_grd_spc.getColumn(nRow,"spccd");
-
- if(utlf_mid(sSpcCd,0,1) == "N"){
- sysf_messageBox("첫 문자가 N인 검체코드는 방사면역에서만 등록 가능합니다.","I", "");
- return;
- }
- }
- }
- }
-
- lf_saveSpcInfo();
- }
- }
- //데이터 저장
- function lf_saveSpcInfo(){
- // 서브밋호출
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "deptflag", val: lgv_sUserdeptflagcd }]);
- var oParam = {};
- oParam.id = "TXLLF00301";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqExeSaveSpcInfo";
- oParam.inds = "splist=ds_grid_grd_spc:U deptflag="+sInDsName;
- oParam.outds = "ds_grid_grd_spc=getspc";
- oParam.async = false;
- oParam.callback = "cbf_SMLLF00300";
- tranf_submit(oParam);
- }
- //진검 사용자별 메뉴권한
- function lf_menumaster(){
- var edit = frmf_checkAuth("X");
- var print = frmf_checkAuth("P");
-
-
- var eRow = ds_execute.addRow();
- var pRow = ds_print.addRow();
-
- if(edit == true){
- ds_execute.setColumn(eRow,"able",true);
- }
- if(print == true){
- ds_print.setColumn(pRow,"able",true);
- }
- }
- function grp_sea_cmb_refgbn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_setHddentodd();
- }
- function grp_sea_btn_inquery_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getSpcList();
- }
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getSpcSearch();
- }
- function grp_sea_btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_sea.cmb_refgbn.index=0;
- grp_sea.cmb_srchflag.index=1;
- grp_sea.ipt_refflag.value="";
- lf_getSpcList();
- }
- function btn_rowadd_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grp_sea.cmb_refgbn.value == "2"){ //전체코드 상태에서 행추가 안됨.
- sysf_messageBox("사용코드 조회상태일 때 행을 추가할 수 있습니다.", "I");
- return;
- }
-
- var nRow =0;
- var nSeq =0;
- var objArg = new Object();
- objArg.sDeptFlag = lgv_sUserdeptflagcd;
- ds_grid_grd_select.clearData();
- frmf_modal("SPLLF10500", "SPLLF10500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- for(var i=0; i < ds_grid_grd_select.rowcount;i++){
- if(ds_grid_grd_select.getColumn(i,"chk")==1){
- nRow = ds_grid_grd_spc.addRow();
- ds_grid_grd_spc.setColumn(nRow,"spcfromdd",utlf_getCurrentDate());
- ds_grid_grd_spc.setColumn(nRow,"spctodd","99991231");
- ds_grid_grd_spc.setColumn(nRow,"spccd",ds_grid_grd_select.getColumn(i,"spccd"));
- ds_grid_grd_spc.setColumn(nRow,"spcnm",ds_grid_grd_select.getColumn(i,"spcnm"));
- ds_grid_grd_spc.setColumn(nRow,"spcscrnnm",ds_grid_grd_select.getColumn(i,"spcscrnnm"));
- ds_grid_grd_spc.setColumn(nRow,"spcabbrnm",ds_grid_grd_select.getColumn(i,"spcabbrnm"));
- ds_grid_grd_spc.setColumn(nRow,"spcprntnm",ds_grid_grd_select.getColumn(i,"spcprntnm"));
- ds_grid_grd_spc.setColumn(nRow,"spclblnm",ds_grid_grd_select.getColumn(i,"spclblnm"));
- ds_grid_grd_spc.setColumn(nRow,"spckind",ds_grid_grd_select.getColumn(i,"spckind"));
- ds_grid_grd_spc.setColumn(nRow,"spcbasetubecd","-");
- ds_grid_grd_spc.setColumn(nRow,"urinspcyn","N");
- ds_grid_grd_spc.setColumn(nRow,"urinextrtm","-");
- ds_grid_grd_spc.setColumn(nRow,"urinpopwndyn","N");
- ds_grid_grd_spc.setColumn(nRow,"microspcyn","N");
- if (ds_grid_grd_spc.rowcount == 0) {
- ds_grid_grd_spc.setColumn(nRow,"spcdispseq",1);
- } else {
- nSeq= parseInt(ds_grid_grd_spc.getColumn(nRow -1, "spcdispseq"))+ 1;
- ds_grid_grd_spc.setColumn(nRow,"spcdispseq",nSeq);
- }
- }
- }
-
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_spc, lf_lisGetTitle(this) + "_" + "검체코드마스터", "마스터");
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_ckeckNull();
- }]]></Script>
- </Form>
- </FDL>
|