Commit f7038188 by “yanyuxin”

Booking页面添加,trtopn定价系统页面添加

parent 165d8b82
......@@ -30,6 +30,7 @@ let checkObj = {
"trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null,
"trtmod.finmod.ratchgdat" :null,
"trtfipl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -31,6 +31,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
......@@ -45,5 +46,6 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -330,4 +330,8 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -96,7 +96,8 @@ export default class Trtame{
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key
pageId: "", // ctx的key
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -23,6 +23,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
......@@ -252,4 +252,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -71,7 +71,8 @@ export default class Trtcan{
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
pageId: "" // ctx的key
pageId: "", // ctx的key
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -8,6 +8,7 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"dftcre.dfdgrp.rec.matdat" :null,
"trtmod.finmod.dinmod.chapdm" :null,
"liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null,
"dftcre.dfdgrp.rec.resamt" :null,
......@@ -15,12 +16,14 @@ let checkObj = {
"dftcre.dfdgrp.apl.namelc" :null,
"trdgrp.rec.stttendat" :null,
"liaall.limmod.ecifno" :null,
"trtmod.finmod.dinmod.shpjgh" :null,
"dftcre.dfdgrp.rec.bankcn" :null,
"dftcre.dfdgrp.cbs.max.cur" :null,
"dftcre.dfdgrp.cbs.max.amt" :null,
"trdgrp.rec.actrat" :null,
"cfatrt.cfaflg" :null,
"trdgrp.rec.invtyp" :null,
"cfatrt.cfaflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null,
"trtp.usr.extkey" :null,
"cfadft.cfaflg" :null,
......@@ -38,6 +41,7 @@ let checkObj = {
"trtmod.finmod.dinmod.rmbsbs" :null,
"trtmod.finmod.dinjdm" :null,
"trtmod.finmod.ratchgtyp" :null,
"trdgrp.rec.oppacc" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null,
"trdgrp.rec.oppacc" :null,
"trdgrp.rec.stagod" :null,
......@@ -51,6 +55,7 @@ let checkObj = {
"trdgrp.cbs.max.amt" :null,
"trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.ockhdm" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null,
"trdgrp.fip.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
......@@ -64,12 +69,15 @@ let checkObj = {
"trtmod.finmod.ovdinttyp" :null,
"dftcre.dfdgrp.rec.stttendat" :null,
"mtabut.coninf.conexedat" :null,
"trtmod.finmod.dinmod.hxkhdm" :null,
"trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trdgrp.cbs.max.cur" :null,
"trdgrp.rec.mycontno" :null,
"trdgrp.cbs.max.cur" :null,
"trdgrp.fip.pts.extkey" :null,
"cfadft.ownextkey" :null,
"trtmod.finmod.dinmod.shpijg" :null,
"trdgrp.fip.namelc" :null,
"cfatrt.cda.cfeogudcurr" :null,
"setmod.docamt" :null,
......@@ -79,13 +87,13 @@ let checkObj = {
"trtp.act" :null,
"trdgrp.rec.issdat" :null,
"trtmod.finmod.intdat" :null,
"trdgrp.rec.issdat" :null,
"dftcre.dfdgrp.dff.adrelc" :null,
"trdgrp.rec.tenday" :null,
"trtmod.finmod.ratchgdat" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null,
// "trdgrp.rec.sndto" :null,
}
for (const key in checkObj) {
......
......@@ -58,6 +58,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"trdgrp.fip.pts.adrblk" :Utils.defaultFunction,
"trtmod.finmod.accbch" :Utils.defaultFunction,
......
......@@ -2,214 +2,281 @@ import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTrtpButgetref() {
let rtnmsg = await this.executeRule("trtp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$message({
type: "success",
message: "获取成功!",
});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFippDet() {
let rtnmsg = await this.executeRule("fipp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFinmodButget() {
let rtnmsg = await this.executeRule("finmod.butget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onFinmodButcal() {
let rtnmsg = await this.executeRule("finmod.butcal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onCodselSelbut() {
let rtnmsg = await this.executeRule("codsel.selbut");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDinmodDget() {
let rtnmsg = await this.executeRule("dinmod.dget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDftpButgetref() {
let rtnmsg = await this.executeRule("dftp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$message({
type: "success",
message: "获取成功!",
});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onDffpDet() {
let rtnmsg = await this.executeRule("dffp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
onSeainf() {},
async onExtkey(e) {},
/**
* 计算两个日期相差的天数
* sDate1和sDate2是2006-12-18格式
*/
async DateDiff(sDate1, sDate2) {
var aDate, oDate1, oDate2, iDays;
aDate = sDate1.split("-");
oDate1 = new Date(aDate[0], aDate[1], aDate[2]); //转换为12-18-2006格式
aDate = sDate2.split("-");
oDate2 = new Date(aDate[0], aDate[1], aDate[2]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
return iDays;
},
async OperatePanel() {},
};
async onTrtpButgetref() {
let rtnmsg = await this.executeRule("trtp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$message({
type: "success",
message: "获取成功!",
});
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onFippDet() {
let rtnmsg = await this.executeRule("fipp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onFinmodButget() {
let rtnmsg = await this.executeRule("finmod.butget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onFinmodButcal() {
let rtnmsg = await this.executeRule("finmod.butcal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onCodselSelbut() {
let rtnmsg = await this.executeRule("codsel.selbut");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onDinmodDget() {
let rtnmsg = await this.executeRule("dinmod.dget");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onDftpButgetref() {
let rtnmsg = await this.executeRule("dftp.butgetref");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onDffpDet() {
let rtnmsg = await this.executeRule("dffp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
onSeainf(data) {
this.$emit("onSeainf", data);
},
async onExtkey(e) {},
/**
* 计算两个日期相差的天数
* sDate1和sDate2是2006-12-18格式
*/
async DateDiff(sDate1, sDate2) {
var aDate, oDate1, oDate2, iDays;
aDate = sDate1.split("-");
oDate1 = new Date(aDate[0], aDate[1], aDate[2]); //转换为12-18-2006格式
aDate = sDate2.split("-");
oDate2 = new Date(aDate[0], aDate[1], aDate[2]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
return iDays;
},
async OperatePanel() {},
};
\ No newline at end of file
......@@ -215,6 +215,151 @@ export default {
"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"}
],
"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"}
],
"trtmod.finmod.dinmod.dinjdm":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.dinjls":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trtmod.finmod.dinmod.ockhdm":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.hxkhdm":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.sxpfdm":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trtmod.finmod.dinmod.djhtno":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trtmod.finmod.dinmod.sxlexi":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.spzhta":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.chapdm":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.chapmc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trtmod.finmod.dinmod.dakaje":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trtmod.finmod.dinmod.shuilv":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.maxdje":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trtmod.finmod.dinmod.shpjgh":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"trtmod.finmod.dinmod.mindje":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trtmod.finmod.dinmod.shpdch":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"trtmod.finmod.dinmod.bizhog":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"trtmod.finmod.dinmod.shpijg":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trtmod.finmod.dinmod.dakaqx":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.spjgdc":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"trtmod.finmod.dinmod.maxqix":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.dinjlb":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"trtmod.finmod.dinmod.minqix":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.sheplb":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"trtmod.finmod.dinmod.qixndw":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"trtmod.finmod.dinmod.libor":[
{type: "string", required: false, message: "必输项"},
{max: 26,message:"长度不能超过26"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"dftcre.dfdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -366,31 +511,64 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"financ.acc":[
"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: 40,message:"长度不能超过40"}
{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位" }
],
"financ.ref2":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"financ.ref5":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"financ.ref3":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"financ.ref4":[
"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: 20,message:"长度不能超过20"}
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
......@@ -399,16 +577,38 @@ export default {
"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"}
],
"financ.acc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cfatrt.cda.cfeogudamount":[
"financ.ref2":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
{max: 20,message:"长度不能超过20"}
],
"cfatrt.cda.cfeogudad":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
"financ.ref5":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"financ.ref3":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"financ.ref4":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
......@@ -479,14 +679,6 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
......@@ -496,96 +688,14 @@ export default {
"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"}
],
"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":[
"cfatrt.cda.cfeogudamount":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
{max: 22,message:"长度不能超过22"}
],
"mtabut.coninf.oitset.oit.inftxt":[
"cfatrt.cda.cfeogudad":[
{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"}
],
"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"}
],
"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位" }
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
......@@ -25,7 +25,7 @@ export default class Trtopn{
trntyp:"", // 交易性质 .trdgrp.rec.trntyp
oppacc:"", // 对方账号 .trdgrp.rec.oppacc
flowflag:"", // 是否定向收付 .trdgrp.rec.flowflag
invtyp:"", // 发票类型 .trdgrp.rec.invtyp
invtyp:"", // 审批流程发起标识 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
branchinr:"",
......@@ -136,6 +136,34 @@ export default class Trtopn{
dinmod:{
jzllgz:"", // 基准利率规则 .trtmod.finmod.dinmod.jzllgz
rmbsbs:"", // 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs
dinjdm:"", // 定价审批代码 .trtmod.finmod.dinmod.dinjdm
dinjls:"", // 定价流水号 .trtmod.finmod.dinmod.dinjls
ockhdm:"", // OC客户代码 .trtmod.finmod.dinmod.ockhdm
hxkhdm:"", // 核心客户代码 .trtmod.finmod.dinmod.hxkhdm
sxpfdm:"", // 授信批复代码 .trtmod.finmod.dinmod.sxpfdm
djhtno:"", // 合同号 .trtmod.finmod.dinmod.djhtno
sxlexi:"", // 授信类型 .trtmod.finmod.dinmod.sxlexi
spzhta:"", // 审批状态 .trtmod.finmod.dinmod.spzhta
chapdm:"", // 产品代码 .trtmod.finmod.dinmod.chapdm
shpijg:"", // 审批价格(不含税) .trtmod.finmod.dinmod.shpijg
dakaje:"", // 贷款金额 .trtmod.finmod.dinmod.dakaje
bizhog:"", // 币种 .trtmod.finmod.dinmod.bizhog
dakaqx:"", // 贷款期限 .trtmod.finmod.dinmod.dakaqx
qixndw:"", // 期限单位 .trtmod.finmod.dinmod.qixndw
maxqix:"", // 最大贷款期限 .trtmod.finmod.dinmod.maxqix
minqix:"", // 最小贷款期限 .trtmod.finmod.dinmod.minqix
maxdje:"", // 最大贷款金额 .trtmod.finmod.dinmod.maxdje
mindje:"", // 最小贷款金额 .trtmod.finmod.dinmod.mindje
chapmc:"", // 产品名称 .trtmod.finmod.dinmod.chapmc
spjgdc:"", // 审批价格点差(不含税) .trtmod.finmod.dinmod.spjgdc
sheplb:"", // 审批LIBOR .trtmod.finmod.dinmod.sheplb
libor:"", // 最新LIBOR .trtmod.finmod.dinmod.libor
dinjlb:"", // 定价LIBOR .trtmod.finmod.dinmod.dinjlb
ndjgbs:"", // 拟定价格标识 .trtmod.finmod.dinmod.ndjgbs
shpdch:"", // 审批价格点差(含税) .trtmod.finmod.dinmod.shpdch
shpjgh:"", // 审批价格(含税) .trtmod.finmod.dinmod.shpjgh
shuilv:"", // 增值税税率 .trtmod.finmod.dinmod.shuilv
lprtyp:"", // 市场LPR期限品种 .trtmod.finmod.dinmod.lprtyp
},
},
},
......@@ -250,6 +278,7 @@ export default class Trtopn{
setmod: new Pub().data.Setmod,
pageId: "", // ctx的key
roldsc: "",
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -37,6 +37,8 @@ let checkObj = {
"trdgrp.rmb.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
"trtissl1blk" :null,
"trtrmbl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -49,6 +49,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......@@ -62,5 +63,7 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trdgrp.rec.pntnam" :Utils.defaultFunction,
"trtissl1blk" :Utils.defaultFunction,
"trtrmbl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -97,7 +97,7 @@ export default {
{max: 21,message:"长度不能超过21"}
],
"trnmod.trndoc.nar754":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.tenstm":[
......@@ -443,4 +443,8 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -144,7 +144,9 @@ export default class Trtrcl{
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
pageId: "" // ctx的key
pageId: "", // ctx的key
trtissl1blk:"",
trtrmbl1blk:"",
}
}
}
\ No newline at end of file
......@@ -21,7 +21,8 @@ let checkObj = {
"mtabut.clsflg" :null,
"pager.liaall_limmod_limpfp_clmcbe.total" :null,
"pager.liaall_limmod_limpfp_clmpty.total" :null,
"pager.liaall_limmod_limpfp_clmcbb.total" :null,
"pager.liaall_limmod_limpfp_clmcbb.total" :null,
"trtfipl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -35,6 +35,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......@@ -49,5 +50,6 @@ export default {
"trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -245,6 +245,10 @@ export default {
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
......
......@@ -6,7 +6,7 @@ import Pub from "../Public"
export default class Trtset{
constructor () {
this.data = {
this.data = {
trdgrp:{
rec:{
pntref:"", // 父交易参考号 .trdgrp.rec.pntref
......@@ -105,7 +105,7 @@ export default class Trtset{
liaall:new Pub().data.Liaall,
trnmod:new Pub().data.Trnmod,
pageId: "", // ctx的key
trtfipl1blk:"",
// pager:{
// liaall_limmod_limpfp_clmcbe:{
// total:"",
......
<template>
<c-page title="融资开立">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
<c-page title="融资开立">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtame from "~/model/Trtame"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtame from "~/model/Trtame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
import Check from "~/model/Trtame/Check";
import Default from "~/model/Trtame/Default";
import Pattern from "~/model/Trtame/Pattern";
import Ovwp from "./Ovwp"
import Ovwp from "./Ovwp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtame",
components:{
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "trtame",
trnType: "",
model: new Trtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
name: "Trtame",
components: {
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "trtame",
trnType: "",
model: new Trtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtame交易");
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: '服务请求失败!'});
}
},
created: async function () {
console.log("进入trtame交易");
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: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<c-page title="融资业务注销">
<div class="eContainer">
<c-function-btn
<c-page title="融资业务注销">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<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>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtcan from "~/model/Trtcan"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtcan from "~/model/Trtcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtcan/Check"
import Default from "~/model/Trtcan/Default"
import Pattern from "~/model/Trtcan/Pattern"
import Canp from "./Canp"
import Shisuan from "./Shisuan"
import Check from "~/model/Trtcan/Check";
import Default from "~/model/Trtcan/Default";
import Pattern from "~/model/Trtcan/Pattern";
import Canp from "./Canp";
import Shisuan from "./Shisuan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtcan",
components:{
"m-canp" : Canp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "trtcan",
trnType: "",
model: new Trtcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
name: "Trtcan",
components: {
"m-canp": Canp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
trnName: "trtcan",
trnType: "",
model: new Trtcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtcan交易");
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: '服务请求失败!'});
}
},
created: async function () {
console.log("进入trtcan交易");
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: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eibs-tab">
<c-row>
<!--=================顶部================= -->
<c-col :span="24">
<!-- S0000002 : 定价审批代码 -->
<c-col :span="11">
<c-form-item label="定价审批代码" prop="trtmod.finmod.dinmod.dinjdm">
<c-input
v-model="model.trtmod.finmod.dinmod.dinjdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000039 : 审批流程发起标识 -->
<c-col :span="11">
<el-form-item
label="审批流程发起标识"
prop="trtmod.finmod.dinmod.rmbsbs"
>
<c-select
v-model="model.trtmod.finmod.dinmod.rmbsbs"
style="width: 100%"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 定价流水号 -->
<c-col :span="11">
<c-form-item label="定价流水号" prop="trtmod.finmod.dinmod.dinjls">
<c-input
v-model="model.trtmod.finmod.dinmod.dinjls"
maxlength="40"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000042 : 市场LPR期限品种 -->
<c-col :span="11">
<el-form-item
label="市场LPR期限品种"
prop="trtmod.finmod.dinmod.lprtyp"
>
<c-select
v-model="model.trtmod.finmod.dinmod.lprtyp"
style="width: 100%"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--=================中部================= -->
<c-col :span="15">
<!-- S0000004 : OC客户代码 -->
<c-col :span="24">
<c-form-item label="OC客户代码" prop="trtmod.finmod.dinmod.ockhdm">
<c-input
v-model="model.trtmod.finmod.dinmod.ockhdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 核心客户代码 -->
<c-col :span="24">
<c-form-item label="核心客户代码" prop="trtmod.finmod.dinmod.hxkhdm">
<c-input
v-model="model.trtmod.finmod.dinmod.hxkhdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : 授信批复代码 -->
<c-col :span="24">
<c-form-item label="授信批复代码" prop="trtmod.finmod.dinmod.sxpfdm">
<c-input
v-model="model.trtmod.finmod.dinmod.sxpfdm"
maxlength="40"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000007 : 合同号 -->
<c-col :span="24">
<c-form-item label="合同号" prop="trtmod.finmod.dinmod.djhtno">
<c-input
v-model="model.trtmod.finmod.dinmod.djhtno"
maxlength="40"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000008 : 授信类型 -->
<c-col :span="24">
<c-form-item label="授信类型" prop="trtmod.finmod.dinmod.sxlexi">
<c-input
v-model="model.trtmod.finmod.dinmod.sxlexi"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : 审批状态 -->
<c-col :span="24">
<c-form-item label="审批状态" prop="trtmod.finmod.dinmod.spzhta">
<c-input
v-model="model.trtmod.finmod.dinmod.spzhta"
maxlength="10"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000010 : 产品代码 -->
<c-col :span="24">
<c-form-item label="产品代码" prop="trtmod.finmod.dinmod.chapdm">
<c-input
v-model="model.trtmod.finmod.dinmod.chapdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000021 : 产品名称 -->
<c-col :span="24">
<c-form-item label="产品名称" prop="trtmod.finmod.dinmod.chapmc">
<c-input
v-model="model.trtmod.finmod.dinmod.chapmc"
maxlength="40"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 拟定价格标识 -->
<c-col :span="24">
<el-form-item label="拟定价格标识" prop="trtmod.finmod.dinmod.ndjgbs">
<c-select
v-model="model.trtmod.finmod.dinmod.ndjgbs"
style="width: 100%"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--=================左下================= -->
<c-col :span="11">
<!-- S0000012 : 贷款金额 -->
<c-col :span="24">
<c-form-item label="贷款金额" prop="trtmod.finmod.dinmod.dakaje">
<c-input
v-model="model.trtmod.finmod.dinmod.dakaje"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 最大贷款金额 -->
<c-col :span="24">
<c-form-item label="最大贷款金额" prop="trtmod.finmod.dinmod.maxdje">
<c-input
v-model="model.trtmod.finmod.dinmod.maxdje"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 最小贷款金额 -->
<c-col :span="24">
<c-form-item label="最小贷款金额" prop="trtmod.finmod.dinmod.mindje">
<c-input
v-model="model.trtmod.finmod.dinmod.mindje"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 最小贷款期限 -->
<c-col :span="12">
<c-form-item label="最小贷款期限" prop="trtmod.finmod.dinmod.minqix">
<c-input
v-model="model.trtmod.finmod.dinmod.minqix"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 币种 -->
<c-col :span="24">
<c-form-item label="币种" prop="trtmod.finmod.dinmod.bizhog">
<c-input
v-model="model.trtmod.finmod.dinmod.bizhog"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 贷款期限 -->
<c-col :span="24">
<c-form-item label="贷款期限" prop="trtmod.finmod.dinmod.dakaqx">
<c-input
v-model="model.trtmod.finmod.dinmod.dakaqx"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000016 : 最大贷款期限 -->
<c-col :span="24">
<c-form-item label="最大贷款期限" prop="trtmod.finmod.dinmod.maxqix">
<c-input
v-model="model.trtmod.finmod.dinmod.maxqix"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 期限单位 -->
<c-col :span="24">
<c-form-item label="期限单位" prop="trtmod.finmod.dinmod.qixndw">
<c-input
v-model="model.trtmod.finmod.dinmod.qixndw"
maxlength="10"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!--=================右下================= -->
<c-col :span="11">
<!-- S0000038 : 增值税税率 -->
<c-col :span="24">
<c-form-item label="增值税税率" prop="trtmod.finmod.dinmod.shuilv">
<c-input
v-model="model.trtmod.finmod.dinmod.shuilv"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000037 : 审批价格(含税) -->
<c-col :span="24">
<c-form-item
label="审批价格(含税)"
prop="trtmod.finmod.dinmod.shpjgh"
>
<c-input
v-model="model.trtmod.finmod.dinmod.shpjgh"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000022 : 审批价格点差(含税) -->
<c-col :span="24">
<c-form-item
label="审批价格点差(含税)"
prop="trtmod.finmod.dinmod.shpdch"
>
<c-input
v-model="model.trtmod.finmod.dinmod.shpdch"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 审批价格(不含税) -->
<c-col :span="24">
<c-form-item
label="审批价格(不含税)"
prop="trtmod.finmod.dinmod.shpijg"
>
<c-input
v-model="model.trtmod.finmod.dinmod.shpijg"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000036 : 审批价格点差(不含税) -->
<c-col :span="24">
<c-form-item
label="审批价格点差(不含税)"
prop="trtmod.finmod.dinmod.spjgdc"
>
<c-input
v-model="model.trtmod.finmod.dinmod.spjgdc"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000025 : 定价LIBOR -->
<c-col :span="24">
<c-form-item label="定价LIBOR" prop="trtmod.finmod.dinmod.dinjlb">
<c-input
v-model="model.trtmod.finmod.dinmod.dinjlb"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000023 : 审批LIBOR -->
<c-col :span="24">
<c-form-item label="审批LIBOR" prop="trtmod.finmod.dinmod.sheplb">
<c-input
v-model="model.trtmod.finmod.dinmod.sheplb"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000024 : 最新LIBOR -->
<c-col :span="24">
<c-form-item label="最新LIBOR" prop="trtmod.finmod.dinmod.libor">
<c-input
v-model="model.trtmod.finmod.dinmod.libor"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style></style>
<template>
<c-page title="融资开立">
<div class="eContainer">
<c-page title="融资开立">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Ovwp PD000026 Financing Details -->
<el-tab-pane label="Financing Details" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!--Ovwp PD000026 Financing Details -->
<el-tab-pane label="Financing Details" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!-- <el-tab-pane
<!-- <el-tab-pane
label="Presentation/Delivery"
name="preperp"
>
......@@ -35,181 +43,191 @@
</c-content>
</el-tab-pane> -->
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="Engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
<m-rzkx :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trtopn PD000304 资本项目 -->
<el-tab-pane label="资本项目" name="cfactlp">
<c-content>
<m-cfactlp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :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>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="Setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />.
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
<el-tab-pane label="费用及账务" name="setpan">
<c-content> <m-setpan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :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>
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
<m-rzkx :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trtopn PD000304 资本项目 -->
<el-tab-pane label="资本项目" name="cfactlp">
<c-content>
<m-cfactlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="定价系统" name="dinpan" v-if="model.trtmod.finmod.dinjdm != ''">
<c-content :height="300">
<m-dinpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Trtopn from "~/model/Trtopn"
import commonProcess from "~/mixin/commonProcess"
import CodeTable from "~/config/CodeTable";
import Trtopn from "~/model/Trtopn";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtopn/Check"
import Default from "~/model/Trtopn/Default"
import Pattern from "~/model/Trtopn/Pattern"
import Check from "~/model/Trtopn/Check";
import Default from "~/model/Trtopn/Default";
import Pattern from "~/model/Trtopn/Pattern";
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp"
import Dftcrep from "./Dftcrep"
import Rzkx from "./Rzkx"
import Cfactlp from "./Cfactlp"
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Ovwp from "./Ovwp";
import Dftcrep from "./Dftcrep";
import Rzkx from "./Rzkx";
import Cfactlp from "./Cfactlp";
import Dinpan from "./Dinpan";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtopn",
components:{
"m-ovwp" : Ovwp,
"m-dftcrep" : Dftcrep,
"m-rzkx" : Rzkx,
"m-cfactlp" : Cfactlp,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-setpan" : Setpan,
"m-engp" : Engp,
},
provide() {
return {
root: this
}
name: "Trtopn",
components: {
"m-ovwp": Ovwp,
"m-dftcrep": Dftcrep,
"m-rzkx": Rzkx,
"m-cfactlp": Cfactlp,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glepan": Glepan,
"m-dinpan": Dinpan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "trtopn",
model: new Trtopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "trtopn",
model: new Trtopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
buildSndto(data) {
var result = [];
for (let i = 0; i < data.length; i++) {
var temp = data[i].split("\t");
let newList = {
value: temp[0],
label: temp[1],
};
result.push(newList);
}
this.sndto = result;
console.log(this.sndto);
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
},
buildSndto(data){
var result = [];
for(let i = 0; i < data.length; i++){
var temp = data[i].split('\t');
let newList = {
value: temp[0],
label: temp[1],
}
result.push(newList);
}
this.sndto = result;
console.log(this.sndto)
},
},
// initPanel(val) {
// if (val) {
// this.tabVal = "ovwp";
// //
// } else {
// this.tabVal = "";
// }
// },
// async updateShowPanel(value) {
// this.showPanel = value;
// this.initPanel(value);
// },
// goBack() {
// this.showPanel = false;
// },
created:async function(){
console.log("进入trtopn交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
console.log(rtnmsg.codeSet['trdgrp.rec.sndto'])
this.buildSndto(rtnmsg.codeSet['trdgrp.rec.sndto'] || []);
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// initPanel(val) {
// if (val) {
// this.tabVal = "ovwp";
// //
// } else {
// this.tabVal = "";
// }
// },
// async updateShowPanel(value) {
// this.showPanel = value;
// this.initPanel(value);
// },
// goBack() {
// this.showPanel = false;
// },
created: async function () {
console.log("进入trtopn交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
console.log(rtnmsg.codeSet["trdgrp.rec.sndto"]);
this.buildSndto(rtnmsg.codeSet["trdgrp.rec.sndto"] || []);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<c-page title="融资索汇">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Claim Reimb" name="rclp">
<c-content :height="300">
<m-rclp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<c-content :height="300">
<m-remp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
<c-page title="融资索汇">
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="Claim Reimb" name="rclp">
<c-content :height="300">
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<c-content :height="300">
<m-remp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtrcl from "~/model/Trtrcl"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtrcl from "~/model/Trtrcl";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtrcl/Check"
import Default from "~/model/Trtrcl/Default"
import Pattern from "~/model/Trtrcl/Pattern"
import Check from "~/model/Trtrcl/Check";
import Default from "~/model/Trtrcl/Default";
import Pattern from "~/model/Trtrcl/Pattern";
import Rclp from "./Rclp"
import Remp from "./Remp"
import Rclp from "./Rclp";
import Remp from "./Remp";
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtrcl",
components:{
"m-rclp" : Rclp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-remp" : Remp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rclp",
trnName: "trtrcl",
trnType: "",
model: new Trtrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
name: "Trtrcl",
components: {
"m-rclp": Rclp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-remp": Remp,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "rclp",
trnName: "trtrcl",
trnType: "",
model: new Trtrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtrcl交易");
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: '服务请求失败!'});
}
},
created: async function () {
console.log("进入trtrcl交易");
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: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eContainer">
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
<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>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtset PD000015 Settle -->
<el-tab-pane label="Settle" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtset PD000015 Settle -->
<el-tab-pane label="Settle" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" 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>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtset from "~/model/Trtset"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtset from "~/model/Trtset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtset/Check"
import Default from "~/model/Trtset/Default"
import Pattern from "~/model/Trtset/Pattern"
import Check from "~/model/Trtset/Check";
import Default from "~/model/Trtset/Default";
import Pattern from "~/model/Trtset/Pattern";
import Ovwp from "./Ovwp"
import Ovwp from "./Ovwp";
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......@@ -66,66 +98,60 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtset",
components:{
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
name: "Trtset",
components: {
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "trtset",
model: new Trtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "trtset",
model: new Trtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* 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: '服务请求失败!'});
}
},
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: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
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