Commit 60136777 by nanrui

infcld按钮组显示bug处理以及cltset,clttra字段验证问题

parent 3fd715f0
...@@ -32,6 +32,7 @@ export default class Cltsel{ ...@@ -32,6 +32,7 @@ export default class Cltsel{
chktyp:"", // Type of Draft .cldgrp.rec.chktyp chktyp:"", // Type of Draft .cldgrp.rec.chktyp
colflg:"", // Payemnt Disposition .cldgrp.rec.colflg colflg:"", // Payemnt Disposition .cldgrp.rec.colflg
inr:"", inr:"",
opndat:"",
}, },
cbs:{ cbs:{
max:{ max:{
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
], ],
"cldgrp.rec.count":[ "cldgrp.rec.count":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], ],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
// {type: "date", required: false, message: "输入正确的日期"} // {type: "date", required: false, message: "输入正确的日期"}
], ],
"cldgrp.rec.count":[ "cldgrp.rec.count":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], ],
} }
\ No newline at end of file
...@@ -54,7 +54,15 @@ ...@@ -54,7 +54,15 @@
amt: { amt: {
required: false, required: false,
default: 0, default: 0,
} },
inr: {
required: false,
default: '',
},
opndat: {
required: false,
default: 0.000,
},
}, },
components: {}, components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
...@@ -100,6 +108,9 @@ ...@@ -100,6 +108,9 @@
this.$nextTick(function () { this.$nextTick(function () {
this.$on("childmethods", async function () { this.$on("childmethods", async function () {
this.model.cldgrp.cbs.opn1.amt = this.amt; this.model.cldgrp.cbs.opn1.amt = this.amt;
this.model.cldgrp.rec.inr = this.inr;
this.model.cldgrp.rec.ownref = this.ownref;
this.model.cldgrp.rec.opndat = this.opndat;
let res = await this.executeRule(`cfgfil.hotreg${this.tabIndex}`); let res = await this.executeRule(`cfgfil.hotreg${this.tabIndex}`);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data); this.updateModel(res.data);
......
...@@ -165,14 +165,14 @@ ...@@ -165,14 +165,14 @@
slot="reference">详情</c-button> slot="reference">详情</c-button>
</el-popover> </el-popover>
<c-button style="margin-left: 0" size="small" type="primary" <c-button style="margin-left: 0" size="small" type="primary"
@click="getButtons(scope.row['Reference'],scope.row['Open Amount'])">处理 @click="getButtons(scope.row['Reference'],scope.row['Open Amount'], scope.row['INR'],scope.row['Opened'])">处理
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" :amt="amt" :model="CltselModel" ownrefPath="cldgrp" trnCode="cltsel" <m-busbtn ref="childs" :ownref="ownref" :amt="amt" :model="CltselModel" ownrefPath="cldgrp" trnCode="cltsel" :inr="inr" :opndat="opndat"
@onChoose="onChoose">11</m-busbtn> @onChoose="onChoose">11</m-busbtn>
...@@ -197,6 +197,8 @@ export default { ...@@ -197,6 +197,8 @@ export default {
data() { data() {
return { return {
amt: '', amt: '',
inr: '',
opndat: '',
CltselModel: new CltselModel().data, CltselModel: new CltselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
...@@ -241,13 +243,13 @@ export default { ...@@ -241,13 +243,13 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async getButtons(ownref,amt) { async getButtons(ownref,amt,inr,opndat) {
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true
this.executeDefault('executeNotify');
this.ownref = ownref this.ownref = ownref
this.amt = amt; this.amt = amt;
this.inr = inr;
this.opndat = opndat;
console.log("ownref:" + ownref); console.log("ownref:" + ownref);
console.log(amt);
}, },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
......
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