瀏覽代碼

修改bug

chenrui 2 年之前
父節點
當前提交
2780ce7ef6
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/dealerManagement/businessOwnerSettings/settingsIndex.vue

+ 5 - 0
src/views/dealerManagement/businessOwnerSettings/settingsIndex.vue

@@ -181,6 +181,11 @@ export default {
             _this.$nextTick(() => {
               this.$refs.setCategory.pageInit()
             })
+          } else if (res.data.allDealerFlag == 1 && res.data.allProductFlag == 1 && res.data.allSupplierFlag != 1) {
+            _this.activeKeyVal = '3'
+            _this.$nextTick(() => {
+              this.$refs.setSupplier.pageInit()
+            })
           }
         }
       })