Commit 00d68b5b by WF1020

gitrcq修改

parent 22866d13
......@@ -9,7 +9,10 @@ export default class Gitame {
},
swiadd:{
amedat:'',
amenbr:''
amenbr:'',
ameamt:'',
newamt:'',
newcur:'',
},
ametxtflgc: '',
ametxt: '',
......@@ -320,7 +323,6 @@ export default class Gitame {
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
doctre: new Pub().data.Doctre,
};
}
}
import Pts from '~/model/Common/Pts';
import Pub from '~/model/Public';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitcan {
constructor() {
this.data = {
......
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.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 doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
...doctre,
async init () {
const res = await Api.post('/service/gitcrq/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr
});
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) {
console.log(tab)
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 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
}
}
\ No newline at end of file
import Utils from '~/utils';
/**
* Gitcrq Check规则
*/
let checkObj = {
'liaall.misamt': null,
'liaall.limmod.limpts.oth.pts.extkey': null,
'gcdgrp.prb.adrelc': null,
'liaall.limmod.ownref': null,
'gcdgrp.blk.addamtinf': null,
'liaall.limmod.ecifno': null,
'gcdgrp.oth.namelc': null,
'gcdgrp.rec.newexpdat': null,
'gcdgrp.int.pts.nam': null,
'gcdgrp.rec.docprbrol': null,
'gcdgrp.awi.pts.extkey': null,
'gcdgrp.rec.payrol': null,
'gcdgrp.oth.adrelc': null,
'gcdgrp.rec.clmdat': null,
'liaall.limmod.limpts.oth.pts.nam': null,
'setmod.dspflg': null,
'gcdgrp.prb.pts.extkey': null,
'gcdgrp.rec.ownref': null,
'gcdgrp.prb.namelc': null,
'gcdgrp.prb.pts.adrblk': null,
'liaall.limmod.limpts.wrk.pts.nam': null,
'liaall.limmod.limpts.wrk.pts.extkey': null,
'gcdgrp.apl.pts.nam': null,
payday: null,
'mtabut.coninf.conexedat': null,
'outlen.acttyp': null,
'liaall.limmod.limpts.nonrevflg1': null,
'gcdgrp.blk.presentdet': null,
'outlen.szflg': null,
'setmod.docamt': null,
'gcdgrp.oth.pts.extkey': null,
'gcdgrp.cbs.max2.amt': null,
'gcdgrp.int.pts.extkey': null,
'gcdgrp.awi.pts.nam': null,
'gcdgrp.oth.pts.adrblk': null,
clmtxts20: null,
'gcdgrp.cbs.max.amt': null,
'gctp.gidget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gidgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.gidget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.rec.expdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gidgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gctp.recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.cbs.max.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.cbs.max.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.apl.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.cbs.opn1.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gcdgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.ben.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gidgrp.rec.liadat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gcdgrp.ben.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.rec.clmdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gcdgrp.prb.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.cbs.max2.amt': [
{ type: 'string', required: false, message: '必输项' },
{ max: 17, message: '整数位不能超过14位' },
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
'gctp.prbp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.prb.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.prbp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.prb.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.prb.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.prb.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.prb.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
clmtxt: [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'gcdgrp.oth.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.rec.newexpdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gcdgrp.oth.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
payday: [
{ type: 'number', required: false, message: '请输入数字' },
{ type: 'number', max: 99, message: '不能超过99' },
],
'gcdgrp.oth.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.oth.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gcdgrp.oth.adrelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'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位',
},
],
'setmod.ref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
'mtabut.coninf.oitinf.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
{ type: 'string', required: true, message: '必输项' },
{ max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 8, message: '长度不能超过8' },
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.amdapl': [
{ type: 'string', required: true, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
],
'trnmod.trndoc.advdoc': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.filrecv': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'trnmod.trndoc.doctrestm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.condocstm': [
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'trnmod.trndoc.rcvatt.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
clmtxts20: [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'gcdgrp.blk.addamtinf': [
{ type: 'string', required: true, message: '必输项' },
{ max: 65, message: '长度不能超过65' },
],
'gcdgrp.blk.presentdet': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'gctp.intp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.int.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.intp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.int.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gctp.awip.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.awi.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gctp.awip.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gcdgrp.awi.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ecifno': [
{ type: 'string', required: false, message: '必输项' },
{ max: 22, message: '长度不能超过22' },
],
'liaall.limmod.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.limpts.wrk.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.limpts.oth.pts.extkey': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'liaall.limmod.othp.ptsget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'liaall.limmod.comamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.wrk.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.limpts.oth.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'liaall.limmod.ccvamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'liaall.limmod.limpts.pfcod1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
'liaall.limmod.limpts.pfcod2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 14, message: '长度不能超过14' },
],
};
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
}
}
export default checkObj;
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitcrq {
constructor() {
this.data = {
number: '',
nxtflg: '',
clmtxts20: '',
outlen: {
acttyp: '',
szflg: '',
},
gctp: {
recget: {
sdamod: {
seainf: '',
},
},
gcthdr: '',
prbp: {
ptsget: {
sdamod: {
seainf: '',
},
},
},
othp: {
ptsget: {
sdamod: {
seainf: '',
},
},
},
gidget: {
sdamod: {
seainf: '',
},
},
},
gcdgrp: {
blk: {
presentdet: '',
addamtinf: '',
},
prb: {
pts: new Pts().data,
},
rec: {
newexpdat: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: '',
demstat: '',
},
awi: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: '',
},
opn2: {
cur: '',
},
max: {
cur: '',
amt: '',
},
max2: {
amt: '',
},
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
tmpint: {
pts: new Pts().data,
},
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: '',
},
cbs: {
opn1: {
cur: '',
amt: '',
},
},
},
payday: '',
gitsetp1: '',
didgrp: {
apl: {
pts: new Pts().data,
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="需求声明" prop="gcdgrp.rec.demstat">
<c-select v-model="model.gcdgrp.rec.demstat" style="width: 100%" placeholder="请选择需求声明" :code="demstat">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="需求声明文本 " prop="clmtxts20">
<c-input type="textarea" v-model="model.clmtxts20" rows="10" show-word-limit placeholder="请输入需求声明文本 ">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额附言" prop="gcdgrp.blk.addamtinf">
<c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" rows="10" 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="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" rows="9" show-word-limit
placeholder="请输入Present. Compl. Det." :disabled="model.gcdgrp.rec.demstat != 'INCP'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中间行" prop="gcdgrp.tmpint.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.tmpint.pts.extkey" maxlength="16" placeholder="请输入" @keyup.enter.native="
showGridPromptDialog(`gcdgrp.tmpint.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.tmpint.pts.nam">
<c-input type="textarea" v-model="model.gcdgrp.tmpint.pts.nam" rows="4" maxlength="100" show-word-limit
placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="帐户行" prop="gcdgrp.awi.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.awi.pts.extkey" maxlength="16" placeholder="请输入" @keyup.enter.native="
showGridPromptDialog('gcdgrp.awi.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.awi.pts.nam">
<c-input type="textarea" v-model="model.gcdgrp.awi.pts.nam" rows="4" maxlength="100" show-word-limit
placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
demstat: [
{
label:
"COMP 完整需求,没有其他单据伴随或跟踪此消息",
value: "COMP",
},
{
label:
"INCP 不完整需求,支持单据单独提交",
value: "INCP",
},
],
};
},
methods: { },
created: function () { },
computed: {
flag() {
return this.model.didgrp.apl.pts.extkey == "";
},
},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24" v-if="model.gidgrp.rec.expflg == 'X' || model.gidgrp.rec.expdat != ''">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.gidgrp.rec.ownref" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button v-model="model.gctp.gidget.sdamod.seainf" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" type="primary">
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.expflg != 'X' && model.gidgrp.rec.expdat == ''">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.gidgrp.rec.ownref" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button v-model="model.gctp.gidget.sdamod.seainf" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" type="primary">
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="8" v-if="model.gidgrp.rec.expflg == 'X'">
<el-form-item style="margin-left: 20px" label="我行责任敞口">
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.expdat != ''">
<el-form-item label="保函效期" prop="gidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.expdat" disabled style="width: 100%"
placeholder="请选择保函效期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24" v-show="false">
<el-form-item label="保函效期" prop="gidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.expdat" disabled style="width: 100%"
placeholder="请选择保函效期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔编号" prop="gcdgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.gcdgrp.rec.ownref" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button v-model="model.gctp.recget.sdamod.seainf" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" type="primary">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" :disabled="this.flag">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="10">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.max.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input disabled v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入" class="m-input-currency"></c-input>
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gctp.gcthdr" disabled style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
">附加金额
</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="10">
<c-form-item label="保函余额" prop="gcdgrp.cbs.opn1.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.opn1.cur" placeholder="" style="width: 100%" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input-currency v-model="model.gcdgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类"
:code="codes.typgar">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-date-picker type="date" disabled v-model="model.gcdgrp.rec.clmdat" style="width: 100%"
placeholder="请选择索赔日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.max.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入信用证金额" @keyup.enter.native="$event.target.blur()"></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="提取附加金额" prop="gcdgrp.cbs.opn2.cur" previewLabel="信用证币种">
<c-select v-model="model.gcdgrp.cbs.opn2.cur" style="width: 100%" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item previewLabel="信用证金额" label-width="5px" prop="gcdgrp.cbs.max2.amt">
<c-input-currency v-model="model.gcdgrp.cbs.max2.amt" placeholder="请输入信用证金额" disabled></c-input-currency>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-date-picker type="date" v-model="model.gcdgrp.rec.clmdat" style="width: 100%" placeholder="请选择索赔日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="后续处理" prop="nxtflg">
<c-select v-model="model.nxtflg" style="width: 100%" disabled placeholder="请选择后续处理" :code="codes.nxtflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gitsetp1" disabled style="
margin-left: 10px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
">延期或付款</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="保函请求效期" prop="gcdgrp.rec.newexpdat">
<c-date-picker type="date" v-model="model.gcdgrp.rec.newexpdat" disabled style="width: 100%"
placeholder="请选择保函请求效期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="我行将于" prop="payday">
<c-input v-model.number="model.payday" placeholder=""> </c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="个工作日后付款" label-width="120px">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="申报类型" prop="outlen.szflg">
<c-select v-model="model.outlen.szflg" style="width: 100%" placeholder="">
<el-option v-for="item in codes.szflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="钱款去向" prop="outlen.acttyp">
<c-select v-model="model.outlen.acttyp" style="width: 100%" placeholder="" :code="codes.acttyp"
:disabled="model.outlen.szflg != '1'"></c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item label="我行责任敞口"> </el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width: 100%"
placeholder="请选择责任截至日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur" previewLabel="信用证币种">
<c-select v-model="model.gidgrp.cbs.opn1.cur" placeholder="" style="width: 100%" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item previewLabel="信用证金额" label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入信用证金额" disabled></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input v-model="model.gcdgrp.rec.nam" maxlength="40" placeholder="请输入简略信息" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="gcdgrp.apl.pts.ref">
<c-input v-model="model.gcdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.apl.pts.nam">
<c-input v-model="model.gcdgrp.apl.pts.nam" maxlength="40" placeholder="请输入当事人名称" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="gcdgrp.ben.pts.ref">
<c-input v-model="model.gcdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.ben.pts.nam">
<c-input v-model="model.gcdgrp.ben.pts.nam" maxlength="40" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔当事人" prop="gcdgrp.rec.docprbrol">
<c-select v-model="model.gcdgrp.rec.docprbrol" style="width: 100%" placeholder="请选择索赔当事人"
@change="eventFunction('gcdgrp.rec.docprbrol')"
:code="[]"
>
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函编号" prop="gcdgrp.prb.pts.ref">
<c-input v-model="model.gcdgrp.prb.pts.ref" maxlength="16" placeholder="请输入保函编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入"
:disabled="model.gcdgrp.rec.docprbrol != 'PRB'" @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
@click="model.gctp.prbp.ptsget.sdamod.seainf">
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.gcdgrp.prb.pts.adrblk"
:disabled="model.gcdgrp.rec.docprbrol != 'PRB'" maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="向索人" prop="gcdgrp.rec.payrol">
<c-select v-model="model.gcdgrp.rec.payrol" placeholder="请选择" style="width: 100%"
@change="eventFunction('gcdgrp.rec.payrol')">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函编号" prop="gcdgrp.oth.pts.ref">
<c-input v-model="model.gcdgrp.oth.pts.ref" maxlength="16" placeholder="请输入保函编号"
:disabled="model.gcdgrp.rec.payrol != 'OTH'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入" @keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
" :disabled="model.gcdgrp.rec.payrol != 'OTH'">
</c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
@click="model.gctp.othp.ptsget.sdamod.seainf">
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.adrblk">
<c-input type="textarea" rows="4" v-model="model.gcdgrp.oth.pts.adrblk" maxlength="100" show-word-limit
placeholder="请输入" :disabled="model.gcdgrp.rec.payrol != 'OTH'"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import event from '../event'
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {};
},
computed: {
flag() {
return this.model.gcdgrp.prb.pts.extkey == "";
},
},
methods: {
},
created: function () { },
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="gitdetp">
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
import Gitdetp from "./Gitdetp";
import Gitsetp1 from "./Gitsetp1";
export default {
components: {
"m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () { },
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="进口保函索赔登记">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setmod
:model="model"
:codes="codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<!-- <el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">智能提示</el-button> -->
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Gitcrq from "~/model/Gitcrq";
import formRules from '../model/check'
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Engp from "~/components/business/engp/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import event from '../event'
import operationFunc from "~/mixin/operationFunc";
export default {
name: "Gitcrq",
components: {
"m-ovwp": Ovwp,
"m-limitbody": Limitbody,
"m-engp": Engp,
"m-setmod": Setmod,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-glentry": Glentry,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
},
trnName: "gitcrq",
model: new Gitcrq().data,
rules: formRules,
codes: { ...CodeTable },
};
},
methods: {
},
mounted () {
this.init()
},
};
</script>
<style scoped>
</style>
......@@ -351,7 +351,6 @@ export default class Gitopn {
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
doctre: new Pub().data.Doctre,
};
}
}
......@@ -21,8 +21,8 @@ export default class Infgid{
statsus: '', // statsus .infcon.statsus
seacur: '', // Currency .infcon.seacur
cxmflg: '', // 是否显示查询码 .infcon.cxmflg
amtdown: '', // Amount between .infcon.seaamtfr
amtup: '', // Amount to .infcon.seaamtto
amtdown: '0.00', // Amount between .infcon.seaamtfr
amtup: '0.00', // Amount to .infcon.seaamtto
segtyp: '', // 特殊保函类型 .infcon.segtyp
searef: '', // Party Reference .infcon.searef
......
......@@ -610,7 +610,8 @@ export default {
{
label: '处理类型',
prop: 'hndtyp'
prop: 'hndtyp',
},
{
label: '电子渠道类型',
......@@ -622,7 +623,16 @@ export default {
},
{
label: '保函品种',
prop: 'othersno'
prop: 'othersno',
},
{
label: '开立日期',
prop: 'opndat'
},
{
label: '保函效期',
prop: 'expdat'
},
],
data: [],
......
......@@ -15,10 +15,6 @@ export default class Publics {
Liaall: new Liaall().data,
Liaccv: new Liaccv().data,
Docpan: new Docpan().data,
Doctre: {
tableData1: [],
tableData2: [],
}
};
}
}
......@@ -6,9 +6,9 @@ export default {
let objtyp = doctreRequest.rec.objtyp;
let rtnmsg = await Api.post(`/service/${objtyp.toLowerCase()}/doctre/assertDoctre`, doctreRequest);
if (rtnmsg.respCode == SUCCESS) {
this.$set(this.model, 'doctre', {
tableData1: rtnmsg.data.doctreVoList || [],
tableData2: rtnmsg.data.modifySet || [],
this.$set(this.model, 'trnmod', {
doctreTableData1: rtnmsg.data.doctreVoList || [],
doctreTableData2: rtnmsg.data.modifySet || [],
})
}
loading.close();
......
......@@ -285,6 +285,9 @@ export default class Trnmod {
cskdz7: '', // COV收款人地址7 .trnmod.cipmod.cskdz7
cskrmc: '', // COV收款人名称 .trnmod.cipmod.cskrmc
},
// 以下是doctre中两个表格的字段
doctreTableData1: [],
doctreTableData2: [],
};
}
}
......@@ -11,7 +11,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<el-table :border="true" :data="model.doctre.tableData1 || []">
<el-table :border="true" :data="model.trnmod.doctreTableData1">
<el-table-column label="类型" width="auto" prop="rol"></el-table-column>
<el-table-column label="名称" width="auto" prop="pandsc"></el-table-column>
<el-table-column label="创建交易" width="auto" prop="inifrm"></el-table-column>
......@@ -33,7 +33,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<el-table :border="true" :data="model.doctre.tableData2">
<el-table :border="true" :data="model.trnmod.doctreTableData2">
<el-table-column label="类型" width="auto" prop="rol"></el-table-column>
<el-table-column label="名称" width="auto" prop="pandsc"></el-table-column>
<el-table-column label="创建交易" width="auto" prop="inifrm"></el-table-column>
......@@ -155,8 +155,16 @@ export default {
},
immediate: true,
},
model: {
handler (newVal) {
console.log('model', newVal)
},
immediate: true
}
},
created () {
console.log('====11', this.model)
},
created: function () {},
};
</script>
<style scoped>
......@@ -164,3 +172,4 @@ export default {
text-align: left;
}
</style>
\ No newline at end of file
......@@ -7,5 +7,6 @@ const Business = [
{ path: 'gitame', component: () => import('~/business/gitame/views'), name: 'gitame', meta: { title: '出口保函修改' } },
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'litopn', component: () => import('~/business/litopn/views'), name: 'litopn', meta: { title: '进口信用证开立' } },
{ path: 'gitcrq', component: () => import('~/business/gitcrq/views'), name: 'gitcrq', meta: { title: '保函索赔登记' } },
]
export default Business
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