Commit 36d8557d by WH

fix:修复trtset缺陷

parent e700d219
...@@ -584,7 +584,6 @@ export default { ...@@ -584,7 +584,6 @@ export default {
}, },
methods: { methods: {
...Event,
async getButtons(ownref, closedDate) { async getButtons(ownref, closedDate) {
this.ownref = ownref; this.ownref = ownref;
this.TrtselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C"; this.TrtselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
......
...@@ -33,13 +33,13 @@ export default { ...@@ -33,13 +33,13 @@ export default {
branchInr: model.trdgrp.rec.branchinr, branchInr: model.trdgrp.rec.branchinr,
}, },
cbsMap: { cbsMap: {
MAX: model.brdgrp.cbs.max, MAX: model.trdgrp.cbs.max,
OPN1: model.brdgrp.cbs.opn1, OPN1: model.trdgrp.cbs.opn1,
// OPN2: model.brdgrp.cbs.opn2, // OPN2: model.trdgrp.cbs.opn2,
// MAC: model.brdgrp.cbs.mac, // MAC: model.trdgrp.cbs.mac,
// MAC2: model.brdgrp.cbs.mac2, // MAC2: model.trdgrp.cbs.mac2,
// OPC2: model.brdgrp.cbs.opc2, // OPC2: model.trdgrp.cbs.opc2,
// CNF: model.brdgrp.cbs.cnf, // CNF: model.trdgrp.cbs.cnf,
}, },
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
...@@ -102,9 +102,9 @@ export default { ...@@ -102,9 +102,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'lid', objtyp: 'trd',
objinr: model.brdgrp.rec.objinr, objinr: model.trdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref, ownref: model.trdgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -113,9 +113,9 @@ export default { ...@@ -113,9 +113,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'lid', objtyp: 'trd',
objinr: model.brdgrp.rec.objinr, objinr: model.trdgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref, ownref: model.trdgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.brtp.swiftflg,
}, },
}; };
......
...@@ -11,197 +11,197 @@ import doctre from '~/components/business/doctre/event'; ...@@ -11,197 +11,197 @@ import doctre from '~/components/business/doctre/event';
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
...setmod, ...setmod,
...glentry, ...glentry,
...engp, ...engp,
...docpan, ...docpan,
...ccvpan, ...ccvpan,
...limitbody, ...limitbody,
...doctre, ...doctre,
async init () { async init() {
const params = { const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)), spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr, trninr: this.$route.query.trninr,
} }
if( typeof(this.$route.query.inr) == 'string') { if (typeof (this.$route.query.inr) == 'string') {
params.spt = null params.spt = null
} }
const loading = this.loading(); const loading = this.loading();
const res = await Api.post('/service/trtset/init', { const res = await Api.post('/service/trtset/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL', userId: window.sessionStorage.userId || 'ZL',
trdgrp:{ trdgrp: {
rec:{ rec: {
inr:this.$route.query.inr inr: this.$route.query.inr
} }
} }
});
// debugger
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 'setmod':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
}); });
break; loading.close();
case 'docpan': if (!res.data) {
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName); return
this.processTrndoc(docpanRequest); }
break; this.copyValueFromVoData(this.model, res.data)
case 'glepan': this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName); this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.processGlentry(glentryRequest); this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/trtset/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取trtset弹框表格数据
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;
}
},
// 选中brtset弹框表格的行数据
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 = {
brtp: {
swiftflg: this.model.gitp.swiftflg,
}, },
brdgrp: { // 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
rec: { copyValueFromVoData(model, data) {
purpos: this.model.gidgrp.rec.purpos, 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])
}
}
})
}, },
transName: trnName.toUpperCase(), async tabClick(tab) {
}; if (this.isInDisplay) {
let res = await Api.post('/service/brtset/initHndtyp', params); return;
if (res.respCode == SUCCESS) { }
this.$set(this.codes, 'voHndtyp', res.data); let name = tab.name;
} switch (name) {
}, case 'ccvpan':
// 是否SWIFT格式修改--联动保函开立类型 let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
handleChangeSwiftflg() { this.processLiaccv(ccvpanRequest);
this.queryHndtypCodeTableList(this.root.trnName); break;
}, case 'engp':
// 支出目的修改--联动保函开立类型 let engpRequest = buildFn.buildEngp(this.model, this.trnName);
handleChangePurpos() { this.processLiaall(engpRequest);
this.queryHndtypCodeTableList(this.root.trnName); break;
}, case 'setmod':
buildLiaccv () { let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
let params = { // 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
...buildFn.buildCommonData(this.model, this.trnName), this.processSetpan(setfegRequest, () => {
liaccvg: this.model.liaccv.liaccvg, return buildFn.buildSetglg(this.model, this.trnName);
oldamt: this.model.liaccv.oldamt, });
chgamt: this.model.liaccv.chgamt, break;
concur: this.model.liaccv.concur, case 'docpan':
}; let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
return params break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/trtset/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取trtset弹框表格数据
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;
}
},
// 选中brtset弹框表格的行数据
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 = {
brtp: {
swiftflg: this.model.gitp.swiftflg,
},
brdgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/brtset/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
}
}
}, },
// 公共组件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
}
}
},
}; };
...@@ -4,367 +4,367 @@ import Utils from "~/utils" ...@@ -4,367 +4,367 @@ import Utils from "~/utils"
* Trtset Check规则 * Trtset Check规则
*/ */
let checkObj = { let checkObj = {
"trtp0.ledget.sdamod.dadsnd":[ // "trtp0.ledget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trtp0.bcdget.sdamod.dadsnd":[ // "trtp0.bcdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trtp0.brdget.sdamod.dadsnd":[ // "trtp0.brdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trtp0.bedget.sdamod.dadsnd":[ // "trtp0.bedget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trdgrp.rec.pntref":[ // "trdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trtp0.bcdget.sdamod.seainf":[ // "trtp0.bcdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trtp0.ledget.sdamod.seainf":[ // "trtp0.ledget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trtp0.brdget.sdamod.seainf":[ // "trtp0.brdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trtp0.bedget.sdamod.seainf":[ // "trtp0.bedget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trdgrp.rec.pntnam":[ // "trdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} // {max: 40,message:"长度不能超过40"}
], // ],
"trtp0.recget.sdamod.dadsnd":[ // "trtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trdgrp.rec.ownref":[ // "trdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trtp0.recget.sdamod.seainf":[ // "trtp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trdgrp.rec.nam":[ // "trdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} // {max: 40,message:"长度不能超过40"}
], // ],
"trdgrp.rec.pctfin":[ // "trdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"} // {max: 5,message:"长度不能超过5"}
], // ],
"trdgrp.fip.pts.ref":[ // "trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
//
"trdgrp.cbs.max.amt":[ // "trdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trdgrp.fip.pts.nam":[ // "trdgrp.fip.pts.nam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} // {max: 40,message:"长度不能超过40"}
], // ],
"trdgrp.cbs.opn1.cur":[ // "trdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trdgrp.cbs.opn1.amt":[ // "trdgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trdgrp.rec.fintyp":[ // "trdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"trdgrp.rec.stttendat":[ // "trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"} // {type: "date", required: false, message: "输入正确的日期"}
], // ],
"trdgrp.rec.matdat":[ // "trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} // {type: "date", required: false, message: "输入正确的日期"}
], // ],
"trdgrp.rec.finact":[ // "trdgrp.rec.finact":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"} // {max: 21,message:"长度不能超过21"}
], // ],
"trtmod.finmod.fincod":[ // "trtmod.finmod.fincod":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"} // {max: 17,message:"长度不能超过17"}
], // ],
//
//
//
"setamt":[ // "setamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
"setact":[ // "setact":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"} // {max: 21,message:"长度不能超过21"}
], // ],
//
//
"trtmod.finmod.act3":[ // "trtmod.finmod.act3":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"} // {max: 21,message:"长度不能超过21"}
], // ],
"trtmod.finmod.cbs.cbb.intamt1":[ // "trtmod.finmod.cbs.cbb.intamt1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.intamt1":[ // "trtmod.finmod.cbs.cbe.intamt1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbb.intamty1":[ // "trtmod.finmod.cbs.cbb.intamty1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.intamty1":[ // "trtmod.finmod.cbs.cbe.intamty1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbb.intamt2":[ // "trtmod.finmod.cbs.cbb.intamt2":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.intamt2":[ // "trtmod.finmod.cbs.cbe.intamt2":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbb.intamty2":[ // "trtmod.finmod.cbs.cbb.intamty2":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.intamty2":[ // "trtmod.finmod.cbs.cbe.intamty2":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbb.intamt":[ // "trtmod.finmod.cbs.cbb.intamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.intamt":[ // "trtmod.finmod.cbs.cbe.intamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbb.amt":[ // "trtmod.finmod.cbs.cbb.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"trtmod.finmod.cbs.cbe.amt":[ // "trtmod.finmod.cbs.cbe.amt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
"trtmod.finmod.cbs.totint":[ // "trtmod.finmod.cbs.totint":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
"trdgrp.rec.actrat":[ // "trdgrp.rec.actrat":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"} // {max: 12,message:"长度不能超过12"}
], // ],
"setact1":[ // "setact1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"} // {max: 21,message:"长度不能超过21"}
], // ],
//
"liaall.outamt":[ // "liaall.outamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"liaall.outpct":[ // "liaall.outpct":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"} // {max: 6,message:"长度不能超过6"}
], // ],
"liaall.concur":[ // "liaall.concur":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"liaall.misamt":[ // "liaall.misamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
//
"liaall.exttotoldamt":[ // "liaall.exttotoldamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"liaall.exttotamt":[ // "liaall.exttotamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"setmod.ref":[ // "setmod.ref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
//
"setmod.docamt":[ // "setmod.docamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
//
//
//
"setmod.zmqacc":[ // "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} // {max: 20,message:"长度不能超过20"}
], // ],
//
//
"setmod.glemod.gleshwstm":[ // "setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} // {max: 1,message:"长度不能超过1"}
], // ],
//
//
"trnmod.trndoc.advnam":[ // "trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} // {max: 50,message:"长度不能超过50"}
], // ],
"trnmod.trndoc.amdapl":[ // "trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} // {max: 50,message:"长度不能超过50"}
], // ],
//
"trnmod.trndoc.advdoc":[ // "trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} // {max: 1,message:"长度不能超过1"}
], // ],
"trnmod.trndoc.filrecv":[ // "trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"trnmod.trndoc.doctrestm":[ // "trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} // {max: 1,message:"长度不能超过1"}
], // ],
//
//
//
//
//
//
//
//
//
"trnmod.trndoc.condocstm":[ // "trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} // {max: 1,message:"长度不能超过1"}
], // ],
"trnmod.trndoc.rcvatt.seainf":[ // "trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
//
//
//
"liaall.limmod.ecifno":[ // "liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"} // {max: 22,message:"长度不能超过22"}
], // ],
//
//
//
"liaall.limmod.ownref":[ // "liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[ // "liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[ // "liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"liaall.limmod.limpts.wrk.pts.extkey":[ // "liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[ // "liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
//
"liaall.limmod.limpts.oth.pts.extkey":[ // "liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"liaall.limmod.othp.ptsget.sdamod.seainf":[ // "liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
//
"liaall.limmod.comamt":[ // "liaall.limmod.comamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"liaall.limmod.limpts.wrk.pts.nam":[ // "liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} // {max: 40,message:"长度不能超过40"}
], // ],
"liaall.limmod.limpts.oth.pts.nam":[ // "liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} // {max: 40,message:"长度不能超过40"}
], // ],
"liaall.limmod.ccvamt":[ // "liaall.limmod.ccvamt":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
//
//
//
//
//
"liaall.limmod.limpts.pfcod1":[ // "liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} // {max: 14,message:"长度不能超过14"}
], // ],
"liaall.limmod.limpts.pfcod2":[ // "liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} // {max: 14,message:"长度不能超过14"}
], // ],
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -2,112 +2,112 @@ import Pts from '~/components/business/commonModel/Pts'; ...@@ -2,112 +2,112 @@ import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js'; import Pub from '~/components/business/commonModel/index.js';
export default class Trtset{ export default class Trtset {
constructor () { constructor() {
this.data = { this.data = {
trdgrp:{ trdgrp: {
rec:{ rec: {
inr:"", inr: "",
pntref:"", // 父交易参考号 .trdgrp.rec.pntref pntref: "", // 父交易参考号 .trdgrp.rec.pntref
pntnam:"", // Name .trdgrp.rec.pntnam pntnam: "", // Name .trdgrp.rec.pntnam
ownref:"", // 参考号 .trdgrp.rec.ownref ownref: "", // 参考号 .trdgrp.rec.ownref
nam:"", // Name .trdgrp.rec.nam nam: "", // Name .trdgrp.rec.nam
pctfin:"", // 融资比例 .trdgrp.rec.pctfin pctfin: "", // 融资比例 .trdgrp.rec.pctfin
stttendat:"", // 起息日期 .trdgrp.rec.stttendat stttendat: "", // 起息日期 .trdgrp.rec.stttendat
matdat:"", // Maturity Date .trdgrp.rec.matdat matdat: "", // Maturity Date .trdgrp.rec.matdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp fintyp: "", // 融资品种 .trdgrp.rec.fintyp
finact:"", // 融资账号 .trdgrp.rec.finact finact: "", // 融资账号 .trdgrp.rec.finact
ovdflg:"", // Overdue Flag .trdgrp.rec.ovdflg ovdflg: "", // Overdue Flag .trdgrp.rec.ovdflg
actrat:"", // 执行利率 .trdgrp.rec.actrat actrat: "", // 执行利率 .trdgrp.rec.actrat
branchinr: "", branchinr: "",
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 融资金额 .trdgrp.cbs.max.cur cur: "", // 融资金额 .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt amt: "", // 融资金额 .trdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 余额 .trdgrp.cbs.opn1.cur cur: "", // 余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt amt: "", // Balance .trdgrp.cbs.opn1.amt
}, },
}, },
fip:{ fip: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
trtp0:{ trtp0: {
bcdget:{ bcdget: {
sdamod:{ sdamod: {
seainf:"", // .trtp0.bcdget.sdamod.seainf seainf: "", // .trtp0.bcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
}, },
}, },
ledget:{ ledget: {
sdamod:{ sdamod: {
seainf:"", // .trtp0.ledget.sdamod.seainf seainf: "", // .trtp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.ledget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
}, },
}, },
brdget:{ brdget: {
sdamod:{ sdamod: {
seainf:"", // .trtp0.brdget.sdamod.seainf seainf: "", // .trtp0.brdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.brdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
}, },
}, },
bedget:{ bedget: {
sdamod:{ sdamod: {
seainf:"", // .trtp0.bedget.sdamod.seainf seainf: "", // .trtp0.bedget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bedget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
}, },
}, },
recget:{ recget: {
sdamod:{ sdamod: {
seainf:"", // .trtp0.recget.sdamod.seainf seainf: "", // .trtp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.recget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trtp0.recget.sdamod.dadsnd
}, },
}, },
}, },
trtmod:{ trtmod: {
finmod:{ finmod: {
setlab:"", // Settlement Label .trtmod.finmod.setlab setlab: "", // Settlement Label .trtmod.finmod.setlab
fincod:"", // 借据号 .trtmod.finmod.fincod fincod: "", // 借据号 .trtmod.finmod.fincod
reptyp:"", // 还款方式 .trtmod.finmod.reptyp reptyp: "", // 还款方式 .trtmod.finmod.reptyp
cbs:{ cbs: {
cbb:{ cbb: {
intamt1:"", // 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1 intamt1: "", // 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1
intamty1:"", // 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1 intamty1: "", // 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1
intamt2:"", // 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2 intamt2: "", // 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2
intamty2:"", // 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2 intamty2: "", // 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2
intamt:"", // 利息 .trtmod.finmod.cbs.cbb.intamt intamt: "", // 利息 .trtmod.finmod.cbs.cbb.intamt
amt:"", // 本金 .trtmod.finmod.cbs.cbb.amt amt: "", // 本金 .trtmod.finmod.cbs.cbb.amt
}, },
cbe:{ cbe: {
intamt1:"", // 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1 intamt1: "", // 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1
intamty1:"", // 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1 intamty1: "", // 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1
intamt2:"", // 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2 intamt2: "", // 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2
intamty2:"", // 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2 intamty2: "", // 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2
intamt:"", // 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt intamt: "", // 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt
amt:"", // 偿还本金 .trtmod.finmod.cbs.cbe.amt amt: "", // 偿还本金 .trtmod.finmod.cbs.cbe.amt
}, },
totint:"", // 偿还利息总额 .trtmod.finmod.cbs.totint totint: "", // 偿还利息总额 .trtmod.finmod.cbs.totint
}, },
acttyp:"", // 第三方还款方式 .trtmod.finmod.acttyp acttyp: "", // 第三方还款方式 .trtmod.finmod.acttyp
act3:"", // 第三方还款账号 .trtmod.finmod.act3 act3: "", // 第三方还款账号 .trtmod.finmod.act3
intprd:"", // 计息周期 .trtmod.finmod.intprd intprd: "", // 计息周期 .trtmod.finmod.intprd
}, },
}, },
setamt:"", // Settlement Amount .setamt setamt: "", // Settlement Amount .setamt
setact:"", // Settlement Account .setact setact: "", // Settlement Account .setact
clsflg:"", // 抹�'� .clsflg clsflg: "", // 抹�'� .clsflg
setact1:"", // 我行借记�'�户 .setact1 setact1: "", // 我行借记�'�户 .setact1
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv, liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
pageId: "", // ctx的key pageId: "", // ctx的key
trtfipl1blk:"", trtfipl1blk: "",
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess";
import commonProcess from "~/mixin/commonProcess"; import event from "../event";
import Event from "~/model/Bptcan/Event"; import Coninfp from "~/views/Public/Coninfp";
import Coninfp from "~/views/Public/Coninfp";
export default {
export default { components: {
components: { "m-coninfp": Coninfp,
"m-coninfp": Coninfp, },
}, inject: ["root"],
inject: ["root"], props: ["model", "codes"],
props: ["model", "codes"], mixins: [commonProcess, event],
mixins: [commonProcess], data() {
data() { return {
return { activeNames: ["coninfp"],
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
}; };
</script>
},
<style> methods: {},
</style> created: function () {
},
};
</script>
<style>
</style>
\ No newline at end of file
...@@ -26,13 +26,11 @@ ...@@ -26,13 +26,11 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf"
/> />
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onWrkpDet"
icon="el-icon-info" icon="el-icon-info"
> >
...@@ -87,7 +85,6 @@ ...@@ -87,7 +85,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onLimptsGet1"
:disabled = "true" :disabled = "true"
> >
</c-button> </c-button>
...@@ -137,13 +134,11 @@ ...@@ -137,13 +134,11 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf"
/> />
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onOthpDet"
icon="el-icon-info" icon="el-icon-info"
> >
...@@ -197,7 +192,6 @@ ...@@ -197,7 +192,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onLimptsGet2"
> >
</c-button> </c-button>
</template> </template>
...@@ -262,7 +256,7 @@ ...@@ -262,7 +256,7 @@
</c-col> </c-col>
<c-col :span="24" style="text-align: right"> <c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal"> <c-button size="small" type="primary">
试算 试算
</c-button> </c-button>
</c-col> </c-col>
...@@ -331,15 +325,13 @@ ...@@ -331,15 +325,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event"; import event from '../event'
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess,event],
data() { data() {
return { return {
tableData: {}, tableData: {},
...@@ -347,40 +339,6 @@ export default { ...@@ -347,40 +339,6 @@ export default {
}; };
}, },
methods: { methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
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: "服务请求失败!",
});
}
},
nonrevflg1Change() { nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") { if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = ""; this.model.liaall.limmod.limpts.pfcod1 = "";
...@@ -391,39 +349,7 @@ export default { ...@@ -391,39 +349,7 @@ export default {
this.model.liaall.limmod.limpts.pfcod2 = ""; this.model.liaall.limmod.limpts.pfcod2 = "";
} }
}, },
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
show(){ show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[]; let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[]; let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
......
<!-- <el-tab-pane label="统一授信" name="shisuan,limitbody">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="试算结果" name="shisuan">
试算结果
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="统一授信" name="limitbody">
统一授信
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane> -->
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-content> <c-content>
...@@ -32,7 +15,6 @@ ...@@ -32,7 +15,6 @@
</div> </div>
</template> </template>
<script> <script>
// import Limitbody from '~/views/Public/Limitbody';
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import Limitbody from "./Limitbody"; import Limitbody from "./Limitbody";
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="还款" name="ovwp1"> <el-collapse-item title="还款" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" /> <m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -9,10 +8,8 @@ ...@@ -9,10 +8,8 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import event from "../event";
import Event from "~/model/Trtame/Event";
import Ovwp1 from "./Ovwp1"; import Ovwp1 from "./Ovwp1";
export default { export default {
...@@ -21,18 +18,15 @@ export default { ...@@ -21,18 +18,15 @@ export default {
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess,event],
data() { data() {
return { return {
activeNames: ["ovwp1"], activeNames: ["ovwp1"],
}; };
}, },
methods: { methods: {},
...Event,
},
created: function () {}, created: function () {},
computed: { computed: {},
},
}; };
</script> </script>
<style> <style>
......
...@@ -568,57 +568,20 @@ ...@@ -568,57 +568,20 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import event from "../event";
import Event from "~/model/Trtset/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess,event],
data() { data() {
return { return {
flag1:true, flag1:true,
flag2:false flag2:false
}; };
}, },
methods: { methods: {},
...Event,
// checkDate(date) {
// var d = new Date().getDate();
// var m = new Date().getMonth();
// var y = new Date().getFullYear();
// var dd = new Date(this.model.trdgrp.rec.stttendat).getDate();
// var mm = new Date(this.model.trdgrp.rec.stttendat).getMonth();
// var yy = new Date(this.model.trdgrp.rec.stttendat).getFullYear();
// if (d != dd || m != mm || y != yy) {
// return true;
// } else {
// return false;
// }
// },
// change(a){
// this.executeRule("clsflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// if (a = 'X'){
// this.model.trtmod.finmod.reptyp = "1"
// if(this.flag1 == true){
// this.flag1 = false
// this.model.mtabut.clsflg = "C"
// }
// }
// },
// selChange(b){
// if(b == '2'||this.flag2 == false){
// this.model.mtabut.clsflg = 'O'
// this.flag1 = true
// }
// },
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="24"> <div class="e-table-wrapper">
<div class="e-table-wrapper"> <el-table
<el-table :data="model.liaall.limmod.limpfp.clmcbe"
:data="model.liaall.limmod.limpfp.clmcbe" style="width: 100%"
style="width: 100%" >
> <el-table-column
<el-table-column prop="limtyp"
prop="limtyp" label="限制类型"
label="限制类型" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="cur"
prop="cur" label="业务币种"
label="业务币种" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="cbeamt"
prop="cbeamt" label="业务发生额"
label="业务发生额" sortable
sortable width="120">
width="120"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="reqtyp1"
prop="reqtyp1" label="Req.Typel"
label="Req.Typel" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="limcbeamt"
prop="limcbeamt" label="额度发生额"
label="额度发生额" sortable
sortable width="120">
width="120"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="reqtyp2"
prop="reqtyp2" label="Req.Type2"
label="Req.Type2" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="ckcbeamt"
prop="ckcbeamt" label="敞口发生额"
label="敞口发生额" sortable
sortable width="120">
width="120"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="credat"
prop="credat" label="额度日期"
label="额度日期" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="ptyextkey"
prop="ptyextkey" label="客户编号"
label="客户编号" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="ptynam"
prop="ptynam" label="客户名称"
label="客户名称" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="ownref"
prop="ownref" label="业务编号"
label="业务编号" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="ccvbl"
prop="ccvbl" label="合同保证金比例"
label="合同保证金比例" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="limvar"
prop="limvar" label="额度类型"
label="额度类型" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgzylimref"
prop="dgzylimref" label="额度编号"
label="额度编号" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> </el-table>
</el-table> <el-pagination
<el-pagination layout="prev, pager, next"
layout="prev, pager, next" :total="1">
:total="1"> </el-pagination>
</el-pagination> </div>
</div> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="24"> <div class="e-table-wrapper">
<div class="e-table-wrapper"> <el-table
<el-table :data="model.liaall.limmod.limpfp.clmcbb"
:data="model.liaall.limmod.limpfp.clmcbb" style="width: 100%"
style="width: 100%" >
> <el-table-column
<el-table-column prop="dgzylimvar"
prop="dgzylimvar" label="额度品种"
label="额度品种" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzhamt"
prop="tzhamt" label="调整后业务余额"
label="调整后业务余额" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzhccv"
prop="tzhccv" label="调整后保证金比例"
label="调整后保证金比例" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzhlimamt"
prop="tzhlimamt" label="调整后拟占用额度"
label="调整后拟占用额度" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzhlimck"
prop="tzhlimck" label="调整后拟占用敞口"
label="调整后拟占用敞口" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzqamt"
prop="tzqamt" label="调整前业务余额"
label="调整前业务余额" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzqccv"
prop="tzqccv" label="调整后保证金比例"
label="调整后保证金比例" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzqlimamt"
prop="tzqlimamt" label="调整前已占用额度"
label="调整前已占用额度" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="tzqlimck"
prop="tzqlimck" label="调整前已占用敞口"
label="调整前已占用敞口" sortable
sortable width="140">
width="140"> </el-table-column>
</el-table-column> </el-table>
</el-table> <el-pagination
<el-pagination layout="prev, pager, next"
layout="prev, pager, next" :total="1">
:total="1"> </el-pagination>
</el-pagination> </div>
</div> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="24"> <div class="e-table-wrapper">
<div class="e-table-wrapper"> <el-table
<el-table :data="model.liaall.limmod.limpfp.clmpty"
:data="model.liaall.limmod.limpfp.clmpty" style="width: 100%"
style="width: 100%" >
> <el-table-column
<el-table-column prop="limvar"
prop="limvar" label="额度类型"
label="额度类型" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgzylimvar"
prop="dgzylimvar" label="额度品种"
label="额度品种" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dglimcur"
prop="dglimcur" label="额度币种"
label="额度币种" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgsxlimamt"
prop="dgsxlimamt" label="授信额度"
label="授信额度" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgyylimamt"
prop="dgyylimamt" label="已用额度"
label="已用额度" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgkylimamt"
prop="dgkylimamt" label="可用额度"
label="可用额度" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgcklimamt"
prop="dgcklimamt" label="授信敞口"
label="授信敞口" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgyylimck"
prop="dgyylimck" label="已用敞口"
label="已用敞口" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgkylimck"
prop="dgkylimck" label="可用敞口"
label="可用敞口" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dghfxh"
prop="dghfxh" label="恢复序号"
label="恢复序号" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgzylimref"
prop="dgzylimref" label="额度编号"
label="额度编号" sortable
sortable width="100">
width="100"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgzyliminfref"
prop="dgzyliminfref" label="额度明细编号"
label="额度明细编号" sortable
sortable width="130">
width="130"> </el-table-column>
</el-table-column> <el-table-column
<el-table-column prop="dgccvbl"
prop="dgccvbl" label="保证金比例"
label="保证金比例" sortable
sortable width="120">
width="120"> </el-table-column>
</el-table-column> </el-table>
</el-table> <el-pagination
<el-pagination layout="prev, pager, next"
layout="prev, pager, next" :total="1">
:total="1"> </el-pagination>
</el-pagination> </div>
</div> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import event from "../event"
import Event from "~/model/Trtset/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess, event],
data(){ data() {
return { return {}
},
} methods: {},
}, created: function () {
methods:{...Event},
created:function(){
} }
} }
</script> </script>
<style> <style>
......
...@@ -2,31 +2,31 @@ ...@@ -2,31 +2,31 @@
<div class="eContainer"> <div class="eContainer">
<c-page title="进口融资还款"> <c-page title="进口融资还款">
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="120px" label-width="120px"
label-position="right" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--trtset PD000015 Settle --> <!--trtset PD000015 Settle -->
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--limmod PD000001 统一授信 --> <!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody,shisuan"> <el-tab-pane label="统一授信" name="limitbody,shisuan">
<c-content> <c-content>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse > <el-collapse>
<el-collapse-item title="统一授信" name="limitbody"> <el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan"> <el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" /> <m-shisuan :model="model" :codes="codes"/>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
...@@ -36,41 +36,42 @@ ...@@ -36,41 +36,42 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes" /> <m-setmod :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glentry"> <el-tab-pane label="会计分录" name="glentry">
<c-content> <c-content>
<!-- 会计分录 --> <!-- 会计分录 -->
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes"/>
</c-content>'m-glentry': Glentry, </c-content>
<!-- 'm-glentry': Glentry,-->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb"> <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages --> <!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments --> <!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件信息" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--limmod PD001139 试算结果 --> <!--limmod PD001139 试算结果 -->
...@@ -79,14 +80,14 @@ ...@@ -79,14 +80,14 @@
<m-shisuan :model="model" :codes="codes" /> <m-shisuan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :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>
...@@ -100,7 +101,6 @@ ...@@ -100,7 +101,6 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Trtset from "../model"; import Trtset from "../model";
...@@ -110,6 +110,7 @@ import operationFunc from "~/mixin/operationFunc"; ...@@ -110,6 +110,7 @@ import operationFunc from "~/mixin/operationFunc";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import Addbcb from "./Addbcb"; import Addbcb from "./Addbcb";
import formRules from '../model/check'
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views"; import Engp from "~/components/business/engp/views";
...@@ -138,40 +139,20 @@ export default { ...@@ -138,40 +139,20 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "trtset", trnName: "trtset",
model: new Trtset().data, model: new Trtset().data,
rules: null, rules: formRules,
codes: { ...CodeTable }, codes: {...CodeTable},
activeNames: ["engp"], activeNames: ["engp"],
// activeNames1: ["limitbody"],
}; };
}, },
methods: { methods: {},
myTabClick(tab) { created: {},
this.tabClick(tab); mounted() {
/**
* do it yourself
**/
},
},
created: async function () {
// console.log("进入trtset交易");
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data);
// //TODO 处理数据逻辑
// if (this.isInDisplay) {
// this.restoreDisplay();
// }
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
mounted () {
this.init() this.init()
}, },
}; };
......
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