Commit c12621ad by WF1020

betacc前端修改

parent b502a3f0
...@@ -106,8 +106,8 @@ export default { ...@@ -106,8 +106,8 @@ export default {
async queryOwnref() { async queryOwnref() {
let params = { let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr, ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG', businessType: 'LC',
tbl: 'LG', tbl: 'LC',
}; };
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/service/betacc/getOwnRef', params); let res = await Api.post('/service/betacc/getOwnRef', params);
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}; };
let res = await Api.post('/service/ptspta/fetch', params); let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) { 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 { ...@@ -147,12 +147,12 @@ export default {
// 初始化保函开立类型码表下拉列表 // 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) { async queryHndtypCodeTableList(trnName) {
let params = { let params = {
gitp: { betp: {
swiftflg: this.model.gitp.swiftflg, swiftflg: this.model.betp.swiftflg,
}, },
gidgrp: { bedgrp: {
rec: { rec: {
purpos: this.model.gidgrp.rec.purpos, purpos: this.model.bedgrp.rec.purpos,
}, },
}, },
transName: trnName.toUpperCase(), transName: trnName.toUpperCase(),
......
export default { import Utils from '~/utils';
'liaall.misamt' :null,
'liaall.limmod.limpts.oth.pts.extkey' :null, /**
'liaall.limmod.ownref' :null, * Betacc Check规则
'bedgrp.apl.pts.nam' :null, */
'liaall.limmod.ecifno' :null, let checkObj = {
'bedgrp.prb.pts.nam' :null, 'liaall.misamt': null,
'liaall.limmod.limpts.oth.pts.nam' :null, 'liaall.limmod.limpts.oth.pts.extkey': null,
'setmod.dspflg' :null, 'liaall.limmod.ownref': null,
'setmod.redamt' :null, 'bedgrp.apl.pts.nam': null,
'aamset.utlamt2' :null, 'liaall.limmod.ecifno': null,
'liaall.limmod.limpts.wrk.pts.nam' :null, 'bedgrp.prb.pts.nam': null,
'liaall.limmod.limpts.wrk.pts.extkey' :null, 'liaall.limmod.limpts.oth.pts.nam': null,
'mtabut.coninf.conexedat' :null, 'setmod.dspflg': null,
'liaall.limmod.limpts.nonrevflg1' :null, 'setmod.redamt': null,
'setmod.docamt' :null, 'aamset.utlamt2': null,
'betp.furide' :null, 'liaall.limmod.limpts.wrk.pts.nam': null,
'bedgrp.iss.pts.nam' :null, 'liaall.limmod.limpts.wrk.pts.extkey': null,
'betp.ledget.sdamod.dadsnd': [ 'mtabut.coninf.conexedat': null,
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.limpts.nonrevflg1': null,
{ max: 16, message: '长度不能超过16' } 'setmod.docamt': null,
], 'betp.furide': null,
'ledgrp.rec.ownref': [ 'bedgrp.iss.pts.nam': null,
{ type: 'string', required: false, message: '必输项' }, 'betp.ledget.sdamod.dadsnd': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'betp.ledget.sdamod.seainf': [ ],
{ type: 'string', required: false, message: '必输项' }, 'ledgrp.rec.ownref': [
{ max: 3, message: '长度不能超过3' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'ledgrp.cbs.opn1.cur': [ ],
{ type: 'string', required: false, message: '必输项' }, 'betp.ledget.sdamod.seainf': [
{ max: 3, message: '长度不能超过3' } { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
'ledgrp.cbs.opn1.amt': [ ],
{ type: 'string', required: false, message: '必输项' }, 'ledgrp.cbs.opn1.cur': [
{ max: 18, message: '整数位不能超过14位' }, { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
'betp.recget.sdamod.dadsnd': [ ],
{ type: 'string', required: false, message: '必输项' }, 'ledgrp.cbs.opn1.amt': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 18, message: '整数位不能超过14位' },
'bedgrp.rec.ownref': [ ],
{ type: 'string', required: false, message: '必输项' }, 'betp.recget.sdamod.dadsnd': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'betp.recget.sdamod.seainf': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.rec.ownref': [
{ max: 3, message: '长度不能超过3' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'bedgrp.rec.nam': [ ],
{ type: 'string', required: false, message: '必输项' }, 'betp.recget.sdamod.seainf': [
{ max: 40, message: '长度不能超过40' } { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
],
'bedgrp.cbs.max.amt': [ 'bedgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 40, message: '长度不能超过40' },
], ],
'bedgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.cbs.max.amt': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 18, message: '整数位不能超过14位' },
],
'bedgrp.cbs.opn1.cur': [ 'bedgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.cbs.opn1.cur': [
{ max: 18, message: '整数位不能超过14位' }, { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
'bedgrp.prb.pts.nam': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.cbs.opn1.amt': [
{ max: 40, message: '长度不能超过40' } { type: 'string', required: false, message: '必输项' },
], { max: 18, message: '整数位不能超过14位' },
'bedgrp.iss.pts.ref': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.prb.pts.nam': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
],
'bedgrp.iss.pts.nam': [ 'bedgrp.iss.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.rec.matdat': [
{ type: 'date', required: false, message: '输入正确的日期' } 'bedgrp.iss.pts.nam': [
], { type: 'string', required: false, message: '必输项' },
'bedgrp.rec.rcvdat': [ { max: 40, message: '长度不能超过40' },
{ type: 'date', required: false, message: '输入正确的日期' } ],
], 'bedgrp.rec.matdat': [
'bedgrp.rec.predat': [ { type: 'date', required: false, message: '输入正确的日期' },
{ type: 'date', required: false, message: '输入正确的日期' } ],
], 'bedgrp.rec.rcvdat': [
'bedgrp.apl.pts.ref': [ { type: 'date', required: false, message: '输入正确的日期' },
{ type: 'string', required: false, message: '必输项' }, ],
{ max: 16, message: '长度不能超过16' } 'bedgrp.rec.predat': [
], { type: 'date', required: false, message: '输入正确的日期' },
'bedgrp.rec.docsta': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.apl.pts.ref': [
{ max: 40, message: '长度不能超过40' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'bedgrp.apl.pts.nam': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.rec.docsta': [
{ max: 40, message: '长度不能超过40' } { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
'trnmod.swiadd.strinf': [ ],
{ type: 'string', required: false, message: '必输项' }, 'bedgrp.apl.pts.nam': [
{ max: 35, message: '长度不能超过35' } { type: 'string', required: false, message: '必输项' },
], { max: 40, message: '长度不能超过40' },
],
'trnmod.swiadd.strinf': [
'bedgrp.rec.disdat': [ { type: 'string', required: false, message: '必输项' },
{ type: 'date', required: false, message: '输入正确的日期' } { max: 35, message: '长度不能超过35' },
], ],
'setmod.docamt': [ 'bedgrp.rec.disdat': [
{ type: 'string', required: false, message: '必输项' }, { type: 'date', required: false, message: '输入正确的日期' },
{ max: 18, message: '整数位不能超过14位' }, ],
],
'setmod.redamt': [ 'setmod.docamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, message: '整数位不能超过14位' },
], ],
'setmod.redamt': [
'aamset.utlamt': [ { type: 'string', required: false, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 18, message: '整数位不能超过14位' },
{ max: 18, message: '整数位不能超过14位' }, ],
],
'aamset.utlamt2': [ 'aamset.utlamt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, message: '整数位不能超过14位' },
], ],
'snadat': [ 'aamset.utlamt2': [
{ type: 'date', required: false, message: '输入正确的日期' } { type: 'string', required: false, message: '必输项' },
], { max: 18, message: '整数位不能超过14位' },
'setmod.ref': [ ],
{ type: 'string', required: false, message: '必输项' }, snadat: [{ type: 'date', required: false, message: '输入正确的日期' }],
{ max: 16, message: '长度不能超过16' } 'setmod.ref': [
], { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
'setmod.zmqacc': [ { max: 20, message: '长度不能超过20' },
{ type: 'string', required: false, message: '必输项' }, ],
{ max: 20, message: '长度不能超过20' }
], 'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
'liaall.outamt': [ {
{ type: 'number', required: false, message: '必输项' }, pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{ max: 18, message: '整数位不能超过14位' }, message: '小数位不能超过3位',
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } },
], ],
'liaall.outpct': [ 'liaall.outpct': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' } { max: 6, message: '长度不能超过6' },
], ],
'liaall.concur': [ 'liaall.concur': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'liaall.misamt': [ 'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { 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位' }, 'liaall.exttotoldamt': [
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } { type: 'number', required: false, message: '必输项' },
], { max: 18, message: '整数位不能超过14位' },
'liaall.exttotamt': [ {
{ type: 'number', required: false, message: '必输项' }, pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{ max: 18, message: '整数位不能超过14位' }, message: '小数位不能超过3位',
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } },
], ],
'liaall.exttotamt': [
'trnmod.trndoc.advnam': [ { type: 'number', required: false, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 18, message: '整数位不能超过14位' },
{ max: 50, message: '长度不能超过50' } {
], pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
'trnmod.trndoc.amdapl': [ message: '小数位不能超过3位',
{ type: 'string', required: true, message: '必输项' }, },
{ max: 50, message: '长度不能超过50' } ],
],
'trnmod.trndoc.advnam': [
'trnmod.trndoc.advdoc': [ { type: 'string', required: false, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 50, message: '长度不能超过50' },
{ max: 1, message: '长度不能超过1' } ],
], 'trnmod.trndoc.amdapl': [
'trnmod.trndoc.filrecv': [ { type: 'string', required: true, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 50, message: '长度不能超过50' },
{ max: 16, message: '长度不能超过16' } ],
],
'trnmod.trndoc.doctrestm': [ 'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' }, { 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' },
],
'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.condocstm': [ 'trnmod.trndoc.condocstm': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' } { max: 1, message: '长度不能超过1' },
], ],
'trnmod.trndoc.rcvatt.seainf': [ 'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'mtabut.coninf.oitinf.oit.inftxt': [ 'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' } { max: 60, message: '长度不能超过60' },
], ],
'mtabut.coninf.oitset.oit.inftxt': [
'mtabut.coninf.oitset.oit.inftxt': [ { type: 'string', required: true, message: '必输项' },
{ type: 'string', required: true, message: '必输项' }, { max: 60, message: '长度不能超过60' },
{ max: 60, message: '长度不能超过60' } ],
],
'mtabut.coninf.conexedat': [
'mtabut.coninf.conexedat': [ { type: 'date', required: false, message: '输入正确的日期' },
{ type: 'date', required: false, message: '输入正确的日期' } ],
], 'mtabut.coninf.usr.extkey': [
'mtabut.coninf.usr.extkey': [ { type: 'string', required: false, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 8, message: '长度不能超过8' },
{ max: 8, message: '长度不能超过8' } ],
], 'liaall.limmod.ecifno': [
'liaall.limmod.ecifno': [ { type: 'string', required: false, message: '必输项' },
{ 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' },
'liaall.limmod.ownref': [ ],
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [ ],
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [ ],
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.limpts.wrk.pts.extkey': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 16, message: '长度不能超过16' },
'liaall.limmod.limpts.wrk.pts.extkey': [ ],
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [ ],
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } 'liaall.limmod.limpts.oth.pts.extkey': [
], { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
'liaall.limmod.limpts.oth.pts.extkey': [ ],
{ type: 'string', required: false, message: '必输项' }, 'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ max: 16, message: '长度不能超过16' } { type: 'string', required: false, message: '必输项' },
], { max: 3, message: '长度不能超过3' },
'liaall.limmod.othp.ptsget.sdamod.seainf': [ ],
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } 'liaall.limmod.comamt': [
], { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
'liaall.limmod.comamt': [ {
{ type: 'number', required: false, message: '必输项' }, pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
{ max: 18, message: '整数位不能超过14位' }, message: '小数位不能超过3位',
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' } },
], ],
'liaall.limmod.limpts.wrk.pts.nam': [ 'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'liaall.limmod.limpts.oth.pts.nam': [ 'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'liaall.limmod.ccvamt': [ 'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' }, { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { 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': [
'liaall.limmod.limpts.pfcod1': [ { type: 'string', required: false, message: '必输项' },
{ type: 'string', required: false, message: '必输项' }, { max: 14, message: '长度不能超过14' },
{ max: 14, message: '长度不能超过14' } ],
], 'liaall.limmod.limpts.pfcod2': [
'liaall.limmod.limpts.pfcod2': [ { type: 'string', required: false, message: '必输项' },
{ 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;
import Pts from '~/components/business/commonModel/Pts'; import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js'; import Pub from '~/components/business/commonModel/index.js';
export default class Betacc { export default class Betacc {
constructor() { constructor() {
this.data = { this.data = {
betp: { betp: {
furide: '', furide: '',
adaflg: '', adaflg: '',
cre752flg: '' cre752flg: ''
},
setmod: {
redamt: '',
doccur: '',
docamt: ''
},
ledgrp: {
rec: {
ownref: ''
}, },
cbs: {
opn1: { ledgrp: {
cur: '', rec: {
amt: '' ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
} }
} },
}, aamset: {
aamset: { utlamt: '',
utlamt: '', utlamt2: ''
utlamt2: '' },
}, mtabut: {
mtabut: { coninf: {
coninf: { usr: {
usr: { extkey: ''
extkey: '' }
} }
}
},
snadat: '',
bedgrp: {
rec: {
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
matdat: '',
disdat: '',
nam: ''
}, },
cbs: { snadat: '',
opn1: { bedgrp: {
cur: '', ini: {
amt: '' 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: '',
doctypcod: '',
docsta: '',
ownref: '',
matdat: '',
disdat: '',
nam: ''
}, },
opn2: { cbs: {
cur: '' opn1: {
}, cur: '',
max: { amt: ''
cur: '', },
amt: '' opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
}
} }
},
trnmod: {
swiadd: {
strinf: ''
}
},
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,
} }
}, }
trnmod: { }
swiadd: { \ No newline at end of file
strinf: ''
}
},
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,
};
}
}
...@@ -3,16 +3,29 @@ ...@@ -3,16 +3,29 @@
<!-- left --> <!-- left -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref" style="width: 100%"> <el-form-item
<c-fullbox> label="出口信用证编号"
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入出口信用证编号" disabled></c-input> prop="ledgrp.rec.ownref"
<template slot="footer"> style="width: 100%"
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" >
icon="el-icon-info"> <c-fullbox>
</c-button> <c-input
</template> v-model="model.ledgrp.rec.ownref"
</c-fullbox> maxlength="16"
</el-form-item> placeholder="请输入出口信用证编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
<!-- <c-col :span="2" :offset="1" style="text-align: right"> <!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
...@@ -27,19 +40,32 @@ ...@@ -27,19 +40,32 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="出口单据编号" prop="bedgrp.rec.ownref" style="width: 100%"> <el-form-item
<c-fullbox> label="出口单据编号"
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入出口单据编号" disabled></c-input> prop="bedgrp.rec.ownref"
<template slot="footer"> style="width: 100%"
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" >
icon="el-icon-info"> <c-fullbox>
</c-button> <c-input
</template> v-model="model.bedgrp.rec.ownref"
</c-fullbox> maxlength="16"
</el-form-item> placeholder="请输入出口单据编号"
</c-col> disabled
></c-input>
<!-- <c-col :span="2" :offset="1" style="text-align: right"> <template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
...@@ -54,12 +80,26 @@ ...@@ -54,12 +80,26 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-fullbox> <c-fullbox>
<c-input v-model="model.bedgrp.cbs.max.cur" maxlength="3" style="width: 50%" placeholder="请输入单据金额" <c-input
disabled></c-input> v-model="model.bedgrp.cbs.max.cur"
<c-input-currency v-model="model.bedgrp.cbs.max.amt" style="width: 50%" placeholder="请输入金额" maxlength="3"
disabled></c-input-currency> 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"> <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> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -67,47 +107,86 @@ ...@@ -67,47 +107,86 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.opn1.amt"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod"> <el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" style="width: 100%" placeholder="请输入单据类型" disabled> <c-select
<el-option v-for="item in codes.doctypcod1" :key="item.value" :label="item.label" :value="item.value"> 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> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="到期日" prop="bedgrp.rec.matdat"> <el-form-item label="到期日" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width: 100%" placeholder="请选择到期日" <c-date-picker
disabled></c-date-picker> type="date"
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="收到日期" prop="bedgrp.rec.rcvdat"> <el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width: 100%" placeholder="请选择收到日期" <c-date-picker
disabled></c-date-picker> type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择收到日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单日期" prop="bedgrp.rec.predat"> <el-form-item label="交单日期" prop="bedgrp.rec.predat">
<c-date-picker type="date" v-model="model.bedgrp.rec.predat" style="width: 100%" placeholder="请选择日期" <c-date-picker
disabled></c-date-picker> type="date"
v-model="model.bedgrp.rec.predat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据状态" prop="bedgrp.rec.docsta"> <el-form-item label="单据状态" prop="bedgrp.rec.docsta">
<c-select v-model="model.bedgrp.rec.docsta" style="width: 100%" placeholder="请选择单据状态" disabled <c-select
:code="codes.docsta"> v-model="model.bedgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
disabled
:code="codes.docsta"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -118,42 +197,74 @@ ...@@ -118,42 +197,74 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg :model="model" :argadr="{ <c-ptsmsg
title: '交单人', :model="model"
grp: 'bedgrp', :argadr="{
rol: 'prb', title: '交单人',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg :model="model" :argadr="{ <c-ptsmsg
title: '开证行', :model="model"
grp: 'bedgrp', :argadr="{
rol: 'iss', title: '开证行',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> grp: 'bedgrp',
rol: 'iss',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg :model="model" :argadr="{ <c-ptsmsg
title: '申请人', :model="model"
grp: 'bedgrp', :argadr="{
rol: 'apl', title: '申请人',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> grp: 'bedgrp',
rol: 'apl',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
...@@ -166,21 +277,38 @@ ...@@ -166,21 +277,38 @@
<!-- left --> <!-- left -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="到期日修订说明" prop="trnmod.swiadd.strinf"> <el-form-item
<c-input type="textarea" v-model="model.trnmod.swiadd.strinf" maxlength="35" show-word-limit label="到期日修订说明"
placeholder="请输入说明"></c-input> 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> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.doccur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="setmod.docamt"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -188,12 +316,21 @@ ...@@ -188,12 +316,21 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据部分金额" prop="bedgrp.cbs.opn2.cur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -201,19 +338,33 @@ ...@@ -201,19 +338,33 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt2"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发送索偿电日期" prop="snadat"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -221,57 +372,77 @@ ...@@ -221,57 +372,77 @@
<!-- right --> <!-- right -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="18"> <c-col :span="18">
<el-form-item label="进一步识别" prop="betp.furide"> <el-form-item label="进一步识别" prop="betp.furide">
<c-select v-model="model.betp.furide" maxlength="10" style="width: 100%" placeholder="请选择进一步识别" <c-select
:disabled="!cre752flg" :code="codes.furide"></c-select> v-model="model.betp.furide"
maxlength="10"
style="width: 100%"
placeholder="请选择进一步识别"
:disabled="!cre752flg"
:code="codes.furide"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <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>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="通知日期" prop="bedgrp.rec.disdat"> <el-form-item label="通知日期" prop="bedgrp.rec.disdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.disdat" style="width: 100%" placeholder="请选择通知日期" <c-date-picker
disabled></c-date-picker> type="date"
v-model="model.bedgrp.rec.disdat"
style="width: 100%"
placeholder="请选择通知日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="折扣金额" prop="setmod.doccur"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="setmod.redamt"> <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> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betacc/Event";
import Ptsmsg from "~/views/Public/Ptsmsg"; import Ptsmsg from "~/views/Public/Ptsmsg";
import event from '../event'
export default { export default {
components: { "c-ptsmsg": Ptsmsg }, components: { "c-ptsmsg": Ptsmsg },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return {}; return {};
}, },
...@@ -289,8 +460,9 @@ export default { ...@@ -289,8 +460,9 @@ export default {
return this.model.mtabut.coninf.usr.extkey == ""; return this.model.mtabut.coninf.usr.extkey == "";
}, },
}, },
methods: { ...Event }, methods: { },
created: function () { }, created: function () {},
}; };
</script> </script>
<style></style> <style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="承兑" name="accp"> <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 CodeTable from "~/config/CodeTable";
import Accp from "./Accp"
import event from '../event'
<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"
export default {
components: {
"m-accp": Accp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["accp"],
};
},
methods: { ...Event },
created:
function () { },
};
</script>
<style></style>
export default {
components:{
"m-accp" : Accp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["accp"],
};
},
methods: { },
created:
function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="出口信用证单据承兑"> <c-page title="出口信用证单据承兑">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<!-- <c-function-btn> <!-- <c-function-btn>
<el-button size="small">流程附言</el-button> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button> <el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
...@@ -13,40 +13,47 @@ ...@@ -13,40 +13,47 @@
<!-- <el-button size="small">制裁信息</el-button> <!-- <el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button> --> <el-button size="small">拆分报文</el-button> -->
<!-- <el-button size="small">智能提示</el-button> <!-- <el-button size="small">智能提示</el-button>
</c-function-btn> --> </c-function-btn> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" <el-form
:validate-on-rule-change="false"> :model="model"
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :rules="rules"
<!--PD000033 --> ref="modelForm"
<el-tab-pane label="业务信息" name="ovwp"> label-width="120px"
<c-content> label-position="right"
<m-ovwp :model="model" :codes="codes" /> size="small"
</c-content> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 --> <!--PD000033 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content> <c-content>
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setpan">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
:codes="codes" :codes="codes"
@changeSetmodModel="changeSetmodModel"
/> />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -54,74 +61,70 @@ ...@@ -54,74 +61,70 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<!--PD000529 --> <c-content>
<el-tab-pane label="报文/面函" name="docpan"> <m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<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>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn> </c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import event from '../event';
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Betacc from "~/model/Betacc"; import Betacc from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betacc/Check";
import Default from "~/model/Betacc/Default";
import Pattern from "~/model/Betacc/Pattern";
import Accp from "./Accp"; import Accp from "./Accp";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/components/business/doctre/views";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/components/business/coninfp/views"; import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Limitbody from "~/components/business/limitbody/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"; import Ovwp from "./Ovwp";
export default { export default {
name: "Betacc", name: "Betacc",
components: { components: {
"m-accp": Accp, "m-accp": Accp,
"m-setpan": Setpan, "m-setmod": Setmod,
"m-engp": Engp, "m-engp": Engp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-glentry": Glentry,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
}, },
provide() { provide() {
...@@ -129,21 +132,24 @@ export default { ...@@ -129,21 +132,24 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [operationFunc, event], mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "betacc", trnName: "betacc",
model: new Betacc().data, model: new Betacc().data,
rules: formRules, rules: null,
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames: ["engp"], activeNames: ["engp"],
}; };
}, },
methods: {} methods: {
},
}; };
</script> </script>
<style></style> <style>
</style>
...@@ -241,7 +241,14 @@ export default class Betset { ...@@ -241,7 +241,14 @@ export default class Betset {
} }
}, },
bptbck: { bptbck: {
bptbckg: '' bptbckg:
[
{ownref:'',
opncur:'',
opnamt:'',
bckamt:''},
]
,
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -62,6 +62,8 @@ const Business = [ ...@@ -62,6 +62,8 @@ const Business = [
{ path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } }, { path: 'letdrw', component: () => import('~/business/letdrw/views'), name: 'letdrw', meta: { title: '出口信用证单据收单' } },
{ path: 'letamc', component: () => import('~/business/letamc/views'), name: 'letamc', 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: 'betdrv', component: () => import('~/business/betdrv/views'), name: 'betdrv', meta: { title: '出口信用证单据修改单据金额' } },
{ path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } }, { path: 'betset', component: () => import('~/business/betset/views'), name: 'betset', meta: { title: '出口信用证出口收汇' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', 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