Commit 3aee11cf by panziyi

bctrad修改

parent 88b78a15
...@@ -34,19 +34,28 @@ export default { ...@@ -34,19 +34,28 @@ export default {
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction, "bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction, "bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction, "bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction, "bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction, "bcdgrp.co2.namelc" :Utils.defaultFunction,
"bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction, "bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction, "bcdgrp.rmi.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,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction, "bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction, "bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :Utils.defaultFunction, "bcdgrp.cbs.max.cur" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction, "bcdgrp.rec.ownref" :Utils.defaultFunction,
"bcdgrp.co2.pts.adrblk" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -334,4 +334,8 @@ export default { ...@@ -334,4 +334,8 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
...@@ -262,7 +262,6 @@ ...@@ -262,7 +262,6 @@
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet"> <el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input <c-input
type="textarea" type="textarea"
disabled
:rows="4" :rows="4"
v-model="model.bcdgrp.blk.bcgdet" v-model="model.bcdgrp.blk.bcgdet"
maxlength="45" maxlength="45"
......
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion --> <!--Completion -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
...@@ -74,7 +78,7 @@ ...@@ -74,7 +78,7 @@
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 Glepan from "~/views/Public/Glepan"
export default { export default {
name: "Bctrad", name: "Bctrad",
...@@ -87,6 +91,7 @@ ...@@ -87,6 +91,7 @@
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-glepan": Glepan
}, },
provide() { provide() {
return { return {
...@@ -109,7 +114,30 @@ ...@@ -109,7 +114,30 @@
} }
}, },
methods: { methods: {
tabClick() {} tabClick(tab) {
if (this.isInDisplay) {
return
}
const name = tab.name
let rulePath;
if (name === "setpan") {
rulePath = "setmod.setpan";
}
if (name === "glepan") {
rulePath = "setmod.glemod.glepan";
}
if (name === "docpan") {
rulePath = "trnmod.trndoc.docpan"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}
}, },
created: async function () { created: async function () {
console.log("进入bctrad交易"); console.log("进入bctrad交易");
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak"> <c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox v-model="model.bcdgrp.rec.focflg" <c-checkbox v-model="model.bcdgrp.rec.focflg" @change="focflgChange"
>Free of Payment</c-checkbox >Free of Payment</c-checkbox
> >
</c-col> </c-col>
...@@ -280,7 +280,6 @@ ...@@ -280,7 +280,6 @@
v-model="model.trnmod.cmtflg" v-model="model.trnmod.cmtflg"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
v-for="item in codes.cmtflg" v-for="item in codes.cmtflg"
...@@ -376,6 +375,7 @@ import Api from "~/service/Api"; ...@@ -376,6 +375,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event"; import Event from "~/model/Bctset/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre"; import Docpre from "~/views/Public/Docpre";
export default { export default {
...@@ -466,6 +466,13 @@ export default { ...@@ -466,6 +466,13 @@ export default {
} }
} }
}, },
async focflgChange() {
let rtnmsg = await this.executeDefault("bcdgrp.rec.focflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
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