供应商角色与内部角色错乱问题

ywj_dev
anthonywj 2 years ago
parent ed3dfd096c
commit 6eaebd3e92

@ -213,7 +213,6 @@
</el-tab-pane>
</el-tabs>
<!-- 添加或修改角色配置对话框 -->
@ -623,7 +622,6 @@ export default {
this.reset();
this.getMenuTreeselect();
this.open = true;
this.form.isCustomer=0;
this.title = "角色管理-新增";
},
/** 修改按钮操作 */
@ -680,11 +678,13 @@ export default {
// return
// }
debugger
if(this.form.isCustomer == null){
if (this.userStatus == 0) {
this.form.isCustomer = 0;
} else {
this.form.isCustomer = 1;
}
}
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.roleId != undefined) {

Loading…
Cancel
Save