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 { ...@@ -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,
'mtabut.coninf.conexedat': null,
'liaall.limmod.limpts.nonrevflg1': null,
'setmod.docamt': null,
'betp.furide': null,
'bedgrp.iss.pts.nam': null,
'betp.ledget.sdamod.dadsnd': [ 'betp.ledget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'ledgrp.rec.ownref': [ 'ledgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'betp.ledget.sdamod.seainf': [ 'betp.ledget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'ledgrp.cbs.opn1.cur': [ 'ledgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'ledgrp.cbs.opn1.amt': [ 'ledgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
...@@ -38,19 +43,19 @@ export default { ...@@ -38,19 +43,19 @@ export default {
], ],
'betp.recget.sdamod.dadsnd': [ 'betp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.rec.ownref': [ 'bedgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'betp.recget.sdamod.seainf': [ 'betp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'bedgrp.rec.nam': [ 'bedgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'bedgrp.cbs.max.amt': [ 'bedgrp.cbs.max.amt': [
...@@ -59,12 +64,12 @@ export default { ...@@ -59,12 +64,12 @@ export default {
], ],
'bedgrp.prb.pts.ref': [ 'bedgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.cbs.opn1.cur': [ 'bedgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'bedgrp.cbs.opn1.amt': [ 'bedgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
...@@ -72,46 +77,45 @@ export default { ...@@ -72,46 +77,45 @@ export default {
], ],
'bedgrp.prb.pts.nam': [ 'bedgrp.prb.pts.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'bedgrp.iss.pts.ref': [ 'bedgrp.iss.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.iss.pts.nam': [ 'bedgrp.iss.pts.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'bedgrp.rec.matdat': [ 'bedgrp.rec.matdat': [
{ type: 'date', required: false, message: '输入正确的日期' } { type: 'date', required: false, message: '输入正确的日期' },
], ],
'bedgrp.rec.rcvdat': [ 'bedgrp.rec.rcvdat': [
{ type: 'date', required: false, message: '输入正确的日期' } { type: 'date', required: false, message: '输入正确的日期' },
], ],
'bedgrp.rec.predat': [ 'bedgrp.rec.predat': [
{ type: 'date', required: false, message: '输入正确的日期' } { type: 'date', required: false, message: '输入正确的日期' },
], ],
'bedgrp.apl.pts.ref': [ 'bedgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'bedgrp.rec.docsta': [ 'bedgrp.rec.docsta': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'bedgrp.apl.pts.nam': [ 'bedgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' } { max: 40, message: '长度不能超过40' },
], ],
'trnmod.swiadd.strinf': [ 'trnmod.swiadd.strinf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' } { max: 35, message: '长度不能超过35' },
], ],
'bedgrp.rec.disdat': [ 'bedgrp.rec.disdat': [
{ type: 'date', required: false, message: '输入正确的日期' } { type: 'date', required: false, message: '输入正确的日期' },
], ],
'setmod.docamt': [ 'setmod.docamt': [
...@@ -131,180 +135,180 @@ export default { ...@@ -131,180 +135,180 @@ export default {
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, { max: 18, message: '整数位不能超过14位' },
], ],
'snadat': [ snadat: [{ type: 'date', required: false, message: '输入正确的日期' }],
{ type: 'date', required: false, message: '输入正确的日期' }
],
'setmod.ref': [ 'setmod.ref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'setmod.zmqacc': [ 'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' } { max: 20, message: '长度不能超过20' },
], ],
'liaall.outamt': [ 'liaall.outamt': [
{ 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.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': [ 'liaall.exttotoldamt': [
{ 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.exttotamt': [ 'liaall.exttotamt': [
{ 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位',
},
], ],
'trnmod.trndoc.advnam': [ 'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' } { max: 50, message: '长度不能超过50' },
], ],
'trnmod.trndoc.amdapl': [ 'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' } { max: 50, message: '长度不能超过50' },
], ],
'trnmod.trndoc.advdoc': [ 'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' } { max: 1, message: '长度不能超过1' },
], ],
'trnmod.trndoc.filrecv': [ 'trnmod.trndoc.filrecv': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'trnmod.trndoc.doctrestm': [ 'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' } { 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': [ 'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [ 'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [ 'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.limpts.wrk.pts.extkey': [ 'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [ 'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'liaall.limmod.limpts.oth.pts.extkey': [ 'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' } { max: 16, message: '长度不能超过16' },
], ],
'liaall.limmod.othp.ptsget.sdamod.seainf': [ 'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' } { max: 3, message: '长度不能超过3' },
], ],
'liaall.limmod.comamt': [ 'liaall.limmod.comamt': [
{ 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.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;
...@@ -8,11 +8,7 @@ export default class Betacc { ...@@ -8,11 +8,7 @@ export default class Betacc {
adaflg: '', adaflg: '',
cre752flg: '' cre752flg: ''
}, },
setmod: {
redamt: '',
doccur: '',
docamt: ''
},
ledgrp: { ledgrp: {
rec: { rec: {
ownref: '' ownref: ''
...@@ -37,6 +33,58 @@ export default class Betacc { ...@@ -37,6 +33,58 @@ export default class Betacc {
}, },
snadat: '', snadat: '',
bedgrp: { 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: { rec: {
predat: '', predat: '',
rcvdat: '', rcvdat: '',
...@@ -72,6 +120,6 @@ export default class Betacc { ...@@ -72,6 +120,6 @@ export default class Betacc {
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv, liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
}; }
} }
} }
\ No newline at end of file
...@@ -3,12 +3,25 @@ ...@@ -3,12 +3,25 @@
<!-- 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
label="出口信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox> <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"> <template slot="footer">
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" <c-button
icon="el-icon-info"> style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -27,12 +40,25 @@ ...@@ -27,12 +40,25 @@
</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
label="出口单据编号"
prop="bedgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox> <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"> <template slot="footer">
<c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" <c-button
icon="el-icon-info"> style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -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
:model="model"
:argadr="{
title: '交单人', title: '交单人',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'prb', rol: 'prb',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> }"
: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
:model="model"
:argadr="{
title: '开证行', title: '开证行',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'iss', rol: 'iss',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> }"
: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
:model="model"
:argadr="{
title: '申请人', title: '申请人',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'apl', rol: 'apl',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg> }"
: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>
...@@ -224,33 +375,55 @@ ...@@ -224,33 +375,55 @@
<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>
...@@ -262,16 +435,14 @@ ...@@ -262,16 +435,14 @@
</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" /> <m-accp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</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 Accp from "./Accp"
import Event from "~/model/Gitcrj/Event"; import event from '../event'
import Accp from "./Accp"
export default {
export default { components:{
components: { "m-accp" : Accp,
"m-accp": Accp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return { return {
activeNames: ["accp"], activeNames: ["accp"],
}; };
}, },
methods: { ...Event }, methods: { },
created: created:
function () { }, function () {},
}; };
</script> </script>
<style></style> <style>
</style>
\ No newline at end of file
...@@ -15,8 +15,15 @@ ...@@ -15,8 +15,15 @@
<!-- <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"
: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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
...@@ -33,6 +40,7 @@ ...@@ -33,6 +40,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
...@@ -41,12 +49,11 @@ ...@@ -41,12 +49,11 @@
</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>
...@@ -57,13 +64,10 @@ ...@@ -57,13 +64,10 @@
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 -->
<!--PD000510 --> <el-tab-pane label="备查/附言" name="coninfp">
<el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<div class="eibs-tab"> <m-coninfp :model="model" :codes="codes" />
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -85,43 +89,42 @@ ...@@ -85,43 +89,42 @@
</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,
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
...this.model.infcon, ...this.model.infcon,
seadocflg: this.model.seadocflg, seadocflg: this.model.seadocflg,
seagodcod: this.model.seagodcod, seagodcod: this.model.seagodcod,
inr:this.model.brdgrp.rec.inr, inr:this.model.ledgrp.rec.inr,
pageIndex: this.pagination.pageIndex, pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'), opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'),
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
this.model.infcon.nam = ''; this.model.infcon.nam = '';
this.model.infcon.seapty = ''; this.model.infcon.seapty = '';
this.model.infcon.searef = ''; this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = ''; this.model.ledgrp.rec.inr = '';
this.model.seagodcod = ''; this.model.seagodcod = '';
this.model.seadocflg = ''; this.model.seadocflg = '';
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<c-list-search <c-list-search
@form-reset="handleReset('paramsForm')" @form-reset="handleReset"
@form-search="handleSearch" @form-search="handleSearch"
> >
<template v-slot="searchSlot"> <template v-slot="searchSlot">
...@@ -264,13 +264,19 @@ ...@@ -264,13 +264,19 @@
</template> </template>
</c-list-search> </c-list-search>
<el-row> <div style="height: 90%">
<c-col :span="24"> <c-col :span="24">
<el-table <el-table
:data="stmData.data" :data="stmData.data"
:columns="stmData.columns" :columns="stmData.columns"
:showButtonFlg="true" :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"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header"> <template slot="header">
...@@ -352,10 +358,23 @@ ...@@ -352,10 +358,23 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </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> </c-col>
</el-row> </div>
<m-busbtn <!-- <m-busbtn
ref="childs" ref="childs"
:ownref="ownref" :ownref="ownref"
trnCode="letsel" trnCode="letsel"
...@@ -363,13 +382,12 @@ ...@@ -363,13 +382,12 @@
tabIndex="3" tabIndex="3"
:model="letselModel" :model="letselModel"
>11</m-busbtn >11</m-busbtn
> > -->
</div> </div>
</template> </template>
<script> <script>
// import BetselModel from "~/model/Betsel"; // import BetselModel from "~/model/Betsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import event from "../event"; import event from "../event";
export default { export default {
...@@ -384,123 +402,128 @@ export default { ...@@ -384,123 +402,128 @@ export default {
trnData: { trnData: {
columns: [ columns: [
{ {
label: "交易id",
prop: "inr",
},
{
label: "单据编号", label: "单据编号",
prop: "ownref", prop: "ownref",
}, },
{ {
label: "交易名称", label: "客户经理",
prop: "ininam", prop: "ownusr",
}, },
{ {
label: "条目", label: "发票编号",
prop: "inidattim", prop: "benref",
}, },
{ {
label: "状态", label: "申请人编号",
prop: "relflg", prop: "aplref",
}, },
{ {
label: "币种", label: "申请人名称",
prop: "reloricur", prop: "aplnam",
}, },
{ {
label: "相关金额", label: "PTA主键",
prop: "reloriamt", prop: "ptainr",
}, },
{ {
label: "标识", label: "受益人名称",
prop: "relres", prop: "benefi",
}, },
], {
data: [], label: "交单行编号",
prop: "bankno",
}, },
stmData: {
columns: [
{ {
label: "信用证编号", label: "受益人中文名称",
prop: "ownref", prop: "ptanam",
}, },
{ {
label: "客户经理", label: "开证行编号",
prop: "ownusr", prop: "issextkey",
}, },
{ {
label: "期限日", label: "开证行名称",
prop: "maxcur", prop: "issnam",
}, },
{ {
label: "开立日期", label: "开证行编号",
prop: "maxamt", prop: "issextkey",
}, },
],
data: [],
},
stmData: {
columns: [
{ {
label: "生效日期", label: "信用证编号",
prop: "opndat", prop: "ownref",
}, },
{ {
label: "关闭日期", label: "客户经理",
prop: "aplref", prop: "ownusr",
}, },
{ {
label: "分行名称", label: "发票编号",
prop: "aplnam", prop: "benref",
}, },
{ {
label: "申请人编号", label: "申请人编号",
prop: "benefi", prop: "aplref",
}, },
{ {
label: "申请人名称", label: "申请人名称",
prop: "bankno", prop: "aplnam",
}, },
{ {
label: "PTA主键", label: "PTA主键",
prop: "clsdat", prop: "ptainr",
}, },
{ {
label: "受益人编号", label: "受益人名称",
prop: "stagod", prop: "benefi",
}, },
{ {
label: "受益人编号", label: "交单行编号",
prop: "stagod", prop: "bankno",
}, },
{ {
label: "受益人名称", label: "受益人中文名称",
prop: "stagod", prop: "ptanam",
}, },
{ {
label: "受益人名称(中文)", label: "开证行编号",
prop: "stagod", prop: "issextkey",
}, },
{ {
label: "开证行编号", label: "开证行名称",
prop: "stagod", prop: "issnam",
}, },
{ {
label: "开证名称", label: "开立日期",
prop: "stagod", prop: "opndat",
}, },
{ {
label: "金额币种", label: "关闭日期",
prop: "stagod", prop: "clsdat",
}, },
{ {
label: "信用证金额", label: "单据金额币种",
prop: "stagod", prop: "maxcur",
}, },
{ {
label: "余额币种", label: "单据金额",
prop: "stagod", prop: "maxamt",
},
{
label: "开立金额币种",
prop: "opncur",
}, },
{ {
label: "信用证余额", label: "开立金额",
prop: "stagod", prop: "opnamt",
}, },
], ],
data: [], data: [],
...@@ -510,31 +533,13 @@ export default { ...@@ -510,31 +533,13 @@ export default {
pageSize: 10, pageSize: 10,
total: 0, total: 0,
}, },
initdialog: false, initdialog: false,
handlerDataList: [], handlerDataList: [],
btnRouteMap: [
{
label: '出口信用证预开立',
route: '/business-new/letnot'
},
{
label: '出口信用证开立',
route: '/business-new/letopn'
},
{
label: '非我行通知及收单行登记',
route: '/business-new/letdrw'
},
{
label:'出口信用证补通知',
route:'/business-new/letrsv'
},
],
currentHandleRow: {}, currentHandleRow: {},
}; };
}, },
methods: { methods: {
}, },
created: function () {}, created: function () {},
}; };
...@@ -543,4 +548,14 @@ export default { ...@@ -543,4 +548,14 @@ export default {
.m-table-search { .m-table-search {
padding: 20px 0px 10px 0px; 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> </style>
...@@ -45,7 +45,14 @@ export default { ...@@ -45,7 +45,14 @@ export default {
} }
}, },
methods:{ methods:{
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime);
}
},
mounted () {
this.getInidatfro()
}, },
} }
</script> </script>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Infgid from "../model"; import Infgid from "../model";
import Infsea from "./Infsea"; import Infsea from "./Infsea";
import event from "../event"
export default { export default {
name: "Infgid", name: "Infgid",
components: { components: {
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [event],
data() { data() {
return { return {
tabVal: "", tabVal: "",
......
...@@ -143,6 +143,9 @@ export default { ...@@ -143,6 +143,9 @@ export default {
}); });
}, },
toLetopn() { toLetopn() {
// 点击开立,清空从待经办进来的时候带的行参数
localStorage.setItem('row_letopn', null)
localStorage.setItem('review_letopn',null)
this.$router.history.push('/business-new/letopn'); this.$router.history.push('/business-new/letopn');
}, },
toLetnot() { toLetnot() {
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
ownref: model.ledgrp.rec.ownref, ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat, opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat, expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr, branchInr: model.ledgrp.rec.branchinr,
hndtyp: model.ledgrp.rec.hndtyp, hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp, gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua, fingua: model.ledgrp.rec.fingua,
......
...@@ -104,7 +104,7 @@ let checkObj = { ...@@ -104,7 +104,7 @@ let checkObj = {
], ],
'ledgrp.rec.lcrtyp': [ 'ledgrp.rec.lcrtyp': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
{ max: 40, message: '长度不能超过40' }, { max: 40, message: '长度不能超过40' },
], ],
...@@ -189,7 +189,7 @@ let checkObj = { ...@@ -189,7 +189,7 @@ let checkObj = {
{ max: 16, message: '长度不能超过16' }, { max: 16, message: '长度不能超过16' },
], ],
'ledgrp.rec.opndat': [ 'ledgrp.rec.opndat': [
{ type: 'string', required: false, message: '输入正确的日期' }, { type: 'string', required: true, message: '输入正确的日期' },
], ],
'ledgrp.rec.preadvdt': [ 'ledgrp.rec.preadvdt': [
{ type: 'string', required: false, message: '输入正确的日期' }, { type: 'string', required: false, message: '输入正确的日期' },
......
...@@ -6,9 +6,6 @@ export default class Letopn { ...@@ -6,9 +6,6 @@ export default class Letopn {
this.data = { this.data = {
number: '', number: '',
ledgrp: { ledgrp: {
a2b: {
pts: new Pts().data,
},
blk: { blk: {
spcben:'', spcben:'',
dftat: '', dftat: '',
...@@ -24,6 +21,7 @@ export default class Letopn { ...@@ -24,6 +21,7 @@ export default class Letopn {
spcrcb:'', spcrcb:'',
}, },
rec: { rec: {
branchinr: '00000047',
stagod: '', stagod: '',
tenmaxday: '', tenmaxday: '',
nomton: '', nomton: '',
......
...@@ -453,7 +453,7 @@ export default { ...@@ -453,7 +453,7 @@ export default {
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){ 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.cur=this.model.ledgrp.cbs.nom1.cur;
this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt; 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 { ...@@ -169,11 +169,12 @@ export default {
async nomtopChange() { async nomtopChange() {
let params = { let params = {
nomtop: this.model.lidgrp.rec.nomtop, 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); let res = await Api.post('/service/litopn/maxamt', params);
if (res.respCode == SUCCESS) { 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 { ...@@ -185,7 +186,7 @@ export default {
}; };
let res = await Api.post('/service/litopn/blkdftat', params); let res = await Api.post('/service/litopn/blkdftat', params);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.model.lidgrp.blk.dftat = res.data; this.model.lidgrp.blk.dftat = res.data.blkdftat;
} }
}, },
async avbwthChange() { async avbwthChange() {
...@@ -200,8 +201,8 @@ export default { ...@@ -200,8 +201,8 @@ export default {
}; };
let res = await Api.post('/service/litopn/avbwth', params); let res = await Api.post('/service/litopn/avbwth', params);
if (res.respCode == SUCCESS) { 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 { ...@@ -385,39 +385,35 @@ export default {
this.flag1 = false; this.flag1 = false;
this.flag2 = true; this.flag2 = true;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
} }
if (val == "N") { if (val == "N") {
this.flag1 = false; this.flag1 = false;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
} }
if (val == "P") { if (val == "P") {
this.flag1 = true; this.flag1 = true;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; this.flag3 = true;
this.model.lidgrp.rec.tenmaxday == 0 this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
} }
if (val == "M") { if (val == "M") {
this.flag1 = true; this.flag1 = true;
this.flag2 = true; this.flag2 = true;
this.flag3 = false; this.flag3 = false;
this.model.lidgrp.blk.defdet=""
} }
if (val == "A") { if (val == "A") {
this.flag1 = true; this.flag1 = true;
this.flag2 = false; this.flag2 = false;
this.flag3 = true; 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> </script>
......
...@@ -581,15 +581,15 @@ export default { ...@@ -581,15 +581,15 @@ export default {
}; };
}, },
methods: { methods: {
nomtopChange(){ // nomtopChange(){
this.executeDefault("lidgrp.cbs.max.amt").then((res) => { // this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
if ((res.respCode == SUCCESS)) { // if ((res.respCode == SUCCESS)) {
// this.updateModel(res.data); // // this.updateModel(res.data);
Utils.copyValueFromVO(this.model, res.data); // Utils.copyValueFromVO(this.model, res.data);
} // }
}); // });
}, // },
open(val) { open(val) {
if ( if (
val === "" && val === "" &&
...@@ -652,7 +652,7 @@ export default { ...@@ -652,7 +652,7 @@ export default {
const res = this.model.lidgrp const res = this.model.lidgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== ""){ 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.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}` 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 = [ ...@@ -62,7 +62,9 @@ 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: '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: '出口信用证单据承兑' } },
] ]
export default Business export default Business
\ No newline at end of file
...@@ -12,5 +12,6 @@ const Business = [ ...@@ -12,5 +12,6 @@ const Business = [
{ path: 'letdrv', component: () => import('~/review/ReviewLetdrv.vue'), name: 'letdrv', meta: { title: '复核-Letdrv' } }, { 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: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } },
{ 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' } },
] ]
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