Commit fd8945b6 by tianxinyu

bctset隐藏页面没有数据问题

parent 5180698c
......@@ -36,10 +36,12 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -51,10 +53,12 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.drr.pts.ref":[
......@@ -347,7 +351,8 @@ export default {
"bopmod.dbcgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbcgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bopmod.dbcgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
......@@ -420,7 +425,8 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -548,7 +554,8 @@ export default {
"bopmod.dbfgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bopmod.dbfgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
......@@ -616,7 +623,8 @@ export default {
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyout.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"cnybop.cnyout.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
......@@ -629,9 +637,8 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyout.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.sorilevyno":[
{type: "string", required: false, message: "必输项"},
......@@ -1054,7 +1061,8 @@ export default {
],
"trtcre.trdgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trtcre.trdgrp.fip.namelc":[
{type: "string", required: true, message: "必输项"},
......@@ -1123,7 +1131,8 @@ export default {
{max: 10,message:"长度不能超过10"}
],
"trtcre.trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trtcre.trtmod.finmod.fltval":[
......@@ -1131,7 +1140,8 @@ export default {
{max: 12,message:"长度不能超过12"}
],
"trtcre.trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trtcre.trdgrp.rec.intrat":[
......@@ -1348,7 +1358,8 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -1576,14 +1587,16 @@ export default {
],
"dftcre.dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dftcre.dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dftcre.dftp.dffp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -75,6 +75,12 @@ import Cips2 from "./Cips2";
import commonProcess from "@/mixin/commonProcess";
import Event from "@/model/Litopn/Event";
const tabNameToRulePathMapping = {
"basp": "bopmod.dbfp.basp",
"basp1": "bopmod.dbcp.basp",
"outp": "cnybop.outp"
}
export default {
components: {
"m-rzkx": Rzkx,
......@@ -138,9 +144,48 @@ export default {
});
}
},
handleChange(val) {
console.log(val);
}
handleChange(names) {
if (this.isInDisplay) {
return
}
const arr = [];
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "basp") {
rulePath = "bopmod.dbfp.basp";
}
if (name === "basp1") {
rulePath = "bopmod.dbcp.basp";
}
if (name === "outp") {
rulePath = "cnybop.outp";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
watch: {
"model.lidgrp.rec.apprul": {
......
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