Commit 675622b3 by suwenhao

litopn进口信用证开立;

parent 57324c19
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.lidgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
import Api from '~/service/Api';
import 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: this.toHandleRowData['row_' + this.trnName]
}
const res = await Api.post('/service/litopn/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;
}
},
// 获取gitopn弹框表格数据
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/litopn/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.lidgrp.rec.ownref = res.data;
}
},
onSeainf() {},
async onExtkey(e) {},
async onAplpDet() {
let rtnmsg = await this.executeRule('aplp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdvpDet() {
let rtnmsg = await this.executeRule('advp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet() {
let rtnmsg = await this.executeRule('benp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule('litp.preper.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAvbpDet() {
let rtnmsg = await this.executeRule('avbp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onChariaButtxmsel() {
let rtnmsg = await this.executeRule('litp.charia.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrwpDet() {
let rtnmsg = await this.executeRule('drwp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInipDet() {
let rtnmsg = await this.executeRule('inip.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onA2bpDet() {
let rtnmsg = await this.executeRule('a2bp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmbpDet() {
let rtnmsg = await this.executeRule('rmbp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onConpDet() {
let rtnmsg = await this.executeRule('conp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule('litp.lcrgod.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule('litp.lcrdoc.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule('litp.adlcnd.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.lidgrp.blk.adlcnd = rtnmsg.data.lidgrp_blk_adlcnd;
this.updateModel('rtnmsg.data');
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule('litp.insbnk.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule('liaall.butmisamt');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule('liaall.butmissig');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaccvAdd() {
let rtnmsg = await this.executeRule('liaccv.add');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaccvDel() {
let rtnmsg = await this.executeRule('liaccv.del');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule('setmod.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule('trndoc.butshw');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule('trndoc.butadd');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule('trndoc.butnew');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule('trndoc.butattto');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule('trndoc.butdel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule('trndoc.butatt');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLibctySelbut1() {
let rtnmsg = await this.executeRule('libcty.selbut1');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule('wrkp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule('othp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule('limpts.get1');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule('limpts.get2');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule('limmod.trycal');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbButtxmsel() {
let rtnmsg = await this.executeRule('litp.spcrcb.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenButtxmsel() {
let rtnmsg = await this.executeRule('litp.spcben.buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDia() {
let rtnmsg = await this.executeRule('trndia.dia');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiadsp() {
let rtnmsg = await this.executeRule('trndia.diadsp');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiamod() {
let rtnmsg = await this.executeRule('trndia.diamod');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiadel() {
let rtnmsg = await this.executeRule('trndia.diadel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiaexi2() {
let rtnmsg = await this.executeRule('trndia.diaexi2');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaSavdia() {
let rtnmsg = await this.executeRule('trndia.savdia');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiaprt() {
let rtnmsg = await this.executeRule('trndia.diaprt');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndiaDiaexi() {
let rtnmsg = await this.executeRule('trndia.diaexi');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
};
/**
* Litopn Default规则
*/
import Api from '~/service/Api';
import Utils from '~/utils/index';
export default {
'lidgrp.rec.nam': null,
'lidgrp.rec.expdat': null,
'lidgrp.blk.preper': null,
'lidgrp.rec.shpdat': null,
'lidgrp.rec.prepers18': null,
'lidgrp.cbs.nom1.cur': null,
'lidgrp.cbs.nom1.amt': null,
'lidgrp.rec.stacty': null,
'lidgrp.rmb.pts.nam': null,
'lidgrp.con.pts.extkey': null,
'lidgrp.con.adrelc': null,
'lidgrp.con.namelc': null,
'lidgrp.con.dbfadrblkcn': null,
'liaall.limmod.limpts.oth.pts.extkey': null,
'lidgrp.ini.pts.extkey': null,
'lidgrp.ini.adrelc': null,
'lidgrp.ini.namelc': null,
'lidgrp.ini.dbfadrblkcn': null,
'lidgrp.rec.rmbflg': null,
'lidgrp.ben.pts.extkey': null,
'lidgrp.adv.pts.extkey': null,
'lidgrp.avb.pts.extkey': null,
'hmdmod2.bennam': null,
'liaall.limmod.comamt': null,
'liaall.limmod.ccvamt': null,
'lidgrp.drw.pts.extkey': null,
'lidgrp.drw.adrelc': null,
'lidgrp.drw.namelc': null,
'lidgrp.drw.dbfadrblkcn': null,
'lidgrp.rec.avbwth': null,
'lidgrp.avb.adrelc': null,
'lidgrp.avb.namelc': null,
'lidgrp.avb.dbfadrblkcn': null,
'lidgrp.avb.pts.adrblk': null,
'cnybop.libflg': null,
'trnmod.trndia.dspstm': null,
'lidgrp.a2b.pts.extkey': null,
'lidgrp.a2b.adrelc': null,
'lidgrp.a2b.namelc': null,
'lidgrp.a2b.dbfadrblkcn': null,
'lidgrp.a2b.pts.adrblk': null,
'lidgrp.rec.dkflg': null,
'lidgrp.blk.avbwthtxt': null,
'liaall.limmod.limpts.wrk.pts.extkey': null,
'liaall.limmod.limpts.wrk.pts.nam': null,
'setmod.doccur': null,
'setmod.dspflg': null,
'setmod.docamt': null,
// "lidgrp.cbs.max.cur" :null,
'lidgrp.cbs.max.amt': null,
'lidgrp.blk.adlcnd': null,
'lidgrp.adv.pts.adrblk': null,
'trnmod.trndoc.condocstm': null,
'trnmod.trndoc.shwinc': null,
'trnmod.trndoc.shwout': null,
'lidgrp.rmb.pts.extkey': null,
'lidgrp.rec.preadvdt': null,
'lidgrp.rec.avbby': null,
'lidgrp.blk.defdet': null,
//"lidgrp.blk.lcrgod" :null,
'lidgrp.ben.pts.adrblk': null,
'lidgrp.apl.pts.extkey': null,
'lidgrp.apl.adrelc': null,
'lidgrp.apl.namelc': null,
'lidgrp.apl.dbfadrblkcn': null,
'lidgrp.apl.pts.adrblk': null,
'lidgrp.rec.opndat': null,
'lidgrp.rec.cnfdet': null,
'lidgrp.con.pts.adrblk': null,
'mtabut.coninf.usr.extkey': null,
'lidgrp.drw.pts.adrblk': null,
'trnmod.trndia.usr.extkey': null,
'lidgrp.blk.shpper': null,
'liaall.liaccv.cshpct': null,
label5: null,
'lidgrp.rec.spcrcbflg': null,
'lidgrp.cbs.max2.amt': null,
'lidgrp.cbs.max2.cur': null,
'lidgrp.blk.addamtcov': null,
'litp.aamp.aammod.addamtflg': null,
'setmod.glemod.gleshwstm': null,
'liaall.limmod.limpts.nonrevflg2': null,
'liaall.limmod.limpts.nonrevflg1': null,
'lidgrp.rec.nomtop': null,
'lidgrp.ini.pts.adrblk': null,
'litp.usr.extkey': null,
'lidgrp.rec.spcbenflg': null,
'lidgrp.rec.porloa': null,
'lidgrp.rec.shpto': null,
'lidgrp.rec.pordis': null,
'lidgrp.rec.shpfro': null,
'lidgrp.adv.adrelc': null,
'lidgrp.adv.namelc': null,
'lidgrp.adv.dbfadrblkcn': null,
'trnmod.trndia.atp.cod': null,
'liaall.misamt': null,
'liaall.liaccv.addinf': null,
'liaall.liaccv.newamt': null,
'liaall.liaccv.totcovamt': null,
'mtabut.coninf.oitinf.oit.inftxt': null,
'mtabut.coninf.oitinf.oit.inflev': null,
'mtabut.coninf.conexedat': null,
'cnybop.outflg': null,
'cnybop.vouflg': null,
'lidgrp.rec.ownref': null,
bcbtyp6: null,
'liaall.limmod.limpts.oth.pts.nam': null,
'liaall.liaccv.concur': null,
'lidgrp.rec.prepertxts18': null,
'lidgrp.blk.lcrdoc': null,
'lidgrp.ben.adrelc': null,
'lidgrp.ben.namelc': null,
'lidgrp.ben.dbfadrblkcn': null,
'lidgrp.blk.preperflg': null,
'lidgrp.rec.shptrs': null,
'lidgrp.rec.shptrss18': null,
'lidgrp.rec.revflg': null,
'cnybop.traflg': null,
'trnmod.trndia.diarec.cod': null,
'lidgrp.rec.apprul': null,
'lidgrp.rec.shppars18': null,
'lidgrp.rec.shppar': null,
'cnybop.cnyflg': null,
'mtabut.coninf.oitset.oit.inftxt': null,
'mtabut.coninf.oitset.oit.inflev': null,
'lidgrp.blk.spcben': null,
'lidgrp.blk.spcrcb': null,
'cnybop.cnylib.sforeigncountrycode': null,
'litp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.rec.ownref': [
{ type: 'string', required: true, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'lidgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.aplp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'litp.usrget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.apl.pts.extkey': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'litp.aplp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.apl.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.cbs.nom1.amt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 18, message: '整数位不能超过15位' },
{
pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/,
message: '小数位不能超过2位',
},
],
'lidgrp.apl.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 200, message: '长度不能超过200' },
],
'lidgrp.apl.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
// "lidgrp.rec.nomtop":[
// {type: "number", required: false, message: ""},
// ],
// "lidgrp.rec.nomton":[
// {type: "number", required: false, message: ""},
// ],
'lidgrp.apl.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.adv.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '' },
{ max: 18, message: '整数位不能超过15位' },
{
pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/,
message: '小数位不能超过2位',
},
],
'litp.advp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.adv.pts.extkey': [
{ type: 'string', required: true, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.advp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.rec.opndat': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'lidgrp.rec.preadvdt': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'lidgrp.adv.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.adv.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'lidgrp.adv.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.shpdat': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'lidgrp.adv.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.expdat': [
{ type: 'string', required: true, message: '输入正确的日期' },
],
'lidgrp.rec.expplc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 29, message: '长度不能超过29' },
],
'lidgrp.ben.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.benp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.ben.pts.extkey': [
{ type: 'string', required: true, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.benp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.ben.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ben.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'lidgrp.ben.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ben.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.apprultxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.oppbnk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 12, message: '长度不能超过12' },
],
'lidgrp.rec.rptref': [
{ type: 'string', required: true, message: '必输项' },
{ max: 25, message: '长度不能超过25' },
],
'lidgrp.rec.regref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.cbs.max2.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过15位' },
{
pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/,
message: '小数位不能超过2位',
},
],
'lidgrp.cbs.opn2.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过15位' },
{
pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/,
message: '小数位不能超过2位',
},
],
'lidgrp.blk.addamtcov': [
{ type: 'string', required: true, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'lidgrp.rec.avbby': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.stacty': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.preper': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.prepers18': [
{ type: 'number', required: false, message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' },
{ pattern: /^-?[1-9][0-9]{0,2}$|0/, message: '应在-999至999之间' },
],
'litp.avbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.avb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.avbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.rec.prepertxts18': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.avb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.avb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 180, message: '长度不能超过180' },
],
'lidgrp.avb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.avbwthtxt': [
{ type: 'string', required: false },
{ max: 135, message: '长度不能超过135' },
],
'lidgrp.avb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.feetxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 210, message: '210' },
],
'lidgrp.blk.defdet': [
{ type: 'string', required: false, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
],
'lidgrp.blk.dftat': [
{ type: 'string', required: false, message: '必输项' },
{ max: 100, message: '长度不能超过100' },
],
'litp.drwp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.drw.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.drwp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.drw.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.drw.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 135, message: '长度不能超过135' },
],
'lidgrp.drw.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.mixdet': [
{ type: 'string', required: false, message: '必输项' },
{ max: 130, message: '长度不能超过130' },
],
'lidgrp.drw.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.avbwth': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rec.shpfro': [
{ type: 'string', required: false, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'lidgrp.rec.lcrtyp': [{ required: true, message: '必输项' }],
'lidgrp.rec.stagod': [{ required: true, message: '必输项' }],
'lidgrp.rec.tenmaxday': [
{ type: 'number', required: true, message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' },
{ pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: '-999至999之间' },
// ^-?[1-9]\d*$   //匹配整数
],
'lidgrp.rec.porloa': [
{ type: 'string', required: false, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'lidgrp.rec.pordis': [
{ type: 'string', required: false, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'lidgrp.rec.shpto': [
{ type: 'string', required: false, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'lidgrp.blk.shpper': [
{ type: 'string', required: false, message: '必输项' },
{ max: 390, message: '长度不能超过390' },
],
'lidgrp.ini.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.a2b.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.inip.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.a2bp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.ini.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.inip.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.a2b.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.a2bp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.ini.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.a2b.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ini.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ini.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.a2b.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 135, message: '长度不能超过135' },
],
'lidgrp.a2b.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ini.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.a2b.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.rmb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.avb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.rmbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.rmb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.rmbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.rmb.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'lidgrp.con.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.conp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'lidgrp.con.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'litp.conp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'lidgrp.con.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.con.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 135, message: '长度不能超过135' },
],
'lidgrp.con.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.con.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.lcrgod': [
{ type: 'string', required: false, message: '必输项' },
{ max: 52000, message: '长度不能超过52000' },
],
'lidgrp.blk.lcrdoc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 52000, message: '长度不能超过52000' },
],
'lidgrp.blk.adlcnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 52000, message: '长度不能超过52000' },
],
label5: [{ required: true, message: '必输项' }],
'lidgrp.blk.insbnk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 12000, message: '长度不能超过12000' },
],
'liaall.outamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.outpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' },
],
'liaall.concur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.misamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.exttotoldamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.exttotamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.liaccv.concur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.liaccv.newamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.liaccv.cshpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 5, message: '长度不能超过5' },
],
'liaall.liaccv.newresamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.liaccv.relcshpct': [
{ type: 'string', required: false, message: '必输项' },
{ max: 5, message: '长度不能超过5' },
],
'liaall.liaccv.pctresamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.liaccv.totcovamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.liaccv.addinf': [
{ type: 'string', required: true, message: '必输项' },
{ max: 70, message: '长度不能超过70' },
],
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'setmod.glemod.gleshwstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
godnam: [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
bcbtyp7: [
{ type: 'string', required: false, message: '必输项' },
{ max: 30, message: '长度不能超过30' },
],
bcbdat: [{ type: 'string', required: false, message: '输入正确的日期' }],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.amdapl': [
{ type: 'string', required: 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' },
],
'cnybop.cnylib.spk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'cnybop.cnylib.sbanktrano': [
{ type: 'string', required: true, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
'cnybop.cnylib.sbankorgcode': [
{ type: 'string', required: true, message: '必输项' },
{ max: 12, message: '长度不能超过12' },
],
'cnybop.sbankname': [
{ type: 'string', required: true, message: '必输项' },
{ max: 80, message: '长度不能超过80' },
],
'cnybop.cnylib.sforbankswiftbic': [
{ type: 'string', required: true, message: '必输项' },
{ max: 11, message: '长度不能超过11' },
],
'cnybop.sorgname': [
{ type: 'string', required: true, message: '必输项' },
{ max: 80, message: '长度不能超过80' },
],
'cnybop.cnylib.sorgcode': [
{ type: 'string', required: true, message: '必输项' },
{ max: 18, message: '长度不能超过18' },
],
'cnybop.sforeignorgname': [
{ type: 'string', required: true, message: '必输项' },
{ max: 80, message: '长度不能超过80' },
],
'cnybop.cnylib.sforeigncountrycode': [
{ type: 'string', required: true, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'cnybop.cnylib.doccurdate': [
{ type: 'string', required: true, message: '输入正确的日期' },
],
'cnybop.cnylib.denddate': [
{ type: 'string', required: true, message: '输入正确的日期' },
],
'cnybop.cnylib.dcreditenddate': [
{ type: 'string', required: true, message: '输入正确的日期' },
],
'cnybop.cnylib.currencycode': [{ type: 'string', required: true }],
'cnybop.cnylib.stermtype': [{ type: 'string', required: true }],
'cnybop.cnylib.famt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' },
{
pattern: /(^-?\d+$)|(^\.\d{1,2}$)|(^-?\d+\.\d{1,2}$)/,
message: '小数位不能超过2位',
},
],
'cnybop.cnylib.dexchangedate': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'cnybop.fexchangeamt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'cnybop.cnylib.dexchangeenddate': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'cnybop.saddwordlib': [
{ type: 'string', required: true, message: '必输项' },
{ max: 80, message: '长度不能超过80' },
],
'hmdmod2.bennam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 105, message: '长度不能超过105' },
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.limpts.nonrevflg1': [
{ type: 'string', required: true, message: '必输项' },
{ max: 10, message: '长度不能超过10' },
],
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
// "liaall.limmod.comamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'lidgrp.blk.spcrcb': [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'lidgrp.blk.spcben': [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'trnmod.trndia.dspstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndia.diarec.dat': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'trnmod.trndia.diarec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'trnmod.trndia.diarec.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'trnmod.trndia.diarec.ptyextkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 24, message: '长度不能超过24' },
],
'trnmod.trndia.diarec.paycur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'trnmod.trndia.diarec.payamt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 18, message: '长度不能超过18' },
],
'trnmod.trndia.diarec.prechkdat': [
{ type: 'string', required: false, message: '输入正确的日期' },
],
'trnmod.trndia.diarec.ptynam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 100, message: '长度不能超过100' },
],
'trnmod.trndia.atpget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'trnmod.trndia.atp.cod': [
{ type: 'string', required: false, message: '必输项' },
{ max: 6, message: '长度不能超过6' },
],
'trnmod.trndia.atpget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'trnmod.trndia.atptxt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndia.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'trnmod.trndia.usrget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'trnmod.trndia.diarec.usr': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'lidgrp.cbs.nom1.cur': [
{ type: 'string', required: true },
{ max: 8, message: '长度不能超过8' },
],
};
//你可以添加自动default处理
function defaultLidgrpRecNam() {}
import Api from '~/service/Api';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litopn {
constructor() {
this.data = {
addbcbl1blk: '',
litbenl1blk: '',
litapll1blk: '',
litrmbl1blk: '',
lidgrp: {
rec: {
ownref: '', // Reference .lidgrp.rec.ownref
lcrtyp: '', // Form of L/C .lidgrp.rec.lcrtyp
nomtop: '', // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton: '', // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc: '', // Amount Specification .lidgrp.rec.nomspc
opndat: '', // L/C Issued on .lidgrp.rec.opndat
preadvdt: '', // Date Pre-advised .lidgrp.rec.preadvdt
shpdat: '', // Latest Shipment Date .lidgrp.rec.shpdat
expdat: '', // L/C Expiring on .lidgrp.rec.expdat
expplc: '', // in (Place)/ counters of .lidgrp.rec.expplc
shppar: '', // Partial Shipment .lidgrp.rec.shppar
shptrs: '', // Transhipment .lidgrp.rec.shptrs
apprul: '', // Applicable Rules .lidgrp.rec.apprul
apprultxt: '', // Other Applicable Rules .lidgrp.rec.apprultxt
cnfdet: '', // Confirm. Instructions .lidgrp.rec.cnfdet
rmbflg: '', // Reimbursement Information .lidgrp.rec.rmbflg
revflg: '', // Revolving Flag .lidgrp.rec.revflg
nam: '', // Name .lidgrp.rec.nam
resflg: '', // Reserved Contract .lidgrp.rec.resflg
shppars18: '', // Partial Shipment .lidgrp.rec.shppars18
shptrss18: '', // Transhipment .lidgrp.rec.shptrss18
guaflg: '', // Mortgage Flag .lidgrp.rec.guaflg
regref: '', // Register Ref. .lidgrp.rec.regref
rptref: '', // 合同号 .lidgrp.rec.rptref
oppbnk: '', // 对手行代码 .lidgrp.rec.oppbnk
dkflg: '', // 是否代开信用证 .lidgrp.rec.dkflg
avbwth: '', // Available with .lidgrp.rec.avbwth
avbby: '', // Available by .lidgrp.rec.avbby
shpfro: '', // Dispatch from .lidgrp.rec.shpfro
porloa: '', // Air-/Port of Departure .lidgrp.rec.porloa
pordis: '', // Air-/Port of Destination .lidgrp.rec.pordis
shpto: '', // Final Destination .lidgrp.rec.shpto
chato: '', // Drafts at .lidgrp.rec.chato
stacty: '', // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday: '0', // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18: '21', // Days of presentation period .lidgrp.rec.prepers18
prepertxts18: '', // Presentation period text .lidgrp.rec.prepertxts18
stagod: '', // Goods Code .lidgrp.rec.stagod
spcbenflg: '', // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
spcrcbflg: '', // Special Payment Conditions for specified Bank only .lidgrp.rec.spcrcbflg
redclsflg: '', // Red/Green Clause .lidgrp.rec.redclsflg
branchinr: '',
},
cbs: {
nom1: {
cur: '', // Nominal Amount .lidgrp.cbs.nom1.cur
amt: '0.00', // Nominal Amount .lidgrp.cbs.nom1.amt
},
max: {
cur: '', // Maximum Amount .lidgrp.cbs.max.cur
amt: '', // Maximum Amount .lidgrp.cbs.max.amt
},
max2: {
cur: '', // Additional Amount .lidgrp.cbs.max2.cur
amt: '', // Additional Amount .lidgrp.cbs.max2.amt
},
opn2: {
cur: '', // Open Add. Amount .lidgrp.cbs.opn2.cur
amt: '', // Open Add. Amount .lidgrp.cbs.opn2.amt
},
},
apl: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.apl.namelc
adrelc: '', // 地址 .lidgrp.apl.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.apl.dbfadrblkcn
},
adv: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.adv.namelc
adrelc: '', // 地址 .lidgrp.adv.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.adv.dbfadrblkcn
},
ben: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.ben.namelc
adrelc: '', // 地址 .lidgrp.ben.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.ben.dbfadrblkcn
},
blk: {
addamtcov: '', // Covered .lidgrp.blk.addamtcov
avbwthtxt: '', // Available in .lidgrp.blk.avbwthtxt
defdet: '', // Deferred Payment Details .lidgrp.blk.defdet
dftat: '', // Drafts at .lidgrp.blk.dftat
shpper: '', // Shipment Period .lidgrp.blk.shpper
preper: '', // Presentation Period .lidgrp.blk.preper
preperflg: '', // Presentation Period modified .lidgrp.blk.preperflg
feetxt: '', // Additional Details to Code for Charges .lidgrp.blk.feetxt
mixdet: '', // Mixed Payment Details .lidgrp.blk.mixdet
lcrgod: '', // Description. of Goods .lidgrp.blk.lcrgod
lcrdoc: '', // Documents Required .lidgrp.blk.lcrdoc
adlcnd: '', // Additional Conditions .lidgrp.blk.adlcnd
insbnk: '', // Instructions to Pay., .lidgrp.blk.insbnk
spcrcb: '', // Special Payment .lidgrp.blk.spcrcb
spcben: '', // Special Payment Conditions .lidgrp.blk.spcben
},
avb: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.avb.namelc
adrelc: '', // 地址 .lidgrp.avb.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.avb.dbfadrblkcn
},
drw: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.drw.namelc
adrelc: '', // 地址 .lidgrp.drw.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.drw.dbfadrblkcn
},
ini: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.ini.namelc
adrelc: '', // 地址 .lidgrp.ini.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.ini.dbfadrblkcn
},
rmb: {
pts: new Pts().data,
},
a2b: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.a2b.namelc
adrelc: '', // 地址 .lidgrp.a2b.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.a2b.dbfadrblkcn
},
con: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.con.namelc
adrelc: '', // 地址 .lidgrp.con.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.con.dbfadrblkcn
},
},
litp: {
avbwthtxt: '',
ptsaddp: {
ptsaddg: '',
},
recget: {
sdamod: {
seainf: '', // .litp.recget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.recget.sdamod.dadsnd
},
},
usr: {
extkey: '', // Responsible User .litp.usr.extkey
},
usrget: {
sdamod: {
seainf: '', // .litp.usrget.sdamod.seainf
},
},
aamp: {
addamtcov: '',
aammod: {
addamtflg: '', // Add. Amount .litp.aamp.aammod.addamtflg
},
},
aplp: {
ptsget: {
sdamod: {
seainf: '', // .litp.aplp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.aplp.ptsget.sdamod.dadsnd
},
},
},
advp: {
ptsget: {
sdamod: {
seainf: '', // .litp.advp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.advp.ptsget.sdamod.dadsnd
},
},
},
benp: {
ptsget: {
sdamod: {
seainf: '', // .litp.benp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.benp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl: '', // 对手行代码 .litp.oppbnkl
avbp: {
ptsget: {
sdamod: {
seainf: '', // .litp.avbp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.avbp.ptsget.sdamod.dadsnd
},
},
},
drwp: {
ptsget: {
sdamod: {
seainf: '', // .litp.drwp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.drwp.ptsget.sdamod.dadsnd
},
},
},
defdetlab: '', // Label DEFDET .litp.defdetlab
avblab: '', // Label Available with Bank .litp.avblab
inip: {
ptsget: {
sdamod: {
seainf: '', // .litp.inip.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.inip.ptsget.sdamod.dadsnd
},
},
},
rmbp: {
ptsget: {
sdamod: {
dadsnd: '', // Drag Drop Sender .litp.rmbp.ptsget.sdamod.dadsnd
seainf: '', // .litp.rmbp.ptsget.sdamod.seainf
},
},
},
a2bp: {
ptsget: {
sdamod: {
seainf: '', // .litp.a2bp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.a2bp.ptsget.sdamod.dadsnd
},
},
},
conp: {
ptsget: {
sdamod: {
seainf: '', // .litp.conp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.conp.ptsget.sdamod.dadsnd
},
},
},
},
bcbtyp1: '', // 不在名录 .bcbtyp1
bcbtyp2: '', // 异地付汇 .bcbtyp2
bcbtyp3: '', // 转口�'�易 .bcbtyp3
bcbtyp4: '', // 90天以上信用证 .bcbtyp4
bcbtyp5: '', // 不需要 .bcbtyp5
bcbtyp6: '', // 其它 .bcbtyp6
bcbtyp7: '', // 备查表类型填写文本框 .bcbtyp7
godnam: '', // �'�物简称 .godnam
label1: '1、申请人与我行已签署贸易融资协议(如需);', // 国际部意见 .label1
label2: '2、申请书要素齐全;', // 国际部意见 .label2
label3: '3、申请书是否双面签章,签章已经核符;', // 国际部意见 .label3
label4: '4、占用授信额度的开证业务;', // 国际部意见 .label4
label6: '', // 国际部意见 .label6
label5: '', // 国际部意见 .label5
bcbdat: '', // 备案表效期 .bcbdat
bccls1: '', // 异地通知 .bccls1
bccls2: '', // 受益人为保税区企业 .bccls2
bccls3: '', // 运输单据抬头人为开证行,申请人不得拒付 .bccls3
bccls4: '', // 目的港在境外的转口贸易/境外工程业务 .bccls4
bccls5: '', // 起运地与目的地均为国内,属于加工贸易深加工 .bccls5
bccls6: '', // 非物权凭证,贸易背景真实 .bccls6
bccls7: '', // 超90天,已经总行贸易金融部批准办理 .bccls7
cnybop: {
cnyflg: '', // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg: '', // 是否报送跨境人民币2107表 .cnybop.traflg
outflg: '', // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: '', // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: '', // 是否报送跨境人民币2122表 .cnybop.vouflg
cnylib: {
spk: '', // 业务主键 .cnybop.cnylib.spk
sbankorgcode: '', // 银行机构代码 .cnybop.cnylib.sbankorgcode
stransattr: '', // 业务属性 .cnybop.cnylib.stransattr
stranstype: '', // 业务类型 .cnybop.cnylib.stranstype
sforbankswiftbic: '', // 境外对手行代码 .cnybop.cnylib.sforbankswiftbic
sorgcode: '', // 境内企业机构代码 .cnybop.cnylib.sorgcode
sforeigncountrycode: '', // 境外企业国别地区代码 .cnybop.cnylib.sforeigncountrycode
doccurdate: '', // 业务发生日期 .cnybop.cnylib.doccurdate
denddate: '', // 业务到期日 .cnybop.cnylib.denddate
dcreditenddate: '', // 信用证到期日 .cnybop.cnylib.dcreditenddate
famt: '', // 金额 .cnybop.cnylib.famt
dexchangedate: '', // 承兑日期 .cnybop.cnylib.dexchangedate
dexchangeenddate: '', // 承兑到期日 .cnybop.cnylib.dexchangeenddate
sbanktrano: '', // 银行业务编号 .cnybop.cnylib.sbanktrano
stermtype: '', // 期限条件 .cnybop.cnylib.stermtype
currencycode: '', // 币种 .cnybop.cnylib.currencycode
},
sorgname: '', // 境内企业名称 .cnybop.sorgname
sforeignorgname: '', // 境外企业名称 .cnybop.sforeignorgname
saddwordlib: '', // 交易附言 .cnybop.saddwordlib
sbankname: '', // 银行机构名称 .cnybop.sbankname
fexchangeamt: '', // 承兑金额 .cnybop.fexchangeamt
},
hmdmod2: {
bennam: '', // 交易对手名称 .hmdmod2.bennam
},
pageId: '', // ctx的key
statusInfo: '',
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="20">
<c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
<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="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="0"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder=""
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="0"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="39C场覆盖" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="140"
:rows="4"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{
max2Amt(){
this.executeDefault("max2.amt").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" :rows="25" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcrcb !='' "
v-model="model.lidgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcben !='' "
v-model="model.lidgrp.rec.spcrcbflg">银行专用特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
</c-col>
<c-col :span="20">
<el-form-item label="付款指示Accept., Negot. Bank" prop="lidgrp.blk.insbnk">
<c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="12000" :rows="8" show-word-limit placeholder="请输入付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="备查表" name="addbcb">
<c-col :span="24">
<el-col :span="12">
<el-form-item label="货物简称" prop="godnam">
<c-input
v-model="model.godnam"
maxlength="40"
style="width: 50%"
placeholder="请输入货物简称"
></c-input>
</el-form-item>
</el-col>
</c-col>
<c-col :span="24">
<el-form-item label="备案表类型" style="float:left;">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
<c-checkbox v-model="model.bcbtyp3">转口贸易</c-checkbox>
<c-checkbox v-model="model.bcbtyp4">90天以上信用证</c-checkbox>
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
<c-checkbox v-model="model.bcbtyp6" style="margin-right:30px;">其它</c-checkbox>
</el-form-item>
<el-form-item label="" prop="bcbtyp7" v-if="model.bcbtyp6">
<c-input
v-model="model.bcbtyp7"
maxlength="30"
style="width: 21.8%"
placeholder="请输入备查表类型填写文本框"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp3">转口贸易</c-checkbox>
</c-col>
<c-col :span="6" class=".centerLable">
<c-checkbox v-model="model.bcbtyp4">90天以上信用证</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp6">其它</c-checkbox>
</c-col> -->
<c-col :span="10" :pull="5"> </c-col>
<c-col :span="18">
<el-form-item label="备案表效期" prop="bcbdat">
<c-date-picker
type="date"
v-model="model.bcbdat"
style="width: 30.75%"
placeholder="请选择备案表效期"
></c-date-picker>
</el-form-item>
</c-col>
<!--
<c-col :span="15" :push="1">
<el-form-item label="1、申请人与我行已签署贸易融资协议(如需);" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="2、申请书要素齐全;" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="3、申请书是否双面签章,签章已经核符;" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="4、占用授信额度的开证业务;" label-width="360px"></el-form-item>
</c-col>
-->
<el-col :span="24">
<el-form-item label="交易银行部意见">
<div
v-text="model.label1"
data-path=".label1"
class="lableSize"
></div>
<div
v-text="model.label2"
data-path=".label2"
class="lableSize"
></div>
<div
v-text="model.label3"
data-path=".label3"
class="lableSize"
></div>
<div
v-text="model.label4"
data-path=".label4"
class="lableSize"
></div>
</el-form-item>
</el-col>
<!-- <c-col :span="15" :push="1">
<span v-text="model.label2" data-path=".label2" class="lableSize"> </span>
</c-col>
<c-col :span="15" :push="1">
<span v-text="model.label3" data-path=".label3" class="lableSize"> </span>
</c-col>
<c-col :span="15" :push="1">
<span v-text="model.label4" data-path=".label4" class="lableSize"> </span>
</c-col>
-->
<c-col :span="24">
<el-form-item label="" prop="label5">
<c-select
v-model="model.label5"
style="width: 33%"
placeholder="请选择国际部意见"
:code="codes.label5"
>
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.label6" data-path=".label6" > </span>
</c-col>
-->
<!-- <c-col :span="24">
<el-form-item label="异地通知" prop="bccls1" label-width="270px">
<c-select v-model="model.bccls1" style="width:30%" placeholder="请选择异地通知" :code="codes.bccls1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人为保税区企业" prop="bccls2" label-width="270px">
<c-select v-model="model.bccls2" style="width:30%" placeholder="请选择受益人为保税区企业" :code="codes.bccls2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="运输单据抬头人为开证行,申请人不得拒付" prop="bccls3" label-width="270px">
<c-select v-model="model.bccls3" style="width:30%" placeholder="请选择运输单据抬头人为开证行,申请人不得拒付" :code="codes.bccls3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="目的港在境外的转口贸易/境外工程业务" prop="bccls4" label-width="270px">
<c-select v-model="model.bccls4" style="width:30%" placeholder="请选择目的港在境外的转口贸易/境外工程业务" :code="codes.bccls4">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="起运地与目的地均为国内,属于加工贸易深加工" prop="bccls5" label-width="270px">
<c-select v-model="model.bccls5" style="width:30%" placeholder="请选择起运地与目的地均为国内,属于加工贸易深加工" :code="codes.bccls5">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="非物权凭证,贸易背景真实" prop="bccls6" label-width="270px">
<c-select v-model="model.bccls6" style="width:30%" placeholder="请选择非物权凭证,贸易背景真实" :code="codes.bccls6">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="超90天,已经总行贸易金融部批准办理" prop="bccls7" label-width="270px">
<c-select v-model="model.bccls7" style="width:30%" placeholder="请选择超90天,已经总行贸易金融部批准办理" :code="codes.bccls7">
</c-select>
</el-form-item>
</c-col> -->
</el-collapse-item>
<el-collapse-item title="附言" name="coninfp">
<!-- 附言 -->
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, event],
data() {
return {
activeNames: ["addbcb"],
};
},
methods: {
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
.lableSize {
font-size: 1px;
}
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="申报信息" name="cnyp">
<c-col :span="12">
<c-col :span="18">
<el-form-item label="报送跨境人民币2101表" prop="cnybop.cnyflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.cnyflg"
placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2107表" prop="cnybop.traflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.traflg"
placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2111表" prop="cnybop.outflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.outflg"
placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2106表" prop="cnybop.libflg" label-width="150px;">
<c-select
v-model="model.cnybop.libflg"
placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2122表" prop="cnybop.vouflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.vouflg"
placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-collapse-item>
<el-collapse-item
title="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
>
<!-- 2106银行跟单结算及表外融资 -->
<m-libp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Libp from "./Libp";
export default {
inject: ["root"],
components: { "m-libp": Libp },
props: ["model", "codes"],
mixins: [commonProcess, event],
data() {
return {
activeNames: ["cnyp"],
};
},
methods: { handleChange(){} },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ========================左边======================== -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="授权兑付行" prop="lidgrp.rec.avbwth">
<c-select
v-model="model.lidgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="this.flag4">
<el-form-item label="当事人地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag5"
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('AVB', 'B')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onAvbpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="名称地址"
prop="lidgrp.avb.pts.adrblk"
v-if="model.lidgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.lidgrp.rec.avbwth !== ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.lidgrp.rec.avbwth == 'O'">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input
type="textarea"
v-model="model.lidgrp.blk.avbwthtxt"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入Available in"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="议付/延期付款指示" prop="lidgrp.blk.defdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.defdet"
maxlength="140"
:rows="3"
show-word-limit
placeholder="请输入指示内容"
:disabled="this.flag1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="lidgrp.blk.dftat">
<c-input
type="textarea"
v-model="model.lidgrp.blk.dftat"
maxlength="100"
:rows="3"
show-word-limit
placeholder="请输入汇票期限"
:disabled="this.flag2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票付款人" prop="lidgrp.drw.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.drw.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('DRW', '')
"
:disabled="this.flag2"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag2"
@click="onDrwpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.drw.pts.adrblk">
<c-input
type="textarea"
:disabled="this.flag2"
v-model="model.lidgrp.drw.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装船/发运地" prop="lidgrp.rec.shpfro">
<c-input
v-model="model.lidgrp.rec.shpfro"
maxlength="65"
placeholder="请输入装船/发运地"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站" prop="lidgrp.rec.porloa">
<c-input
v-model="model.lidgrp.rec.porloa"
maxlength="65"
placeholder="请输入始发(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="终点(航空)站" prop="lidgrp.rec.pordis">
<c-input
v-model="model.lidgrp.rec.pordis"
maxlength="65"
placeholder="请输入终点(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="最终目的地" prop="lidgrp.rec.shpto">
<c-input
v-model="model.lidgrp.rec.shpto"
maxlength="65"
placeholder="请输入最终目的地"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="装运期" prop="lidgrp.blk.shpper">
<c-input
type="textarea"
:disabled="
model.lidgrp.rec.shpdat != null && model.lidgrp.rec.shpdat != ''
"
v-model="model.lidgrp.blk.shpper"
maxlength="390"
:rows="6"
show-word-limit
placeholder="请输入装运期"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="提交期限(天)" prop="lidgrp.rec.prepers18">
<c-input
v-model.number="model.lidgrp.rec.prepers18"
style="width: 100%"
placeholder="请输入提交期限(天)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input
type="textarea"
v-model="model.lidgrp.rec.prepertxts18"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行负担费用" prop="lidgrp.blk.feetxt">
<c-fullbox>
<c-input
type="textarea"
v-model="model.lidgrp.blk.feetxt"
maxlength="210"
:rows="6"
show-word-limit
placeholder="请输入银行负担费用"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onChariaButtxmsel"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收报行所属国家地区 " prop="lidgrp.rec.stacty">
<c-select
v-model="model.lidgrp.rec.stacty"
style="width: 100%"
:code="codes.stacty"
placeholder="请选择地区代码"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="混合付款指示" prop="lidgrp.blk.mixdet">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
maxlength="130"
:rows="4"
show-word-limit
placeholder="请输入混合付款指示"
:disabled="this.flag3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="远期汇票最大期限(天)"
prop="lidgrp.rec.tenmaxday"
>
<c-input
:disabled="!!(this.model.lidgrp.rec.avbby == 'P')"
v-model.number="model.lidgrp.rec.tenmaxday"
placeholder="请输入天数"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, event],
data() {
return {
flag1: true,
flag2: true,
flag3: true,
flag4: true,
flag5: false,
flag6: false,
};
},
methods: {
onAvbpDet() {
console.log(this.model.lidgrp.rec.avbby);
},
},
created: function () {},
watch: {
"model.lidgrp.rec.avbwth": {
immediate: true,
handler(val, oldVal) {
//Any Bank
if (val == "O") {
this.flag4 = false;
this.changeFormItemRequired("lidgrp.avb.pts.adrblk", false);
this.flag6 = false;
} //Advising Bank
else if (val == "A") {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Issuing Bank
else if (val == "I") {
this.flag4 = true;
this.flag5 = false;
this.flag6 = true;
} //Confirming Bank
else if (val == "C") {
this.flag4 = true;
this.flag5 = true;
this.flag6 = true;
} //Specified Bank
else if (val == "S") {
this.flag4 = true;
this.flag5 = false;
this.flag6 = false;
}
},
},
"model.lidgrp.rec.avbby": {
immediate: true,
handler(val, oldVal) {
if (val == "D") {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
}
if (val == "N") {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
}
if (val == "P") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
}
if (val == "M") {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
}
if (val == "A") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
}
},
},
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入货物或服务描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="货物类型" prop="lidgrp.rec.stagod">
<c-select
v-model="model.lidgrp.rec.stagod"
style="width:100%"
placeholder="请选择货物类型"
:code="codes.godcod"
>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="52000" :rows="30" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<!--===============左 =================== -->
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylib.spk">
<c-input
disabled
v-model="model.cnybop.cnylib.spk"
maxlength="20"
placeholder="请输入业务主键"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" prop="cnybop.cnylib.sbankorgcode">
<c-input
disabled
v-model="model.cnybop.cnylib.sbankorgcode"
maxlength="12"
placeholder="请输入银行机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务属性" prop="cnybop.cnylib.stransattr">
<c-select
v-model="model.cnybop.cnylib.stransattr"
style="width: 100%"
placeholder="请选择业务属性"
:code="codes.stransattr"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外对手行代码"
prop="cnybop.cnylib.sforbankswiftbic"
>
<c-input
v-model="model.cnybop.cnylib.sforbankswiftbic"
maxlength="11"
placeholder="请输入境外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业机构代码" prop="cnybop.cnylib.sorgcode">
<c-input
v-model="model.cnybop.cnylib.sorgcode"
maxlength="18"
placeholder="请输入境内企业机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
prop="cnybop.cnylib.sforeigncountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnylib.sforeigncountrycode"
maxlength="3"
placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="queryGridEtyPromptDialogData('CNYLIB', '')"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
queryGridEtyPromptDialogData('CNYLIB', '')
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务到期日" prop="cnybop.cnylib.denddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.denddate"
style="width: 100%"
placeholder="请选择业务到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cnybop.cnylib.currencycode">
<c-select
v-model="model.cnybop.cnylib.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限条件" prop="cnybop.cnylib.stermtype">
<c-select
v-model="model.cnybop.cnylib.stermtype"
style="width: 100%"
placeholder="请选择期限条件"
:code="codes.stermtype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑日期" prop="cnybop.cnylib.dexchangedate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangedate"
style="width: 100%"
placeholder="请选择承兑日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑到期日" prop="cnybop.cnylib.dexchangeenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangeenddate"
style="width: 100%"
placeholder="请选择承兑到期日"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano">
<c-input
disabled
v-model="model.cnybop.cnylib.sbanktrano"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
disabled
v-model="model.cnybop.sbankname"
maxlength="80"
placeholder="请输入银行机构名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务类型" prop="cnybop.cnylib.stranstype">
<c-select
v-model="model.cnybop.cnylib.stranstype"
style="width: 100%"
placeholder="请选择业务类型"
:code="codes.stranstype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业名称" prop="cnybop.sorgname">
<c-input
v-model="model.cnybop.sorgname"
maxlength="80"
placeholder="请输入境内企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境外企业名称" prop="cnybop.sforeignorgname">
<c-input
v-model="model.cnybop.sforeignorgname"
maxlength="80"
placeholder="请输入境外企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务发生日期" prop="cnybop.cnylib.doccurdate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.doccurdate"
style="width: 100%"
placeholder="请选择业务发生日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证到期日" prop="cnybop.cnylib.dcreditenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dcreditenddate"
style="width: 100%"
placeholder="请选择信用证到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnylib.famt">
<c-input-currency-min
v-model="model.cnybop.cnylib.famt"
placeholder="请输入金额"
class="input-currency-left"
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input
v-model="model.cnybop.fexchangeamt"
maxlength="20"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordlib">
<c-input
v-model="model.cnybop.saddwordlib"
maxlength="80"
placeholder="请输入交易附言"
></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="交易对手名称" prop="hmdmod2.bennam">
<c-input v-model="model.hmdmod2.bennam" maxlength="105" placeholder="请输入交易对手名称"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, Event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="附加金额"
name="aamp"
v-if="model.litp.aamp.aammod.addamtflg"
>
<!-- 附加金额 -->
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详情" name="detp">
<!-- 详情 -->
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人" name="ptyp">
<!-- 当事人 -->
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物" name="dogp">
<!-- 货物 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加条款" name="adcp">
<!-- 附加条款 -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item
title="仅适用于指定银行的特殊付款条款"
name="spcrcvp"
v-if="model.lidgrp.rec.spcrcbflg"
>
<m-spcrcvp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="存在受益人的特殊付款条款"
name="spcbenp"
v-if="model.lidgrp.rec.spcbenflg"
>
<m-spcbenp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
import Ovwp1 from "./Ovwp1";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Doxp from "~/views/Public/Doxp";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-doxp": Doxp,
"m-aamp": Aamp,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
zmqflg: null,
flag: true,
activeNames: ["ovwp1"],
};
},
methods: {
open(val) {
if (
val === "" &&
!(
this.model.lidgrp.cbs.max2.amt == "0.000" &&
this.model.lidgrp.cbs.opn2.amt == "0.000" &&
this.model.lidgrp.blk.addamtcov === ""
)
) {
this.$confirm(
"是否确定要删除此合同的附加金额?",
"提示",
{
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.cbs.max2.amt = "0.000";
this.model.lidgrp.blk.addamtcov = "";
this.model.lidgrp.cbs.opn2.amt = "0.000";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litp.aamp.aammod.addamtflg = "X";
this.$message({
type: "info",
message: "已取消删除",
});
});
}
},
handleChange(val) {
console.log(val);
},
},
created: function () {},
watch: {
"model.lidgrp.rec.apprul": {
immediate: true,
handler(val, oldVal) {
if (val == "OTHR") {
this.flag = false;
} else {
this.flag = true;
}
},
},
},
computed: {
flag1() {
return this.model.lidgrp.apl.pts.extkey == "";
},
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<el-col :span="24">
<el-form-item
label="信用证编号"
prop="lidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
disabled
placeholder=""
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag1 && model.lidgrp.rec.ownref==''? false:true"
@click="onLitpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</el-col>
<c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select
v-model="model.lidgrp.rec.lcrtyp"
placeholder="请选择信用证类型"
style="width: 100%"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="客户经理"
prop="litp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.litp.usr.extkey"
maxlength="8"
disabled
placeholder="请输入客户经理"
></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 12px"
type="primary"
icon="el-icon-search"
@click="onExtkey"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-col :span="24">
<c-col :span="11">
<el-form-item label="名义金额" prop="lidgrp.cbs.nom1.cur">
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left; margin-left: 5px"
label-width="0px"
prop="lidgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 90%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="float: right; text-align: center"
>附加金额</c-checkbox
>
</template>
</c-col>
</el-col>
<c-col :span="14">
<el-form-item label="溢短装" prop="lidgrp.rec.nomtop">
<c-input
v-model="model.lidgrp.rec.nomtop"
maxlength="2"
placeholder="0"
@change="nomtopChange"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10" style="text-align: left">
<el-form-item
label="-"
style="text-align: left; margin-left: 25px"
label-width="20px"
prop="lidgrp.rec.nomton"
>
<c-input
v-model="model.lidgrp.rec.nomton"
maxlength="2"
placeholder="0"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额限额表述" prop="lidgrp.rec.nomspc">
<c-select
v-model="model.lidgrp.rec.nomspc"
style="width: 100%"
disabled
placeholder="请选择"
:code="codes.nomspc"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="最大金额" prop="lidgrp.cbs.max.cur">
<c-select
v-model="model.lidgrp.cbs.max.cur"
style="width: 100%"
disabled
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
>
<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="11">
<el-form-item label="" label-width="5px" prop="lidgrp.cbs.max.amt">
<c-input-currency
v-model="model.lidgrp.cbs.max.amt"
disabled
placeholder="请输入信用证最大金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预先通知日期" prop="lidgrp.rec.preadvdt">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.preadvdt"
style="width: 100%"
disabled
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="19">
<el-form-item label="最迟装船日期" prop="lidgrp.rec.shpdat">
<c-date-picker
type="date"
:disabled="
model.lidgrp.blk.shpper != '' && model.lidgrp.blk.shpper != null
"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="5" class="centerLable">
<c-checkbox
v-model="model.lidgrp.rec.dkflg"
style="float: right; text-align: center"
disabled
>是否代开</c-checkbox
>
</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="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单地点" prop="lidgrp.rec.expplc">
<c-input
v-model="model.lidgrp.rec.expplc"
maxlength="29"
placeholder="请输入交单地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分批装运条款" prop="lidgrp.rec.shppar">
<c-select
v-model="model.lidgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运条款"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运条款" prop="lidgrp.rec.shptrss18">
<c-select
v-model="model.lidgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择转运条款"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="适用规则" prop="lidgrp.rec.apprul">
<c-select
v-model="model.lidgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其他适用规则" prop="lidgrp.rec.apprultxt">
<c-input
v-model="model.lidgrp.rec.apprultxt"
maxlength="35"
:disabled="this.flag"
placeholder="请输入其他适用规则"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保兑指示" prop="lidgrp.rec.cnfdet">
<c-select
v-model="model.lidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择保兑指示"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对手行代码" prop="lidgrp.rec.oppbnk" v-if="zmqflg">
<!--自贸区标志 -->
<c-input
v-model="model.lidgrp.rec.oppbnk"
maxlength="12"
placeholder="请输入对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货押标志" prop="lidgrp.rec.guaflg">
<c-select
v-model="model.lidgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标志"
:code="codes.guaflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="注册编码" prop="lidgrp.rec.regref">
<c-input
v-model="model.lidgrp.rec.regref"
maxlength="16"
disabled
placeholder="请输入注册编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="lidgrp.apl.pts.ref">
<c-input
v-model="model.lidgrp.apl.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入申请人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="lidgrp.apl.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.apl.pts.extkey"
maxlength="50"
placeholder="请输入申请人地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('APL', 'C')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.apl.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称地址" prop="lidgrp.apl.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.lidgrp.apl.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行参考号" prop="lidgrp.adv.pts.ref">
<c-input
v-model="model.lidgrp.adv.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="通知行"
prop="lidgrp.adv.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.adv.pts.extkey"
maxlength="50"
style="width: 100%"
placeholder="请输入通知行地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('ADV', 'B')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.adv.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onAdvpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="通知行名称地址" prop="lidgrp.adv.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.lidgrp.adv.pts.adrblk"
maxlength="80"
disabled
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="lidgrp.ben.pts.ref">
<c-input
v-model="model.lidgrp.ben.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人地址编码" prop="lidgrp.ben.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.ben.pts.extkey"
style="width: 100%"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('BEN', 'C')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.ben.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onBenpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称地址" prop="lidgrp.ben.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.lidgrp.ben.pts.adrblk"
maxlength="80"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="">
<el-form-item label=" " prop="lidgrp.rec.rmbflg" label-width="120px" style=" float:left;">
<c-checkbox
v-model="model.lidgrp.rec.rmbflg"
true-label="Y"
false-label=""
disabled
>偿付行信息</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12" class="centerLable ">
<el-form-item
label=""
style="float: right; text-align: center"
prop="lidgrp.rec.revflg"
>
<c-checkbox v-model="model.lidgrp.rec.revflg" disabled
>循环信用证</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="合同编号" prop="lidgrp.rec.rptref">
<c-input
v-model="model.lidgrp.rec.rptref"
maxlength="25"
placeholder="请输入合同编号"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
zmqflg: null,
flag: true,
};
},
methods: {
nomtopChange(){
this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
if ((res.respCode == SUCCESS)) {
// this.updateModel(res.data);
Utils.copyValueFromVO(this.model, res.data);
}
});
},
open(val) {
if (
val === "" &&
!(
this.model.lidgrp.cbs.max2.amt == "0.000" &&
this.model.lidgrp.cbs.opn2.amt == "0.000" &&
this.model.lidgrp.blk.addamtcov === ""
)
) {
this.$confirm(
"是否确定要删除此合同的附加金额?",
"提示",
{
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.cbs.max2.amt = "0.000";
this.model.lidgrp.blk.addamtcov = "";
this.model.lidgrp.cbs.opn2.amt = "0.000";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litp.aamp.aammod.addamtflg = "X";
this.$message({
type: "info",
message: "已取消删除",
});
});
}
},
handleChange(val) {
console.log(val);
},
},
created: function () {},
watch: {
"model.lidgrp.rec.apprul": {
immediate: true,
handler(val, oldVal) {
if (val == "OTHR") {
this.flag = false;
} else {
this.flag = true;
}
},
},
},
computed: {
flag1() {
return this.model.lidgrp.apl.pts.extkey == "";
},
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs">
<!-- ================= 左 ================== -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申请人开户行参考号" prop="lidgrp.ini.pts.ref">
<c-input
v-model="model.lidgrp.ini.pts.ref"
disabled
maxlength="16"
placeholder="请输入申请人开户行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.ini.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.ini.pts.extkey"
maxlength="16"
style="width: 100%"
placeholder="请输入地址编码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.ini.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
@click="onInipDet"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.ini.pts.adrblk">
<c-input
type="textarea"
v-model="model.lidgrp.ini.pts.adrblk"
maxlength="35"
:rows="4"
show-word-limit
disabled
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="偿付行参考号" prop="lidgrp.rmb.pts.ref">
<c-input
v-model="model.lidgrp.rmb.pts.ref"
maxlength="16"
placeholder="请输入偿付行参考号"
:disabled="model.lidgrp.rec.rmbflg = ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.rmb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.rmb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
:disabled="model.lidgrp.rec.rmbflg = ''"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.rmb.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
icon="el-icon-info"
@click="onRmbpDet"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.rmb.pts.nam">
<c-input
v-model="model.lidgrp.rmb.pts.nam"
maxlength="40"
placeholder="请输入名称地址"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="保兑行参考号"
prop="lidgrp.con.pts.ref"
>
<c-input
v-model="model.lidgrp.con.pts.ref"
maxlength="16"
placeholder="请输入保兑行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.con.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.con.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('CON', 'B')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.con.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onConpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.con.pts.adrblk">
<c-input
:disabled="model.lidgrp.con.pts.extkey!=''"
type="textarea"
v-model="model.lidgrp.con.pts.adrblk"
maxlength="150"
:rows="4"
show-word-limit
placeholder="请输入地址编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ================右 ==================== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="第二通知行参考号" prop="lidgrp.a2b.pts.ref">
<c-input
v-model="model.lidgrp.a2b.pts.ref"
maxlength="16"
placeholder="请输入第二通知行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.a2b.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.a2b.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
queryGridEtyPromptDialogData('A2B', '')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.a2b.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onA2bpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.a2b.pts.adrblk">
<c-input
:disabled="model.lidgrp.a2b.pts.extkey!=''"
type="textarea"
v-model="model.lidgrp.a2b.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="授权兑付行参考号"
prop="lidgrp.avb.pts.ref"
>
<c-input
v-model="model.lidgrp.avb.pts.ref"
maxlength="16"
placeholder="请输入授权兑付行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址编码" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="queryGridEtyPromptDialogData('AVB', 'B')"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.avb.pts.extkey')"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onAvbpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
disabled
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="附加当事人" >
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
icon="el-icon-info"
></el-button
>
</template>
</el-table-column>
</c-edit-table>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.litp.avblab" data-path=".litp.avblab" > </span>
</c-col>-->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "当事人",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
width: "250px",
dataIndex: "nam",
},
{
title: "参考号",
width: "250px",
dataIndex: "ref",
},
],
urls: "litp.ptsaddp.ptsaddg",
},
};
},
methods: {
handleEdit() {
console.log("1111测试");
},
addRow() {},
removeRow() {},
},
created: function () {},
};
</script>
<style></style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item label="受益人特殊付款条款" prop="lidgrp.blk.spcben">
<c-input
type="textarea"
v-model="model.lidgrp.blk.spcben"
maxlength="65"
:rows="30"
show-word-limit
placeholder="请输入受益人特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="onSpcbenButtxmsel"
>
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item
label="仅适用于指定银行的特殊付款条款"
prop="lidgrp.blk.spcrcb"
>
<c-input
type="textarea"
v-model="model.lidgrp.blk.spcrcb"
maxlength="65"
:rows="30"
show-word-limit
placeholder="请输入仅适用于指定银行的特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
@click="onSpcrcbButtxmsel"
icon="el-icon-more"
>
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证开立">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</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>
<!--PD000000 -->
<!-- <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000002 -->
<el-tab-pane label="申报信息" name="cnyp,libp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData1"
@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 Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Litopn from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "../model/check";
import Event from "../event";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Addbcb from "./Addbcb";
import Cnyp from "./Cnyp";
import Libp from "./Libp";
import Namp from "./Namp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Glepan from "~/components/business/glentry/views";
import Doxp from "~/views/Public/Doxp";
import { mapState } from 'vuex';
export default {
name: "Litopn",
components: {
"m-ovwp": Ovwp,
"m-aamp": Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-doxp": Doxp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-addbcb": Addbcb,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-libp": Libp,
"m-namp": Namp,
"m-limitbody": Limitbody,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, Event],
computed: {
...mapState({
toHandleRowData: (state) => state.litopn.toHandleRowData
})
},
data() {
return {
tabVal: "ovwp",
trnName: "litopn",
model: new Litopn().data,
rules: Check,
codes: { ...CodeTable },
activeNames: ["engp"],
promptData: {
title: '',
columns: [],
data:[]
},
promptData1: {
title: '',
columns: [],
data:[]
}
};
},
methods: {
},
created: async function () {
console.log("进入litopn交易");
this.init();
},
};
</script>
<style></style>
......@@ -211,7 +211,6 @@
watch: {
reload(val) {
if(val) {
debugger
this.handleSearch()
}
}
......
......@@ -5,5 +5,6 @@ const Business = [
{ path: 'gitcan', component: () => import('~/business/gitcan/views'), name: 'gitcan', meta: { title: '进口保函注销' } },
{ path: 'getopn', component: () => import('~/business/getopn/views'), name: 'getopn', meta: { title: '出口保函通知' } },
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'litopn', component: () => import('~/business/litopn/views'), name: 'litopn', meta: { title: '进口信用证开立' } },
]
export default Business
......@@ -6,7 +6,8 @@ import TagsView from "./TagsView"
import Transaction from "./Transaction";
import Vuex from 'vuex'
import Vue from 'vue'
import gitopn from './modules/gitopn.js'
import gitopn from './modules/gitopn.js';
import litopn from './modules/litopn.js';
Vue.use(Vuex)
......@@ -18,7 +19,8 @@ const store = new Vuex.Store({
Swift: Swift,
TagsView: TagsView,
Transaction: Transaction,
gitopn
gitopn,
litopn,
}
})
......
const store = {
state: {
toHandleRowData: {},
},
mutations: {
updateToHandleRowData(state, params) {
state.toHandleRowData = params
}
}
}
export default store
......@@ -323,7 +323,7 @@ export default {
},
toLitopn() {
this.$router.history.push("/business/litopn");
this.$router.history.push("/business-new/litopn");
},
},
created: function () { },
......
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