Commit 80effcb5 by 罗承锋

修改按钮配置错误问题

parent da72affe
......@@ -312,8 +312,8 @@
]
},{
title: '优惠购机',
value: 'yhgj',
key: 'yhgj',
value: 'isShowyhgj',
key: 'isShowyhgj',
}
],
},
......@@ -653,8 +653,8 @@
if (data.jiltKdy == 1) {
buttons.push({label: "是否甩单", value: "jiltKdy"});
}
if (data.yhgj == 1) {
buttons.push({label: "优惠购机", value: "yhgj"});
if (data.isShowyhgj == 1) {
buttons.push({label: "优惠购机", value: "isShowyhgj"});
}
if (data.udBtn == 1) {
buttons.push({label: "线上线下", value: "udBtn"});
......@@ -719,6 +719,7 @@
this.modifyForm.jiltKd = (this.modifyForm.buttons.indexOf("jiltKd") > -1) ? 1 : 0;
this.modifyForm.kdyBtn = (this.modifyForm.buttons.indexOf("kdyBtn") > -1) ? 1 : 0;
this.modifyForm.jiltKdy = (this.modifyForm.buttons.indexOf("jiltKdy") > -1) ? 1 : 0;
this.modifyForm.status = (this.modifyForm.buttons.indexOf("status") > -1) ? 1 : 0;
this.modifyForm.isShowyhgj = (this.modifyForm.buttons.indexOf("isShowyhgj") > -1) ? 1 : 0;
this.modifyForm.udBtn = (this.modifyForm.buttons.indexOf("udBtn") > -1) ? 1 : 0;
......
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