Commit 5a6027a3 by WF1020

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 9c4121e8 4b5a303d
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.bedgrp.prb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.prb));
}
if (model.betp.oth.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.betp.oth));
}
if (model.bedgrp.iss.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.iss));
}
if (model.bedgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.apl));
}
if (model.bedgrp.oth.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.oth));
}
let dataObj = {
rec: {
objtyp: 'LED',
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr,
hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
// segtyp: model.ledgrp.ghd.segtyp,
fromflg: model.ledgrp.rec.fromflg,
othersno: model.ledgrp.rec.othersno,
sndto: model.ledgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.ledgrp.rec.giduil,
purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.ledgrp.cbs.max,
OPN1: model.ledgrp.cbs.opn1,
MAC: model.ledgrp.cbs.mac,
MAC2: model.ledgrp.cbs.mac2,
OPC2: model.ledgrp.cbs.opc2,
CNF: model.ledgrp.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: 'LED',
objinr: model.ledgrp.rec.inr,
ownref: model.ledgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.inr,
ownref: model.ledgrp.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)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/letdav/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
// brdinr: this.$route.query.inr,
// brdgrp:{
// rec:{
// inr: this.$route.query.inr
// // inr: '00000484'
// }
// },
});
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 'setmod':
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/letdrv/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取letdrv弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.brdgrp[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;
}
},
// 选中letdrv弹框表格的行数据
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/letdrv/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 Letdav {
constructor() {
this.data = {
betp: {
oth: {
pts: new Pts().data
},
aammod: {
addamtflg: ''
}
},
ledgrp: {
rec: {
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
shpdat: '',
ownref: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
}
},
avbnam: ''
},
bedgrp: {
blk: {
chaded: '',
nartxt77a: '',
docdisflg: '',
chaadd: '',
docdis: ''
},
rec: {
rcvdat: '',
doctypcod: '',
totcur: '',
advtyp: '',
ownref: '',
payrol: '',
totdat: '',
advdat: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
},
prb: {
pts: new Pts().data
},
oth: {
pts: new Pts().data
},
cbs: {
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
iss: {
pts: new Pts().data
},
apl: {
pts: new Pts().data
}
},
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,
};
}
}
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {},
created: function () {
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<!--Document Amount 单据金额 -->
<c-col :span="12">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-select
v-model="model.bedgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input
v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入单据金额"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- Drawn Add.Amount 附加金额-->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="提取附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select
v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<!-- 附加金额 -->
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input
v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入附加金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="费用扣除" prop="bedgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.bedgrp.blk.chaded"
maxlength="210"
show-word-limit
placeholder="请输入"
:rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用添加" prop="bedgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.bedgrp.blk.chaadd"
maxlength="210"
show-word-limit
:rows="4"
placeholder="请输入内容"
></c-input>
</el-form-item>
</c-col>
<!-- 索赔总额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="待支付金额" prop="bedgrp.rec.totcur">
<c-select
v-model="model.bedgrp.rec.totcur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<!-- Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.rec.totamt">
<c-input
v-model="model.bedgrp.rec.totamt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- Account with Bank -->
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '账户银行',
grp: 'bedgrp',
rol: 'acb',
}"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
<!-- Discrepancies 不符点-->
<c-col :span="24">
<el-form-item label="不符点" prop="bedgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.bedgrp.blk.docdis"
maxlength="3500"
show-word-limit
:rows="5"
placeholder="请输入不符点"
:disabled="model.bedgrp.blk.docdisflg == ''"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="18" :offset="6">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
@change="docdisflgEvent"
>不符点修改
</c-checkbox
>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import Ptap1 from '~/views/Public/Ptap1'
export default {
components: {
'c-ptap1': Ptap1,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
methods: {
docdisflgEvent(v) {
if (v == '') {
this.model.bedgrp.blk.docdis = ''
}
}
},
created: function () {},
}
</script>
<style></style>
<template>
<div class="eibs">
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
<!--加此交易的Mt750p页面的 单据金额 -->
<!--Document Amount 单据金额 -->
<c-col :span="12">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-select
v-model="model.bedgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input
v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入单据金额"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<!-- 加此交易的Mt750p页面的Drawn.Add.Amount -->
<!-- 附加金额 -->
<c-col :span="12">
<el-form-item label="提取附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select
v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<!-- 附加金额 -->
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input
v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入附加金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用扣除" prop="bedgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.bedgrp.blk.chaded"
maxlength="210"
show-word-limit
placeholder="请输入费用扣除"
:rows="4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用添加" prop="bedgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.bedgrp.blk.chaadd"
maxlength="210"
show-word-limit
:rows="4"
placeholder="请输入费用添加"
></c-input>
</el-form-item>
</c-col>
<!--加此交易的Mt750p页面的 索赔总额 -->
<!-- 索赔总额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="索赔总额" prop="bedgrp.rec.totcur">
<c-select
v-model="model.bedgrp.rec.totcur"
style="width: 100%"
placeholder="请输入索赔总额"
:code="codes.curtxt1"
disabled
></c-select>
</el-form-item>
</c-col>
<!-- Total Amount to be Paid -->
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.rec.totamt">
<c-input
v-model="model.bedgrp.rec.totamt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 偿付银行Reimbursement Bank -->
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '偿付银行',
grp: 'bedgrp',
rol: 'rmb',
}"
>
</c-ptap1>
</c-col>
<!-- 加Mt750p页面的Amount with Bank -->
<!-- Account with Bank -->
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '账户银行',
grp: 'bedgrp',
rol: 'acb',
}"
>
</c-ptap1>
</c-col>
<!-- 加date to paied -->
<c-col :span="24">
<el-form-item label="支付日期" prop="bedgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.totdat"
style="width: 100%"
placeholder="请选择日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item
label="叙述内容(77A)"
prop="bedgrp.blk.nartxt77a"
>
<c-input
type="textarea"
v-model="model.bedgrp.blk.nartxt77a"
maxlength="700"
show-word-limit
:rows="16"
placeholder="请输入内容"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '受益人银行',
grp: 'ledgrp',
rol: 'beb',
}"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import Ptap1 from "~/views/Public/Ptap1";
export default {
components: {
"c-ptap1": Ptap1,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
methods: {},
created: function () {},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="收到通知" name="davp">
<m-davp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p" v-if="model.bedgrp.rec.advtyp=='750'">
<m-mt750p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="付款通知" name="mt754p" v-if="model.bedgrp.rec.advtyp=='754'">
<m-mt754p :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Davp from './Davp'
import Mt750p from './Mt750p'
import Mt754p from './Mt754p'
export default {
components: {
'm-davp': Davp,
'm-mt750p': Mt750p,
'm-mt754p': Mt754p,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["davp"],
};
},
methods: {},
created: function () {},
computed: {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eContainer">
<c-page title="出口信用证通知到单">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- 数据回填效果 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
import Letdav from '../model'
import formRules from '../model/check'
import Davp from './Davp'
import Mt750p from './Mt750p'
import Mt754p from './Mt754p'
// 引入公共页面
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glentry from "~/components/business/glentry/views";
import Addbcb from "./Addbcb";
import Ovwp from './Ovwp'
import operationFunc from "@/mixin/operationFunc";
import event from "../event";
export default {
name: 'Letdav',
components: {
"m-addbcb": Addbcb,
'm-ovwp': Ovwp,
'm-davp': Davp,
'm-mt750p': Mt750p,
'm-mt754p': Mt754p,
'm-engp': Engp,
'm-setmod': Setmod,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-limitbody': Limitbody,
"m-glentry": Glentry,
},
provide() {
return {
root: this,
}
},
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: 'ovwp',
trnName: 'letdav',
model: new Letdav().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}
},
methods: {},
mounted () {
this.init()
},
}
</script>
<style></style>
...@@ -18,38 +18,38 @@ ...@@ -18,38 +18,38 @@
> >
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes" /> <m-setmod :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="会计分录" name="glentry"> <el-tab-pane label="会计分录" name="glentry">
<c-content> <c-content>
<!-- 会计分录 --> <!-- 会计分录 -->
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -106,14 +106,14 @@ export default { ...@@ -106,14 +106,14 @@ export default {
root: this, root: this,
} }
}, },
mixins: [event,operationFunc ], mixins: [event, operationFunc],
data() { data() {
return { return {
tabVal: 'ovwp', tabVal: 'ovwp',
trnName: 'letnot', trnName: 'letnot',
model: new Letnot().data, model: new Letnot().data,
rules:formRules, rules: formRules,
codes: { ...CodeTable }, codes: {...CodeTable},
activeNames: ["setmod"], activeNames: ["setmod"],
promptData: { promptData: {
title: 'Select a Party', title: 'Select a Party',
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
} }
} }
}, },
mounted () { mounted() {
this.init() this.init()
} }
} }
......
<template>
<ReviewWrapper>
<Letdav></Letdav>
</ReviewWrapper>
</template>
<script>
import Letdav from "~/business/letdav/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetdav",
components: { ReviewWrapper, Letdav },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -65,6 +65,7 @@ const Business = [ ...@@ -65,6 +65,7 @@ const Business = [
{ path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } }, { path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } },
{ path: 'betsnd', component: () => import('~/business/betsnd/views'), name: 'betsnd', meta: { title: '出口信用证寄单' } }, { path: 'betsnd', component: () => import('~/business/betsnd/views'), name: 'betsnd', meta: { title: '出口信用证寄单' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } }, { path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
{ path: 'letdav', component: () => import('~/business/letdav/views'), name: 'letdav', meta: { title: '出口信用证预通知到单' } },
{ path: 'betamc', component: () => import('~/business/betamc/views'), name: 'betamc', meta: { title: '出口信用证保兑额度释放' } }, { path: 'betamc', component: () => import('~/business/betamc/views'), name: 'betamc', meta: { title: '出口信用证保兑额度释放' } },
] ]
export default Business export default Business
\ No newline at end of file
...@@ -14,5 +14,6 @@ const Business = [ ...@@ -14,5 +14,6 @@ const Business = [
{ path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } }, { path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } },
{ path: 'letopn', component: () => import('~/review/ReviewLetopn.vue'), name: 'letopn', meta: { title: '复核-Letopn' } }, { path: 'letopn', component: () => import('~/review/ReviewLetopn.vue'), name: 'letopn', meta: { title: '复核-Letopn' } },
{ path: 'letnot', component: () => import('~/review/ReviewLetnot.vue'), name: 'letnot', meta: { title: '复核-letnot' } }, { path: 'letnot', component: () => import('~/review/ReviewLetnot.vue'), name: 'letnot', meta: { title: '复核-letnot' } },
{ path: 'letdav', component: () => import('~/review/ReviewLetdav.vue'), name: 'letdav', meta: { title: '复核-letdav' } },
] ]
export default Business export default Business
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