lilei 3 år sedan
förälder
incheckning
534b03cbc4
3 ändrade filer med 8 tillägg och 2 borttagningar
  1. 1 1
      public/version.json
  2. 3 0
      src/views/common/productBrand.js
  3. 4 1
      src/views/common/productType.js

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1653901671682
+  "version": 1653902032556
 }

+ 3 - 0
src/views/common/productBrand.js

@@ -68,6 +68,9 @@ const ProductBrand = {
       if(this.tenantId!="NONE"){
         params.tenantId = this.tenantId
       }
+      if(this.tenantId=="NONE"){
+        params.sysFlag = '1'
+      }
       dealerProductBrandQuery(params).then(res => {
         if (res.status == 200) {
           this.productBrandList = res.data

+ 4 - 1
src/views/common/productType.js

@@ -55,12 +55,15 @@ const ProductType = {
       this.defaultVal = value
       this.$emit('change', this.defaultVal)
     },
-    //  产品分类列表
+    //  产品分类列表 sysFlag: 1 箭冠 0 自建
     getProductType () {
       const params = {}
       if(this.tenantId!="NONE"){
         params.tenantId = this.tenantId
       }
+      if(this.tenantId=="NONE"){
+        params.sysFlag = '1'
+      }
       if(this.isDealer){
         dealerProductTypeList(params).then(res => {
           if (res.status == 200) {