Commit c96f145c by WH

litdav前端代码整改

parent 1b4bf460
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
......@@ -24,7 +24,7 @@ export default {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/gitopn/init', {
const res = await Api.post('/service/litdav/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
......@@ -103,13 +103,13 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
let res = await Api.post('/service/litdav/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
// 获取litdav弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
......@@ -123,7 +123,7 @@ export default {
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
// 选中litdav弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
......@@ -150,7 +150,7 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
let res = await Api.post('/service/litdav/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
......
export default {
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.rec.docprbrol" :null,
"brdgrp.rec.totamt" :null,
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.cbs.nom1.amt":[
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.cbs.opn1.amt":[
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.advtyp":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.advdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.disdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过35"}
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"80"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过35"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过35"}
],
"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"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: false, 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"}
],
"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"}
],
"brdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "brdgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.blk.chaded":[
{type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"brdgrp.blk.chaadd":[
{type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "brdgrp.rec.totamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 135,message:"长度不能超过135"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
// "brdgrp.blk.docdis":[
// {type: "string", required: false, message: "必输项"},
// {max: 50,message:"长度不能超过50"}
// ],
"brdgrp.blk.nartxt77a":[
{type: "string", required: false, message: "必输项"},
{max: 700,message:"长度不能超过700"}
],
"brtp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rmb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rmb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 135,message:"长度不能超过135"}
],
"brdgrp.rmb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rmb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brtp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.beb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.beb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"brdgrp.beb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.beb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.totdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from '~/service/Api';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litdav {
constructor() {
this.data = {
gitp:{
swiftflg:''
},
gidgrp:{
cbs:{
max:''
},
ghd:{
segtyp:''
},
rec:'ownref',
apc: {
pts: new Pts().data,
},
ctc: {
pts: new Pts().data,
},
bec: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
cnr: {
pts: new Pts().data,
},
at2: {
pts: new Pts().data,
},
},
brdgrp: {
blk: {
chaded: '',
nartxt77a: '',
docdisflg: '',
chaadd: '',
docdis: ''
},
prb: {
pts: new Pts().data,
},
acb: {
pts: new Pts().data,
},
rec: {
totcur: '',
advtyp: '',
ownref: '',
totdat: '',
advdat: '',
totamt: '',
disdat: '',
nam: '',
docprbrol: ''
},
cbs: {
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
rmb: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
beb: {
pts: new Pts().data,
}
},
brtp: {
aammod: {
addamtflg: ''
}
},
lidgrp: {
rec: {
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
ownref: '',
shpdat: '',
avbby: '',
nam: '',
opndat: '',
redclsflg: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
}
},
avbnam: ''
},
// liaall: {
// limmod: {
// ownref: '',
// dggrd: '',
// limpts: {
// wrk: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// oth: {
// pts: {
// extkey: '',
// nam: ''
// }
// },
// pfcod1: '',
// pfcod2: '',
// nonrevflg1: '',
// nonrevflg2: ''
// },
// comamt: '',
// ccvamt: '',
// limgrd: '',
// lmegrd: '',
// tygrd: ''
// }
// },
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
<template>
<div class="eibs">
<!-- =====================左========================== -->
<el-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="10">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input :disabled="true" v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="10" >
<el-form-item prop="lidgrp.cbs.nom1.amt" label-width="10px">
<c-input-currency v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额" :disabled="true"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.brtp.aammod.addamtflg" :disabled="true">附加金额</c-checkbox>
</c-col>
</c-col>
<c-col :span="10">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input :disabled="true" v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="10" >
<el-form-item prop="lidgrp.cbs.opn1.amt" label-width="10px">
<c-input-currency :disabled="true" v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox :disabled="true" v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input :disabled="true" v-model="model.lidgrp.avbnam" placeholder="请输入可用银行"></c-input>
</el-form-item>
</c-col>
<c-col :span="19">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
:code="codes.avbby"
:disabled="true" v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="5" >
<c-checkbox :disabled="true" v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker :disabled="true" type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" placeholder="请选择开证日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="装运日期" prop="lidgrp.rec.shpdat">
<c-date-picker :disabled="true" type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" placeholder="请选择最迟装运日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker :disabled="true" type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择有效期限"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="到期地点" prop="lidgrp.rec.expplc" >
<c-input :disabled="true" v-model="model.lidgrp.rec.expplc" maxlength="29" placeholder="请输入到期地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select :code="codes.lcrtyp" :disabled="true" v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据编号" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input :disabled="true" v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知类型" prop="brdgrp.rec.advtyp">
<c-select :code="codes.advtyp" v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择通知类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="建议付款日期" prop="brdgrp.rec.advdat">
<c-date-picker
:disabled=" (this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'OTH') "
type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择建议付款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker
:disabled=" (this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'OTH') "
type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择不符点通知日期"></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ========================右======================= -->
<el-col :span="12" class="col-right">
<c-col :span="24" >
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
:disabled="true"
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入概要"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input :disabled="true" v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
<c-input :disabled="true" v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="brdgrp.ben.pts.nam" label="受益人名称">
<c-input :disabled="true" v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
<c-input :disabled="true" v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="brdgrp.prb.pts.nam" label="寄单行名称">
<c-input :disabled="true" v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="brdgrp.rec.nam">
<c-input :disabled="true" v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol"
style="width:100%"
placeholder="请选择交单行"
:code="codes.docprbrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="交单行参考号" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" :offset="0">
<el-form-item label="地址编号" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px;padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.prb.pts.adrblk">
<c-input
:rows="4"
:disabled="model.brdgrp.rec.docprbrol != 'PRB'"
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="80"
show-word-limit
placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
watch:{
"model.brdgrp.rec.advtyp":{
immediate:true,
handler(){
if(this.model.brdgrp.rec.advtyp == '750' ){
this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.blk.docdisflg= 'X'
}else if(this.model.brdgrp.rec.advtyp == '754'){
this.model.brdgrp.rec.disdat = ' '
}else if( this.model.brdgrp.rec.advtyp == 'OTH'){
this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.rec.disdat = ' '
}
}
}
},
methods: {},
created: function() {}
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- 左边-->
<c-col :span="8">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
disabled
placeholder="请输入地址编码"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
disabled
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
disabled
placeholder="请选择额度类型"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
disabled
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="8">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
same:false
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
if(len1>0&&len2>0){
this.same = true;
}
}
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col>
<c-col :span="7">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="7">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入已扣除费用" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入已添加费用" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="7">
<el-form-item label="索赔总额" prop="brdgrp.rec.totcur">
<c-input
disabled
v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入索赔总额"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="待支付金额" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="账户号地址编号" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" ">
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="地址信息" prop="brdgrp.acb.pts.adrblk">
<c-input
:disabled="model.brdgrp.acb.pts.extkey!=''"
:rows="4"
type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis">
<c-input
:rows="6"
:disabled="!(this.model.brdgrp.blk.docdisflg =='X')"
type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="150" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="model.brdgrp.blk.docdisflg">差异修改标识</c-checkbox>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created: function() {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<el-col :span="12" class="col-left">
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.blk.chaded"
maxlength="200"
show-word-limit
placeholder="请输入已扣除费用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.blk.chaadd"
maxlength="200"
show-word-limit
placeholder="请输入已添加费用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="待支付金额" prop="brdgrp.rec.totcur">
<c-input
disabled
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请选择币种"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行" prop="brdgrp.rmb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.rmb.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.rmb.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.rmb.pts.adrblk"
maxlength="135"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账户行" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.acb.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.acb.pts.adrblk"
maxlength="135"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.totdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- right -->
<el-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item
label="77A场内容"
prop="brdgrp.blk.nartxt77a"
>
<c-input
:rows="23"
type="textarea"
v-model="model.brdgrp.blk.nartxt77a"
maxlength="700"
show-word-limit
placeholder="请输入MT754 77A场内容"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人银行" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.beb.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.beb.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.beb.pts.adrblk"
maxlength="135"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created: function () {},
};
</script>
<style></style>
<template>
<div class="eibs">
<c-col :span="12" class="col-led">
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="24">
<el-form-item label="收费描述" prop="brdgrp.blk.chaadd">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="请输入收费描述"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col>
<c-col :span="12">
<el-form-item label="待支付总额" prop="brdgrp.rec.totcur">
<c-input
disabled
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请输入待支付总额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="brdgrp.rec.totamt">
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入待支付总额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="账户银行" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入账户银行"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.acb.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.acb.pts.adrblk"
maxlength="135"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人银行" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.brdgrp.beb.pts.extkey"
maxlength="16"
placeholder="请输入受益人银行"
></c-input>
<template slot="footer">
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="brdgrp.beb.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.brdgrp.beb.pts.adrblk"
maxlength="135"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证通知">
<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">
<el-tab-pane label="业务信息" name="davp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="ywxx">
<!--PD000045 name="davp"-->
<el-collapse-item title="收到通知" name="davp">
<m-davp :model="model" :codes="codes" />
</el-collapse-item>
<!--PD000139 -->
<el-collapse-item title="不符点通知" name="mt750p" v-if="this.model.brdgrp.rec.advtyp == '750'">
<m-mt750p :model="model" :codes="codes" />
</el-collapse-item>
<!--PD000147 -->
<el-collapse-item title="付款通知" name="754" v-if="this.model.brdgrp.rec.advtyp == '754'">
<m-mt754p :model="model" :codes="codes" />
</el-collapse-item>
<!--PD000213 -->
<el-collapse-item title="其他通知" name="othadvtypp" v-if="this.model.brdgrp.rec.advtyp == 'oth'">
<m-othadvtypp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--结算-->
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<m-coninfp :model="model" :codes="codes" />
</div>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<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" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!--底部按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Litdav from "../model";
import formRules from '../model/check'
import Davp from "./Davp";
import Mt750p from "./Mt750p";
import Mt754p from "./Mt754p";
import Othadvtypp from "./Othadvtypp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/components/business/docpan/views";
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import operationFunc from "~/mixin/operationFunc";
import event from "../event";
import Setmod from "~/components/business/setmod/views";
export default {
name: "Litdav",
components: {
"m-davp": Davp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-mt750p": Mt750p,
"m-mt754p": Mt754p,
"m-othadvtypp": Othadvtypp,
"m-setmod": Setmod,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "davp",
trnName: "litdav",
model: new Litdav().data,
rules: formRules,
codes: { ...CodeTable },
ywxx: ['davp'],
fyzw: ['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: {},
created: async function () {},
};
</script>
<style>
</style>
......@@ -35,6 +35,7 @@ const Business = [
{ path: 'brtacp', component: () => import('~/business/brtacp/views'), name: 'brtacp', meta: { title: '进口信用证单据接受不符点' } },
{ path: 'litsel', component: () => import('~/business/litsel/views'), name: 'litsel', meta: { title: '进口信用证入口交易' } },
{ path: 'brtset', component: () => import('~/business/brtset/views'), name: 'brtset', meta: { title: '进口信用证单据进口付汇' } },
{ path: 'litdav', component: () => import('~/business/litdav/views'), name: 'litdav', meta: { title: '进口信用证通知到单' } },
]
export default Business
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment