Commit 3aee11cf by panziyi

bctrad修改

parent 88b78a15
......@@ -34,19 +34,28 @@ export default {
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction,
"bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :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.inflev" :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处理
......@@ -334,4 +334,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{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 @@
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input
type="textarea"
disabled
:rows="4"
v-model="model.bcdgrp.blk.bcgdet"
maxlength="45"
......
......@@ -37,6 +37,10 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
......@@ -74,7 +78,7 @@
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Glepan from "~/views/Public/Glepan"
export default {
name: "Bctrad",
......@@ -87,6 +91,7 @@
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-glepan": Glepan
},
provide() {
return {
......@@ -109,7 +114,30 @@
}
},
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 () {
console.log("进入bctrad交易");
......
......@@ -227,7 +227,7 @@
</el-form-item>
</c-col>
<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
>
</c-col>
......@@ -279,8 +279,7 @@
<c-select
v-model="model.trnmod.cmtflg"
style="width: 100%"
placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'"
placeholder=""
>
<el-option
v-for="item in codes.cmtflg"
......@@ -376,6 +375,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
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 () {},
};
......
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