Commit 7ed1bd13 by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

# Conflicts:
#	src/routers/modules/business.js
parents 7cdd8537 c12621ad
......@@ -106,8 +106,8 @@ export default {
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/betacc/getOwnRef', params);
......@@ -137,7 +137,7 @@ export default {
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
betp: {
swiftflg: this.model.betp.swiftflg,
},
gidgrp: {
bedgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
purpos: this.model.bedgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
......
export default {
'liaall.misamt' :null,
'liaall.limmod.limpts.oth.pts.extkey' :null,
'liaall.limmod.ownref' :null,
'bedgrp.apl.pts.nam' :null,
'liaall.limmod.ecifno' :null,
'bedgrp.prb.pts.nam' :null,
'liaall.limmod.limpts.oth.pts.nam' :null,
'setmod.dspflg' :null,
'setmod.redamt' :null,
'aamset.utlamt2' :null,
'liaall.limmod.limpts.wrk.pts.nam' :null,
'liaall.limmod.limpts.wrk.pts.extkey' :null,
'mtabut.coninf.conexedat' :null,
'liaall.limmod.limpts.nonrevflg1' :null,
'setmod.docamt' :null,
'betp.furide' :null,
'bedgrp.iss.pts.nam' :null,
import Utils from '~/utils';
/**
* Betacc Check规则
*/
let checkObj = {
'liaall.misamt': null,
'liaall.limmod.limpts.oth.pts.extkey': null,
'liaall.limmod.ownref': null,
'bedgrp.apl.pts.nam': null,
'liaall.limmod.ecifno': null,
'bedgrp.prb.pts.nam': null,
'liaall.limmod.limpts.oth.pts.nam': null,
'setmod.dspflg': null,
'setmod.redamt': null,
'aamset.utlamt2': null,
'liaall.limmod.limpts.wrk.pts.nam': null,
'liaall.limmod.limpts.wrk.pts.extkey': null,
'mtabut.coninf.conexedat': null,
'liaall.limmod.limpts.nonrevflg1': null,
'setmod.docamt': null,
'betp.furide': null,
'bedgrp.iss.pts.nam': null,
'betp.ledget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'ledgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'betp.ledget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'ledgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'ledgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
......@@ -38,19 +43,19 @@ export default {
],
'betp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'bedgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'betp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'bedgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'bedgrp.cbs.max.amt': [
......@@ -59,12 +64,12 @@ export default {
],
'bedgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'bedgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'bedgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
......@@ -72,46 +77,45 @@ export default {
],
'bedgrp.prb.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'bedgrp.iss.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'bedgrp.iss.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'bedgrp.rec.matdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
{ type: 'date', required: false, message: '输入正确的日期' },
],
'bedgrp.rec.rcvdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
{ type: 'date', required: false, message: '输入正确的日期' },
],
'bedgrp.rec.predat': [
{ type: 'date', required: false, message: '输入正确的日期' }
{ type: 'date', required: false, message: '输入正确的日期' },
],
'bedgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'bedgrp.rec.docsta': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'bedgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'trnmod.swiadd.strinf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
{ max: 35, message: '长度不能超过35' },
],
'bedgrp.rec.disdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
{ type: 'date', required: false, message: '输入正确的日期' },
],
'setmod.docamt': [
......@@ -131,180 +135,180 @@ export default {
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
],
'snadat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
snadat: [{ type: 'date', required: false, message: '输入正确的日期' }],
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' }
{ max: 20, message: '长度不能超过20' },
],
'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.outpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' }
{ max: 6, message: '长度不能超过6' },
],
'liaall.concur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' }
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' }
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' }
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.filrecv': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' }
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.condocstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' }
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' }
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' }
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' }
{ type: 'date', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' }
{ max: 8, message: '长度不能超过8' },
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' }
{ max: 22, message: '长度不能超过22' },
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' }
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' }
{ max: 14, message: '长度不能超过14' },
],
};
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
}
}
export default checkObj;
......@@ -8,11 +8,7 @@ export default class Betacc {
adaflg: '',
cre752flg: ''
},
setmod: {
redamt: '',
doccur: '',
docamt: ''
},
ledgrp: {
rec: {
ownref: ''
......@@ -37,6 +33,58 @@ export default class Betacc {
},
snadat: '',
bedgrp: {
ini: {
pts: new Pts().data,
},
a2b: {
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,
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
own: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
prb: {
pts: new Pts().data,
},
rec: {
predat: '',
rcvdat: '',
......@@ -72,6 +120,6 @@ export default class Betacc {
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
}
\ No newline at end of file
......@@ -3,12 +3,25 @@
<!-- left -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref" style="width: 100%">
<el-form-item
label="出口信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入出口信用证编号" disabled></c-input>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入出口信用证编号"
disabled
></c-input>
<template slot="footer">
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"
icon="el-icon-info">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
......@@ -27,12 +40,25 @@
</c-col>
<c-col :span="24">
<el-form-item label="出口单据编号" prop="bedgrp.rec.ownref" style="width: 100%">
<el-form-item
label="出口单据编号"
prop="bedgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入出口单据编号" disabled></c-input>
<c-input
v-model="model.bedgrp.rec.ownref"
maxlength="16"
placeholder="请输入出口单据编号"
disabled
></c-input>
<template slot="footer">
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf"
icon="el-icon-info">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
......@@ -54,12 +80,26 @@
<c-col :span="24">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-fullbox>
<c-input v-model="model.bedgrp.cbs.max.cur" maxlength="3" style="width: 50%" placeholder="请输入单据金额"
disabled></c-input>
<c-input-currency v-model="model.bedgrp.cbs.max.amt" style="width: 50%" placeholder="请输入金额"
disabled></c-input-currency>
<c-input
v-model="model.bedgrp.cbs.max.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入单据金额"
disabled
></c-input>
<c-input-currency
v-model="model.bedgrp.cbs.max.amt"
style="width: 50%"
placeholder="请输入金额"
disabled
></c-input-currency>
<template slot="footer">
<c-checkbox v-model="model.betp.adaflg" style="margin-left: 10px" disabled>附加金额</c-checkbox>
<c-checkbox
v-model="model.betp.adaflg"
style="margin-left: 10px"
disabled
>附加金额</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
......@@ -67,47 +107,86 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur">
<c-input v-model="model.bedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.opn1.amt">
<c-input-currency v-model="model.bedgrp.cbs.opn1.amt" placeholder="请输入金额" disabled></c-input-currency>
<c-input-currency
v-model="model.bedgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" style="width: 100%" placeholder="请输入单据类型" disabled>
<el-option v-for="item in codes.doctypcod1" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bedgrp.rec.doctypcod"
style="width: 100%"
placeholder="请输入单据类型"
disabled
>
<el-option
v-for="item in codes.doctypcod1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期日" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width: 100%" placeholder="请选择到期日"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width: 100%" placeholder="请选择收到日期"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择收到日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单日期" prop="bedgrp.rec.predat">
<c-date-picker type="date" v-model="model.bedgrp.rec.predat" style="width: 100%" placeholder="请选择日期"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.predat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bedgrp.rec.docsta">
<c-select v-model="model.bedgrp.rec.docsta" style="width: 100%" placeholder="请选择单据状态" disabled
:code="codes.docsta">
<c-select
v-model="model.bedgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
disabled
:code="codes.docsta"
>
</c-select>
</el-form-item>
</c-col>
......@@ -118,42 +197,74 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-input v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额" disabled></c-input>
<c-input
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input-currency-min v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入金额" disabled></c-input-currency-min>
<c-input-currency-min
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入简略信息" disabled></c-input>
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
<c-ptsmsg
:model="model"
:argadr="{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
......@@ -166,21 +277,38 @@
<!-- left -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="到期日修订说明" prop="trnmod.swiadd.strinf">
<c-input type="textarea" v-model="model.trnmod.swiadd.strinf" maxlength="35" show-word-limit
placeholder="请输入说明"></c-input>
<el-form-item
label="到期日修订说明"
prop="trnmod.swiadd.strinf"
>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.strinf"
maxlength="35"
show-word-limit
placeholder="请输入说明"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入承兑金额" disabled></c-input>
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入承兑金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input-currency v-model="model.setmod.docamt" placeholder="请输入金额" disabled></c-input-currency>
<c-input-currency
v-model="model.setmod.docamt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
......@@ -188,12 +316,21 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据部分金额" prop="bedgrp.cbs.opn2.cur">
<c-input v-model="model.bedgrp.cbs.opn2.cur" maxlength="3" placeholder="请输入单据部分金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入单据部分金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt">
<c-input-currency v-model="model.aamset.utlamt" placeholder="请输入金额" disabled></c-input-currency>
<c-input-currency
v-model="model.aamset.utlamt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
......@@ -201,19 +338,33 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur">
<c-input v-model="model.bedgrp.cbs.opn2.cur" maxlength="3" placeholder="请输入附加金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt2">
<c-input-currency v-model="model.aamset.utlamt2" placeholder="请输入金额" disabled></c-input-currency>
<c-input-currency
v-model="model.aamset.utlamt2"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发送索偿电日期" prop="snadat">
<c-date-picker type="date" v-model="model.snadat" style="width: 100%" placeholder="请选择发送索偿电日期"></c-date-picker>
<c-date-picker
type="date"
v-model="model.snadat"
style="width: 100%"
placeholder="请选择发送索偿电日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......@@ -224,33 +375,55 @@
<c-col :span="18">
<el-form-item label="进一步识别" prop="betp.furide">
<c-select v-model="model.betp.furide" maxlength="10" style="width: 100%" placeholder="请选择进一步识别"
:disabled="!cre752flg" :code="codes.furide"></c-select>
<c-select
v-model="model.betp.furide"
maxlength="10"
style="width: 100%"
placeholder="请选择进一步识别"
:disabled="!cre752flg"
:code="codes.furide"
></c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="cre752flg" style="margin-left: 10px">MT 752</c-checkbox>
<c-checkbox
v-model="cre752flg"
style="margin-left: 10px"
>MT 752</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="通知日期" prop="bedgrp.rec.disdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.disdat" style="width: 100%" placeholder="请选择通知日期"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.disdat"
style="width: 100%"
placeholder="请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="折扣金额" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入折扣金额" disabled></c-input>
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入折扣金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="setmod.redamt">
<c-input-currency v-model="model.setmod.redamt" placeholder="请输入金额"></c-input-currency>
<c-input-currency
v-model="model.setmod.redamt"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
......@@ -262,16 +435,14 @@
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betacc/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import event from '../event'
export default {
components: { "c-ptsmsg": Ptsmsg },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {};
},
......@@ -289,8 +460,9 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event },
created: function () { },
methods: { },
created: function () {},
};
</script>
<style></style>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="承兑" name="accp">
<m-accp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcrj/Event";
import Accp from "./Accp"
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Accp from "./Accp"
import event from '../event'
export default {
components: {
"m-accp": Accp,
export default {
components:{
"m-accp" : Accp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
activeNames: ["accp"],
};
},
methods: { ...Event },
methods: { },
created:
function () { },
};
</script>
<style></style>
function () {},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -15,8 +15,15 @@
<!-- <el-button size="small">智能提示</el-button>
</c-function-btn> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<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">
<!--PD000033 -->
<el-tab-pane label="业务信息" name="ovwp">
......@@ -33,6 +40,7 @@
</el-tab-pane>
<!--PD000027 -->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
......@@ -41,12 +49,11 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
......@@ -57,13 +64,10 @@
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -85,43 +89,42 @@
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<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 CodeTable from "~/config/CodeTable";
import Betacc from "~/model/Betacc";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check";
import Default from "~/model/Betacc/Default";
import Pattern from "~/model/Betacc/Pattern";
import Betacc from "../model";
import operationFunc from "~/mixin/operationFunc";
import Accp from "./Accp";
import Engp from "~/views/Public/Engp";
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/components/business/engp/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Ovwp from "./Ovwp";
export default {
name: "Betacc",
components: {
"m-accp": Accp,
"m-setpan": Setpan,
"m-setmod": Setmod,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-limitbody": Limitbody,
"m-glentry": Glentry,
"m-ovwp": Ovwp,
},
provide() {
......@@ -129,21 +132,24 @@ export default {
root: this,
};
},
mixins: [operationFunc, event],
mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "betacc",
model: new Betacc().data,
rules: formRules,
rules: null,
codes: {
...CodeTable,
},
activeNames: ["engp"],
};
},
methods: {}
methods: {
},
};
</script>
<style></style>
<style>
</style>
......@@ -241,7 +241,14 @@ export default class Betset {
}
},
bptbck: {
bptbckg: ''
bptbckg:
[
{ownref:'',
opncur:'',
opnamt:'',
bckamt:''},
]
,
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -19,7 +19,7 @@ export default {
...this.model.infcon,
seadocflg: this.model.seadocflg,
seagodcod: this.model.seagodcod,
inr:this.model.brdgrp.rec.inr,
inr:this.model.ledgrp.rec.inr,
pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize,
opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'),
......@@ -54,7 +54,7 @@ export default {
this.model.infcon.nam = '';
this.model.infcon.seapty = '';
this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = '';
this.model.ledgrp.rec.inr = '';
this.model.seagodcod = '';
this.model.seadocflg = '';
},
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<!-- 持续展示区 -->
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-reset="handleReset"
@form-search="handleSearch"
>
<template v-slot="searchSlot">
......@@ -264,13 +264,19 @@
</template>
</c-list-search>
<el-row>
<div style="height: 90%">
<c-col :span="24">
<el-table
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
......@@ -352,10 +358,23 @@
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
</el-pagination>
</div>
</c-col>
</el-row>
</div>
<m-busbtn
<!-- <m-busbtn
ref="childs"
:ownref="ownref"
trnCode="letsel"
......@@ -363,13 +382,12 @@
tabIndex="3"
:model="letselModel"
>11</m-busbtn
>
> -->
</div>
</template>
<script>
// import BetselModel from "~/model/Betsel";
import BusNavbar from "~/views/Public/BusNavbar";
import event from "../event";
export default {
......@@ -384,123 +402,128 @@ export default {
trnData: {
columns: [
{
label: "交易id",
prop: "inr",
},
{
label: "单据编号",
prop: "ownref",
},
{
label: "交易名称",
prop: "ininam",
label: "客户经理",
prop: "ownusr",
},
{
label: "条目",
prop: "inidattim",
label: "发票编号",
prop: "benref",
},
{
label: "状态",
prop: "relflg",
label: "申请人编号",
prop: "aplref",
},
{
label: "币种",
prop: "reloricur",
label: "申请人名称",
prop: "aplnam",
},
{
label: "相关金额",
prop: "reloriamt",
label: "PTA主键",
prop: "ptainr",
},
{
label: "标识",
prop: "relres",
label: "受益人名称",
prop: "benefi",
},
],
data: [],
{
label: "交单行编号",
prop: "bankno",
},
stmData: {
columns: [
{
label: "信用证编号",
prop: "ownref",
label: "受益人中文名称",
prop: "ptanam",
},
{
label: "客户经理",
prop: "ownusr",
label: "开证行编号",
prop: "issextkey",
},
{
label: "期限日",
prop: "maxcur",
label: "开证行名称",
prop: "issnam",
},
{
label: "开立日期",
prop: "maxamt",
label: "开证行编号",
prop: "issextkey",
},
],
data: [],
},
stmData: {
columns: [
{
label: "生效日期",
prop: "opndat",
label: "信用证编号",
prop: "ownref",
},
{
label: "关闭日期",
prop: "aplref",
label: "客户经理",
prop: "ownusr",
},
{
label: "分行名称",
prop: "aplnam",
label: "发票编号",
prop: "benref",
},
{
label: "申请人编号",
prop: "benefi",
prop: "aplref",
},
{
label: "申请人名称",
prop: "bankno",
prop: "aplnam",
},
{
label: "PTA主键",
prop: "clsdat",
prop: "ptainr",
},
{
label: "受益人编号",
prop: "stagod",
label: "受益人名称",
prop: "benefi",
},
{
label: "受益人编号",
prop: "stagod",
label: "交单行编号",
prop: "bankno",
},
{
label: "受益人名称",
prop: "stagod",
label: "受益人中文名称",
prop: "ptanam",
},
{
label: "受益人名称(中文)",
prop: "stagod",
label: "开证行编号",
prop: "issextkey",
},
{
label: "开证行编号",
prop: "stagod",
label: "开证行名称",
prop: "issnam",
},
{
label: "开证名称",
prop: "stagod",
label: "开立日期",
prop: "opndat",
},
{
label: "金额币种",
prop: "stagod",
label: "关闭日期",
prop: "clsdat",
},
{
label: "信用证金额",
prop: "stagod",
label: "单据金额币种",
prop: "maxcur",
},
{
label: "余额币种",
prop: "stagod",
label: "单据金额",
prop: "maxamt",
},
{
label: "开立金额币种",
prop: "opncur",
},
{
label: "信用证余额",
prop: "stagod",
label: "开立金额",
prop: "opnamt",
},
],
data: [],
......@@ -510,31 +533,13 @@ export default {
pageSize: 10,
total: 0,
},
initdialog: false,
handlerDataList: [],
btnRouteMap: [
{
label: '出口信用证预开立',
route: '/business-new/letnot'
},
{
label: '出口信用证开立',
route: '/business-new/letopn'
},
{
label: '非我行通知及收单行登记',
route: '/business-new/letdrw'
},
{
label:'出口信用证补通知',
route:'/business-new/letrsv'
},
],
currentHandleRow: {},
};
},
methods: {
},
created: function () {},
};
......@@ -543,4 +548,14 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
</style>
......@@ -45,7 +45,14 @@ export default {
}
},
methods:{
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime);
}
},
mounted () {
this.getInidatfro()
},
}
</script>
......
......@@ -12,7 +12,7 @@
import CodeTable from "~/config/CodeTable";
import Infgid from "../model";
import Infsea from "./Infsea";
import event from "../event"
export default {
name: "Infgid",
components: {
......@@ -23,6 +23,7 @@ export default {
root: this,
};
},
mixins: [event],
data() {
return {
tabVal: "",
......
......@@ -143,6 +143,9 @@ export default {
});
},
toLetopn() {
// 点击开立,清空从待经办进来的时候带的行参数
localStorage.setItem('row_letopn', null)
localStorage.setItem('review_letopn',null)
this.$router.history.push('/business-new/letopn');
},
toLetnot() {
......
......@@ -34,7 +34,7 @@ export default {
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr,
branchInr: model.ledgrp.rec.branchinr,
hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
......
......@@ -104,7 +104,7 @@ let checkObj = {
],
'ledgrp.rec.lcrtyp': [
{ type: 'string', required: false, message: '必输项' },
{ type: 'string', required: true, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
......@@ -189,7 +189,7 @@ let checkObj = {
{ max: 16, message: '长度不能超过16' },
],
'ledgrp.rec.opndat': [
{ type: 'string', required: false, message: '输入正确的日期' },
{ type: 'string', required: true, message: '输入正确的日期' },
],
'ledgrp.rec.preadvdt': [
{ type: 'string', required: false, message: '输入正确的日期' },
......
......@@ -6,9 +6,6 @@ export default class Letopn {
this.data = {
number: '',
ledgrp: {
a2b: {
pts: new Pts().data,
},
blk: {
spcben:'',
dftat: '',
......@@ -24,6 +21,7 @@ export default class Letopn {
spcrcb:'',
},
rec: {
branchinr: '00000047',
stagod: '',
tenmaxday: '',
nomton: '',
......
......@@ -453,7 +453,7 @@ export default {
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.ledgrp.cbs.max.cur=this.model.ledgrp.cbs.nom1.cur;
this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt;
this.model.ledgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
this.model.ledgrp.rec.nam = `${res.cbs.nom1.cur} ${res.cbs.nom1.amt} .${res.apl.pts.adrblk.substring(0,29)}`
}
}
},
......
......@@ -169,11 +169,12 @@ export default {
async nomtopChange() {
let params = {
nomtop: this.model.lidgrp.rec.nomtop,
cur:this.model.lidgrp.cbs.max.cur
nom1amt:this.model.lidgrp.cbs.nom1.amt,
maxcur:this.model.lidgrp.cbs.max.cur
};
let res = await Api.post('/service/litopn/maxamt', params);
if (res.respCode == SUCCESS) {
this.model.lidgrp.cbs.max.amt = res.data;
this.model.lidgrp.cbs.max.amt = res.data.maxamt;
}
},
//兑付方式
......@@ -185,7 +186,7 @@ export default {
};
let res = await Api.post('/service/litopn/blkdftat', params);
if (res.respCode == SUCCESS) {
this.model.lidgrp.blk.dftat = res.data;
this.model.lidgrp.blk.dftat = res.data.blkdftat;
}
},
async avbwthChange() {
......@@ -200,8 +201,8 @@ export default {
};
let res = await Api.post('/service/litopn/avbwth', params);
if (res.respCode == SUCCESS) {
this.model.lidgrp.blk.dftat = res.data;
this.model.lidgrp.avb.pts.extkey=res.data.avbwth.pts.extkey;
this.model.lidgrp.avb.pts.adrblk=res.data.avbwth.pts.adrblk;
}
},
},
......
......@@ -385,39 +385,35 @@ export default {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "N") {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "P") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
}
if (val == "M") {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
this.model.lidgrp.blk.defdet=""
}
if (val == "A") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.blk.defdet=""
}
},
},
// "model.lidgrp.rec.tenmaxday":{
// immediate: true,
// handler(val,oldval){
// console.log(val);
// if(this.model.lidgrp.rec.avbby !== 'P'){}
// // this.model.lidgrp.rec.tenmaxday='0';
// }
// }
},
};
</script>
......
......@@ -581,15 +581,15 @@ export default {
};
},
methods: {
nomtopChange(){
this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
if ((res.respCode == SUCCESS)) {
// this.updateModel(res.data);
Utils.copyValueFromVO(this.model, res.data);
}
});
},
// nomtopChange(){
// this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// // this.updateModel(res.data);
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// },
open(val) {
if (
val === "" &&
......@@ -652,7 +652,7 @@ export default {
const res = this.model.lidgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){
this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur;
this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt;
// this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt;
this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
}
}
......
<template>
<ReviewWrapper>
<Letopn></Letopn>
</ReviewWrapper>
</template>
<script>
import Letopn from "~/business/letopn/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetopn",
components: { ReviewWrapper, Letopn },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -62,7 +62,9 @@ const Business = [
{ path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } },
{ path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', meta: { title: '出口信用证通知加保兑' } },
{ path: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', 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: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
]
export default Business
\ No newline at end of file
......@@ -12,5 +12,6 @@ const Business = [
{ path: 'letdrv', component: () => import('~/review/ReviewLetdrv.vue'), name: 'letdrv', meta: { title: '复核-Letdrv' } },
{ path: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } },
{ path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } },
{ path: 'letopn', component: () => import('~/review/ReviewLetopn.vue'), name: 'letopn', meta: { title: '复核-Letopn' } },
]
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