Commit f7038188 by “yanyuxin”

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

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