Commit 201cfcc1 by wanggang_yf

gctrop前端页面调整

parent 43532e3c
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import buildFn from './buildCommons.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/gctrop/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gctrop/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gctrop弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中gctrop弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gctrop/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
},
};
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gctrop{
constructor () {
this.data = {
setmod: {
setglg: {
labdspflg: ''
},
ref: '',
docamttyplab: '',
doccur: '',
zmqacc: '',
dspflg: '',
xreflg: '',
zmqacclab: '',
retmsg: '',
docamt: ''
},
mtabut: {
coninf: {
oitset: {
labinftxt: '',
oit: {
inftxt: '',
inflev: ''
}
},
oitinf: {
labinftxt: '',
oit: {
inftxt: '',
inflev: ''
}
},
usr: {
extkey: ''
},
conexedat: ''
}
},
gctp: {
recget: {
sdamod: {
seainf: '',
dadsnd: ''
}
},
aplmullab: '',
prechkdat: '',
prbp: {
ptsget: {
sdamod: {
seainf: '',
dadsnd: ''
}
}
},
liafldlab: '',
adaflg: '',
othp: {
ptsget: {
sdamod: {
seainf: '',
dadsnd: ''
}
}
},
explab: '',
lialab: '',
expfldlab: '',
ischktyp: '',
gidget: {
sdamod: {
seainf: '',
dadsnd: ''
}
}
},
gcdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
oth: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
gartyp: ''
},
ghd: {
wahnum: '',
remark: '',
bustyp: '',
segtyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
},
ctr: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
liaall: {
concur: '',
liaccv: {
concur: '',
newamt: '',
dnfmod: {
zhruzh: '',
kehuzh: '',
intdsp: '',
lxzyzh: '',
pridsp: '',
yewudh: '',
qicuje: '',
ccvtyp: '',
tizamt: '',
zhqtyp: '',
stm8023: '',
zhhuye: '',
zhqucs: ''
},
relcshpct: '',
gleflg: '',
addinf: '',
newresamt: '',
chgcurflg: '',
pctresamt: '',
cshpct: '',
totcovamt: ''
},
outpct: '',
exttotamt: '',
exttotoldamt: '',
outamt: '',
misamt: '',
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
},
trnmod: {
trndia: {
usrget: {
sdamod: {
seainf: ''
}
},
atpget: {
sdamod: {
seainf: '',
dadsnd: ''
}
},
usr: {
extkey: ''
},
diamodflg: '',
dspstm: '',
atp: {
cod: ''
},
diarec: {
prechkdat: '',
inftxt: '',
usr: '',
ptyextkey: '',
paycur: '',
dat: '',
ownusg: '',
cod: '',
donflg: '',
nam: '',
payamt: '',
ptynam: ''
},
atptxt: ''
},
ptsmod: {
adrp: {
prtpanblk: ''
}
},
trndoc: {
condocstm: '',
filrecv: '',
amdapl: '',
doclbl: '',
doctrestm: '',
shwout: '',
shwinc: '',
amdnam: '',
advnam: '',
advdoc: '',
advlabel: '',
rcvatt: {
seainf: ''
}
},
docimm: {
xmldocblk: '',
prtswtpblk: '',
ascin: '',
prtswtrpblk: ''
},
ctr: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
},
gitp: {
chkpreper: '',
oldgidtxt: '',
swiftflg: '',
gidtxtmodflgc: '',
indirectswiadd: '',
exptxtmodflg: '',
prepercmodflg: '',
covgodsrvmodflg: '',
covgodc: {
chkast: ''
},
gidtxt: '',
liatxtcmodflg: '',
usr: {
extkey: ''
},
chkgidtxtc: '',
prepermodflg: '',
aacp: {
aacmod: {
addamtflg: ''
}
},
chargic: {
chkast: ''
},
gidtxtmodflg: '',
gtx: {
gidtxt: ''
},
covgodsrvcmodflg: '',
chargi: {
chkast: ''
},
covgod: {
chkast: ''
},
chkgidtxt: '',
dzbhflg: '',
chkpreperc: '',
oldgtxgidtxt: '',
inc760: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaSavdia">
{{$t('trndia.CF001000')}}
</c-button>
</c-col>
<!-- SF001004 : Diary Reason -->
<c-col :span="12">
<el-form-item :label="$t('trndia.SF001004')" prop="trnmod.trndia.diarec.cod">
<c-select v-model="model.trnmod.trndia.diarec.cod" style="width:100%" :placeholder="$t('other.please_enter')+$t('trndia.SF001004')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndia.diarec.donflg">{{$t('trndia.CF001001')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDiaprt">
{{$t('trndia.CF001083')}}
</c-button>
</c-col>
<!-- SF001006 : Date of Diary -->
<c-col :span="12">
<el-form-item :label="$t('trndia.SF001006')" prop="trnmod.trndia.diarec.dat">
<c-date-picker type="date" v-model="model.trnmod.trndia.diarec.dat" style="width:100%" :placeholder="$t('other.please_enter')+$t('trndia.SF001006')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF001077 : Status -->
<!-- SF001005 : Description -->
<c-col :span="12">
<c-form-item :label="$t('trndia.SF001005')" prop="trnmod.trndia.diarec.nam">
<c-input v-model="model.trnmod.trndia.diarec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('trndia.SF001005')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="used to define a codetable that to be show as status in Grid" prop="trnmod.trndia.diamodflg">
<c-select v-model="model.trnmod.trndia.diamodflg" style="width:100%" :placeholder="$t('other.please_enter')+'used to define a codetable that to be show as status in Grid'">
</c-select>
</el-form-item>
</c-col>
<!-- SF001011 : Detailed Information -->
<c-col :span="12">
<c-form-item :label="$t('trndia.SF001011')" prop="trnmod.trndia.diarec.inftxt">
<c-input type="textarea" v-model="model.trnmod.trndia.diarec.inftxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('trndia.SF001011')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="pty extkey" prop="trnmod.trndia.diarec.ptyextkey">
<c-input v-model="model.trnmod.trndia.diarec.ptyextkey" maxlength="24" :placeholder="$t('other.please_enter')+'pty extkey'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Pay CUR" prop="trnmod.trndia.diarec.paycur">
<c-input v-model="model.trnmod.trndia.diarec.paycur" maxlength="3" :placeholder="$t('other.please_enter')+'Pay CUR'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('trndia.SG001129')" prop="trnmod.trndia.diarec.payamt">
<c-input v-model="model.trnmod.trndia.diarec.payamt" :placeholder="$t('other.please_enter')+$t('trndia.SG001129')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预计核验日期" prop="trnmod.trndia.diarec.prechkdat">
<c-date-picker type="date" v-model="model.trnmod.trndia.diarec.prechkdat" style="width:100%" :placeholder="$t('other.please_enter')+'预计核验日期'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG001128 : 客户号 -->
<!-- SG001129 : 付款币种 -->
<!-- SG001130 : 付款金额 -->
<!-- SG001126 : 预计核验日期 -->
<c-col :span="12">
<c-form-item label="pty name" prop="trnmod.trndia.diarec.ptynam">
<c-input v-model="model.trnmod.trndia.diarec.ptynam" maxlength="100" :placeholder="$t('other.please_enter')+'pty name'"></c-input>
</c-form-item>
</c-col>
<!-- SG001127 : 客户名称 -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="trnmod.trndia.atpget.sdamod.dadsnd">
<c-input v-model="model.trnmod.trndia.atpget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- SF001010 : Start Transaction -->
<c-col :span="12">
<c-form-item :label="$t('trndia.SF001010')" prop="trnmod.trndia.atp.cod">
<c-input v-model="model.trnmod.trndia.atp.cod" maxlength="6" :placeholder="$t('other.please_enter')+$t('trndia.SF001010')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndia.atpget.sdamod.seainf">
<c-input v-model="model.trnmod.trndia.atpget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Application Transaction Profile Text" prop="trnmod.trndia.atptxt">
<c-input v-model="model.trnmod.trndia.atptxt" maxlength="50" :placeholder="$t('other.please_enter')+'Application Transaction Profile Text'"></c-input>
</c-form-item>
</c-col>
<!-- SF001008 : Responsible User -->
<c-col :span="12">
<c-form-item :label="$t('trndia.SF001008')" prop="trnmod.trndia.usr.extkey">
<c-input v-model="model.trnmod.trndia.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('trndia.SF001008')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndia.usrget.sdamod.seainf">
<c-input v-model="model.trnmod.trndia.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<!-- SF001007 : Entered by -->
<!-- SF001009 : Resp. Group -->
<c-col :span="12">
<el-form-item :label="$t('trndia.SF001009')" prop="trnmod.trndia.diarec.ownusg">
<c-select v-model="model.trnmod.trndia.diarec.ownusg" style="width:100%" :placeholder="$t('other.please_enter')+$t('trndia.SF001009')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Entered by" prop="trnmod.trndia.diarec.usr">
<c-input v-model="model.trnmod.trndia.diarec.usr" maxlength="8" :placeholder="$t('other.please_enter')+'Entered by'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDiaexi">
{{$t('trndia.CF001002')}}
</c-button>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Display Stream of Diaries" prop="trnmod.trndia.dspstm">
<c-input v-model="model.trnmod.trndia.dspstm" :placeholder="$t('other.please_enter')+'Display Stream of Diaries'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDia">
{{$t('trndia.CF001030')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDiadsp">
{{$t('trndia.CF001029')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDiamod">
{{$t('trndia.CF001025')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndiaDiadel">
{{$t('trndia.CF001026')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndiaDiaexi2">
{{$t('trndia.CF001027')}}
</c-button>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000004 : 保证金账户 -->
<c-col :span="12">
<c-form-item :label="$t('dnfmod.S0000004')" prop="liaall.liaccv.dnfmod.kehuzh">
<c-input v-model="model.liaall.liaccv.dnfmod.kehuzh" maxlength="21" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDnfmodGet">
{{$t('dnfmod.C0000101')}}
</c-button>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000003')" prop="liaall.liaccv.dnfmod.ccvtyp">
<c-select v-model="model.liaall.liaccv.dnfmod.ccvtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000003')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000102 : 支取类型 -->
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000102')" prop="liaall.liaccv.dnfmod.zhqtyp">
<c-select v-model="model.liaall.liaccv.dnfmod.zhqtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000102')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000105 : 支取次数 -->
<c-col :span="12">
<c-form-item label="支取次数" prop="liaall.liaccv.dnfmod.zhqucs">
<c-input v-model="model.liaall.liaccv.dnfmod.zhqucs" maxlength="2" :placeholder="$t('other.please_enter')+'支取次数'"></c-input>
</c-form-item>
</c-col>
<!-- S0000103 : 部分提支金额 -->
<c-col :span="12">
<c-form-item :label="$t('dnfmod.S0000103')" prop="liaall.liaccv.dnfmod.tizamt">
<c-input v-model="model.liaall.liaccv.dnfmod.tizamt" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000103')"></c-input>
</c-form-item>
</c-col>
<!-- S0000108 : 业务代号 -->
<c-col :span="12">
<c-form-item label="业务代号" prop="liaall.liaccv.dnfmod.yewudh">
<c-input v-model="model.liaall.liaccv.dnfmod.yewudh" maxlength="4" :placeholder="$t('other.please_enter')+'业务代号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000026 : 本金转入账户 -->
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000026')" prop="liaall.liaccv.dnfmod.pridsp">
<c-select v-model="model.liaall.liaccv.dnfmod.pridsp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000026')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000026')" prop="liaall.liaccv.dnfmod.zhruzh">
<c-select v-model="model.liaall.liaccv.dnfmod.zhruzh" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000026')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000111 : 起存金额 -->
<c-col :span="12">
<c-form-item label="起存金额" prop="liaall.liaccv.dnfmod.qicuje">
<c-input v-model="model.liaall.liaccv.dnfmod.qicuje" :placeholder="$t('other.please_enter')+'起存金额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDnfmodQcget">
{{$t('dnfmod.C0000115')}}
</c-button>
</c-col>
<!-- S0000106 : 利息转入账户 -->
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000106')" prop="liaall.liaccv.dnfmod.intdsp">
<c-select v-model="model.liaall.liaccv.dnfmod.intdsp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000106')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dnfmod.S0000106')" prop="liaall.liaccv.dnfmod.lxzyzh">
<c-select v-model="model.liaall.liaccv.dnfmod.lxzyzh" style="width:100%" :placeholder="$t('other.please_enter')+$t('dnfmod.S0000106')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000104 : 帐户余额 -->
<c-col :span="12">
<c-form-item label="帐户余额" prop="liaall.liaccv.dnfmod.zhhuye">
<c-input v-model="model.liaall.liaccv.dnfmod.zhhuye" :placeholder="$t('other.please_enter')+'帐户余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="8023STREAM" prop="liaall.liaccv.dnfmod.stm8023">
<c-input v-model="model.liaall.liaccv.dnfmod.stm8023" :placeholder="$t('other.please_enter')+'8023STREAM'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel prtpan的内置block" prop="trnmod.ptsmod.adrp.prtpanblk">
<c-input type="textarea" v-model="model.trnmod.ptsmod.adrp.prtpanblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel prtpan的内置block'" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel prtswtp的内置block" prop="trnmod.docimm.prtswtpblk">
<c-input type="textarea" v-model="model.trnmod.docimm.prtswtpblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel prtswtp的内置block'" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Message as stream" prop="trnmod.docimm.ascin">
<c-input v-model="model.trnmod.docimm.ascin" :placeholder="$t('other.please_enter')+'Message as stream'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel prtswtrp的内置block" prop="trnmod.docimm.prtswtrpblk">
<c-input type="textarea" v-model="model.trnmod.docimm.prtswtrpblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel prtswtrp的内置block'" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel xmldoc的内置block" prop="trnmod.docimm.xmldocblk">
<c-input type="textarea" v-model="model.trnmod.docimm.xmldocblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel xmldoc的内置block'" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="保函索赔注销后激活">
<el-form :model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--gctp PD000047 Overview -->
<el-tab-pane :label="$t('gctp.PD000047')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import event from '../event'
import operationFunc from "~/mixin/operationFunc";
import formRules from '../model/check'
import CodeTable from "~/config/CodeTable";
import Gctrop from "../model";
import Ovwp from "./Ovwp"
import Docpan from "~/components/business/docpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
export default {
name: "Gctrop",
components:{
"m-ovwp" : Ovwp,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-doctre" : Doctre,
"m-setmod": Setmod,
},
provide() {
return {
root: this
}
},
mixins: [event,operationFunc],
data(){
return {
tabVal: "ovwp",
trnName: "gctrop",
model: new Gctrop().data,
rules: formRules,
codes: {
...CodeTable
},
}
},
methods:{},
mounted () {
this.init()
},
};
</script>
<style>
</style>
......@@ -12,5 +12,6 @@ const Business = [
{ path: 'gitfee', component: () => import('~/business/gitfee/views'), name: 'gitfee', meta: { title: '进口保函收费' } },
{ path: 'giteng', component: () => import('~/business/giteng/views'), name: 'giteng', meta: { title: '保函保证金调整' } },
{ path: 'gitadd', component: () => import('~/business/gitadd/views'), name: 'gitadd', meta: { title: '保函编辑参考号(公共交易)' } },
{ path: 'gctrop', component: () => import('~/business/gctrop/views'), name: 'gctrop', meta: { title: '保函索赔注销后激活' } },
]
export default Business
export default Business
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment