123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SPPIE04110" position="absolute 0 0 1211 784" titletext="약가생성내역" onload="SPPIE04110_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_1" position="absolute 0 0 120 14" style="" text="약가 생성 내역" />
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 20 525 55" style="" />
- <Static id="caption4" class="search_name" position="absolute 6 30 105 47" style="" text="분기신고월 :" />
- <Combo innerdataset="ds_init_appyearmnth_appyearmnthlist" datacolumn="appyearmnth" codecolumn="appyearmnth" columncount="-1" rowcount="-1" id="cmb_appyearmnth" class="combo_search" position="absolute 110 29 180 48" style="" onitemchanged="cmb_appyearmnth_onitemchanged" />
- <Static id="caption3" class="search_name" position="absolute 191 30 290 47" style="" text="신청번호 :" />
- <Combo innerdataset="ds_init_appno_appnolist" datacolumn="repttotcnt" codecolumn="appno" columncount="-1" rowcount="-1" id="cmb_appno" class="combo_search" position="absolute 280 28 430 47" style="" />
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 450 27 453 49" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
- <Button id="btn_search" class="btn1_letter2" taborder="13" position="absolute 460 27 516 49" style="" text="조회" onclick="btn_search_onclick" />
- <Static id="caption7" class="tit_2" position="absolute 5 65 110 78" style="" text="약가 목록" />
- <Shape id="line6" class="line_1" linetype="horizontal" position="absolute 0 80 525 83" style="" anchor="default" />
- <Grid id="grd_mchilist" binddataset="ds_main_mchilist" position="absolute 0 85 525 765" style="" oncellclick="grd_mchilist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" />
- <Column size="80" />
- <Column size="0" />
- <Column size="210" />
- <Column size="70" />
- <Column size="120" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="Seq" />
- <Cell col="1" text="수가코드" />
- <Cell col="2" text="EDI코드" />
- <Cell col="3" text="수가명" />
- <Cell col="4" text="보험가" />
- <Cell col="5" text="수가생성일시" />
- </Band>
- <Band id="body">
- <Cell text="bind:insuseq" />
- <Cell col="1" text="bind:calcscorcd" />
- <Cell col="2" text="bind:insuedicd" />
- <Cell col="3" text="bind:hngnm" />
- <Cell col="4" text="bind:insurbpnt" />
- <Cell col="5" text="bind:insudt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="datagrid1" position="absolute 535 10 1195 58" style="">
- <Formats>
- <Format id="default">
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_802" binddataset="ds_main_detail_mchp802" position="absolute 535 85 1195 205" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" />
- <Column size="0" />
- <Column size="0" />
- <Column size="80" />
- <Column size="220" />
- <Column size="75" />
- <Column size="120" />
- <Column size="120" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="Seq" />
- <Cell col="1" text="saveseq" />
- <Cell col="2" text="avgseq" />
- <Cell col="3" text="품목코드" />
- <Cell col="4" text="물품명" />
- <Cell col="5" text="가중평균가" />
- <Cell col="6" text="저장일시" />
- <Cell col="7" text="평균가생성일시" />
- </Band>
- <Band id="body">
- <Cell text="bind:insuseq" />
- <Cell col="1" text="bind:saveseq" />
- <Cell col="2" text="bind:avgseq" />
- <Cell col="3" text="bind:reptcd" />
- <Cell col="4" text="bind:item" />
- <Cell col="5" text="bind:avg" />
- <Cell col="6" text="bind:savedt" />
- <Cell col="7" text="bind:avgdt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 535 80 1195 83" style="" anchor="default" />
- <Static id="caption5" class="tit_2" position="absolute 535 65 700 78" style="" text="의약품 구입 내역 - H802" />
- <Static id="caption6" class="tit_2" position="absolute 535 215 700 228" style="" text="의약품 구입 내역 - H803" />
- <Grid id="grd_803hist" binddataset="ds_main_detail_mchphist" position="absolute 535 235 835 355" style="" oncellclick="grd_803hist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" />
- <Column size="0" />
- <Column size="0" />
- <Column size="127" />
- <Column size="128" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="Seq" />
- <Cell col="1" text="saveseq" />
- <Cell col="2" text="avgseq" />
- <Cell col="3" text="저장일시" />
- <Cell col="4" text="평균가생성일시" />
- </Band>
- <Band id="body">
- <Cell text="bind:insuseq" />
- <Cell col="1" text="bind:saveseq" />
- <Cell col="2" text="bind:avgseq" />
- <Cell col="3" text="bind:savedt" />
- <Cell col="4" text="bind:avgdt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_803" binddataset="ds_main_detail_mchp803" position="absolute 535 354 835 765" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" />
- <Column size="0" />
- <Column size="45" />
- <Column size="70" />
- <Column size="50" />
- <Column size="65" />
- <Column size="55" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="saveseq" />
- <Cell col="1" text="avgseq" />
- <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:saveseq" />
- <Cell col="1" text="bind:avgseq" />
- <Cell col="2" text="bind:lnno" />
- <Cell col="3" text="bind:purcdd" />
- <Cell col="4" text="bind:purcqty" />
- <Cell col="5" text="bind:purctotamt" />
- <Cell col="6" text="bind:purcunitcost" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 535 230 835 233" style="" anchor="default" />
- <Grid id="grd_mishist" binddataset="ds_main_detail_mchmhist" position="absolute 845 235 1195 355" style="" oncellclick="grd_mishist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" />
- <Column size="45" />
- <Column size="0" />
- <Column size="0" />
- <Column size="130" />
- <Column size="130" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="Seq" />
- <Cell col="1" text="구분" />
- <Cell col="2" text="saveseq" />
- <Cell col="3" text="misseq" />
- <Cell col="4" text="저장일시" />
- <Cell col="5" text="MIS조회일시" />
- </Band>
- <Band id="body">
- <Cell text="bind:insuseq" />
- <Cell col="1" text="bind:srcflag" />
- <Cell col="2" text="bind:saveseq" />
- <Cell col="3" text="bind:misseq" />
- <Cell col="4" text="bind:savedt" />
- <Cell col="5" text="bind:misdt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_mis" binddataset="ds_main_detail_mchm" position="absolute 845 354 1195 765" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" />
- <Column size="0" />
- <Column size="50" />
- <Column size="45" />
- <Column size="70" />
- <Column size="50" />
- <Column size="65" />
- <Column size="55" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="saveseq" />
- <Cell col="1" text="misseq" />
- <Cell col="2" text="구분" />
- <Cell col="3" text="줄번호" />
- <Cell col="4" text="구입일" />
- <Cell col="5" text="구입량" />
- <Cell col="6" text="구입총액" />
- <Cell col="7" text="구입단가" />
- </Band>
- <Band id="body">
- <Cell text="bind:saveseq" />
- <Cell col="1" text="bind:misseq" />
- <Cell col="2" text="bind:srcflag" />
- <Cell col="3" text="bind:lnno" />
- <Cell col="4" text="bind:purcdd" />
- <Cell col="5" text="bind:purcqty" />
- <Cell col="6" text="bind:purctotamt" />
- <Cell col="7" text="bind:purcunitcost" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption8" class="tit_2" position="absolute 845 215 1005 228" style="" text="의약품 구입 내역 - MIS" />
- <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 845 230 1195 233" style="" anchor="default" />
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="apdd" type="STRING" size="256" />
- <Column id="appyearmnth" type="STRING" size="256" />
- <Column id="appno" type="STRING" size="256" />
- <Column id="insuedicd" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="apdd"></Col>
- <Col id="appyearmnth"></Col>
- <Col id="appno"></Col>
- <Col id="insuedicd"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail_mchmhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insuseq" type="STRING" size="256" />
- <Column id="srcflag" type="STRING" size="256" />
- <Column id="saveseq" type="STRING" size="256" />
- <Column id="misseq" type="STRING" size="256" />
- <Column id="savedt" type="STRING" size="256" />
- <Column id="misdt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insuseq"></Col>
- <Col id="srcflag"></Col>
- <Col id="saveseq"></Col>
- <Col id="misseq"></Col>
- <Col id="savedt"></Col>
- <Col id="misdt"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail_mchphist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insuseq" type="STRING" size="256" />
- <Column id="saveseq" type="STRING" size="256" />
- <Column id="avgseq" type="STRING" size="256" />
- <Column id="savedt" type="STRING" size="256" />
- <Column id="avgdt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insuseq"></Col>
- <Col id="saveseq"></Col>
- <Col id="avgseq"></Col>
- <Col id="savedt"></Col>
- <Col id="avgdt"></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_main_mchilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insuseq" type="STRING" size="256" />
- <Column id="calcscorcd" type="STRING" size="256" />
- <Column id="insuedicd" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="insurbpnt" type="STRING" size="256" />
- <Column id="insudt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insuseq"></Col>
- <Col id="calcscorcd"></Col>
- <Col id="insuedicd"></Col>
- <Col id="hngnm"></Col>
- <Col id="insurbpnt"></Col>
- <Col id="insudt"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail_mchp802" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insuseq" type="STRING" size="256" />
- <Column id="saveseq" type="STRING" size="256" />
- <Column id="avgseq" type="STRING" size="256" />
- <Column id="reptcd" type="STRING" size="256" />
- <Column id="item" type="STRING" size="256" />
- <Column id="avg" type="STRING" size="256" />
- <Column id="savedt" type="STRING" size="256" />
- <Column id="avgdt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insuseq"></Col>
- <Col id="saveseq"></Col>
- <Col id="avgseq"></Col>
- <Col id="reptcd"></Col>
- <Col id="item"></Col>
- <Col id="avg"></Col>
- <Col id="savedt"></Col>
- <Col id="avgdt"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="mchp801" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="mchp801"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail_mchm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="saveseq" type="STRING" size="256" />
- <Column id="misseq" type="STRING" size="256" />
- <Column id="srcflag" type="STRING" size="256" />
- <Column id="lnno" type="STRING" size="256" />
- <Column id="purcdd" type="STRING" size="256" />
- <Column id="purcqty" type="STRING" size="256" />
- <Column id="purctotamt" type="STRING" size="256" />
- <Column id="purcunitcost" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="saveseq"></Col>
- <Col id="misseq"></Col>
- <Col id="srcflag"></Col>
- <Col id="lnno"></Col>
- <Col id="purcdd"></Col>
- <Col id="purcqty"></Col>
- <Col id="purctotamt"></Col>
- <Col id="purcunitcost"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_detail_mchp803" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="saveseq" type="STRING" size="256" />
- <Column id="avgseq" type="STRING" size="256" />
- <Column id="lnno" type="STRING" size="256" />
- <Column id="purcdd" type="STRING" size="256" />
- <Column id="purcqty" type="STRING" size="256" />
- <Column id="purctotamt" type="STRING" size="256" />
- <Column id="purcunitcost" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="saveseq"></Col>
- <Col id="avgseq"></Col>
- <Col id="lnno"></Col>
- <Col id="purcdd"></Col>
- <Col id="purcqty"></Col>
- <Col id="purctotamt"></Col>
- <Col id="purcunitcost"></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="init" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_appyearmnth" propid="value" datasetid="ds_send" columnid="appyearmnth" />
- <BindItem id="item1" compid="cmb_appno" propid="value" datasetid="ds_send" columnid="appno" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SPPIE04110_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- ds_send.setColumn( 0, "apdd", utlf_getCurrentDate());
- // if(submit("TRPIE04101")) {
- var oParam = {};
- oParam.id = "TRPIE04101";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetH801appyearmnth";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=appyearmnthlist";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04101";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04101(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04101") > -1
- arErrorCode.pop("TRPIE04101") < 0
- */
- var appyearmnth = opener.javascript.frmf_getParameter("SMPIE04100_appyearmnth");
- if (appyearmnth != null && appyearmnth != "") {
- ds_send.setColumn( 0, "appyearmnth", appyearmnth);
- //cmb_appyearmnth.refresh();
- // if (submit("TRPIE04105")) {
- var oParam = {};
- oParam.id = "TRPIE04105";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetH801appno";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=appnolist";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04105";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04105") > -1
- arErrorCode.pop("TRPIE04105") < 0
- */
- var appno = opener.javascript.frmf_getParameter("SMPIE04100_appno");
- if (appno != null && appno != "") {
- ds_send.setColumn( 0, "appno", appno);
- //cmb_appno.refresh();
- // submit("TRPIE04110");
- var oParam = {};
- oParam.id = "TRPIE04110";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetMchiList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=mchilist";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04110";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04110") > -1
- arErrorCode.pop("TRPIE04110") < 0
- */
- }
- }
- }
- }
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_commonweb_js_numericHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- function cmb_appyearmnth_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- // 신청번호 조회
- // submit("TRPIE04105");
- var oParam = {};
- oParam.id = "TRPIE04105";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetH801appno";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=appnolist";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04105";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04105") > -1
- arErrorCode.pop("TRPIE04105") < 0
- */
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_send.getColumn(0, "appyearmnth") == "") {
- sysf_messageBox("분기신고월을 입력하십시오", "E999");
- return;
- }
- if (ds_send.getColumn(0, "appno") == "") {
- sysf_messageBox("신청번호를 입력하십시오", "E999");
- return;
- }
- // submit("TRPIE04110");
- var oParam = {};
- oParam.id = "TRPIE04110";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetMchiList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=mchilist";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04110";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04110") > -1
- arErrorCode.pop("TRPIE04110") < 0
- */
- }
- function grd_mchilist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (!grd_mchilist.isCell(event.target)) {
- return;
- }
- ds_send.setColumn( 0, "insuedicd", ds_main_mchilist.getColumn(grd_mchilist.row, "insuedicd")));
- // submit("TRPIE04111", false);
- var oParam = {};
- oParam.id = "TRPIE04110";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetMchiDetail";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=mchp802 ds_=mchphist ds_=mchp803 ds_=mchmhist ds_=mchm";
- oParam.async = false;
- oParam.callback = "cf_TRPIE04110";
- tranf_submit(oParam);
- /*
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE04110") > -1
- arErrorCode.pop("TRPIE04110") < 0
- */
- var idx = instance1.selectNodes("ds_main_detail_mchphist").length;
- var saveseq = ds_main_detail_mchphist.getColumn(idx, "saveseq"));
- var avgseq = ds_main_detail_mchphist.getColumn(idx, "avgseq"));
- grd_803.nodeset = "ds_main_detail_mchp803[saveseq = '" + saveseq + "' and avgseq = '" + avgseq + "']";
- var idx2 = instance1.selectNodes("ds_main_detail_mchmhist").length;
- saveseq = ds_main_detail_mchmhist.getColumn(idx2, "saveseq"));
- var misseq = ds_main_detail_mchmhist.getColumn(idx2, "misseq"));
- grd_mis.nodeset = "ds_main_detail_mchm[saveseq = '" + saveseq + "' and misseq = '" + misseq + "']";
- //model.refresh();
- grd_803hist.row = idx;
- grd_mishist.row = idx2;
- }
- function grd_803hist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (!grd_803hist.isCell(event.target)) {
- return;
- }
- var saveseq = ds_main_detail_mchphist.getColumn(grd_803hist.row, "saveseq"));
- var avgseq = ds_main_detail_mchphist.getColumn(grd_803hist.row, "avgseq"));
- grd_803.nodeset = "ds_main_detail_mchp803[saveseq = '" + saveseq + "' and avgseq = '" + avgseq + "']";
- }
- function grd_mishist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if (!grd_mishist.isCell(event.target)) {
- return;
- }
- var saveseq = ds_main_detail_mchmhist.getColumn(grd_mishist.row, "saveseq"));
- var misseq = ds_main_detail_mchmhist.getColumn(grd_mishist.row, "misseq"));
- grd_mis.nodeset = "ds_main_detail_mchm[saveseq = '" + saveseq + "' and misseq = '" + misseq + "']";
- }
- ]]></Script>
- </Form>
- </FDL>
|