Commit 6181926e by WH

betrcl交易前端清理

parent 6a38b12f
......@@ -19,38 +19,37 @@ export default {
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.brdgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.apl));
if (model.bedgrp.prb.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.prb));
}
if (model.brdgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.brdgrp.ben));
if (model.bedgrp.iss.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.iss));
}
if (model.bedgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.bedgrp.apl));
}
let dataObj = {
rec: {
objtyp: 'lid',
ownref: model.brdgrp.rec.ownref,
opndat: model.brdgrp.rec.opndat,
expdat: model.brdgrp.rec.expdat,
branchInr: model.brdgrp.rec.branchInr,
hndtyp: model.brdgrp.rec.hndtyp,
gartyp: model.brdgrp.rec.gartyp,
fingua: model.brdgrp.rec.fingua,
fromflg: model.brdgrp.rec.fromflg,
othersno: model.brdgrp.rec.othersno,
sndto: model.brdgrp.rec.sndto,
swiftflg: model.brtp.swiftflg,
brduil: model.brdgrp.rec.brduil,
purpos: model.brdgrp.rec.purpos,
revflg: model.brdgrp.rec.revflg,
cnfsta: model.brdgrp.rec.cnfsta,
objtyp: 'BED',
ownref: model.bedgrp.rec.ownref,
predat: model.bedgrp.rec.predat,
rcvdat: model.bedgrp.rec.rcvdat,
doctypcod: model.bedgrp.rec.doctypcod,
docsta: model.bedgrp.rec.docsta,
payrol: model.bedgrp.rec.payrol,
matdat: model.bedgrp.rec.matdat,
nam: model.bedgrp.rec.nam,
docprbrol: model.bedgrp.rec.docprbrol,
advdocflg: model.bedgrp.rec.advdocflg,
},
cbsMap: {
MAX: model.brdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1,
MAC: model.brdgrp.cbs.mac,
MAC2: model.brdgrp.cbs.mac2,
OPC2: model.brdgrp.cbs.opc2,
CNF: model.brdgrp.cbs.cnf,
MAX: model.bedgrp.cbs.max,
OPN1: model.bedgrp.cbs.opn1,
// MAC: model.bedgrp.cbs.mac,
// MAC2: model.bedgrp.cbs.mac2,
OPN2: model.bedgrp.cbs.opn2,
// CNF: model.bedgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
......@@ -113,8 +112,8 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'bed',
objinr: model.bedgrp.rec.objinr,
objtyp: 'BED',
objinr: model.bedgrp.rec.inr,
ownref: model.bedgrp.rec.ownref,
},
};
......@@ -124,10 +123,9 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'bed',
objinr: model.bedgrp.rec.objinr,
objtyp: 'BED',
objinr: model.bedgrp.rec.inr,
ownref: model.bedgrp.rec.ownref,
swiftflg: model.brtp.swiftflg,
},
};
return params
......@@ -140,4 +138,4 @@ export default {
};
return params
}
}
}
\ No newline at end of file
......@@ -22,18 +22,25 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/betrcl/init', {
...params,
const res = await Api.post('/service/betdcr/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
// brdinr: this.$route.query.inr,
brdgrp:{
rec:{
inr:this.$route.query.inr
inr: this.$route.query.inr
}
}
},
});
if (!res.data) {
return
......@@ -93,7 +100,6 @@ export default {
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
......@@ -102,26 +108,13 @@ export default {
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/betrcl/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取brtacp弹框表格数据
// 获取betdcr弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......@@ -130,7 +123,7 @@ export default {
this.root.promptData.type = type;
}
},
// 选中brtacp弹框表格的行数据
// 选中betdcr弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
......@@ -144,28 +137,6 @@ export default {
purposChange(key, value) {
this.handleChangeForm(key, value);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/betrcl/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
......
export default {
'liaall.misamt' :null,
'liaall.limmod.limpts.oth.pts.extkey' :null,
'rmbclm.rmbrmb.pts.extkey' :null,
'liaall.limmod.ownref' :null,
'bedgrp.apl.pts.nam' :null,
'rmbclm.acwacw.pts.extkey' :null,
'liaall.limmod.ecifno' :null,
'bedgrp.prb.pts.nam' :null,
'liaall.limmod.limpts.oth.pts.nam' :null,
'rmbclm.acwacw.pts.adrblk' :null,
'setmod.dspflg' :null,
'liaall.tenstm' :null,
'payinstxt' :null,
'aamset.utlamt2' :null,
'liaall.limmod.limpts.wrk.pts.nam' :null,
'rmbclm.bebbeb.adrelc' :null,
'liaall.limmod.limpts.wrk.pts.extkey' :null,
'rmbclm.acwacw.namelc' :null,
'mtabut.coninf.conexedat' :null,
'rmbclm.clmrmbflg' :null,
'liaall.limmod.limpts.nonrevflg1' :null,
'rmbclm.bebbeb.namelc' :null,
'rmbclm.rmbrmb.pts.adrblk' :null,
'setmod.docamt' :null,
'rmbclm.rmbrmb.adrelc' :null,
'rmbclm.bebbeb.pts.adrblk' :null,
'rmbclm.acwacw.adrelc' :null,
'bedgrp.iss.pts.nam' :null,
'rmbclm.rmbrmb.namelc' :null,
'rmbclm.bebbeb.pts.extkey' :null,
'betp.ledget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'ledgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'betp.ledget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'ledgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'ledgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'betp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'bedgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'betp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'bedgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'bedgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'bedgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'bedgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'bedgrp.cbs.opn1.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'bedgrp.prb.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'bedgrp.iss.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'bedgrp.iss.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'bedgrp.rec.matdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
'bedgrp.rec.rcvdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
'bedgrp.rec.predat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
'bedgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'bedgrp.rec.docsta': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'bedgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'liaall.tenstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' }
],
'aamset.utlamt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'aamset.utlamt2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'payinstxt': [
{ type: 'string', required: false, message: '必输项' },
{ type: 'string',max: 300, message: '长度不能超过300' }
],
'bedgrp.rec.lescom': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'trnmod.trndoc.nar754': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.outpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' }
],
'liaall.concur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' }
],
'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' }
],
'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' },
{ 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': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' }
],
'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' }
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' }
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' }
],
'rmbclm.rmbrmb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.rmbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.rmbrmb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.rmbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'rmbclm.rmbrmb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.rmbrmb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ type: 'string',max: 999, message: '长度不能超过35' }
],
'rmbclm.rmbrmb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.rmbrmb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.acwacw.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.acwp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.acwacw.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.acwp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'rmbclm.acwacw.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.acwacw.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.acwacw.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.acwacw.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.bebbeb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.bebp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.bebbeb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'rmbclm.bebp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' }
],
'rmbclm.bebbeb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.bebbeb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.bebbeb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.bebbeb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' }
],
'rmbclm.valdat': [
{ type: 'date', required: false, message: '输入正确的日期' }
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' }
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'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.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位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' }
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' }
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' }
],
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' }
],
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' }
],
}
"setmod.dspflg" :null,
"rmbclm.clmrmbflg" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"betp.ledget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"ledgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"betp.ledget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"ledgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"ledgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bedgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"betp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bedgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bedgrp.cbs.max.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bedgrp.cbs.opn1.cur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"bedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.prb.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bedgrp.iss.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bedgrp.iss.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bedgrp.rec.matdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bedgrp.rec.rcvdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bedgrp.rec.predat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bedgrp.apl.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"bedgrp.rec.docsta": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"bedgrp.apl.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"liaall.tenstm": [
{ type: "string", required: false, message: "必输项" },
{ max: 1, message: "长度不能超过1" }
],
"aamset.utlamt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"aamset.utlamt2": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"payinstxt": [
{ type: "string", required: false, message: "必输项" },
{ type: "string",max: 300, message: "长度不能超过300" }
],
"bedgrp.rec.lescom": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.trndoc.nar754": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"liaall.outamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct": [
{ type: "string", required: false, message: "必输项" },
{ max: 6, message: "长度不能超过6" }
],
"liaall.concur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"liaall.misamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.trndoc.advnam": [
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"trnmod.trndoc.amdapl": [
{ type: "string", required: true, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"trnmod.trndoc.advdoc": [
{ type: "string", required: false, message: "必输项" },
{ 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": [
{ type: "string", required: false, message: "必输项" },
{ max: 1, message: "长度不能超过1" }
],
"trnmod.trndoc.rcvatt.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"mtabut.coninf.oitinf.oit.inftxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"mtabut.coninf.oitset.oit.inftxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"mtabut.coninf.conexedat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"mtabut.coninf.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"rmbclm.rmbrmb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.rmbrmb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.rmbp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"rmbclm.rmbrmb.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.rmbrmb.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.acwacw.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.acwp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.acwacw.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.acwp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"rmbclm.acwacw.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.acwacw.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.acwacw.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.acwacw.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.bebbeb.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.bebp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.bebbeb.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"rmbclm.bebp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"rmbclm.bebbeb.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.bebbeb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.bebbeb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.bebbeb.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"rmbclm.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"liaall.limmod.ecifno": [
{ type: "string", required: false, message: "必输项" },
{ max: 22, message: "长度不能超过22" }
],
"liaall.limmod.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"liaall.limmod.limpts.wrk.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"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.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位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"liaall.limmod.limpts.oth.pts.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"liaall.limmod.ccvamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1": [
{ type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" }
],
"liaall.limmod.limpts.pfcod2": [
{ type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" }
],
"setmod.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"setmod.docamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
}
\ No newline at end of file
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Betrcl {
constructor() {
this.data = {
brdgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: '',
},
rec: {
inr: '',
branchinr: '',
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
matp: {
mattxtlab: ''
}
},
betp: {
adaflg: ''
},
ledgrp: {
rec: {
ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
},
aamset: {
utlamt: '',
utlamt2: ''
},
rmbclm: {
valdat: '',
clmrmbflg: '',
rmbrol: ''
},
bedgrp: {
rec: {
objinr: '',
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
lescom: '',
matdat: '',
nam: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
}
}
},
payinstxt: '',
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,
};
}
}
constructor() {
this.data = {
betp: {
adaflg: ''
},
ledgrp: {
rec: {
ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
},
aamset: {
utlamt: '',
utlamt2: ''
},
rmbclm: {
valdat: '',
clmrmbflg: '',
rmbrol: '',
rmbrmb: {
pts: new Pts().data,
},
acwacw: {
pts: new Pts().data,
},
bebbeb: {
pts: new Pts().data,
},
},
bedgrp: {
rec: {
predat: '',
rcvdat: '',
doctypcod: '',
docsta: '',
ownref: '',
lescom: '',
matdat: '',
nam: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
prb: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
},
payinstxt: '',
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,
};
}
}
\ No newline at end of file
......@@ -4,33 +4,24 @@
<el-collapse v-model="activeNames">
<el-collapse-item title="索汇信息" name="rclp">
<c-content>
<m-rclp :model="model" :codes="codes" />
<m-rclp :model="model" :codes="codes"/>
</c-content>
</el-collapse-item>
<el-collapse-item title="索汇详情" name="remp" v-if="model.rmbclm.clmrmbflg != ''">
<c-content>
<m-remp :model="model" :codes="codes" />
<m-remp :model="model" :codes="codes"/>
</c-content>
</el-collapse-item>
<!-- <el-tab-pane
v-if="model.rmbclm.clmrmbflg"
label="索汇详情"
name="remp">
<m-remp :model="model" :codes="codes" />
</el-tab-pane> -->
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Rclp from "./Rclp"
import Remp from "./Remp"
import event from "../event";
export default {
components: {
......@@ -49,8 +40,10 @@ export default {
},
methods: {},
created:
function () { },
function () {
},
};
</script>
<style></style>
<style>
</style>
\ No newline at end of file
......@@ -4,63 +4,112 @@
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入出口信用证编号" style="width: 95%"
disabled></c-input>
<el-form-item
label="出口信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入出口信用证编号"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button style="margin: 0 0" size="small" type="primary"
:disabled="!this.flag && model.ledgrp.rec.ownref == '' ? false : true">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
>
获取
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="出口单据编号" prop="bedgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入出口单据编号" style="width: 95%"
disabled></c-input>
<el-form-item
label="出口单据编号"
prop="bedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bedgrp.rec.ownref"
maxlength="16"
placeholder="请输入出口单据编号"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button style="margin: 0 0" size="small" type="primary"
:disabled="!this.flag && model.bedgrp.rec.ownref == '' ? false : true">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
>
获取
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-fullbox>
<c-input v-model="model.bedgrp.cbs.max.cur" maxlength="3" style="width: 50%" placeholder="请输入单据金额"
disabled></c-input>
<c-input v-model="model.bedgrp.cbs.max.amt" style="width: 50%" placeholder="请输入金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.max.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入单据金额"
disabled
></c-input>
<c-input
v-model="model.bedgrp.cbs.max.amt"
style="width: 50%"
placeholder="请输入金额"
disabled
></c-input>
<template slot="footer">
<c-checkbox v-model="model.betp.adaflg" style="margin-left: 10px" disabled>附加金额</c-checkbox>
<c-checkbox
v-model="model.betp.adaflg"
style="margin-left: 10px"
disabled
>附加金额</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
......@@ -68,47 +117,91 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur">
<c-input v-model="model.bedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input v-model="model.bedgrp.cbs.max.amt" placeholder="请输入金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" style="width: 100%" placeholder="请输入单据类型" disabled>
<el-option v-for="item in codes.doctypcod1" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bedgrp.rec.doctypcod"
style="width: 100%"
placeholder="请输入单据类型"
disabled
>
<el-option
v-for="item in codes.doctypcod1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期日" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width: 100%" placeholder="请选择到期日"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="收到日期" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width: 100%" placeholder="请选择收到日期"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择收到日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单日期" prop="bedgrp.rec.predat">
<c-date-picker type="date" v-model="model.bedgrp.rec.predat" style="width: 100%" placeholder="请选择交单日期"
disabled></c-date-picker>
<c-date-picker
type="date"
v-model="model.bedgrp.rec.predat"
style="width: 100%"
placeholder="请选择交单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bedgrp.rec.docsta">
<c-select v-model="model.bedgrp.rec.docsta" style="width: 100%" placeholder="请选择单据状态" disabled>
<el-option v-for="item in codes.docsta" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bedgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
disabled
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -120,42 +213,74 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
<c-input v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额" disabled></c-input>
<c-input
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入金额" disabled></c-input>
<c-input
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据简略信息" prop="bedgrp.rec.nam">
<c-input v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入Name" disabled></c-input>
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
<c-ptsmsg
:model="model"
:argadr="{
title: '交单人',
grp: 'bedgrp',
rol: 'prb',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bedgrp',
rol: 'iss',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg :model="model" :argadr="{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}" :disabled="true" :enRef="false" :enNam="false"></c-ptsmsg>
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bedgrp',
rol: 'apl',
}"
:disabled="true"
:enRef="false"
:enNam="false"
></c-ptsmsg>
</c-col>
</c-col>
<!-- <c-col :span="24">
......@@ -166,8 +291,14 @@
<!-- next part -->
<c-col :span="24" style="margin-bottom: 35px">
<c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" :showSelection="true"
v-on:multipleSelect="multipleSelect" prop="liaall.tenstm">
<c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
<!-- left -->
......@@ -175,14 +306,24 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据部分金额" prop="bedgrp.cbs.opn2.cur">
<c-input v-model="model.bedgrp.cbs.opn2.cur" maxlength="3" placeholder="请输入单据部分金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入单据部分金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据部分金额" disabled @change="eventFunction(
'aamset.utlamt'
)"></c-input>
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入单据部分金额"
disabled
@change="eventFunction(
'aamset.utlamt'
)"
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -190,20 +331,32 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur">
<c-input v-model="model.bedgrp.cbs.opn2.cur" maxlength="3" placeholder="请输入附加金额" disabled></c-input>
<c-input
v-model="model.bedgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="aamset.utlamt2">
<c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额" disabled @change="eventFunction(
'aamset.utlamt2'
)"></c-input>
<c-input
v-model="model.aamset.utlamt2"
placeholder="请输入附加金额"
disabled
@change="eventFunction(
'aamset.utlamt2'
)"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="rmbclm.clmrmbflg">
<c-checkbox v-model="clmrmbflg">Claim Reimbursement(e.g via MT 742)</c-checkbox>
<c-checkbox v-model="clmrmbflg"
>Claim Reimbursement(e.g via MT 742)</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
......@@ -212,27 +365,48 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-form-item label="扣除佣金" prop="bedgrp.rec.lescom">
<c-input v-model="model.bedgrp.rec.lescom" placeholder="请输入内容"></c-input>
<c-input
v-model="model.bedgrp.rec.lescom"
placeholder="请输入内容"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="描述内容(77A)" prop="trnmod.trndoc.nar754">
<c-input type="textarea" v-model="model.trnmod.trndoc.nar754" maxlength="35" show-word-limit
placeholder="请输入77A场内容"></c-input>
<c-input
type="textarea"
v-model="model.trnmod.trndoc.nar754"
maxlength="35"
show-word-limit
placeholder="请输入77A场内容"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- bottom -->
<c-col :span="24">
<el-form-item label="给开证行/可用银行的付款指示" prop="payinstxt" style="width: 100%">
<el-form-item
label="给开证行/可用银行的付款指示"
prop="payinstxt"
style="width: 100%"
>
<c-fullbox>
<c-input type="textarea" v-model="model.payinstxt" maxlength="300" show-word-limit
placeholder="请输入付款指示"></c-input>
<c-input
type="textarea"
v-model="model.payinstxt"
maxlength="300"
show-word-limit
placeholder="请输入付款指示"
></c-input>
<template slot="footer">
<c-button style="margin-left: 10px; padding: 0 10px" size="small" type="primary"
@click="showGridPromptDialog('payins.buttxmsel', null, null, { TXT: 'payinstxt' }, { TXT: false }, 'doxpDialog')">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('payins.buttxmsel',null,null,{TXT:'payinstxt'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -240,13 +414,12 @@
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from '../event'
import event from "../event";
import Ptsmsg from "~/views/Public/Ptsmsg";
export default {
......@@ -293,7 +466,11 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { async multipleSelect(selection) {
mounted() {
this.$nextTick(() => {});
},
methods: {
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "错误",
......@@ -304,6 +481,8 @@ export default {
let chkIds;
if (selection.length === 0) {
chkIds = []
// this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
chkIds = [selection[0] + 1]
}
......@@ -317,12 +496,13 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},},
created: function () { },
},
},
created: function () {},
};
</script>
<style>
.messageLabel>>>.el-form-item__label {
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
......
......@@ -8,7 +8,6 @@
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="请选择偿付行"
@change="selectOrCheckboxRule('rmbclm.rmbrol')"
>
<el-option
v-for="item in codes.rolall"
......@@ -32,8 +31,6 @@
:noRef="false"
:isAdrblk="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
:disabledRef="rmbrolFlag"
:disabledExtkey="rmbrolFlag"
>
......@@ -65,8 +62,6 @@
:noRef="false"
:disabled="true"
:isAdrblk="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -82,8 +77,6 @@
:noRef="false"
:disabled="true"
:isAdrblk="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -93,17 +86,14 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betrcl/Event";
import event from "../event";
import Ptap from "~/views/Public/Ptap";
export default {
components: {"c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {};
},
......@@ -117,7 +107,7 @@ export default {
},
},
},
methods: { ...Event },
methods: {},
created: function () {},
};
</script>
......
<template>
<div class="eContainer">
<c-page title="出口信用证单据承兑">
<!-- <c-bus-button :$pntvm="this"></c-bus-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>
// <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> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000033 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......@@ -38,118 +32,148 @@
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" @changeSetmodModel="changeSetmodModel" />
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</template>
<script>
import event from '../event';
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import CodeTable from "~/config/CodeTable";
import Betrcl from "../model";
import formRules from '../model/check'
import Betrcl from "~/model/Betrcl";
import Ovwp from "./Ovwp";
import Remp from "./Remp";
// import Addbcb from "./Addbcb"
import Engp from "~/components/business/engp/views";
// import Ccvpan from "~/components/business/ccvpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glepan from "~/components/business/glentry/views";
// import Addbcb from "~/components/business/addbcb/views";
// import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "@/mixin/operationFunc";
import event from "../event";
export default {
name: "Betrcl",
components: {
"m-ovwp": Ovwp,
// "m-addbcb": Addbcb,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-remp": Remp,
// "m-coninfp": Coninfp,
"m-limitbody": Limitbody,
"m-setmod": Setmod,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [event, operationFunc],
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "betrcl",
// trnType: "",
trnType: "",
model: new Betrcl().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["setpan"],
}
codes: {
...CodeTable,
},
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
},
};
},
methods:{
},
mounted () {
this.init()
},
}
methods: {},
mounted () {
this.init()
},
};
</script>
<style></style>
<style>
</style>
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