|
|
@ -491,6 +491,7 @@ export default {
|
|
|
|
this.reset();
|
|
|
|
this.reset();
|
|
|
|
this.getMenuTreeselect();
|
|
|
|
this.getMenuTreeselect();
|
|
|
|
this.open = true;
|
|
|
|
this.open = true;
|
|
|
|
|
|
|
|
this.form.isCustomer=0;
|
|
|
|
this.title = "角色管理-新增";
|
|
|
|
this.title = "角色管理-新增";
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
/** 修改按钮操作 */
|
|
|
@ -542,6 +543,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 提交按钮 */
|
|
|
|
/** 提交按钮 */
|
|
|
|
submitForm: function () {
|
|
|
|
submitForm: function () {
|
|
|
|
|
|
|
|
if(this.form.isCustomer == null){
|
|
|
|
|
|
|
|
this.$message("请选择供应商角色")
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|
if (this.form.roleId != undefined) {
|
|
|
|
if (this.form.roleId != undefined) {
|
|
|
|