Commit 5eeaeec6 by xionglin

letnot

parent b57124e1
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.ledgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.apl));
}
if (model.ledgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.adv));
}
if (model.ledgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.ledgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LED',
ownref: model.ledgrp.rec.ownref,
opndat: model.ledgrp.rec.opndat,
expdat: model.ledgrp.rec.expdat,
branchInr: model.ledgrp.rec.branchInr,
hndtyp: model.ledgrp.rec.hndtyp,
gartyp: model.ledgrp.rec.gartyp,
fingua: model.ledgrp.rec.fingua,
// segtyp: model.ledgrp.ghd.segtyp,
fromflg: model.ledgrp.rec.fromflg,
othersno: model.ledgrp.rec.othersno,
sndto: model.ledgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.ledgrp.rec.giduil,
purpos: model.ledgrp.rec.purpos,
revflg: model.ledgrp.rec.revflg,
cnfsta: model.ledgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.ledgrp.cbs.max,
OLDMAX: model.ledgrp.cbs.oldmax,
MAX2: model.ledgrp.cbs.max2,
NOM1: model.ledgrp.cbs.nom1,
OPN1: model.ledgrp.cbs.opn1,
MAC: model.ledgrp.cbs.mac,
MAC2: model.ledgrp.cbs.mac2,
OPC2: model.ledgrp.cbs.opc2,
CNF: model.ledgrp.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: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.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
import Api from '~/service/Api';
import Utils from '~/utils';
import commonFunctions from '~/mixin/commonFunctions.js';
import buildFn from './buildCommons.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init() {
const params = {
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const loading = this.loading();
const res = await Api.post('/service/letnot/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
loading.close();
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(
this.model,
this.trnName
);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 获取弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.ledgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中letnot弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.ledgrp, row.role.toLowerCase(), res.data);
}
},
//获取信用证编号
async onLitpButgetref() {
let params = {
ptainr: this.model.ledgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/letnot/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.ledgrp.rec.ownref = res.data;
}
},
// 初始化开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
letp: {
swiftflg: this.model.letp.swiftflg,
},
ledgrp: {
rec: {
purpos: this.model.ledgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
// let res = await Api.post('/service/litopn/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);
},
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
}
},
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.blk.addamtcov === '') ){
this.$confirm('是否确定要删除此合同的附加金额?','提示',{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
};
export default {
"ledgrp.apb.pts.extkey" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"ledgrp.a2b.pts.adrblk" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"setmod.dspflg" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.shpdat" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.defdet" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.blk.dftat" :null,
"ledgrp.rec.lcrtyp" :null,
"ledgrp.blk.insbnk" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.apprultxt" :null,
"ledgrp.blk.spcben" :null,
"letp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"letp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.nomtop":[
{type: "number", required: false, message: "必输项",trigger: "blur"},
{type: "number",max: 99,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.rec.nomton":[
{type: "number", required: false, message: "必输项",trigger: "blur"},
{type: "number",max: 99,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.issp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.preadvdt":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.issp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.iss.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"ledgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.oppbnk":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.apprultxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.max2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.mixdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"letp.avbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.avb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.avbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.avb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.avbwthtxt":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.avb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.prepers18":[
{type: "number", required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
"ledgrp.rec.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.defdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.feetxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.dftat":[
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
"letp.drwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.drw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.drwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.drw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.rec.tenmaxday":[
{type: "number", required: false, message: "必输项"},
{type: "number",max: 9999,message:"长度不能超过4"}
],
"ledgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.rec.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.rec.shpto":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.shpper":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.apb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.apbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.adv.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.advp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.apb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.apbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.adv.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.apb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.adv.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.a2b.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.a2bp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.a2b.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.a2bp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.a2b.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.a2b.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.con.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.conp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.con.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.conp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.con.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.adlcnd":[
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.insbnk":[
{type: "string", required: false, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
"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: 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"}
],
"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"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcben":[
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
}
\ No newline at end of file
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Letnot{
constructor () {
this.data = {
leta2bl1blk:"",
letbenl1blk:"",
letiswsl1blk:"",
ledgrp:{
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
collflg:"", // Collateralized L/C .ledgrp.rec.collflg
nomtop:"", // Amount Tolerance +/- .ledgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .ledgrp.rec.nomton
nomspc:"", // Amount Specification .ledgrp.rec.nomspc
inctrf:"", // Incoming Transfer .ledgrp.rec.inctrf
resflg:"", // Reserved Contract .ledgrp.rec.resflg
opndat:"", // Issued on .ledgrp.rec.opndat
preadvdt:"", // Date Pre-advised .ledgrp.rec.preadvdt
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
advdat:"", // Released on .ledgrp.rec.advdat
expdat:"", // Expiring on .ledgrp.rec.expdat
expplc:"", // in (Place)/ counters of .ledgrp.rec.expplc
cnfdet:"", // Confirmation Instruct. .ledgrp.rec.cnfdet
apprul:"", // Applicable Rules .ledgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .ledgrp.rec.apprultxt
shppar:"", // Partial Shipment .ledgrp.rec.shppar
shptrs:"", // Transshipment .ledgrp.rec.shptrs
revflg:"", // Revolving Flag .ledgrp.rec.revflg
nonban:"", // Non-Bank Issuer .ledgrp.rec.nonban
teskeyunc:"", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
dbtflg:"", // Authorization to Debit .ledgrp.rec.dbtflg
oppbnk:"", // 境内外对手行代码 .ledgrp.rec.oppbnk
shppars18:"", // Partial Shipment .ledgrp.rec.shppars18
shptrss18:"", // Transshipment .ledgrp.rec.shptrss18
avbwth:"", // Available with .ledgrp.rec.avbwth
avbby:"", // Available by .ledgrp.rec.avbby
shpfro:"", // Dispatch from .ledgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .ledgrp.rec.porloa
pordis:"", // Air-/Port of Destination .ledgrp.rec.pordis
shpto:"", // Final Destination .ledgrp.rec.shpto
chato:"", // Own Charges Borne by .ledgrp.rec.chato
stacty:"", // Country Code for Statistics .ledgrp.rec.stacty
tenmaxday:"", // Maximum Tenor .ledgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .ledgrp.rec.prepers18
prepertxts18:"", // Presentation period text .ledgrp.rec.prepertxts18
cnfins:"", // Confirm. Instruct. .ledgrp.rec.cnfins
aplbnkdirsnd:"", // Send Directly to Applicant's Bank .ledgrp.rec.aplbnkdirsnd
stagod:"", // Goods Code .ledgrp.rec.stagod
spcbenflg:"", // Special payment conditions for beneficiary exists .ledgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .ledgrp.rec.spcrcbflg
redclsflg:"", // Red/Green Clause .ledgrp.rec.redclsflg
},
cbs:{
nom1:{
cur:"", // Nominal Amount .ledgrp.cbs.nom1.cur
amt:"", // Nominal Amount .ledgrp.cbs.nom1.amt
},
max:{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .ledgrp.cbs.max2.cur
amt:"", // Additional Amount .ledgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ledgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ledgrp.cbs.opn2.amt
},
},
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
ben:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.ben.namelc
adrelc:"", // 地址 .ledgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.ben.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.iss.namelc
adrelc:"", // 地址 .ledgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.iss.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.apl.namelc
adrelc:"", // 地址 .ledgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.apl.dbfadrblkcn
},
avb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.avb.namelc
adrelc:"", // 地址 .ledgrp.avb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.avb.dbfadrblkcn
},
blk:{
addamtcov:"", // Covered .ledgrp.blk.addamtcov
avbwthtxt:"", // Available in .ledgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ledgrp.blk.defdet
dftat:"", // Drafts at .ledgrp.blk.dftat
shpper:"", // Shipment Period .ledgrp.blk.shpper
mixdet:"", // Mixed Payment Details .ledgrp.blk.mixdet
preper:"", // Presentation Period .ledgrp.blk.preper
feetxt:"", // Additional Details to Code for Charges CHATO .ledgrp.blk.feetxt
lcrgod:"", // Description of Goods .ledgrp.blk.lcrgod
lcrdoc:"", // Documents Required .ledgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .ledgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ledgrp.blk.insbnk
spcrcb:"", // Special Payment Cond. .ledgrp.blk.spcrcb
spcben:"", // Special Payment Cond. .ledgrp.blk.spcben
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.drw.namelc
adrelc:"", // 地址 .ledgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.drw.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.adv.namelc
adrelc:"", // 地址 .ledgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.adv.dbfadrblkcn
},
a2b:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.a2b.namelc
adrelc:"", // 地址 .ledgrp.a2b.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.a2b.dbfadrblkcn
},
apb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.apb.namelc
adrelc:"", // 地址 .ledgrp.apb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.apb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.rmb.namelc
adrelc:"", // 地址 .ledgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.rmb.dbfadrblkcn
},
con:{
pts:new Pts().data,
},
},
letp:{
recget:{
sdamod:{
seainf:"", // .letp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .letp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .letp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .letp.aamp.aammod.addamtflg
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .letp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.benp.ptsget.sdamod.dadsnd
},
},
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .letp.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.issp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .letp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl:"", // 对手行代码 .letp.oppbnkl
avbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.avbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.avbp.ptsget.sdamod.dadsnd
},
},
},
drwp:{
ptsget:{
sdamod:{
seainf:"", // .letp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.drwp.ptsget.sdamod.dadsnd
},
},
},
labdefdet:"", // DEFDAT LAbel .letp.labdefdet
advp:{
ptsget:{
sdamod:{
seainf:"", // .letp.advp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.advp.ptsget.sdamod.dadsnd
},
},
},
a2bp:{
ptsget:{
sdamod:{
seainf:"", // .letp.a2bp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.a2bp.ptsget.sdamod.dadsnd
},
},
},
apbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.apbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.apbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .letp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.rmbp.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .letp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .letp.conp.ptsget.sdamod.dadsnd
seainf:"", // .letp.conp.ptsget.sdamod.seainf
},
},
},
},
chaadv:"", // Narrative to .chaadv
pageId: "", // ctx的key
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">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="13">
<el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择附加金额" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input-currency v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入附加金额"
@keyup.enter.native="$event.target.blur()"></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input-currency v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></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 {
}
},
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="附加条款" prop="ledgrp.blk.adlcnd">
<c-input
type="textarea"
:rows="20"
v-model="model.ledgrp.blk.adlcnd"
maxlength="52000"
show-word-limit
placeholder="请输入附加条款"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onAdlcndButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.adlcnd.buttxmsel', null, null,{TXT: 'ledgrp.blk.adlcnd'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.spcbenflg" class="checkbox-left" >
<c-checkbox v-model="model.ledgrp.rec.spcbenflg"
:disabled="model.ledgrp.blk.spcben!=''">
受益人特殊付款条款</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.spcrcbflg" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg"
:disabled="model.ledgrp.blk.spcrcb!=''">
收款银行特殊付款条款</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="ledgrp.rec.redclsflg" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">
红、绿条款选项
</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk">
<c-input
type="textarea"
:rows="5"
v-model="model.ledgrp.blk.insbnk"
maxlength="780"
show-word-limit
placeholder="付款、承兑、议付银行指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onInsbnkButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.insbnk.buttxmsel', null, null,{TXT: 'ledgrp.blk.insbnk'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Coninfp from "~/components/business/coninfp/views";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<!-- =========================================左边============================================= -->
<c-col :span="12" style="padding-right: 20px;">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="指定银行" prop="ledgrp.rec.avbwth">
<c-select
v-model="model.ledgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model"
:argadr="{
title: '',
grp: 'ledgrp',
rol: 'avb',
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabledExtkey="!avbFlag"
>
</c-ptap>
</c-col>
<!-- 名称地址 -->
<c-col :span="24">
<el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.avbwthtxt"
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<!-- 信用证兑付方式 Available by-->
<c-col :span="24">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
>
</c-select>
</el-form-item>
</c-col>
<!-- 远期付款指示 延期付款指示-->
<c-col :span="24">
<el-form-item label="远期付款指示" prop="ledgrp.blk.defdet">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.defdet"
maxlength="140"
show-word-limit
placeholder="请输入远期付款指示"
:disabled="defdetFlag"
></c-input>
</el-form-item>
</c-col>
<!-- drafts at 汇票期限 -->
<c-col :span="24">
<el-form-item label="汇票期限" prop="ledgrp.blk.dftat">
<c-fullbox>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.dftat"
maxlength="105"
show-word-limit
placeholder="请输入汇票期限"
:disabled="blkDftatFlag"
></c-input>
<template slot="footer">
<!-- @click="onLcrdftatButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.lcrdftat.buttxmsel', null, null,{TXT: 'ledgrp.blk.dftat'}, {TXT: false},'doxpDialog')"
:disabled="blkDftatFlag"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '付款人',
grp: 'ledgrp',
rol: 'drw',
}"
:noRef="true"
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
</c-ptap>
</c-col>
<!-- Dispatch from 货物转运地(港) -->
<c-col :span="24">
<el-form-item label="货物转运地(港)" prop="ledgrp.rec.shpfro">
<c-input
type="textarea"
show-word-limit
v-model="model.ledgrp.rec.shpfro"
maxlength="65"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<!-- Air-/Port of Departure -->
<c-col :span="24">
<el-form-item label="始发航空站/港口" prop="ledgrp.rec.porloa">
<c-input
type="textarea"
v-model="model.ledgrp.rec.porloa"
maxlength="65"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<!-- Air-/Port of Destination -->
<c-col :span="24">
<el-form-item label="目的航空站/港口" prop="ledgrp.rec.pordis">
<c-input
type="textarea"
v-model="model.ledgrp.rec.pordis"
maxlength="65"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<!-- 最终目的地 -->
<c-col :span="24">
<el-form-item label="最终目的地" prop="ledgrp.rec.shpto">
<c-input
type="textarea"
v-model="model.ledgrp.rec.shpto"
maxlength="65"
show-word-limit
placeholder="最终目的地"
></c-input>
</el-form-item>
</c-col>
<!-- Shipment Period -->
<c-col :span="24">
<el-form-item label="装运期" prop="ledgrp.blk.shpper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.shpper"
maxlength="65"
show-word-limit
placeholder="请输入装运期"
:disabled="model.ledgrp.rec.shpdat!=''"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =========================================右边============================================= -->
<!-- Mixed Payment Details -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="混合付款指示" prop="ledgrp.blk.mixdet">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.mixdet"
maxlength="140"
show-word-limit
placeholder="混合付款指示"
:disabled="model.ledgrp.rec.avbby != 'M'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="交单期限" prop="ledgrp.blk.preper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Days of 交单期限"
prop="ledgrp.rec.prepers18"
>
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入交单期限(天)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="Presentation period text"
prop="ledgrp.rec.prepertxts18"
>
<c-input
v-model="model.ledgrp.rec.prepertxts18"
maxlength="35"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>-->
<!-- 交单期限 Days of presentation period-->
<c-col :span="24">
<el-form-item label="交单期限" prop="ledgrp.rec.prepers18">
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入交单期限(天)"
></c-input>
<template slot="footer">
<!-- @click="onPreperButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.preper.buttxmsel', null, null,{TXT: 'ledgrp.rec.prepers18'}, {TXT: false},'doxpDialog')"
disabled
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- Days of presentation period -->
<c-col :span="24">
<el-form-item label="" prop="ledgrp.rec.prepertxts18">
<c-input
v-model.number="model.ledgrp.rec.prepertxts18"
placeholder="请输入交单期天数"
></c-input>
</el-form-item>
</c-col>
<!-- Additional Details to Charges -->
<c-col :span="24">
<el-form-item label="附加收费详情" prop="ledgrp.blk.feetxt">
<c-fullbox>
<c-input
type="textarea"
:rows="6"
v-model="model.ledgrp.blk.feetxt"
maxlength="210"
show-word-limit
placeholder="请输入附加收费详情"
></c-input>
<template slot="footer">
<!-- @click="onChariaButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.charia.buttxmsel', null, null,{TXT: 'ledgrp.blk.feetxt'}, {TXT: false},'doxpDialog')"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- Own Charges Borne by -->
<c-col :span="24">
<el-form-item label="费用状况" prop="ledgrp.rec.chato">
<c-select
v-model="model.ledgrp.rec.chato"
style="width: 100%"
placeholder="请选择"
:code="codes.chadet"
>
</c-select>
</el-form-item>
</c-col>
<!-- country or region code -->
<c-col :span="24">
<el-form-item label="国家或地区代码" prop="ledgrp.rec.stacty">
<c-select
v-model="model.ledgrp.rec.stacty"
style="width: 100%"
placeholder="请选择国家或地区代码"
:code="codes.ctytxt"
>
</c-select>
</el-form-item>
</c-col>
<!-- 付款期限 Maxinum Tenor-->
<c-col :span="24">
<el-form-item label="付款期限(天)" prop="ledgrp.rec.tenmaxday">
<c-input
v-model.number="model.ledgrp.rec.tenmaxday"
placeholder="请输入"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from '../event'
import Ptap from '~/views/Public/Ptap'
export default {
components: {
// "c-ptap1": Ptap1,
'c-ptap': Ptap,
// "c-ptsmsg": Ptsmsg,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
computed: {
avbFlag: {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
)
},
},
defdetFlag: {
get() {
return (
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this.model.ledgrp.rec.avbby != 'D' &&
this.model.ledgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag: {
get() {
return (
this.model.ledgrp.rec.avbby == 'D' ||
this.model.ledgrp.rec.avbby == 'M' ||
this.model.ledgrp.rec.avbby == ''
)
},
},
},
watch: {
'model.ledgrp.avb.pts.adrblk': {
handler(val, oldVal) {
this.model.ledgrp.blk.avbwthtxt = val
},
immediate: true,
},
},
}
</script>
<style></style>
<template>
<div class="eibs">
<!-- Description of Goods -->
<c-col :span="20">
<el-form-item label="货物描述" prop="ledgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgod"
:rows="30"
maxlength="52000"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onLcrgodButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.lcrgod.buttxmsel', null, null,{TXT: 'ledgrp.blk.lcrgod'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<br />
<c-col :span="20">
<el-form-item label="货物种类 " prop="ledgrp.rec.stagod">
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型 "
:code="codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
};
</script>
<template>
<div class="eibs">
<!-- 单据要求 -->
<c-col :span="20">
<el-form-item label="所需单据" prop="ledgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdoc"
maxlength="52000"
show-word-limit
placeholder="请输入单据要求"
:rows="30"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onLcrdocButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.lcrdoc.buttxmsel', null, null,{TXT: 'ledgrp.blk.lcrdoc'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="内容" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg == 'X'">
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行信息" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="其他条款" name="adcp">
<m-adcp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行专用特殊付款条款" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg == 'X'">
<m-spcrcvp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="受益人特殊付款条款" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg == 'X'">
<m-spcbenp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Ovwp1 from "./Ovwp1";
import Aamp from "./Aamp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-aamp": Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
activeNames: ["ovwp1"],
}
},
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item
label="信用证号码"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
style="width: 95%"
:disabled="true"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<el-form-item label="摘要" prop="ledgrp.rec.nam">
<c-input
text-align="middle"
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px;">
<!-- Form of L/C -->
<c-col :span="24">
<el-form-item label="是否可以转让" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col :span="24">
<c-col :span="20">
<el-form-item label="所属客户经理" prop="letp.usr.extkey">
<c-fullbox>
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入所属客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
:disabled="true"
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>抵押信用证</c-checkbox
>
</c-col>
</c-col>
<!-- nominal amount -->
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
@change="openAddAmount"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
placeholder="请输入上浮比例"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="请输入下浮比例"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.preadvflg"
style="margin-left: 10px"
>预先通知</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请选择适用金额规范"
:code="codes.nomspc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Incoming Transfer -->
<c-col :span="4">
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
style="margin-left: 10px"
>传入传输</c-checkbox
>
</c-col>
</c-col>
<!-- Maximum Amount -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入最大金额"
class="m-input-currency"
></c-input-currency>
</el-form-item>
</c-col>
<!-- Issued on -->
<c-col :span="13">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择开证日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item
label="预通知日期"
label-width="80px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- shipment date -->
<c-col :span="13">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日期"
value-format="yyyy-MM-dd"
:disabled="model.ledgrp.blk.shpper!=''"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item
label="通知日期"
label-width="80px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择通知日期"
value-format="yyyy-MM-dd"
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- expiring on -->
<c-col :span="24">
<el-form-item label="有效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择到期日"
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- in (place)/counters of -->
<c-col :span="24">
<el-form-item label="有效地点" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="有效地点"
></c-input>
</el-form-item>
</c-col>
<!-- Confirmation Instruct.Received -->
<c-col :span="24">
<el-form-item label="确认接收指示" prop="ledgrp.rec.cnfdet">
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认接收指示"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
</c-col>
<!-- Applicable rules -->
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
</el-form-item>
</c-col>
<!-- Other Applicable rules -->
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入其他规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<!-- Partial shipment -->
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<!-- Transshipment -->
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select
v-model="model.ledgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择转运"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg" class="checkbox-left" style="margin-left:120px">借记授权书</c-checkbox>
</c-col>
<!-- Non-Bank Issuer -->
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban" class="checkbox-left" style="margin-left:120px"
>非银行发行人</c-checkbox
>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc" class="checkbox-left" style="margin-left:120px">测试密钥</c-checkbox>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from "../event";
import Ptap from '~/views/Public/Ptap'
export default {
components: { 'c-ptap': Ptap },
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<!-- =================================左边================================= -->
<!-- 第一通知行 -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第一通知行',
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
disabled
disabledRef
disabledExtkey
>
</c-ptap>
</c-col>
<!-- 第二通知行 -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第二通知行',
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
<!-- Confirm. Instruct. -->
<c-col :span="24">
<el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
<c-select
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px;">
<!-- Applicant's Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请银行',
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
<el-form-item label="" prop="ledgrp.rec.aplbnkdirsnd" class="checkbox-left">
<c-checkbox v-model="model.ledgrp.rec.aplbnkdirsnd"
>直接发送至申请银行</c-checkbox
>
</el-form-item>
<!-- Reimbursement Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '偿付银行',
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
<!-- Confirmation Bank -->
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '保兑行',
grp: 'ledgrp',
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onConpDet"
disabled
disabledRef
disabledExtkey
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.con.pts.nam">
<c-input
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" text-align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</c-row>
</div>
</template>
<script>
import event from "../event";
import Ptap from '~/views/Public/Ptap';
export default {
inject: ['root'],
components: { 'c-ptap': Ptap },
props: ['model', 'codes'],
mixins: [event],
data() {
return {
ptsaddg: {
columns: [
{
title: '角色',
width: '120px',
dataIndex: 'rol',
show: 'select',
},
{
title: '机构实体',
width: '180px',
dataIndex: 'ptyextkey',
show: 'input',
},
{
title: '名称',
width: '300px',
dataIndex: 'nam',
},
{
title: '参考地址',
width: '300px',
dataIndex: 'ref',
},
],
urls: 'letp.ptsaddp.ptsaddg',
},
}
},
}
</script>
<style></style>
<template>
<div class="eibs">
<!-- Special Payment Cond.for BeneficiaryI -->
<c-col :span="20">
<el-form-item label="受益人特殊付款条款" prop="ledgrp.blk.spcben">
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcben"
maxlength="52000"
show-word-limit
:rows="30"
placeholder="请输入受益人特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onSpcbenButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.spcben.buttxmsel', null, null,{TXT: 'ledgrp.blk.spcben'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
}
</script>
<style></style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="银行专用特殊付款条款" prop="ledgrp.blk.spcrcb">
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcrcb"
maxlength="52000"
show-word-limit
:rows="30"
placeholder="请输入银行专用特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- @click="onSpcrcbButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="showGridPromptDialog('letp.spcrcb.buttxmsel', null, null,{TXT: 'ledgrp.blk.spcrcb'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="出口信用证预开立">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :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" />
</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-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
import Letnot from '../model'
import event from "../event";
import Ovwp from './Ovwp'
import Addbcb from './Addbcb'
import formRules from '../model/check'
import operationFunc from "~/mixin/operationFunc";
import Setmod from "~/components/business/setmod/views";
import Glepan from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
export default {
name: 'Letnot',
components: {
'm-ovwp': Ovwp,
'm-setmod': Setmod,
'm-glepan': Glepan,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-addbcb': Addbcb,
},
provide() {
return {
root: this,
}
},
mixins: [event,operationFunc ],
data() {
return {
tabVal: 'ovwp',
trnName: 'letnot',
model: new Letnot().data,
rules:formRules,
codes: { ...CodeTable },
activeNames: ["setpan"]
}
},
mounted () {
this.init()
}
}
</script>
<style></style>
...@@ -52,6 +52,7 @@ const Business = [ ...@@ -52,6 +52,7 @@ const Business = [
{ path: 'infled', component: () => import('~/business/infled/views'), name: 'infled', meta: { title: '出口信用证交易查询' } }, { path: 'infled', component: () => import('~/business/infled/views'), name: 'infled', meta: { title: '出口信用证交易查询' } },
{ path: 'letame', component: () => import('~/business/letame/views'), name: 'letame', meta: { title: '出口信用证修改' } }, { path: 'letame', component: () => import('~/business/letame/views'), name: 'letame', meta: { title: '出口信用证修改' } },
{ path: 'letcan', component: () => import('~/business/letcan/views'), name: 'letcan', meta: { title: '出口信用证注销' } }, { path: 'letcan', component: () => import('~/business/letcan/views'), name: 'letcan', meta: { title: '出口信用证注销' } },
{ path: 'letnot', component: () => import('~/business/letnot/views'), name: 'letnot', meta: { title: '出口信用证预通知' } },
{ path: 'betcan', component: () => import('~/business/betcan/views'), name: 'betcan', meta: { title: '出口信用证单据注销' } }, { path: 'betcan', component: () => import('~/business/betcan/views'), name: 'betcan', meta: { title: '出口信用证单据注销' } },
{ path: 'betrcl', component: () => import('~/business/betrcl/views'), name: 'betrcl', meta: { title: '出口信用证单据出口单据索汇' } }, { path: 'betrcl', component: () => import('~/business/betrcl/views'), name: 'betrcl', meta: { title: '出口信用证单据出口单据索汇' } },
{ path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } }, { path: 'betacc', component: () => import('~/business/betacc/views'), name: 'betacc', meta: { title: '出口信用证单据承兑' } },
......
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