Commit b2dde8e5 by huxi

litame 代码清理

parent f4924265
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.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.lidgrp.cbs.max,
OLDMAX: model.lidgrp.cbs.oldmax,
MAX2: model.lidgrp.cbs.max2,
NOM1: model.lidgrp.cbs.nom1,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.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: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.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 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';
import Utils from "~/utils"
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 res = await Api.post('/service/litame/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
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;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LC',
tbl: 'LC',
};
const loading = this.loading();
let res = await Api.post('/service/litame/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[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;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
},
};
export default {
"litamep.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litamep.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trnmod.swiadd.amedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.amenbr":[
{required: true, message: "必输项"},
{type: "number", max: 999,message:"只能输入数字,且长度不能超过3"}
],
"litamep.amenbr":[
{required: false, message: "必输项"},
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"lidgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"oldlidgrp.cbs.nom1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"oldlidgrp.rec.nomtop":[
{required: false, message: "必输项"},
{type: "number",max: 99,message:"只能输入数字,长度不能超过2"}
],
"oldlidgrp.rec.nomton":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"oldlidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"oldlidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.ameamt":[
{required: false, message: "必输项"},
{type: "string", max: 18,message:"整数位不能超过15位"},
{pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,2}$)|(^(\+|\-)|\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"litamep.engamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
],
"trnmod.swiadd.newamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
],
"trnmod.swiadd.newnomtop":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"trnmod.swiadd.newnomton":[
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"litamep.maxcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"litamep.maxamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
],
"oldlidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oldlidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newexpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newshpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oldlidgrp.rec.prepers18":[
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
],
"trnmod.swiadd.prepers18":[
{required: false, message: "必输项"},
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"oldlidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"oldlidgrp.rec.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"trnmod.swiadd.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.cbs.max2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.addamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.trnfeetxt":[
{type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"}
],
"trnmod.swiadd.addamtcov":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"litp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"litp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.cbs.nom1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.apl.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"lidgrp.rec.nomton":[
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.adv.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.advp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.opndat":[
{type: "date", required: true, message: "输入正确的日期"}
],
"lidgrp.rec.preadvdt":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"lidgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.ben.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.apprultxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.oppbnk":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"lidgrp.rec.rptref":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"lidgrp.rec.regref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.swiadd.nartxt":[
{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
"oldlidgrp.blk.narhis":[
{type: "string", required: false, message: "必输项"},
{max: 49950,message:"长度不能超过49950"}
],
"lidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
],
"litp.avbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.avb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.avbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"lidgrp.avb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过140"}
],
"lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.avbwthtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.avb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.feetxt":[
{ required: false, message: "必输项"},
{type: "string",max: 210,message:"长度不能超过210"}
],
"lidgrp.blk.defdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"lidgrp.blk.dftat":[
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
"litp.drwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.drw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.drwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.drw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35*4,message:"长度不能超过35"}
],
"lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.mixdet":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"lidgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{ required: false, message: "必输项"},
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.shpto":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.blk.shpper":[
{type: "string", required: true, message: "必输项"},
{max: 390,message:"长度不能超过390"}
],
"lidgrp.ini.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.a2b.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.a2bp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.a2b.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.a2bp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.ini.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.a2b.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.ini.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过140"}
],
"lidgrp.ini.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.a2b.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过140"}
],
"lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.ini.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.a2b.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.avb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rmb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.con.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.conp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.con.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp.conp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.con.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.con.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35*4,message:"长度不能超过140"}
],
"lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.con.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.insbnk":[
{type: "string", required: false, message: "必输项"},
{max: 65*12,message:"长度不能超过65"}
],
"litameadv":[
{ required: true, message: "必输项"}
],
"lidgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.swiadd.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"liaall.outamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.relcshpct":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.pctresamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.totcovamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.liaccv.addinf":[
{type: "string", required: true, message: "必输项"},
{max: 70,message:"长度不能超过70"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bcbtyp7":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"bcbdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ameadvrmk":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
{type: "string", required: false, message: "必输项","trigger": "blur"},
{max: 60,message:"长度不能超过60","trigger": "blur"}
],
"mtabut.coninf.oitset.oit.inftxt":[
// {type: "string", required: false, message: "必输项"},
// {max: 60,message:"长度不能超过60"}
{type: "string", required: false, message: "必输项","trigger": "blur"},
{max: 60,message:"长度不能超过60","trigger": "blur"}
],
"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"}
],
"lidgrp.blk.lcrdocame":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.lcrdoc":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"litamep.lcrdocamep.usrblk":[
{type: "string", required: false, message: "必输项"},
{max: 65*10,message:"长度不能超过65*10"}
],
"lidgrp.blk.lcrgodame":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.lcrgod":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"litamep.lcrgodamep.usrblk":[
{type: "string", required: false, message: "必输项"},
{max: 65*10,message:"长度不能超过65*10"}
],
"lidgrp.blk.adlcndame":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.spcbename":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.spcrcbame":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.adlcnd":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.blk.spcben":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.blk.spcrcb":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"litamep.adlcndamep.usrblk":[
{type: "string", required: false, message: "必输项"},
{max: 65*10,message:"长度不能超过65*10"}
],
"litamep.spcbenamep.usrblk":[
{type: "string", required: false, message: "必输项"},
{max: 1650,message:"长度不能超过1650"}
],
"litamep.spcrcbamep.usrblk":[
{type: "string", required: false, message: "必输项"},
{max: 1650,message:"长度不能超过1650"}
],
"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: "string", 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: "string", 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"}
],
/**
* Litame Check规则
*/
"liaall.misamt": null,
"lidgrp.apl.namelc": null,
"lidgrp.rec.prepers18": null,
"lidgrp.rec.lcrtyp": null,
"ameadvrmk": null,
"lidgrp.rec.apprul": null,
"lidgrp.blk.lcrgod": null,
"bcbtyp7": null,
"lidgrp.rec.stacty": null,
"lidgrp.blk.lcrdoc": null,
"litamep.lcrgodamep.usrblk": null,
"liaall.limmod.limpts.oth.pts.nam": null,
"setmod.dspflg": null,
"lidgrp.a2b.namelc": null,
"litamep.adlcndamep.usrblk": null,
"trnmod.swiadd.amenbr": null,
"lidgrp.avb.pts.adrblk": null,
"liaall.liaccv.totcovamt": null,
"liaall.limmod.limpts.wrk.pts.nam": null,
"lidgrp.blk.preper": null,
"oldlidgrp.rec.expdat": null,
"trnmod.swiadd.insbnk": null,
"lidgrp.rec.shptrss18": null,
"lidgrp.rec.cnfdet": null,
"lidgrp.avb.adrelc": null,
"lidgrp.ini.pts.extkey": null,
"trnmod.swiadd.newshpdat": null,
"lidgrp.rmb.pts.extkey": null,
"trnmod.swiadd.newexpdat": null,
"lidgrp.adv.pts.extkey": null,
"lidgrp.adv.adrelc": null,
"lidgrp.ben.pts.extkey": null,
"lidgrp.a2b.pts.extkey": null,
"lidgrp.blk.defdet": null,
"lidgrp.apl.pts.adrblk": null,
"lidgrp.rmb.pts.nam": null,
"lidgrp.con.adrelc": null,
"lidgrp.con.pts.adrblk": null,
"lidgrp.blk.dftat": null,
"lidgrp.rec.tenmaxday": null,
"lidgrp.ben.namelc": null,
"lidgrp.drw.pts.adrblk": null,
"lidgrp.drw.namelc": null,
"litameadv": null,
"liaall.limmod.limpts.oth.pts.extkey": null,
"liaall.limmod.ownref": null,
"trnmod.swiadd.newamt": null,
"liaall.limmod.ecifno": null,
"lidgrp.rec.apprultxt": null,
"lidgrp.adv.pts.adrblk": null,
"lidgrp.blk.adlcnd": null,
"lidgrp.ini.namelc": null,
"lidgrp.rec.shppars18": null,
"lidgrp.ini.pts.adrblk": null,
"litamep.lcrdocamep.usrblk": null,
"trnmod.swiadd.trnfeetxt": null,
"lidgrp.apl.adrelc": null,
"litp.usr.extkey": null,
"lidgrp.rec.avbwth": null,
"trnmod.swiadd.addamt": null,
"lidgrp.rec.opndat": null,
"lidgrp.a2b.adrelc": null,
"lidgrp.avb.namelc": null,
"lidgrp.blk.feetxt": null,
"trnmod.swiadd.newnomtop": null,
"trnmod.swiadd.newnomton": null,
"lidgrp.ben.adrelc": null,
"lidgrp.a2b.pts.adrblk": null,
"lidgrp.adv.namelc": null,
"liaall.limmod.limpts.wrk.pts.extkey": null,
"lidgrp.blk.mixdet": null,
"lidgrp.drw.adrelc": null,
"lidgrp.rec.expplc": null,
"trnmod.swiadd.ameamt": null,
"mtabut.coninf.conexedat": null,
"trnmod.swiadd.nartxt": null,
"lidgrp.avb.pts.extkey": null,
"liaall.limmod.limpts.nonrevflg1": null,
"lidgrp.blk.insbnk": null,
"lidgrp.con.pts.extkey": null,
"setmod.docamt": null,
"trnmod.swiadd.prepers18": null,
"lidgrp.ini.adrelc": null,
"lidgrp.ben.pts.adrblk": null,
"liaall.liaccv.cshpct": null,
"lidgrp.drw.pts.extkey": null,
"lidgrp.apl.pts.extkey": null,
"trnmod.swiadd.purpos": null,
"lidgrp.con.namelc": null,
"liaall.liaccv.relcshpct": null,
}
\ No newline at end of file
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litame {
constructor() {
this.data = {
bcbtyp6: '',
modtyp: '',
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
litp: {
usr: {
extkey: ''
},
aamp: {
aammod: {
addamtflg: ''
}
}
},
bgftktyp: '',
litamep: {
amenbr: '',
cre707flg: '',
maxcur: '',
engcur: '',
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
spcbenamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
spcrcbamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
engamt: ''
},
number: '',
litameadv: '',
ameadvrmk: '',
oldlidgrp: {
blk: {
narhis: ''
},
rec: {
expdat: '',
nomton: '',
shpdat: '',
nomtop: '',
prepertxts18: '',
prepers18: ''
},
cbs: {
max: {
cur: '',
amt: ''
},
nom1: {
amt: ''
}
}
},
lidgrp: {
a2b: {
pts: new Pts().data,
},
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
lcrdocame: '',
dftat: '',
adlcndame: '',
spcbename: '',
spcrcbame: '',
spcrcb: '',
lcrgodame: ''
},
rec: {
tenmaxday: '',
nomton: '',
expplc: '',
stacty: '',
dkflg: '',
rmbflg: '',
nomtop: '',
avbwth: '',
opndat: '',
revflg: '',
spcbenflg: '',
shpdat: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
chato: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: '',
},
adv: {
pts: new Pts().data,
},
con: {
namelc: '',
pts: new Pts().data,
},
ini: {
pts: new Pts().data,
},
cbs: {
opn2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
}
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
}
},
liaall: {
limmod: {
ownref: '',
dggrd: '',
limpts: {
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
pfcod1: '',
pfcod2: '',
nonrevflg1: '',
nonrevflg2: ''
},
comamt: '',
ccvamt: '',
limgrd: '',
lmegrd: '',
tygrd: ''
}
},
trnmod: {
swiadd: {
trnchato: '',
newnomtop: '',
purpos: '',
amedat: '',
addamtcov: '',
newnomton: '',
prepers18: '',
amenbr: '',
nartxt: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
newexpdat: '',
trnfeetxt: '',
ameamt: '',
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
}
},
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,
};
}
}
<template>
<div class="eibs">
<c-col :span="12">
<c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择附加金额币种"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入附加金额余额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="39C场" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
disabled
placeholder="请输入39C场"
></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="eibs">
<el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1"
type="textarea"
v-model="model.lidgrp.blk.adlcnd"
maxlength="52000"
show-word-limit
placeholder="请输入附加条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.adlcndamep.usrblk"
>
<c-fullbox>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.adlcndamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.adlcndame.buttxmsel',
null,
null,
{ TXT: 'litamep.adlcndamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</el-col>
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.adlcndame">
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
disabled
type="textarea"
v-model="model.lidgrp.blk.adlcndame"
maxlength="4950"
show-word-limit
placeholder="请输入历史概述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.lidgrp.rec.redclsflg"
>红/绿条款</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcbenflg"
>适用于受益人的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open"
class="checkbox-left"
style="margin: 0px 0 10px 120px"
v-model="model.litamep.adlcndamep.modflg"
>修改要替换的文本</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox
style="margin: 0px 0 10px 100px"
v-model="model.lidgrp.rec.spcrcbflg"
>仅适用于银行的特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litamep.adlcndamep.modmanflg">
<c-checkbox
@change="open1"
class="checkbox-left"
v-model="model.litamep.adlcndamep.modmanflg"
>内部修改文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
disabled
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
disabled
icon="el-icon-delete"
>
删除文本
</c-button>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
watch: {
"model.litamep.adlcndamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
}
},
},
"model.litamep.adlcndamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.adlcndamep.modflg == "" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.adlcndamep.usrblk = "";
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.adlcndamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.adlcnd == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.adlcndamep.modflg == "X" &&
this.model.litamep.adlcndamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb">
<el-form-item label="备查表类型" class="checkbox-left">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
<c-checkbox v-model="model.bcbtyp3">转口贸易</c-checkbox>
<c-checkbox v-model="model.bcbtyp4">90天以上信用证</c-checkbox>
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
<c-checkbox v-model="model.bcbtyp6" style="margin-right:30px;">其它</c-checkbox>
</el-form-item>
<c-col :span="12" v-if="model.bcbtyp6">
<el-form-item label="备查表类型填写文本框" prop="bcbtyp7">
<c-input
v-model="model.bcbtyp7"
maxlength="30"
placeholder="请输入备查表类型填写文本框"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="备案表效期" prop="bcbdat">
<c-date-picker
type="date"
v-model="model.bcbdat"
style="width: 100%"
placeholder="请选择备案表效期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="不规范条款类型" prop="bgftktyp">
<c-select
v-model="model.bgftktyp"
style="width: 100%"
placeholder="请选择不规范条款类型"
:code="codes.bgftktyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="特殊规定" prop="litameadv">
<c-select
v-model="model.litameadv"
style="width: 100%"
placeholder="请选择特殊规定"
:code="codes.litameadv"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="0">
<el-form-item label=" " prop="modtyp">
<c-checkbox v-model="model.modtyp" class="checkbox-left">修改信用证类型</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="特殊规定条件" prop="ameadvrmk">
<c-input
type="textarea"
v-model="model.ameadvrmk"
maxlength="34"
show-word-limit
placeholder="请输入特殊规定条件"
:disabled="model.litameadv === '无特殊规定' ? true : false"
></c-input>
</el-form-item>
</c-col>
</el-collapse-item>
<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: ['addbcb']
};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ==========左=============== -->
<el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="信用证编号"
prop="lidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="8"
placeholder="请输入编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="修改日期" prop="trnmod.swiadd.amedat">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.amedat"
style="width: 100%"
placeholder="请选择修改日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证名义金额(原)" prop="lidgrp.cbs.nom1.cur">
<c-input
v-model="model.lidgrp.cbs.nom1.cur"
maxlength="3"
placeholder="请输入金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="溢短装上浮" prop="oldlidgrp.rec.nomtop">
<c-input
v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入上浮比例"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="溢短装下浮" prop="oldlidgrp.rec.nomton">
<c-input
v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入下浮比例"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改金额" prop="trnmod.swiadd.amecur">
<c-input
v-model="model.trnmod.swiadd.amecur"
style="width: 100%"
placeholder="请输入修改金额"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt">
<c-input-currency-min
v-model="model.trnmod.swiadd.ameamt"
placeholder="请输入增减金额."
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur">
<c-input
v-model="model.trnmod.swiadd.newcur"
style="width: 100%"
placeholder="请选择修改后金额"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.newamt">
<c-input-currency-min
v-model="model.trnmod.swiadd.newamt"
placeholder="请输入修改后金额"
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="新的上浮比例" prop="trnmod.swiadd.newnomtop">
<c-input
v-model.number="model.trnmod.swiadd.newnomtop"
placeholder="请输入新的上浮比例"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="新的下浮比例" prop="trnmod.swiadd.newnomton">
<c-input
v-model.number="model.trnmod.swiadd.newnomton"
placeholder="请输入新的下浮比例"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="限额表述" prop="trnmod.swiadd.nomspc">
<c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc"
style="width: 100%"
placeholder="请选择限额表述"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="生效日期" prop="oldlidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.oldlidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="(新)生效日期" prop="trnmod.swiadd.newexpdat">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.newexpdat"
style="width: 100%"
placeholder="请选择新生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信息目的" prop="trnmod.swiadd.purpos">
<c-select
v-model="model.trnmod.swiadd.purpos"
style="width: 100%"
placeholder="请选择信息目的"
:code="codes.purpos5"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18">
<c-input
v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入寄单期限"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1" style="margin-left: -80px">
<el-form-item label="天"> </el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input
type="textarea"
v-model="model.oldlidgrp.rec.prepertxts18"
maxlength="35"
show-word-limit
placeholder="请输入寄单期限"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="费用承担人修改" prop="trnmod.swiadd.trnchato">
<c-select
v-model="model.trnmod.swiadd.trnchato"
style="width: 100%"
placeholder="请选择费用承担人修改"
:code="codes.trnchato1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费详情" prop="trnmod.swiadd.trnfeetxt">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt"
maxlength="210"
show-word-limit
placeholder="请输入收费详情"
:disabled="model.trnmod.swiadd.trnchato != 'OTHR'"
></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ==========右=============== -->
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input
v-model.number="model.trnmod.swiadd.amenbr"
placeholder="请输入修改次数"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="实际修改次数" prop="litamep.amenbr">
<c-input
v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额(原)" prop="oldlidgrp.cbs.max.cur">
<c-input
v-model="model.oldlidgrp.cbs.max.cur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input-currency
v-model="model.oldlidgrp.cbs.max.amt"
placeholder="请输入金额"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改总金额" prop="litamep.engcur">
<c-input
v-model="model.litamep.engcur"
style="width: 100%"
placeholder="请选择修改总金额"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.engamt">
<c-input-currency-min
v-model="model.litamep.engamt"
placeholder="请输入修改总金额"
class="m-input-currency"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="litamep.maxcur">
<c-input
v-model="model.litamep.maxcur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.maxamt">
<c-input-currency-min
v-model="model.litamep.maxamt"
placeholder="请输入"
disabled
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期(原)" prop="oldlidgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.oldlidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择装运日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期(新)" prop="trnmod.swiadd.newshpdat">
<c-date-picker
type="date"
v-model="model.trnmod.swiadd.newshpdat"
style="width: 100%"
placeholder="请选择新装运日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18">
<c-input
v-model.number="model.trnmod.swiadd.prepers18"
placeholder="请输入交单期限(新)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" style="margin-left: -80px">
<el-form-item label="天"> </el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18">
<c-input
v-model="model.trnmod.swiadd.prepertxts18"
maxlength="35"
placeholder="请输入交单期限描述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litp.aamp.aammod.addamtflg">
<c-checkbox
class="checkbox-left"
v-model="model.litp.aamp.aammod.addamtflg"
>附加金额</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="lidgrp.cbs.max2.cur">
<c-input
disabled
v-model="model.lidgrp.cbs.max2.cur"
maxlength="3"
placeholder="请选择币种"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input-currency
:disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
v-model="model.trnmod.swiadd.addamt"
placeholder="请输入附加金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.addamtcov"
maxlength="140"
show-word-limit
placeholder="请输入附加金额"
:disabled="!(this.model.litp.aamp.aammod.addamtflg == 'X')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="trnmod.swiadd.reqcan">
<c-checkbox
class="checkbox-left"
v-model="model.trnmod.swiadd.reqcan"
>取消请求</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox style="margin-left: 130px" v-model="model.litamep.cre707flg"
>创建修改报文</c-checkbox
>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: {
// prepersChange(){
// this.executeDefault("lidgrp.rec.prepers18").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// },
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<!-- ========================左边======================== -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.rec.avbwth">
<c-select
v-model="model.lidgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择可用银行"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag5"
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('lidgrp.avb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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"
@click="onAvbpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
<c-input
:disabled="this.flag6"
type="textarea"
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="!this.flag4">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input
type="textarea"
v-model="model.lidgrp.blk.avbwthtxt"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入Available in"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="延期付款指示" prop="lidgrp.blk.defdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="140"
:rows="3"
show-word-limit
placeholder="请输入延期付款指示"
:disabled="this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input
type="textarea"
v-model="model.lidgrp.blk.dftat"
maxlength="105"
:rows="3"
show-word-limit
placeholder="请输入汇票期限"
:disabled="this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受票人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.drw.pts.extkey"
maxlength="16"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('lidgrp.drw.pts.extkey')
"
:disabled="this.flag2"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag2"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.drw.pts.adrblk">
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.lidgrp.drw.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运地点" prop="lidgrp.rec.shpfro">
<c-input
v-model="model.lidgrp.rec.shpfro"
maxlength="65"
placeholder="请输入装运地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input
v-model="model.lidgrp.rec.porloa"
maxlength="65"
placeholder="请输入始发(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input
v-model="model.lidgrp.rec.pordis"
maxlength="65"
placeholder="请输入终点(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input
v-model="model.lidgrp.rec.shpto"
maxlength="65"
placeholder="请输入最终目的地"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input
type="textarea"
v-model="model.lidgrp.blk.shpper"
maxlength="390"
:rows="6"
show-word-limit
placeholder="请输入装运期限"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input
v-model="model.lidgrp.rec.prepers18"
style="width: 100%"
:disabled="true"
placeholder="请输入提交期限(天)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input
type="textarea"
v-model="model.lidgrp.rec.prepertxts18"
:disabled="true"
maxlength="140"
show-word-limit
placeholder="请输入寄单期限"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行费用负担" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input
type="textarea"
v-model="model.lidgrp.blk.feetxt"
maxlength="210"
:rows="6"
show-word-limit
placeholder="请输入银行费用负担"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费条件" prop="lidgrp.rec.chato">
<c-select
v-model="model.lidgrp.rec.chato"
style="width: 100%"
:code="chato"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国家地区代码" prop="lidgrp.rec.stacty">
<c-select
v-model="model.lidgrp.rec.stacty"
style="width: 100%"
:code="codes.stacty"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款详情" prop="lidgrp.blk.mixdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="140"
:rows="4"
show-word-limit
placeholder="请输入内容"
:disabled="this.flag3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限日" prop="lidgrp.rec.tenmaxday">
<c-input
:disabled="this.model.lidgrp.rec.avbby == 'P'"
v-model="model.lidgrp.rec.tenmaxday"
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 {
chato: [
{ label: `我们的费用由国外承担`, value: `B` },
{ label: `其他`, value: `O` },
{ label: `分割费用`, value: `S` },
{ label: `我们的费用由客户承担`, value: `U` },
],
flag1: true,
flag2: true,
flag3: true,
flag4: true,
flag5: false,
flag6: false,
};
},
methods: {
onAvbpDet() {
console.log(this.model.lidgrp.rec.avbby);
},
},
created: function () {},
watch: {
"model.lidgrp.rec.avbwth": {
immediate: true,
handler(val, oldVal) {
//Any Bank
if (val == "O") {
this.flag4 = false;
this.changeFormItemRequired("lidgrp.avb.pts.adrblk", false);
this.flag6 = false;
} //Advising Bank
else if (val == "A") {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Issuing Bank
else if (val == "I") {
this.flag4 = true;
this.flag5 = false;
this.flag6 = true;
} //Confirming Bank
else if (val == "C") {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Specified Bank
else if (val == "S") {
this.flag4 = true;
this.flag5 = false;
this.flag6 = false;
}
},
},
"model.lidgrp.rec.avbby": {
immediate: true,
handler(val, oldVal) {
if (val == "D") {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
}
if (val == "N") {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
}
if (val == "P") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
}
if (val == "M") {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
}
if (val == "A") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
}
},
},
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
\ No newline at end of file
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1"
type="textarea"
v-model="model.lidgrp.blk.lcrgod"
maxlength="52000"
show-word-limit
placeholder="请输入描述信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
>
<c-fullbox>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="22">
<el-form-item
label="在当前修订中添加/删除文本"
prop="litamep.lcrgodamep.usrblk"
>
<c-input
:disabled="this.flag2"
:autosize="{ minRows: 22, maxRows: 800 }"
type="textarea"
v-model="model.litamep.lcrgodamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrgodame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrgodamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> -->
</el-col>
<el-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrgodame">
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
disabled
type="textarea"
v-model="model.lidgrp.blk.lcrgodame"
maxlength="4950"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.lcrgodamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrgodamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrgodamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
>
删除文本
</c-button>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.lcrgodamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
}
},
},
"model.litamep.lcrgodamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrgodamep.modflg == "" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrgodamep.usrblk = "";
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.lcrgodamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrgod == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrgodamep.modflg == "X" &&
this.model.litamep.lcrgodamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input
:autosize="{ minRows: 12, maxRows: 800 }"
:disabled="this.flag1"
type="textarea"
v-model="model.lidgrp.blk.lcrdoc"
maxlength="52000"
show-word-limit
placeholder="请输入单据要求"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.lcrdocamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="52000"
show-word-limit
placeholder="请输入添加/删除补充信息"
:autosize="{ minRows: 22, maxRows: 800 }"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.lcrdocame.buttxmsel',
null,
null,
{ TXT: 'litamep.lcrdocamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.lcrdocame">
<c-input
:autosize="{ minRows: 12, maxRows: 999 }"
disabled
type="textarea"
v-model="model.lidgrp.blk.lcrdocame"
maxlength="4950"
show-word-limit
placeholder="请输入历史概述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="litamep.lcrdocamep.modflg">
<c-checkbox
@change="open"
class="checkbox-left"
v-model="model.litamep.lcrdocamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.lcrdocamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
>
删除文本
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.lcrdocamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
}
},
},
"model.litamep.lcrdocamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.lcrdocamep.modflg == "" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.lcrdocamep.usrblk = "";
}
},
},
},
methods: {
...Event,
open(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.lcrdocamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.lcrdoc == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.lcrdocamep.modflg == "X" &&
this.model.litamep.lcrdocamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="24">
<el-form-item label="指示信息" prop="lidgrp.blk.insbnk">
<c-input
type="textarea"
v-model="model.lidgrp.blk.insbnk"
maxlength="1000"
:rows="20"
show-word-limit
placeholder="请输入指示信息"
></c-input>
</el-form-item>
</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-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"
placeholder="请输入地址编码"
style="width: 100%"
disabled
></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"
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="true"
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"
type="primary"
icon="el-icon-search"
>
</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"
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"
>
</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">
试算
</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 event from "../event";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
tableData: {},
same:false
};
},
methods: {
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 = "";
}
},
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">
<el-col :span="12" style="padding-right: 20px;">
<el-form-item label="历史叙述内容" prop="oldlidgrp.blk.narhis">
<c-input
disabled
type="textarea"
v-model="model.oldlidgrp.blk.narhis"
maxlength="49950"
show-word-limit
:rows="12"
placeholder="请输入内容" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="叙述内容" prop="trnmod.swiadd.nartxt">
<c-input
disabled
type="textarea"
v-model="model.trnmod.swiadd.nartxt"
maxlength="1750"
show-word-limit
:rows="12"
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-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="修改信息" name="amep">
<m-amep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概览信息" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="叙述内容" name="narp">
<m-narp :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="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物修改" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="附加条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="付款/承兑/议付行指示" name="inspame">
<m-inspame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="单据修改" name="aamp" v-if="this.model.litp.aamp.aammod.addamtflg">
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="受益人特殊付款条款修改" name="spbpame" v-if="this.model.lidgrp.rec.spcbenflg">
<m-spbpame :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行专用付款条款修改" name="sprpame" v-if="this.model.lidgrp.rec.spcrcbflg">
<m-sprpame :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from "../event";
import Amep from "./Amep";
import Ovwp1 from "./Ovwp1";
import Narp from "./Narp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dorpame from "./Dorpame";
import Dogpame from "./Dogpame";
import Adcpame from "./Adcpame";
import Aamp from "./Aamp";
import Spbpame from "./Spbpame.vue";
import Sprpame from "./Sprpame.vue";
import Inspame from "./Inspame";
export default {
components: {
"m-amep": Amep,
"m-ovwp1": Ovwp1,
"m-narp": Narp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dorpame": Dorpame,
"m-dogpame": Dogpame,
"m-adcpame": Adcpame,
"m-aamp": Aamp,
"m-spbpame": Spbpame,
"m-sprpame": Sprpame,
"m-inspame": Inspame,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ['amep']
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- =========左============= -->
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入编号"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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"
disabled
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户经理" prop="litp.usr.extkey">
<c-fullbox>
<c-input disabled v-model="model.litp.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 10px"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur">
<c-input
disabled
v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择">
</c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input-currency disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.litp.aamp.aammod.addamtflg">附加金额</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="金额上浮" prop="lidgrp.rec.nomtop">
<c-input disabled v-model="model.lidgrp.rec.nomtop" placeholder="请输入金额上浮"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="金额下浮" prop="lidgrp.rec.nomton">
<c-input disabled v-model="model.lidgrp.rec.nomton" placeholder="请输入金额下浮"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最高限额表述" prop="lidgrp.rec.nomspc">
<c-select disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择最高限额表述" :code="codes.nomspc">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="lidgrp.cbs.max.cur">
<c-input disabled v-model="model.lidgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证最大金额" prop="lidgrp.cbs.max.amt">
<c-input-currency disabled v-model="model.lidgrp.cbs.max.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker disabled type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预通知日期" prop="lidgrp.rec.preadvdt">
<c-date-picker disabled type="date" v-model="model.lidgrp.rec.preadvdt" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最迟装运期" prop="lidgrp.rec.shpdat">
<c-date-picker disabled type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.dkflg">是否代开信用证</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker disabled 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 v-model="model.lidgrp.rec.expplc" maxlength="29" placeholder="请输入地点"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="lidgrp.rec.shppar">
<c-select v-model="model.lidgrp.rec.shppar" style="width:100%" placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否可转运" prop="lidgrp.rec.shptrss18">
<c-select v-model="model.lidgrp.rec.shptrss18" style="width:100%" placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="适用规则" prop="lidgrp.rec.apprul">
<c-select v-model="model.lidgrp.rec.apprul" style="width:100%" placeholder="请选择适用规则"
:code="codes.apprul"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其他适用规则" prop="lidgrp.rec.apprultxt">
<c-input disabled v-model="model.lidgrp.rec.apprultxt" maxlength="35" placeholder="请输入其他适用规则"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保兑指示" prop="lidgrp.rec.cnfdet">
<c-select v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择保兑指示"
:code="codes.cnfins"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货押标识" prop="lidgrp.rec.guaflg">
<c-select v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择货押标识"
:code="codes.guaflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="注册编号" prop="lidgrp.rec.regref">
<c-input disabled v-model="model.lidgrp.rec.regref" maxlength="16" placeholder="请输入注册编号"></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ======================================右========================================= -->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input disabled 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="lidgrp.apl.pts.ref">
<c-input v-model="model.lidgrp.apl.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="lidgrp.apl.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.apl.pts.extkey" maxlength="16" placeholder="请输入"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.apl.pts.adrblk">
<c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行参考号" prop="lidgrp.adv.pts.ref">
<c-input v-model="model.lidgrp.adv.pts.ref" maxlength="16" placeholder="请输入通知行参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行" prop="lidgrp.adv.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.lidgrp.adv.pts.extkey" maxlength="16" placeholder="请输入通知行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.adv.pts.adrblk">
<c-input
disabled
:rows="3"
type="textarea" v-model="model.lidgrp.adv.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="lidgrp.ben.pts.ref">
<c-input v-model="model.lidgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="lidgrp.ben.pts.extkey">
<c-fullbox>
<c-input v-model="model.lidgrp.ben.pts.extkey" maxlength="16" placeholder="请输入受益人"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.ben.pts.adrblk">
<c-input
disabled
type="textarea" v-model="model.lidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label=" " prop="lidgrp.rec.rmbflg">
<c-checkbox disabled v-model="model.lidgrp.rec.rmbflg" class="checkbox-left">偿付行信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="合同号" prop="lidgrp.rec.rptref">
<c-input v-model="model.lidgrp.rec.rptref" maxlength="25" 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">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申请人账户行参考号" prop="lidgrp.ini.pts.ref">
<c-input
disabled
v-model="model.lidgrp.ini.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人账户行" prop="lidgrp.ini.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.lidgrp.ini.pts.extkey" maxlength="16" placeholder="请输入申请人账户行"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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="lidgrp.ini.pts.adrblk">
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.ini.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行参考号" prop="lidgrp.rmb.pts.ref">
<c-input v-model="model.lidgrp.rmb.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行" prop="lidgrp.rmb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.rmb.pts.extkey"
maxlength="16"
disabled
placeholder="请输入编号"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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="lidgrp.rmb.pts.nam">
<c-input v-model="model.lidgrp.rmb.pts.nam"
:disabled="true"
maxlength="40"
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保兑行参考号" prop="lidgrp.con.pts.ref">
<c-input v-model="model.lidgrp.con.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保兑行" prop="lidgrp.con.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.con.pts.extkey"
maxlength="16"
placeholder="请输入编号"
@keyup.enter.native="showGridPromptDialog('lidgrp.con.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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="lidgrp.con.namelc">
<c-input type="textarea" v-model="model.lidgrp.con.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="地址信息" prop="lidgrp.con.pts.adrblk">
<c-input
:rows="4"
:disabled="model.lidgrp.con.pts.extkey!=''||model.lidgrp.con.pts.extkey!=null"
type="textarea"
v-model="model.lidgrp.con.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ==========================右 ===================================-->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
<c-input v-model="model.lidgrp.a2b.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第二通知行" prop="lidgrp.a2b.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.a2b.pts.extkey"
maxlength="16"
@keyup.enter.native="showGridPromptDialog('lidgrp.a2b.pts.extkey')"
placeholder=""
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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="lidgrp.a2b.pts.adrblk">
<c-input
:rows="4"
type="textarea"
v-model="model.lidgrp.a2b.pts.adrblk"
maxlength="140"
show-word-limit
:disabled="model.lidgrp.a2b.pts.extkey!=''||model.lidgrp.a2b.pts.extkey!=null"
placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行参考号" prop="lidgrp.avb.pts.ref">
<c-input
v-model="model.lidgrp.avb.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder=""
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 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="lidgrp.avb.pts.adrblk">
<c-input
:rows="4"
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址信息" ></c-input>
</el-form-item>
</c-col>
</el-col>
<c-col :span="24">
<el-form-item label="附加当事人" >
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template>
<el-button
size="mini"
type="primary"
icon="el-icon-info"
></el-button
>
</template>
</el-table-column>
</c-edit-table>
</el-form-item>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ['root'],
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: "250px",
dataIndex: "nam",
},
{
title: "参考号",
width: "250px",
dataIndex: "ref",
},
],
urls: "litp.ptsaddp.ptsaddg",
},
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="受益人的特殊付款条款"
prop="lidgrp.blk.spcben"
>
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea"
v-model="model.lidgrp.blk.spcben"
maxlength="65"
show-word-limit
placeholder="请输入受益人的特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.spcbenamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.spcbenamep.buttxmsel',
null,
null,
{ TXT: 'litamep.spcbenamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcbename">
<c-input
:rows="12"
disabled
type="textarea"
v-model="model.lidgrp.blk.spcbename"
maxlength="50"
show-word-limit
placeholder="请输入历史概述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcbenamep.modflg">
<c-checkbox
class="checkbox-left"
@change="open"
v-model="model.litamep.spcbenamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.spcbenamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
>
删除文本
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.spcbenamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
}
},
},
"model.litamep.spcbenamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcbenamep.modflg == "" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcbenamep.usrblk = "";
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.spcbenamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcben == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.spcbenamep.modflg == "X" &&
this.model.litamep.spcbenamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item
label="仅适用于银行的特殊付款条款"
prop="lidgrp.blk.spcrcb"
>
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea"
v-model="model.lidgrp.blk.spcrcb"
maxlength="65"
show-word-limit
placeholder="请输入仅适用于银行的特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="添加/删除当前修订中的文本"
prop="litamep.spcrcbamep.usrblk"
>
<c-fullbox>
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcrcbamep.usrblk"
maxlength="1650"
show-word-limit
placeholder="请输入添加/删除补充信息"
:rows="22"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
:disabled="this.flag2"
@click="
showGridPromptDialog(
'litamep.spcrcbamep.buttxmsel',
null,
null,
{ TXT: 'litamep.spcrcbamep.usrblk' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="历史概述" prop="lidgrp.blk.spcrcbame">
<c-input
:rows="12"
disabled
type="textarea"
v-model="model.lidgrp.blk.spcrcbame"
maxlength="50"
show-word-limit
placeholder="请输入历史概述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="litamep.spcrcbamep.modflg">
<c-checkbox
class="checkbox-left"
@change="open"
v-model="model.litamep.spcrcbamep.modflg"
>修改要替换的文本</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style="margin: 0px 0 10px 125px"
v-model="model.litamep.spcrcbamep.modmanflg"
>内部修改文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
size="small"
type="primary"
>
显示差异
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
>
添加文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
style="margin: 0px 0 10px 120px"
disabled
size="small"
type="primary"
icon="el-icon-delete"
>
删除文本
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
flag1: true,
flag2: false,
};
},
watch: {
"model.litamep.spcrcbamep.modflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
}
},
},
"model.litamep.spcrcbamep.modmanflg": {
immediate: true,
handler(val, oldval) {
if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == ""
) {
this.flag1 = true;
this.flag2 = false;
} else if (
this.model.litamep.spcrcbamep.modflg == "" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.flag1 = false;
this.flag2 = true;
this.model.litamep.spcrcbamep.usrblk = "";
}
},
},
},
methods: {
open(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (val == "X" && this.model.litamep.spcrcbamep.modmanflg == "X") {
this.$confirm("请先重置内部修改", "提示", {
confirmButtonText: "确定",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
open1(val) {
if (val === "" && !(this.model.lidgrp.blk.spcrcb == "")) {
this.$confirm(
"是否确定要重置手动修改?",
"提示",
{
cancelButtonText: "撤销",
confirmButtonText: "确定",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb = "";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = "X";
this.$message({
type: "info",
message: "已取消",
});
});
} else if (
this.model.litamep.spcrcbamep.modflg == "X" &&
this.model.litamep.spcrcbamep.modmanflg == "X"
) {
this.$confirm("请先重置修改以替换", "提示", {
confirmButtonText: "确定",
cancelButtonText: "",
showCancelButton: false,
type: "warning",
showClose: false,
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg = "";
this.flag1 = true;
this.flag2 = false;
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证修改">
<!--
<div class="fast-button">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">智能提示</el-button>
/div>
-->
<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="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" />
</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>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000328 -->
<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-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<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="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import formRules from '../model/check';
import operationFunc from "~/mixin/operationFunc";
import Litame from "../model";
import event from "../event";
import Ovwp from "./Ovwp";
import Ovwp1 from "./Ovwp1";
import Aamp from "./Aamp";
import Narp from "./Narp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Inspame from "./Inspame";
import Addbcb from "./Addbcb";
import Dorpame from "./Dorpame";
import Dogpame from "./Dogpame";
import Adcpame from "./Adcpame";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
// import Limitbody from "./Limitbody";
import Limitbody from "~/components/business/limitbody/views";
export default {
name: "Litame",
components: {
"m-ovwp": Ovwp,
"m-ovwp1": Ovwp1,
"m-aamp": Aamp,
"m-narp": Narp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-inspame": Inspame,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-addbcb": Addbcb,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-dorpame": Dorpame,
"m-dogpame": Dogpame,
"m-adcpame": Adcpame,
"m-limitbody": Limitbody,
"m-setmod": Setmod,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "litame",
model: new Litame().data,
rules: formRules,
codes: { ...CodeTable },
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
},
};
},
mounted () {
this.init()
},
};
</script>
<style>
</style>
......@@ -7,6 +7,7 @@ const Business = [
{ path: 'gitame', component: () => import('~/business/gitame/views'), name: 'gitame', meta: { title: '出口保函修改' } },
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'litopn', component: () => import('~/business/litopn/views'), name: 'litopn', meta: { title: '进口信用证开立' } },
{ path: 'litame', component: () => import('~/business/litame/views'), name: 'litame', meta: { title: '进口信用证修改' } },
{ path: 'gitcrq', component: () => import('~/business/gitcrq/views'), name: 'gitcrq', meta: { title: '保函索赔登记' } },
{ path: 'gitcrj', component: () => import('~/business/gitcrj/views'), name: 'gitcrj', meta: { title: '进口保函拒付' } },
{ path: 'gitfee', component: () => import('~/business/gitfee/views'), name: 'gitfee', 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