Commit 60136777 by nanrui

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

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