Commit 8b5e3351 by xionglin

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

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents fdd41b07 fc80ffd4
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
cnfsta: model.gidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
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/brtacp/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: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/brtacp/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取brtacp弹框表格数据
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;
}
},
// 选中brtacp弹框表格的行数据
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);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/brtacp/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
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 {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
// "brdgrp.rec.tenmaxday":[
// {type: "number", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"brdgrp.prb.pts.ref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.disdat":[
{type: "date", required: true, message: "输入正确的日期"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{max: 18,required: true,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.cbs.max2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[
//{type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"}
],
"brdgrp.blk.chaadd":[
//{type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.docdis":[
//{type: "string", required: false, message: "必输项"},
{max: 3500,message:"长度不能超过3500"}
],
"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"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
//{type: "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: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brtp.furide":[
{type: "string", required: true, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.rec.totamt" :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 Brtacp{
constructor () {
this.data = {
gitp: {
swiftflg: '',
},
gidgrp: {
rec: {
branchinr: '00000047',
ownref: '', // Reference .gidgrp.rec.ownref
purposin: '', // Incoming Purpose .gidgrp.rec.purposin
purpos: '', // Outgoing Purpose .gidgrp.rec.purpos
hndtyp: '', // Handling Type .gidgrp.rec.hndtyp
gartyp: '', // Type of Undertaking .gidgrp.rec.gartyp
legfrm: '', // Form of Undertaking .gidgrp.rec.legfrm
demand: '', // Demand Indicator .gidgrp.rec.demand
fingua: '', // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp: '', // 对外担保类型 .gidgrp.rec.cfaguatyp
cmtflg: '', // 跨境人民币保函 .gidgrp.rec.cmtflg
giduil: '', // Language of Undertak. .gidgrp.rec.giduil
vrfdat: '', // 核销日期 .gidgrp.rec.vrfdat
gtxinr: '', // Choice of Text .gidgrp.rec.gtxinr
fenlishi: '', // 是否分离式保函 .gidgrp.rec.fenlishi
atxinr: '', // Choice of Text .gidgrp.rec.atxinr
orddat: '', // Order Date .gidgrp.rec.orddat
expflg: '', // Unlimited Guarantee .gidgrp.rec.expflg
expdat: '', // Valid until .gidgrp.rec.expdat
liaflg: '', // Unlimited Liability .gidgrp.rec.liaflg
liadat: '', // Our Liability until .gidgrp.rec.liadat
inudat: '', // Inure Date .gidgrp.rec.inudat
nam: '', // Name .gidgrp.rec.nam
liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
delori: '', // Delivery of Undertak. .gidgrp.rec.delori
deloritxt: '', // Delivery of Undertak. .gidgrp.rec.deloritxt
sndto: '', // Undertaking Send to .gidgrp.rec.sndto
delto: '', // Deliv. To/Collection By .gidgrp.rec.delto
chato: '', // Own Charges Borne by .gidgrp.rec.chato
orcref: '', // Contract Reference .gidgrp.rec.orcref
orcdat: '', // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat: '', // Closing Date .gidgrp.rec.tenclsdat
orccur: '', // Contract Amount .gidgrp.rec.orccur
orcamt: '0.00', // Contract Amount .gidgrp.rec.orcamt
acc: '', // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20: '', // Governing Law .gidgrp.rec.jurlaws20
jurlaw: '', // Law of Jurisdiction .gidgrp.rec.jurlaw
tenref: '', // Tender Reference .gidgrp.rec.tenref
tendat: '', // Tender Date .gidgrp.rec.tendat
trmdat: '', // Latest Transmiss. Date .gidgrp.rec.trmdat
mannum: '', // 手册号码 .gidgrp.rec.mannum
bngcod: '', // 企业海关编码 .gidgrp.rec.bngcod
juscod: '', // 组织机构代码 .gidgrp.rec.juscod
cunqii: '', // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv: 0, // 上浮比率 .gidgrp.rec.bilvvv
jurplc: '', // Place of Jurisdiction .gidgrp.rec.jurplc
reccnfdet: '', // Confirm. Instr. .gidgrp.rec.reccnfdet
cnfdet: '',
cnfsta: '', // Confirmation Status .gidgrp.rec.cnfsta
partcon: 0, // Partial Confirmation .gidgrp.rec.partcon
cnfdat: '', // Confirmation Date .gidgrp.rec.cnfdat
opndat: '',
opndatc: '', // Requested Issue Date .gidgrp.rec.opndatc
gartypc: '', // Undertaking Type .gidgrp.rec.gartypc
gartyptxtc: '', // Undertaking Type .gidgrp.blk.gartyptxtc
legfrmc: '', // Form of Undertaking .gidgrp.rec.legfrmc
demandc: '', // Demand Indicator .gidgrp.rec.demandc
stdwrduilc: '', // Requested Language .gidgrp.rec.stdwrduilc
gtxinrc: '', // Choice of Text .gidgrp.rec.gtxinrc
exptyp: '', // Expiry Type .gidgrp.rec.exptyp
deloritxtc: '', // Delivery of Undertak. .gidgrp.rec.deloritxtc
orcrefc: '', // Contract Reference .gidgrp.rec.orcrefc
tenclsdatc: '', // Closing Date .gidgrp.rec.tenclsdatc
orccurc: '', // Contract Amount .gidgrp.rec.orccurc
orcamtc: '', // Contract Amount .gidgrp.rec.orcamtc
accc: '', // A/c Adv. Paym. Guar. .gidgrp.rec.accc
jurlawc: '', // Governing Law .gidgrp.rec.jurlawc
jurlawtxtc: '', // Governing Law .gidgrp.rec.jurlawtxtc
jurplcc: '', // Place of Jurisdiction .gidgrp.rec.jurplcc
tenrefc: '', // Tender Reference .gidgrp.rec.tenrefc
tendatc: '', // Tender Date .gidgrp.rec.tendatc
trmdatc: '', // Latest Transmission .gidgrp.rec.trmdatc
orcratc: '', // Original Perc./ Rate .gidgrp.rec.orcratc
},
cbs: {
cnf: {
cur: '', // Confirmation Amount .gidgrp.cbs.cnf.cur
amt: '0.00', // Balance .gidgrp.cbs.cnf.amt
},
mac2: {
cur: '',
amt: '0.00',
},
mac: {
cur: '',
amt: '0.00',
},
max: {
cur: '', // Guarantee Amount .gidgrp.cbs.max.cur
amt: '0.00', // Guarantee Amount .gidgrp.cbs.max.amt
},
max2: {
cur: '',
amt: '0.00',
},
opc2: {
cur: '',
amt: '0.00',
},
opn1: {
cur: '', // Open Amount .gidgrp.cbs.opn1.cur
amt: '0.00', // Balance .gidgrp.cbs.opn1.amt
},
},
blk: {
apprul: '', // Applicable Rules .gidgrp.blk.apprul
apprultxt: '', // Applicable Rules .gidgrp.blk.apprultxt
exptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.exptxt
atxexptxt: '', // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
liatxtc: '', // Liability Condition .gidgrp.blk.liatxtc
atxliatxtc: '', // Liability Condition .gidgrp.blk.atxliatxtc
deltoadr: '', // Delivery to Address .gidgrp.blk.deltoadr
trfcond: '', // Transfer Conditions .gidgrp.blk.trfcond
feetxt: '', // Additional Details to Code for Charges .gidgrp.blk.feetxt
preper: '',
atxpreper: '', // Presentation Instr. .gidgrp.blk.atxpreper
covgodsrv: '', // Object of Contract .gidgrp.blk.covgodsrv
orcplc: '', // Original Contract Place .gidgrp.blk.orcplc
addinf: '', // Additional Info .gidgrp.blk.addinf
gidtxt: '', // Guarantee Text with Variables .gidgrp.blk.gidtxt
gtxgidtxt: '', // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
apprulc: '', // Applicable Rules .gidgrp.blk.apprulc
feetxtc: '', // Additional Details to Code for Charges .gidgrp.blk.feetxtc
preperc: '', // Presentation Instr. .gidgrp.blk.preperc
orcplcc: '', // Original Contract Place - Local Undertaking Seq. C .gidgrp.blk.orcplcc
addinfc: '', // Additional Info - Local Undertaking Seq. C .gidgrp.blk.addinfc
gtxgidtxtc: '', // Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc
addamtcovc: '', // Covered .gidgrp.blk.addamtcovc
covgodsrvc: '', // Object of Contract - Local Undertaking Seq. C .gidgrp.blk.covgodsrvc
atxcovgodsrv: '',
atxcovgodsrvc: '', // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrvc
},
ghd: {
segtyp: '', // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp: '', // 业务类型 .gidgrp.ghd.bustyp
remark: '', // 备注 .gidgrp.ghd.remark
},
gidcxm: {
warran: '', // 被保证人 .gidgrp.gidcxm.warran
cxmflg: '', // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi: '', // 受益人名称 .gidgrp.gidcxm.benefi
},
apc: {
pts: new Pts().data,
},
ctc: {
pts: new Pts().data,
},
bec: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
ctr: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
cnr: {
pts: new Pts().data,
},
at2: {
pts: new Pts().data,
},
},
brdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: ''
},
rec: {
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
}
},
brtp: {
furide: '',
matp: {
mattxtlab: ''
}
},
lidgrp: {
rec: {
expdat: '',
ownref: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
},
gcdgrp: {
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
oth: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
liaall: {
concur: '',
liaccv: {
concur: '',
newamt: '',
dnfmod: {
zhruzh: '',
kehuzh: '',
intdsp: '',
lxzyzh: '',
pridsp: '',
yewudh: '',
qicuje: '',
ccvtyp: '',
tizamt: '',
zhqtyp: '',
stm8023: '',
zhhuye: '',
zhqucs: ''
},
relcshpct: '',
gleflg: '',
addinf: '',
newresamt: '',
chgcurflg: '',
pctresamt: '',
cshpct: '',
totcovamt: ''
},
outpct: '',
exttotamt: '',
exttotoldamt: '',
outamt: '',
misamt: '',
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
},
trnmod: {
trndia: {
usrget: {
sdamod: {
seainf: ''
}
},
atpget: {
sdamod: {
seainf: '',
dadsnd: ''
}
},
usr: {
extkey: ''
},
diamodflg: '',
dspstm: '',
atp: {
cod: ''
},
diarec: {
prechkdat: '',
inftxt: '',
usr: '',
ptyextkey: '',
paycur: '',
dat: '',
ownusg: '',
cod: '',
donflg: '',
nam: '',
payamt: '',
ptynam: ''
},
atptxt: ''
},
ptsmod: {
adrp: {
prtpanblk: ''
}
},
trndoc: {
condocstm: '',
filrecv: '',
amdapl: '',
doclbl: '',
doctrestm: '',
shwout: '',
shwinc: '',
amdnam: '',
advnam: '',
advdoc: '',
advlabel: '',
rcvatt: {
seainf: ''
}
},
docimm: {
xmldocblk: '',
prtswtpblk: '',
ascin: '',
prtswtrpblk: ''
},
ctr: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
},
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="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
disabled
></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" style="font-size:15px"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag && model.lidgrp.rec.ownref == ''? false:true"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据编号" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
disabled
></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" style="font-size:15px"></i>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag && model.brdgrp.rec.ownref == ''? false:true"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="生效日期" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="12">
<el-form-item label="开证金额" prop="lidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择币种"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="5px"
prop="lidgrp.cbs.opn1.amt"
>
<c-input
disabled
v-model="model.lidgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="单据简略信息"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp',
}"
:rol="[
{
title: '申请人',
trans: 'apl',
},
{
title: '受益人',
trans: 'ben',
},
{
title: '寄单行',
trans: 'prb',
},
]"
:isAdvdat="true"
:isMattxtlab="true"
:isTenmaxday="true"
>
</c-litTemp>
</c-col>
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="进一步确认"
prop="brtp.furide"
>
<c-select
v-model="model.brtp.furide"
style="width: 100%"
placeholder="请选择内容"
>
<el-option
v-for="item in furide"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="不符点通知日期"
prop="brdgrp.rec.disdat"
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.disdat"
style="width: 100%"
placeholder="请选择不符点通知日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="通知金额总和"
prop="brdgrp.rec.totcur"
>
<c-input
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请选择币种"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
prop="brdgrp.rec.totamt"
label-width="5px"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="交单行角色"
prop="brdgrp.rec.docprbrol"
>
<c-select
disabled
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"c-curAmt": CurAmt,
"c-litTemp": LitTemp,
"c-ptap1": Ptap1,
},
data() {
return {
furide: [
{ label: "议付", value: "NEG" },
{ label: "偿付", value: "REI" },
{ label: "见72域", value: "SEE" },
],
flag: true,
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<c-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<c-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"c-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="单据金额"
prop="brdgrp.cbs.max.cur"
>
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max.amt"
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max2.amt"
>
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="待支付金额"
prop="brdgrp.rec.totcur"
>
<c-select
v-model="model.brdgrp.rec.totcur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.rec.totamt"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '账户银行',
grp: 'brdgrp',
rol: 'acb',
}"
:disabled="true"
:disabled1="true"
>
</c-ptap1>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="已扣除费用" prop="brdgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.brdgrp.blk.chaded"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已扣除费用"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="已添加费用" prop="brdgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.brdgrp.blk.chaadd"
maxlength="210"
:rows="4"
show-word-limit
placeholder="请输入已添加费用"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="3500"
:rows="8"
show-word-limit
placeholder="请输入不符点"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="brdgrp.blk.docdisflg">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled
>不符点修改</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from '../event'
import Ptap1 from "~/views/Public/Ptap1";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"c-ptap1": Ptap1,
},
data() {
return {};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="接受不符点" name="acpp">
<c-acpp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点通知" name="mt750p">
<c-mt750p :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Acpp from "./Acpp";
import Mt750p from "./Mt750p";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"c-acpp":Acpp,
"c-mt750p":Mt750p,
},
data() {
return {
activeNames:["acpp"],
};
},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证单据接受不符点">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :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>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</div>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import event from '../event';
import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Brtacp from "../model"
import Acpp from "./Acpp"
import Ovwp from "./Ovwp"
import Mt750p from "./Mt750p"
import Addbcb from "./Addbcb";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
export default {
name: "Brtacp",
components:{
"m-acpp" : Acpp,
"m-mt750p" : Mt750p,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setmod": Setmod,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [event,commonFuncs],
data(){
return {
tabVal: "ovwp",
trnName: "brtacp",
model: new Brtacp().data,
rules: formRules,
codes: {
...CodeTable
},
activeNames: ["setpan"],
}
},
methods:{
},
mounted () {
this.init()
},
}
</script>
<style>
</style>
......@@ -24,7 +24,7 @@ export default {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/gctrop/init', {
const res = await Api.post('/service/gctcan/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
......@@ -103,13 +103,13 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gctrop/getOwnRef', params);
let res = await Api.post('/service/gctcan/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gctrop弹框表格数据
// 获取gctcan弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
......@@ -123,7 +123,7 @@ export default {
this.root.promptData.type = type;
}
},
// 选中gctrop弹框表格的行数据
// 选中gctcan弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
......@@ -150,7 +150,7 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gctrop/initHndtyp', params);
let res = await Api.post('/service/gctcan/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
......
......@@ -40,15 +40,86 @@ export default class Gctcan{
ref: '',
nam: ''
}
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
oth: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: ''
gartyp: '',
},
ghd: {
wahnum: '',
remark: '',
bustyp: '',
segtyp: ''
},
ctr: {
pts: new Pts().data,
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
cbs: {
opn1: {
......@@ -57,6 +128,50 @@ export default class Gctcan{
}
}
},
gitp: {
chkpreper: '',
oldgidtxt: '',
swiftflg: '',
gidtxtmodflgc: '',
indirectswiadd: '',
exptxtmodflg: '',
prepercmodflg: '',
covgodsrvmodflg: '',
covgodc: {
chkast: ''
},
gidtxt: '',
liatxtcmodflg: '',
usr: {
extkey: ''
},
chkgidtxtc: '',
prepermodflg: '',
aacp: {
aacmod: {
addamtflg: ''
}
},
chargic: {
chkast: ''
},
gidtxtmodflg: '',
gtx: {
gidtxt: ''
},
covgodsrvcmodflg: '',
chargi: {
chkast: ''
},
covgod: {
chkast: ''
},
chkgidtxt: '',
dzbhflg: '',
chkpreperc: '',
oldgtxgidtxt: '',
inc760: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -14,10 +14,8 @@
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Gctcan/Event";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
......@@ -27,7 +25,7 @@ export default {
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
......@@ -35,10 +33,6 @@ export default {
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () { },
};
......
......@@ -11,7 +11,7 @@
<el-button size="small">智能提示</el-button> -->
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000031 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
......@@ -120,7 +120,9 @@ export default {
},
};
},
methods:{},
methods:{
},
mounted () {
this.init()
},
......
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.gidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.apl));
}
if (model.gidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.adv));
}
if (model.gidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.gidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'GID',
ownref: model.gidgrp.rec.ownref,
opndat: model.gidgrp.rec.opndat,
expdat: model.gidgrp.rec.expdat,
branchInr: model.gidgrp.rec.branchInr,
hndtyp: model.gidgrp.rec.hndtyp,
gartyp: model.gidgrp.rec.gartyp,
fingua: model.gidgrp.rec.fingua,
segtyp: model.gidgrp.ghd.segtyp,
fromflg: model.gidgrp.rec.fromflg,
othersno: model.gidgrp.rec.othersno,
sndto: model.gidgrp.rec.sndto,
swiftflg: model.gitp.swiftflg,
giduil: model.gidgrp.rec.giduil,
purpos: model.gidgrp.rec.purpos,
revflg: model.gidgrp.rec.revflg,
revflg: model.gidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.gidgrp.cbs.max,
OPN1: model.gidgrp.cbs.opn1,
MAC: model.gidgrp.cbs.mac,
MAC2: model.gidgrp.cbs.mac2,
OPC2: model.gidgrp.cbs.opc2,
CNF: model.gidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
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/gctfee/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: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gctfee/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gctfee弹框表格数据
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;
}
},
// 选中gctfee弹框表格的行数据
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);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gctfee/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
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 {
"gctp0.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"xxtfee.intmbu.ums.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umsp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.ums.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umsp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"xxtfee.intmbu.ums.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umhp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umh.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"xxtfee.intmbu.umhp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"xxtfee.intmbu.umh.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"xxtfee.intmbu.umh.pts.ref" :null,
"xxtfee.intmbu.umsrol" :null,
"xxtfee.intmbu.ums.pts.extkey" :null,
"setmod.dspflg" :null,
"xxtfee.intmbu.ums.pts.ref" :null,
"xxtfee.intmbu.ums.namelc" :null,
"xxtfee.intmbu.ums.adrelc" :null,
"xxtfee.intmbu.othbussec" :null,
"xxtfee.intmbu.umh.adrelc" :null,
"xxtfee.intmbu.umh.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"xxtfee.intmbu.umh.namelc" :null,
"xxtfee.intmbu.umh.pts.adrblk" :null,
"setmod.docamt" :null,
"xxtfee.intmbu.umhrol" :null,
"xxtfee.intmbu.ums.pts.adrblk" :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 Gctfee{
constructor () {
this.data = {
gitp:{
swiftflg:'',
},
gctp0: {
liadat: '',
adaflg: '',
lialab: ''
},
xxtfee: {
intmbu: {
umh: {
pts: new Pts().data,
},
umbflg: '',
umhrol: '',
umsrol: '',
ums: {
pts: new Pts().data,
},
othbussec: ''
}
},
gcdgrp: {
rec: {
clmdat: '',
ownref: '',
payrol: '',
nam: '',
docprbrol: '',
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
sysmod: {
atp: {
bus: '',
cod: ''
}
},
gidgrp: {
rec: {
expdat: '',
ownref: '',
expflg: '',
gartyp: '',
inr: '',
opndat:'',
branchInr:'',
hndtyp:'',
fingua:'',
segtyp:'',
fromflg:'',
othersno:'',
sndto:'',
swiftflg:'',
giduil:'',
purpos:'',
revflg:'',
cnfsta:'',
objinr:'',
},
cbs: {
opn1: {
cur: '',
amt: ''
}
},
con: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
atb: {
pts: new Pts().data,
},
avc: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
ghd:{
segtyp:'',
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
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="xxtfee.intmbu.umsrol">
<c-select
v-model="model.xxtfee.intmbu.umsrol"
style="width: 100%"
placeholder="请选择借方"
disabled
:code="getValues('xxtfee.intmbu.umsrol', 'rolall')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号" prop="xxtfee.intmbu.ums.pts.ref">
<c-input
v-model="model.xxtfee.intmbu.ums.pts.ref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="xxtfee.intmbu.ums.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.ums.pts.extkey"
maxlength="16"
placeholder="请输入"
disabled
@keyup.enter.native="
showGridPromptDialog(`xxtfee.intmbu.ums.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 size="small" type="primary" style="margin: 0 0">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.ums.pts.adrblk">
<c-input
disabled
rows="4"
type="textarea"
v-model="model.xxtfee.intmbu.ums.pts.adrblk"
maxlength="140"
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="xxtfee.intmbu.umhrol">
<c-select
v-model="model.xxtfee.intmbu.umhrol"
style="width: 100%"
placeholder="请选择信贷方"
disabled
:code="getValues('xxtfee.intmbu.umhrol', 'rolall')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号" prop="xxtfee.intmbu.umh.pts.ref">
<c-input
v-model="model.xxtfee.intmbu.umh.pts.ref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="xxtfee.intmbu.umh.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.umh.pts.extkey"
maxlength="16"
placeholder="请输入"
disabled
@keyup.enter.native="
showGridPromptDialog(`xxtfee.intmbu.umh.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 size="small" type="primary" style="margin: 0 0">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.umh.pts.adrblk">
<c-input
disabled
rows="4"
type="textarea"
v-model="model.xxtfee.intmbu.umh.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
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="gcdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入索赔编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="索赔币种和金额" prop="gcdgrp.cbs.max.cur">
<c-select
v-model="model.gcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择索赔币种"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.gcdgrp.cbs.max.amt"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gctp0.adaflg">附加金额</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="索赔余额" prop="gcdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择索赔余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gcdgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="保函类型" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函类型"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gctp0.lialab != ''">
<el-form-item
label="日期"
prop="gctp0.lialab"
>
<c-date-picker
disabled
type="date"
v-model="model.gctp0.liadat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-date-picker
disabled
type="date"
v-model="model.gcdgrp.rec.clmdat"
style="width: 100%"
placeholder="请选择索赔日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: left"
prop="xxtfee.intmbu.umbflg"
class="checkbox-left"
>
<c-checkbox
v-model="model.xxtfee.intmbu.umbflg"
>重新预定</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.sysmod.atp.bus == 'MC'">
<el-form-item label="业务部门" prop="xxtfee.intmbu.othbussec">
<c-select
:disabled="model.sysmod.atp.cod != 'MCTFEE'"
v-model="model.xxtfee.intmbu.othbussec"
style="width: 100%"
placeholder="请选择业务部门"
:code="getValues('xxtfee.intmbu.othbussec', '')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col
:span="24"
v-if="model.gidgrp.rec.inr != '' && model.gidgrp.rec.expflg != ''"
>
<el-form-item label="到期日" prop="gidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择保函余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gidgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input
disabled
v-model="model.gcdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人编号" prop="gcdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.ref"
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="gcdgrp.apl.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.nam"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人编号" prop="gcdgrp.ben.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.ref"
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="gcdgrp.ben.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.nam"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
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="gcdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.gcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入索赔编号"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="索赔币种和金额" prop="gcdgrp.cbs.max.cur">
<c-select
v-model="model.gcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择索赔币种"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.gcdgrp.cbs.max.amt"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gctp0.adaflg">附加金额</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="索赔余额" prop="gcdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择索赔余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gcdgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="保函类型" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函类型"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gctp0.lialab != ''">
<el-form-item
label="日期"
prop="gctp0.lialab"
>
<c-date-picker
disabled
type="date"
v-model="model.gctp0.liadat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-date-picker
disabled
type="date"
v-model="model.gcdgrp.rec.clmdat"
style="width: 100%"
placeholder="请选择索赔日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
style="text-align: left"
prop="xxtfee.intmbu.umbflg"
class="checkbox-left"
>
<c-checkbox
v-model="model.xxtfee.intmbu.umbflg"
>重新预定</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.sysmod.atp.bus == 'MC'">
<el-form-item label="业务部门" prop="xxtfee.intmbu.othbussec">
<c-select
:disabled="model.sysmod.atp.cod != 'MCTFEE'"
v-model="model.xxtfee.intmbu.othbussec"
style="width: 100%"
placeholder="请选择业务部门"
:code="getValues('xxtfee.intmbu.othbussec', '')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col
:span="24"
v-if="model.gidgrp.rec.inr != '' && model.gidgrp.rec.expflg != ''"
>
<el-form-item label="到期日" prop="gidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择保函余额币种"
:code="codes.cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency-min
disabled
v-model="model.gidgrp.cbs.opn1.amt"
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input
disabled
v-model="model.gcdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人编号" prop="gcdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.ref"
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="gcdgrp.apl.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.apl.pts.nam"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人编号" prop="gcdgrp.ben.pts.ref">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.ref"
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="gcdgrp.ben.pts.nam">
<c-input
disabled
v-model="model.gcdgrp.ben.pts.nam"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
mixins: [event],
props: ["model", "codes"],
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="费用" name="feep">
<m-feep :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="重新预定" name="cltrns" v-if="model.xxtfee.intmbu.umbflg == 'X'">
<m-cltrns :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import event from '../event'
import Feep from "./Feep";
import Cltrns from "./Cltrns";
export default {
components: {
"m-feep": Feep,
"m-cltrns": Cltrns,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
methods: {},
data() {
return {
activeNames: ["feep"],
};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="保函保证金调整">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
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>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import event from '../event'
import Api from "~/service/Api";
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import Gctfee from "../model"
import formRules from '../model/check'
import Ovwp from "./Ovwp"
// import Feep from "./Feep"
import Cltrns from "./Cltrns"
import Engp from "~/components/business/engp/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/components/business/coninfp/views";
import Addbcb from "./Addbcb";
export default {
name: "Gctfee",
components: {
"m-ovwp": Ovwp,
// "m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-setmod": Setmod,
"m-addbcb": Addbcb,
},
provide() {
return {
root: this,
};
},
mixins: [event,operationFunc],
data() {
return {
tabVal: "ovwp",
activeNames: ["engp"],
trnName: "gctfee",
rules: formRules,
trnType: "",
model: new Gctfee().data,
codes: {
...CodeTable,
},
flag: false,
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
};
},
methods: {
},
mounted () {
this.init()
},
};
</script>
<style>
</style>
......@@ -85,7 +85,7 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
let res = await Api.post('/service/gitcan/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
......@@ -132,7 +132,7 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
let res = await Api.post('/service/gitcan/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
......
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: 'GID',
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: 'GID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
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 Utils from '~/utils';
import commonFunctions from '~/mixin/commonFunctions.js';
import buildFn from './buildCommons.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
const res = await Api.post('/service/litsel/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;
}
},
// 获取弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.lidgrp[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.lidgrp, row.role.toLowerCase(), res.data);
}
},
//获取信用证编号
async onLitpButgetref() {
let params = {
ptainr: this.model.lidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/litsel/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.lidgrp.rec.ownref = res.data;
}
},
onSeainf() {},
async onExtkey(e) {},
},
};
export default {
'lidgrp.rec.ownref': null,
'brdgrp.rec.shgref': null,
'brdgrp.ben.pts.nam': null,
'cfgfil.subtrn1': null,
'selbut.sptpenlab_descr': null,
'selbut.sptpenlab': null,
"sptpentrbp": null,
"sptpentrbp_descr": null,
'brdgrp.rec.ownref': null,
'bpdgrp.rec.fintyp': null,
'brdgrp.apl.pts.nam': null,
'trdgrp.fip.pts.nam': null,
'trdgrp.rec.ownref': null,
"trnpentrbp_descr": null,
"trnpentrbp": null,
'lidgrp.adv.pts.nam': null,
'bpdgrp.rec.ownref': null,
'selbut.trnpenlab': null,
'selbut.trnpenlab_descr': null,
'bpdgrp.fia.pts.nam': null,
'dfdgrp.apl.pts.nam': null,
'brdgrp.prb.pts.nam': null,
'dfdgrp.dff.pts.nam': null,
'cfgfil.subtxt10': null,
'cfgfil.subtrn10': null,
'cfgfil.subtrn11': null,
'cfgfil.subtxt11': null,
'brdgrp.cbs.max.cur': null,
'lidgrp.ben.pts.nam': null,
'dfdgrp.rec.ownref': null,
'cfgfil.subtxt1': null,
'cfgfil.subtrn9': null,
'cfgfil.subtxt9': null,
'cfgfil.subtrn8': null,
'cfgfil.subtxt8': null,
'cfgfil.subtrn7': null,
'cfgfil.subtxt7': null,
'cfgfil.subtrn6': null,
'cfgfil.subtxt6': null,
'cfgfil.subtrn5': null,
'cfgfil.subtxt5': null,
'cfgfil.subtrn4': null,
'cfgfil.subtxt4': null,
'cfgfil.subtrn3': null,
'cfgfil.subtxt3': null,
'cfgfil.subtrn2': null,
'cfgfil.subtxt2': null,
'lidgrp.apl.pts.nam': null,
"lidgrp.lid.ownref": null,
"trpnttyp": null,
"lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.shgref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"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.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dfdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.fia.pts.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"lidgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.rcvdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.fia.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dfdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.fip.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.matdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"lidgrp.adv.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dfdgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.dff.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trdgrp.rec.stttendat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.stttendat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.matdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.matdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.finact":[
{type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"}
],
"cfgfil.bitmap":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"selbut.syswrn.dsp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from '~/service/Api';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litsel {
constructor() {
this.data = {
brdgrp: {
prb: {
pts: new Pts().data,
},
rec: {
rcvdat: '',
shgref: '',
docflg: '',
docsta: '',
advdat: '',
nam: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
trpnttyp: '',
matp: {
mattxtlab: ''
},
dfdget: {
clsflg: ''
},
aamlid: {
addamtflg: ''
},
lidget: {
clsflg: '',
lid: {
ownref: '',
nam: ''
}
},
dfdgrp: {
rec: {
stttendat: '',
ownref: '',
fintyp: '',
matdat: '',
nam: '',
opndat: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
dff: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
brdget: {
clsflg: '',
brd: {
ownref: ''
},
sdamod: {
seainf: ''
}
},
trdget: {
clsflg: '',
sdamod: {
seainf: ''
}
},
aambrd: {
addamtflg: ''
},
trdgrp: {
rec: {
stttendat: '',
pctfin: '',
ownref: '',
fintyp: '',
matdat: '',
nam: '',
finact: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
fip: {
pts: new Pts().data,
}
},
selbut: {
syswrn: {
dsp: ''
}
},
lidgrp: {
lid: {
ownref: ''
},
rec: {
revflg: '',
expdat: '',
expplc: '',
lcrtyp: '',
shpdat: '',
avbby: '',
opndat: ''
},
adv: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avbnam: ''
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
</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-col :span="11">
<c-col :span="24">
<c-form-item label="L/C Reference" prop="lidgrp.lid.ownref">
<c-fullbox>
<c-input
v-model="model.lidget.lid.ownref"
maxlength="16"
style="width: 100%"
></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-checkbox v-model="model.lidget.clsflg">Show closed</c-checkbox>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<div v-if="hotreg == 6 || hotreg == 7 || hotreg == 8 || hotreg == 9">
<c-col :span="24">
<el-form-item label="Contr.to be Financed" prop="trpnttyp">
<c-select
v-model="model.trpnttyp"
style="width: 100%"
:code="codes.trpnttyp"
>
</c-select>
</el-form-item>
</c-col>
</div>
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 6 || hotreg == 7 || hotreg == 8 || hotreg == 9">
<!-- S0000293 : Document Reference -->
<c-col :span="24">
<c-form-item label="Document Reference" prop="brdget.brd.ownref">
<c-fullbox>
<c-input v-model="model.brdget.brd.ownref" maxlength="16"
></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-checkbox v-model="model.brdget.clsflg">Show closed</c-checkbox>
</template>
</c-fullbox>
</c-form-item>
</c-col>
</div>
<!-- S0000184 : Finance Reference -->
<div v-if="hotreg== 6 || hotreg== 7">
<c-col :span="24">
<c-form-item label="Finance Reference" prop="trdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.trdgrp.rec.ownref" maxlength="16"
></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-checkbox v-model="model.trdget.clsflg">Show closed</c-checkbox>
</template>
</c-fullbox>
</c-form-item>
</c-col>
</div>
<div v-if="hotreg == 8 || hotreg == 9">
<!-- Re-Fin Reference -->
<c-col :span="24">
<c-form-item label="Re-Fin Reference" prop="dfdgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.dfdgrp.rec.ownref" maxlength="16"></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-checkbox v-model="model.dfdget.clsflg">Show closed</c-checkbox>
</template>
</c-fullbox>
</c-form-item>
</c-col>
</div>
<div v-if="hotreg == 5">
<!-- SG000303 : Shipping Reference -->
<c-col :span="24">
<c-form-item label="Shipping Reference" prop="brdgrp.rec.shgref">
<c-input v-model="model.brdgrp.rec.shgref" maxlength="16"></c-input>
</c-form-item>
</c-col>
</div>
<!-- L/C -->
<div v-if="hotreg == 1 || hotreg == 2">
<c-col :span="24">
<c-col :span="10">
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input
v-model="model.lidgrp.cbs.nom1.amt"
style="width: 100%"
disabled
placeholder="0.00"
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.aamlid.addamtflg"
style="margin-left: 1.3px; padding: 0 10px"
disabled
>Add.Amount</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="10">
<c-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="10">
<c-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" disabled></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="model.lidgrp.rec.revflg"
style="margin-left: 1.3px; padding: 0 10px"
disabled
>循环信用证</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input
v-model="model.lidgrp.avbnam"
maxlength="40"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000153 : by -->
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-input
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker
type="date"
disabled
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="最迟装运期"
label-width="140px"
prop="lidgrp.rec.shpdat"
>
<c-date-picker
type="date"
disabled
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000155 : Date/ Place of Expiry -->
<c-col :span="12">
<el-form-item label="Datel/Place of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="lidgrp.rec.expplc" label-width="5px">
<c-input
v-model="model.lidgrp.rec.expplc"
maxlength="29"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000154 : Form of L/C -->
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-input
disabled
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
>
</c-input>
</el-form-item>
</c-col>
</div>
<!-- Docs -->
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 5">
<!-- S0000130 : Document Amount -->
<c-col :span="10">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<c-form-item label=""
label-width="10px"
prop="brdgrp.cbs.max.amt">
<c-input
disabled
v-model="model.brdgrp.cbs.max.amt"
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
disabled
v-model="model.aambrd.addamtflg"
style="margin-left:2px;padding: 0 10px;"
>Add.Amount</c-checkbox>
</c-col>
<!-- S0000132 : Open Amount -->
<c-col :span="10">
<c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.brdgrp.cbs.opn1.cur" maxlength="3"></c-input>
</c-form-item>
</c-col>
<c-col :span="14">
<c-form-item label=""
label-width="10px"
prop="brdgrp.cbs.opn1.amt">
<c-input
disabled
v-model="model.brdgrp.cbs.opn1.amt"
:placeholder="$t('other.please_enter') + 'Balance'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000133 : Received on -->
<c-col :span="13">
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker
type="date"
disabled
v-model="model.brdgrp.rec.rcvdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000135 : Advised on -->
<c-col :span="11">
<el-form-item
label="Advised on"
label-width="80px"
prop="brdgrp.rec.advdat">
<c-date-picker
type="date"
disabled
v-model="model.brdgrp.rec.advdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000134 : Maturity Date -->
<c-col :span="24">
<el-form-item label="Maturity Date" prop="matp.mattxtlab">
<c-date-picker
type="date"
disabled
v-model="model.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000141 : Document Type -->
<c-col :span="24">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-input
v-model="model.brdgrp.rec.docflg"
style="width: 100%"
disabled>
</c-input>
</el-form-item>
</c-col>
<!-- SF000265 : Document Set Status -->
<c-col :span="24">
<c-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-input
v-model="model.brdgrp.rec.docsta"
maxlength="1"
disabled>
</c-input>
</c-form-item>
</c-col>
</div>
<!-- Loan -->
<div v-if="hotreg == 6 || hotreg == 7">
<!-- S0000176 : Financing of -->
<c-col :span="24">
<c-form-item label="Financing of" prop="trdgrp.rec.pctfin">
<c-input
disabled
v-model="model.trdgrp.rec.pctfin"></c-input>
</c-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="Finance Amount" prop="trdgrp.cbs.max.cur">
<c-input
disabled
v-model="model.trdgrp.cbs.max.cur"
style="width: 100%"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-form-item label="" label-width="40px" prop="trdgrp.cbs.max.amt">
<c-input
disabled
v-model="model.trdgrp.cbs.max.amt"
></c-input>
</c-form-item>
</c-col>
<!-- S0000171 : Open Amount -->
<c-col :span="14">
<c-form-item label="Open Amount" prop="trdgrp.cbs.opn1.cur">
<c-input
v-model="model.trdgrp.cbs.opn1.cur"
maxlength="3"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="10">
<c-form-item label="" label-width="40px" prop="trdgrp.cbs.opn1.amt">
<c-input
v-model="model.trdgrp.cbs.opn1.amt"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- SG000319 : Start Tenor Date -->
<c-col :span="14">
<el-form-item label="Start Tenor Date" prop="trdgrp.rec.stttendat">
<c-date-picker
disabled
type="date"
v-model="model.trdgrp.rec.stttendat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Due"
label-width="40px"
prop="trdgrp.rec.matdat">
<c-date-picker
disabled
type="date"
v-model="model.trdgrp.rec.matdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<!-- 同业代付 -->
<div v-if="hotreg == 8 || hotreg == 9">
<!-- SG000315 : Re-Fin Amount -->
<c-col :span="15">
<el-form-item label="Re-Fin Amount" prop="dfdgrp.cbs.max.cur">
<c-input
v-model="model.dfdgrp.cbs.max.cur"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<c-form-item label=""
label-width="10px"
prop="dfdgrp.cbs.max.amt">
<c-input
v-model="model.dfdgrp.cbs.max.amt"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- SG000316 : Open Amount -->
<c-col :span="15">
<el-form-item label="Open Amount"
prop="dfdgrp.cbs.opn1.cur">
<c-input v-model="model.dfdgrp.cbs.opn1.cur" style="width: 100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<c-form-item label=""
label-width="10px"
prop="dfdgrp.cbs.opn1.amt">
<c-input v-model="model.dfdgrp.cbs.opn1.amt" disabled></c-input>
</c-form-item>
</c-col>
<!-- SG000318 : Open Date -->
<c-col :span="12">
<el-form-item label="Open Date" prop="dfdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.opndat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000326 : Re-Fin Type -->
<c-col :span="12">
<c-form-item label="Re-Fin Type"
label-width="88px"
prop="dfdgrp.rec.fintyp">
<c-input
v-model="model.dfdgrp.rec.fintyp"
maxlength="3"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Start Tenor Date" prop="dfdgrp.rec.stttendat">
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.stttendat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="due"
label-width="88px"
prop="dfdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.matdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</div>
</el-col>
<!-- 右 -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<c-form-item label="Name " prop="lidget.lid.nam">
<c-input
v-model="model.lidget.lid.nam"
maxlength="40"
disabled
style="width: 100%"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24" v-if="hotreg == 6 || hotreg == 7 || hotreg == 8 || hotreg == 9">
<el-form-item>
</el-form-item>
<el-form-item></el-form-item>
<el-form-item></el-form-item>
</c-col>
<div v-if="hotreg == 3 || hotreg == 4 ||hotreg == 6 || hotreg == 7 || hotreg == 8 || hotreg == 9">
<c-col :span="24">
<c-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</div>
<div v-if="hotreg== 6 || hotreg== 7">
<c-col :span="24">
<c-form-item label="Name of Loan Contract" prop="trdgrp.rec.nam">
<c-input
disabled
v-model="model.trdgrp.rec.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</div>
<div v-if="hotreg == 8 || hotreg== 9">
<c-col :span="24">
<c-form-item label="Name of Loan Contract " prop="dfdgrp.rec.nam">
<c-input
v-model="model.dfdgrp.rec.nam"
maxlength="40"
disabled
></c-input>
</c-form-item>
</c-col>
</div>
<!-- L/C -->
<div v-if="hotreg == 1 || hotreg == 2">
<!-- S0000160 : Applicant Ref.-->
<c-col :span="24">
<c-form-item label="Application Ref." prop="lidgrp.apl.pts.ref">
<c-input
disabled
v-model="model.lidgrp.apl.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="申请人名称" prop="lidgrp.apl.pts.nam">
<c-input
disabled
v-model="model.lidgrp.apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<!-- S0000151 : Beneficiary Ref. -->
<c-col :span="24">
<c-form-item label="受益人参考号" prop="lidgrp.ben.pts.ref">
<c-input
disabled
v-model="model.lidgrp.ben.pts.ref"
maxlength="16"
:placeholder="$t('other.please_enter') + $t('litsel.S0000151')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="受益人名称" prop="lidgrp.ben.pts.nam">
<c-input
disabled
v-model="model.lidgrp.ben.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + 'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000156 : Advising Bank Ref.-->
<c-col :span="24">
<c-form-item label="Advising Bank" prop="lidgrp.adv.pts.ref">
<c-input
disabled
v-model="model.lidgrp.adv.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="通知行名称" prop="lidgrp.adv.pts.nam">
<c-input
disabled
v-model="model.lidgrp.adv.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</div>
<!-- Docs -->
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 5">
<!-- S0000127 : Applicant Ref.-->
<c-col :span="24">
<c-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input
disabled
v-model="model.brdgrp.apl.pts.ref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input
disabled
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<!-- S0000126 : Beneficiary Ref.-->
<c-col :span="24">
<c-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
<c-input
disabled
v-model="model.brdgrp.ben.pts.ref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
<c-input
disabled
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
:placeholder="$t('other.please_enter') + $t('litsel.S0000134')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000138 : Presenting Bank Ref.-->
<c-col :span="24">
<c-form-item label="Presenting Bank Ref." prop="brdgrp.prb.pts.ref">
<c-input
disabled
v-model="model.brdgrp.prb.pts.ref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Name of Party"
prop="brdgrp.prb.pts.nam"
>
<c-input
disabled
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</div>
<!-- Loan -->
<div v-if="hotreg == 6 || hotreg == 7">
<!-- S0000175 : Financed Party Ref. -->
<c-col :span="24">
<c-form-item label="Financed Party Ref." prop="trdgrp.fip.pts.ref">
<c-input
disabled
v-model="model.trdgrp.fip.pts.ref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" prop="trdgrp.fip.pts.nam">
<c-input
disabled
v-model="model.trdgrp.fip.pts.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Finance Type" prop="trdgrp.rec.fintyp">
<c-input
disabled
v-model="model.trdgrp.rec.fintyp" ></c-input>
</c-form-item>
</c-col>
<!-- SG000304 : Finance Account -->
<c-col :span="24">
<c-form-item label="Finance Account" prop="trdgrp.rec.finact">
<c-input
v-model="model.trdgrp.rec.finact"
maxlength="21"
disabled
></c-input>
</c-form-item>
</c-col>
</div>
<!-- 同业代付 -->
<div v-if="hotreg == 8 || hotreg == 9">
<!-- SG000321 : Re-Fin Party Ref. -->
<c-col :span="24">
<c-form-item label="Re-Fin Party Ref." prop="dfdgrp.apl.pts.ref">
<c-input
v-model="model.dfdgrp.apl.pts.ref"
maxlength="16"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- 同行 RFP R. NAME -->
<c-col :span="24">
<c-form-item label="Name of Party" prop="dfdgrp.apl.pts.nam">
<c-input
v-model="model.dfdgrp.apl.pts.nam"
maxlength="40"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- SG000324 : Re-Fin Bank Ref-->
<c-col :span="24">
<c-form-item label="Re-Fin Bank Ref." prop="dfdgrp.dff.pts.ref">
<c-input
v-model="model.dfdgrp.dff.pts.ref"
maxlength="16"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- Re-Fin Bank Ref name -->
<c-col :span="24">
<c-form-item label="Name of Party" prop="dfdgrp.dff.pts.nam">
<c-input v-model="model.dfdgrp.dff.pts.nam" maxlength="40" disabled></c-input>
</c-form-item>
</c-col>
</div>
</el-col>
<!-- 底部 -->
<el-col :span="24">
<el-form-item>
<el-divider />
</el-form-item>
</el-col>
<el-col :span="10" :offset="12">
<el-tabs tab-position="right">
<el-tab-pane v-for="it in meum" :key="it.key" :label="it.label">
<sel-mune :model="model" />
</el-tab-pane>
</el-tabs>
</el-col>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from "../event";
import SelMune from "./SelMune.vue";
export default {
components: {
SelMune,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
hotreg: "1",
meum: [
{
label: "L/C",
key: 1,
},
{
label: "Others",
key: 2,
},
{
label: "Docs",
key: 3,
},
{
label: "Oth. Docs",
key: 4,
},
{
label: "SG",
key: 5,
},
{
label: "Loan",
key: 6,
},
{
label: "Oth.Loan",
key: 7,
},
{
label: "同业代付",
key: 9,
},
{
label: "其他",
key: 10,
},
],
};
},
methods: {
},
computed: {},
};
</script>
<style></style>
<template>
<!-- <el-table-->
<!-- :data="tableData"-->
<!-- border-->
<!-- stripe-->
<!-- :show-header="false"-->
<!-- :cell-style="cellSttyle"-->
<!-- >-->
<el-table
:data="tableData"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="label" align="center">
<template slot-scope="scope">
<c-button
@click="onNarBtnClick(scope.row.url, scope.row.label)"
:label="scope.row.label"
:disabled="scope.row.disabled"
>{{ scope.row.label }}
</c-button>
</template>
</el-table-column>
</el-table>
</template>
<script>
import event from "../event"
export default {
inject: ["root"],
props: ["data", "model"],
mixins: [event], // 里面包含了Default、Check等的公共处理
data() {
return {
cellSttyle: { height: "25px" },
meumItem: [],
};
},
methods: {
},
computed: {
tableData() {
const arr = [];
var data = this.data;
if (data && data.length) {
for (let i = 0; i < data.length; i++) {
const items = data[i].split("\t");
arr.push({
url: items[0],
label: items[1],
disabled: items[2] == "N" ? true : false,
other: items[3],
});
}
}
return arr;
},
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Display" prop="selbut.syswrn.dsp">
<c-input v-model="model.selbut.syswrn.dsp" :placeholder="$t('other.please_enter')+'Display'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
{{$t('syswrn.CF000003')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary">
{{$t('syswrn.CF000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<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">
<el-tab-pane label="Menu" name="sel">
<c-content>
<m-sel :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable"
import Litsel from "../model";
import event from "../event"
import formRules from '../model/check'
import Sel from "./Sel"
import Regp from "./Regp"
import Syswrndisplay from "./Syswrndisplay"
export default {
name: "Litsel",
components:{
"m-sel" : Sel,
"m-regp" : Regp,
"m-syswrndisplay" : Syswrndisplay,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "sel",
trnName: "litsel",
trnType: "",
model: new Litsel().data,
rules: formRules,
codes: {...CodeTable
},
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}
},
methods:{},
mounted () {
this.init()
},
}
</script>
<style>
</style>
......@@ -12,7 +12,7 @@ const Business = [
{ path: 'gitfee', component: () => import('~/business/gitfee/views'), name: 'gitfee', meta: { title: '进口保函收费' } },
{ path: 'gitatt', component: () => import('~/business/gitatt/views'), name: 'gitatt', meta: { title: '绑定电子凭证' } },
{ path: 'gctfre', component: () => import('~/business/gctfre/views'), name: 'gctfre', meta: { title: '索赔自由报文' } },
{ path: 'gctfee', component: () => import('~/business/gctfee/views'), name: 'gctfee', meta: { title: '保函保证金调整' } },
{ path: 'giteng', component: () => import('~/business/giteng/views'), name: 'giteng', meta: { title: '保函保证金调整' } },
{ path: 'gitadd', component: () => import('~/business/gitadd/views'), name: 'gitadd', meta: { title: '保函编辑参考号(公共交易)' } },
{ path: 'gctadd', component: () => import('~/business/gctadd/views'), name: 'gctadd', meta: { title: '保函索赔编辑参考号(公共交易)' } },
......@@ -27,6 +27,12 @@ const Business = [
{ path: 'gitfre', component: () => import('~/business/gitfre/views'), name: 'gitfre', meta: { title: '保函自由格式报文' } },
{ path: 'fctopn', component: () => import('~/business/fctopn/views'), name: 'fctopn', meta: { title: '保证金收取' } },
<<<<<<< HEAD
{ path: 'brtlat', component: () => import('~/business/brtlat/views'), name: 'brtlat', meta: { title: '进口信用证单据偿还垫款' } },
=======
{ path: 'brtacp', component: () => import('~/business/brtacp/views'), name: 'brtacp', meta: { title: '进口信用证单据接受不符点' } },
{ path: 'litsel', component: () => import('~/business/litsel/views'), name: 'litsel', meta: { title: '进口信用证入口交易' } },
>>>>>>> fc80ffd4711dcb607e3b1f17977574c06bcfe35b
]
export default Business
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment