Commit 53b3bd8e by WF1020

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

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 6e6cad29 a53edd0e
...@@ -113,9 +113,9 @@ export default { ...@@ -113,9 +113,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'GID', objtyp: 'bed',
objinr: model.gidgrp.rec.objinr, objinr: model.bedgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -124,9 +124,9 @@ export default { ...@@ -124,9 +124,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'lid', objtyp: 'bed',
objinr: model.brdgrp.rec.objinr, objinr: model.bedgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.brtp.swiftflg,
}, },
}; };
......
export default { export default {
'liaall.misamt' :null, 'liaall.misamt': null,
'liaall.limmod.limpts.oth.pts.extkey' :null, 'liaall.limmod.limpts.oth.pts.extkey': null,
'liaall.limmod.ownref' :null, 'liaall.limmod.ownref': null,
'liaall.limmod.ecifno' :null, 'liaall.limmod.ecifno': null,
'liaall.limmod.limpts.oth.pts.nam' :null, 'liaall.limmod.limpts.oth.pts.nam': null,
'setmod.dspflg' :null, 'setmod.dspflg': null,
'liaall.limmod.limpts.wrk.pts.nam' :null, 'liaall.limmod.limpts.wrk.pts.nam': null,
'liaall.limmod.limpts.wrk.pts.extkey' :null, 'liaall.limmod.limpts.wrk.pts.extkey': null,
'mtabut.coninf.conexedat' :null, 'mtabut.coninf.conexedat': null,
'liaall.limmod.limpts.nonrevflg1' :null, 'liaall.limmod.limpts.nonrevflg1': null,
'setmod.docamt' :null, 'setmod.docamt': null,
'betp0.ledget.sdamod.dadsnd':[ 'betp0.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' }
], ],
'betp0.ledget.sdamod.seainf':[ 'betp0.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: '必输项' },
{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位' }
], ],
'betp0.recget.sdamod.dadsnd':[ 'betp0.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' }
], ],
'betp0.recget.sdamod.seainf':[ 'betp0.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': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', 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位' }
], ],
'bedgrp.ben.pts.ref':[ 'bedgrp.ben.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: '必输项' },
{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位' }
], ],
'bedgrp.cbs.opn2.amt':[ 'bedgrp.cbs.opn2.amt': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', 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位' }
], ],
'bedgrp.ben.pts.nam':[ 'bedgrp.ben.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.rec.doctypcod':[ 'bedgrp.rec.doctypcod': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 1,message:'长度不能超过1'} { max: 1, message: '长度不能超过1' }
], ],
'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.orddat':[ 'bedgrp.rec.orddat': [
{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' }
], ],
'strinf':[ 'strinf': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 1750,message:'长度不能超过1750'} { max: 1750, message: '长度不能超过1750' }
], ],
'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位' }
], ],
'setmod.ref':[ 'setmod.ref': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 16,message:'长度不能超过16'} { max: 16, message: '长度不能超过16' }
], ],
'setmod.docamt':[ 'setmod.docamt': [
{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位' }
], ],
'setmod.zmqacc':[ 'setmod.zmqacc': [
{type: 'string', required: false, message: '必输项'}, { type: 'string', required: false, message: '必输项' },
{max: 20,message:'长度不能超过20'} { max: 20, message: '长度不能超过20' }
], ],
'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' }
], ],
'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' }
], ],
...@@ -219,81 +219,81 @@ export default { ...@@ -219,81 +219,81 @@ export default {
'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' }
], ],
'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' }
], ],
} }
......
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 Betcan { export default class Betcan {
constructor() { constructor() {
this.data = { this.data = {
sndmsg: '', brdgrp: {
ledgrp: { adv: {
rec: { pts: new Pts().data,
ownref: '' },
}, prb: {
cbs: { adrelc: '',
opn1: { dbfadrblkcn: '',
cur: '', namelc: '',
amt: '' pts: new Pts().data,
} },
} acb: {
}, adrelc: '',
rebkpflg: '', dbfadrblkcn: '',
strinf: '', namelc: '',
bedgrp: { pts: new Pts().data,
rec: { },
predat: '', apl: {
rcvdat: '', adrelc: '',
doctypcod: '', dbfadrblkcn: '',
docsta: '', namelc: '',
ownref: '', pts: new Pts().data,
orddat: '', },
matdat: '', ben: {
nam: '' adrelc: '',
}, dbfadrblkcn: '',
cbs: { namelc: '',
opn1: { pts: new Pts().data,
cur: '', },
amt: '' blk: {
}, chaded: '',
opn2: { docdisflg: '',
amt: '' chaadd: '',
}, docdis: '',
max: { },
cur: '', rec: {
amt: '' inr: '',
} branchinr: '',
}, totcur: '',
iss: { ownref: '',
pts: { disdat: '',
ref: '', totamt: '',
nam: '' nam: '',
} docprbrol: ''
}, },
ben: { cbs: {
pts: { opn1: {
ref: '', cur: ''
nam: '' },
} opn2: {
}, cur: ''
apl: { },
pts: { max: {
ref: '', cur: '',
nam: '' amt: ''
} },
} max2: {
}, amt: ''
setmod: new Pub().data.Setmod, }
mtabut: new Pub().data.Mtabut, },
trnmod: new Pub().data.Trnmod, matp: {
liaall: new Pub().data.Liaall, mattxtlab: ''
liaccv: new Pub().data.Liaccv, }
docpan: new Pub().data.Docpan, },
}; brtp: {
} furide: '',
matp: {
mattxtlab: ''
}
},
gidgrp: {
blk: {
chaded: '',
amtspc: '',
accspc: '',
},
acb: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
rec: {
expdat: '',
purpos: '',
liadat: '',
ownref: '',
exptyp: '',
purcan: '',
nam: '',
gartyp: '',
purposin: '',
reddat: '',
redamt: '0',
outcur: '',
redcur: '',
outamt: '0',
branchinr: '',
},
cbs: {
opn1: {
cur: '',
amt: '0',
},
max: {
cur: '',
amt: '0',
},
},
},
sndmsg: '',
ledgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
},
rebkpflg: '',
strinf: '',
bedgrp: {
rec: {
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
orddat: '',
matdat: '',
nam: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
amt: ''
},
max: {
cur: '',
amt: ''
}
},
iss: {
pts: {
ref: '',
nam: ''
}
},
ben: {
pts: {
ref: '',
nam: ''
}
},
apl: {
pts: {
ref: '',
nam: ''
}
}
},
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,
};
}
} }
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input-currency v-model="model.bedgrp.cbs.max.amt" style="text-align: left; width: 100%" <c-input-currency v-model="model.bedgrp.cbs.max.amt" style="text-align: left; width: 100%" placeholder="请输入金额"
placeholder="请输入金额" @keyup.enter.native=" @keyup.enter.native="
defaultFunction( defaultFunction(
'bedgrp.cbs.max.amt', 'bedgrp.cbs.max.amt',
model.bedgrp.cbs.max.amt model.bedgrp.cbs.max.amt
) )
" disabled></c-input-currency> " disabled></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
...@@ -213,6 +213,4 @@ export default { ...@@ -213,6 +213,4 @@ export default {
created: function () { }, created: function () { },
} }
</script> </script>
<style> <style></style>
</style>
...@@ -18,30 +18,26 @@ ...@@ -18,30 +18,26 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <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="setmod">
<c-content> <c-content>
<m-setmod <m-setmod :model="model" :codes="codes" @changeSetmodModel="changeSetmodModel" />
:model="model" </c-content>
:codes="codes" </el-tab-pane>
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--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> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000510 --> <!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
...@@ -64,8 +60,8 @@ ...@@ -64,8 +60,8 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <!-- <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog> -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<!-- <el-button size="small">用户确认</el-button> <!-- <el-button size="small">用户确认</el-button>
<el-button size="small">检核</el-button> <el-button size="small">检核</el-button>
...@@ -79,21 +75,26 @@ ...@@ -79,21 +75,26 @@
</div> </div>
</template> </template>
<script> <script>
import Betcan from "~/model/Betcan";
import event from '../event'; import event from '../event';
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check' import formRules from '../model/check'
import Betcan from "../model";
import Ovwp from './Ovwp' import Ovwp from './Ovwp'
import Canp from './Canp' import Canp from './Canp'
import Addbcb from "./Addbcb" import Addbcb from "./Addbcb"
import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views"; import Engp from "~/components/business/engp/views";
// import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
// import Glepan from "~/components/business/glepan/views"; import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views"; import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glepan from "~/components/business/glentry/views";
export default { export default {
name: 'Betcan', name: 'Betcan',
...@@ -103,10 +104,10 @@ export default { ...@@ -103,10 +104,10 @@ export default {
'm-canp': Canp, 'm-canp': Canp,
'm-limitbody': Limitbody, 'm-limitbody': Limitbody,
'm-engp': Engp, 'm-engp': Engp,
"m-ccvpan": Ccvpan, // "m-ccvpan": Ccvpan,
"m-setmod": Setmod, "m-setmod": Setmod,
"m-glentry": Glentry, "m-glentry": Glentry,
// 'm-glepan': Glepan, 'm-glepan': Glepan,
'm-addbcb': Addbcb, 'm-addbcb': Addbcb,
'm-docpan': Docpan, 'm-docpan': Docpan,
'm-doctre': Doctre, 'm-doctre': Doctre,
...@@ -124,19 +125,17 @@ export default { ...@@ -124,19 +125,17 @@ export default {
trnType: '', trnType: '',
model: new Betcan().data, model: new Betcan().data,
rules: formRules, rules: formRules,
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: ["setpan"], activeNames: ["setpan"],
} }
}, },
methods: {}, methods: {},
mounted () { mounted() {
this.init() this.init()
}, },
} }
</script> </script>
<style> <style></style>
</style>
...@@ -383,6 +383,31 @@ ...@@ -383,6 +383,31 @@
</el-pagination> </el-pagination>
</div> </div>
</c-col> </c-col>
<!-- 点击处理ba弹框 -->
<el-dialog
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="60%"
>
<div class="dialog-wrap">
<div class="btn-group-wrap">
<div
class="btn-item"
v-for="(item, index) in handlerDataList"
:key="index"
>
<el-button
type="primary"
:disabled="item.value === 'N'"
@click="handleClick(item)"
>{{ item.label }}
</el-button>
</div>
</div>
</div>
</el-dialog>
</div> </div>
<m-busbtn <m-busbtn
...@@ -541,22 +566,38 @@ export default { ...@@ -541,22 +566,38 @@ export default {
initdialog: false, initdialog: false,
handlerDataList: [], handlerDataList: [],
btnRouteMap: [ btnRouteMap: [
// { {
// label: '出口信用证预开立', label: '收单',
// route: '/business-new/betnot' route: '/business-new/letdrv'
// }, },
// { {
// label: '出口信用证开立', label: '修改通知',
// route: '/business-new/letopn' route: '/business-new/letame'
// }, },
// { {
// label: '非我行通知及收单行登记', label: '注销',
// route: '/business-new/letdrw' route: '/business-new/letcan'
// }, },
// { {
// label:'出口信用证补通知', label:'收单加补录',
// route:'/business-new/letrsv' route:'/business-new/letdrw'
// }, },
{
label:'转让证开立',
route:'/business-new/lttopn'
},
{
label:'开证',
route:'/business-new/letopn'
},
{
label:'保兑',
route:'/business-new/letamc'
},
{
label:'通知到单',
route:'/business-new/letdav'
},
], ],
currentHandleRow: {}, currentHandleRow: {},
}; };
......
export default { export default {
'liaall.misamt' :null,
'liaall.limmod.limpts.oth.pts.extkey' :null,
'rmbclm.rmbrmb.pts.extkey' :null,
'liaall.limmod.ownref' :null,
'rmbclm.acwacw.pts.extkey' :null,
'liaall.limmod.ecifno' :null,
'liaall.limmod.othp.ptsget.sdamod.dadsnd' :null,
'liaall.limmod.limpts.oth.pts.nam' :null,
'rmbclm.acwacw.pts.adrblk' :null,
'setmod.dspflg' :null, 'setmod.dspflg' :null,
'letp0.recget.sdamod.dadsnd' :null,
'liaall.limmod.limpts.wrk.pts.nam' :null,
'sndmsg' :null, 'sndmsg' :null,
'rmbclm.bebbeb.adrelc' :null,
'liaall.limmod.limpts.wrk.pts.extkey' :null,
'rmbclm.acwacw.namelc' :null,
'mtabut.coninf.conexedat' :null,
'rmbclm.bebbeb.namelc' :null,
'liaall.limmod.limpts.nonrevflg1' :null, 'liaall.limmod.limpts.nonrevflg1' :null,
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd' :null,
'rmbclm.rmbrmb.pts.adrblk' :null,
'letcanf.strinf' :null,
'setmod.docamt' :null,
'rmbclm.rmbrmb.adrelc' :null,
'rmbclm.bebbeb.pts.adrblk' :null,
'rmbclm.acwacw.adrelc' :null,
'rmbclm.rmbrmb.namelc' :null,
'rmbclm.bebbeb.pts.extkey' :null,
'letp0.recget.sdamod.dadsnd':[ 'letp0.recget.sdamod.dadsnd':[
{type: 'string', required: false, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
{max: 16,message:'长度不能超过16'} {max: 16,message:'长度不能超过16'}
......
...@@ -87,12 +87,6 @@ export default class Letcan { ...@@ -87,12 +87,6 @@ export default class Letcan {
namelc: '', namelc: '',
pts: new Pts().data, pts: new Pts().data,
}, },
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: { rec: {
revflg: '', revflg: '',
expdat: '', expdat: '',
......
...@@ -650,9 +650,9 @@ export default { ...@@ -650,9 +650,9 @@ export default {
deep: true, deep: true,
handler(val,oldval){ handler(val,oldval){
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}`
} }
} }
......
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