增加仓库和角色类型的数据权限控制
This commit is contained in:
@@ -135,12 +135,9 @@
|
||||
methods: {
|
||||
getSystemConfig() {
|
||||
getCurrentSystemConfig().then((res) => {
|
||||
if(res.code === 200){
|
||||
let systemConfig = res.data
|
||||
this.depotFlag = systemConfig.depotFlag
|
||||
this.customerFlag = systemConfig.customerFlag
|
||||
} else {
|
||||
this.$message.warning(res.data);
|
||||
if(res.code === 200 && res.data){
|
||||
this.depotFlag = res.data.depotFlag
|
||||
this.customerFlag = res.data.customerFlag
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
visible: false,
|
||||
model: {},
|
||||
checked: false,
|
||||
disableMixinCreated: true,
|
||||
confirmLoading: false,
|
||||
form: this.$form.createForm(this),
|
||||
/* 数据源 */
|
||||
|
||||
Reference in New Issue
Block a user