123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SMAVT00400" position="absolute 0 0 1280 1024" titletext="보관장소 관리" onload="SMAVT00400_onload">
- <Layouts>
- <Layout>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1195 757" style="">
- <Layouts>
- <Layout>
- <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1194 35" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;" />
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default" />
- <Button id="btn_sea" class="btn1_letter2" position="absolute 1125 7 1181 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_sea_onclick" />
- <Static id="caption2" class="search_name" position="absolute 15 9 105 26" style="" text="부위코드 :" />
- <Edit id="ipt_partcd" class="input_search" position="absolute 103 8 173 27" style="" anchor="default" />
- <Static id="caption3" class="search_name" position="absolute 195 9 285 26" style="" text="부 위 명 :" />
- <Edit id="ipt_partnm" class="input_search" position="absolute 280 8 480 27" style="" anchor="default" />
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" class="tit_2" position="absolute 5 55 125 69" style="" text="보관장소 관리" />
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 3 73 1194 76" style="" anchor="default" />
- <Grid id="grd_ptcdlst" binddataset="ds_main_roomlist_item" position="absolute 0 90 1191 740" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- <Column size="138" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="No." />
- <Cell col="1" text="A" />
- <Cell col="2" text="B" />
- <Cell col="3" text="C" />
- <Cell col="4" text="D" />
- <Cell col="5" text="E" />
- <Cell col="6" text="F" />
- <Cell col="7" text="G" />
- <Cell col="8" text="H" />
- </Band>
- <Band id="body">
- <Cell text="bind:no" />
- <Cell col="1" text="bind:a" />
- <Cell col="2" text="bind:b" />
- <Cell col="3" text="bind:c" />
- <Cell col="4" text="bind:d" />
- <Cell col="5" text="bind:e" />
- <Cell col="6" text="bind:f" />
- <Cell col="7" text="bind:g" />
- <Cell col="8" text="bind:h" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 757 1195 784" style="">
- <Layouts>
- <Layout>
- <Button id="btn_save" class="btn4_letter2" position="absolute 1138 5 1194 27" style="" text="저장" onclick="grp_btn_btn_save_onclick" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_tle" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 200 13" style="" text="조직은행 보관장소관리" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="item" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_roomlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="no" type="STRING" size="256" />
- <Column id="a" type="STRING" size="256" />
- <Column id="b" type="STRING" size="256" />
- <Column id="c" type="STRING" size="256" />
- <Column id="d" type="STRING" size="256" />
- <Column id="e" type="STRING" size="256" />
- <Column id="f" type="STRING" size="256" />
- <Column id="g" type="STRING" size="256" />
- <Column id="h" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="no"></Col>
- <Col id="a"></Col>
- <Col id="b"></Col>
- <Col id="c"></Col>
- <Col id="d"></Col>
- <Col id="e"></Col>
- <Col id="f"></Col>
- <Col id="g"></Col>
- <Col id="h"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="savedata" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="savedata"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="combobscdlst" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="combobscdlst"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_roomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchpartcode" type="STRING" size="256" />
- <Column id="srchpartname" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchpartcode"></Col>
- <Col id="srchpartname"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_partcd" propid="value" datasetid="ds_send" columnid="srchpartcode" />
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_partnm" propid="value" datasetid="ds_send" columnid="srchpartname" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- /**
- * 보관장소 리스트 조회
- */
- function fGetRoomList(){
- ds_main_ptcdlst_item.clearData();
- //model.refresh();
- // var ret = submit("TRAVT00401");
- var oParam = {};
- oParam.id = "TRAVT00401";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetTissueBankRoomList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=item";
- oParam.async = false;
- oParam.callback = "cf_TRAVT00401";
- tranf_submit(oParam);
- /*
- function cf_TRAVT00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRAVT00401(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRAVT00401") > -1
- arErrorCode.pop("TRAVT00401") < 0
- */
- return ret;
- }
- /**
- * 부위코드 저장
- */
- function fSaveExer() {
- if( ! getGridUpdateData(grp_biz.grd_ptcdlst) )
- {
- sysf_messageBox( "저장할 내역이", "I004" );
- return ;
- }
- var rsv_cnt = grp_biz.grd_ptcdlst.rows ;
- var sNode = grp_biz.grd_ptcdlst.nodeset+ "[";
- for( var i = 1; i < rsv_cnt ; i++){
- if( model.getValue(sNode + i + "]_partcode" ) == "") {
- sysf_messageBox( "부위코드의 코드값", "E014" );
- return ;
- }
- }
- var ret = false;
- if ( sysf_messageBox("부위코드정보를","Q002")==6 ) {
- ds_send_req.setColumn( 0, "savedata", grp_biz.grd_ptcdlst.getUpdateData());
- // ret = submit("TXAVB00201");
- var oParam = {};
- oParam.id = "TXAVB00201";
- oParam.service = "tissuebankbaseapp.TissueBankPart";
- oParam.method = "reqExePartCode";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=item";
- oParam.async = false;
- oParam.callback = "cf_TXAVB00201";
- tranf_submit(oParam);
- /*
- function cf_TXAVB00201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXAVB00201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXAVB00201") > -1
- arErrorCode.pop("TXAVB00201") < 0
- */
- }
- return ret;
- }
- //스크립트 끝
- function SMAVT00400_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fGetRoomList();
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._ast_tissuebankbaseweb_js_tissuebankcombolist.js'
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
- fGetRoomList();
- }
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- if( fSaveExer() == true ){
- // submit("TRAVB00201");
- var oParam = {};
- oParam.id = "TRAVB00201";
- oParam.service = "tissuebankbaseapp.TissueBankPart";
- oParam.method = "reqGetPtCdList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=item";
- oParam.async = false;
- oParam.callback = "cf_TRAVB00201";
- tranf_submit(oParam);
- /*
- function cf_TRAVB00201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRAVB00201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRAVB00201") > -1
- arErrorCode.pop("TRAVB00201") < 0
- */
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|