Quellcode durchsuchen

修改查询产品类别

zhuliu vor 1 Jahr
Ursprung
Commit
e8bc878416

+ 1 - 1
src/views/pms/product/components/ProductInfoDetail.vue

@@ -156,7 +156,7 @@
           lazy: true,
           lazyLoad(node,resolve){
             if(node.level == 0){
-              that.getProductCateList(null,resolve)
+              that.getProductCateList(0,resolve)
             }else{
               that.getProductCateList(node.data.id,resolve)
             }

+ 1 - 1
src/views/pms/product/index.vue

@@ -246,7 +246,7 @@
           lazy: true,
           lazyLoad(node,resolve){
             if(node.level == 0){
-              that.getProductCateList(null,resolve)
+              that.getProductCateList(0,resolve)
             }else{
               that.getProductCateList(node.data.id,resolve)
             }

+ 1 - 1
src/views/pms/productCate/components/ProductCateDetail.vue

@@ -141,7 +141,7 @@
           lazy: true,
           lazyLoad(node,resolve){
             if(node.level == 0){
-              that.getSelectProductCateList(null,resolve)
+              that.getSelectProductCateList(0,resolve)
             }else{
               that.getSelectProductCateList(node.data.id,resolve)
             }

+ 1 - 1
src/views/pms/productCate/index.vue

@@ -135,7 +135,7 @@
         if (this.$route.query.parentId != null) {
           this.parentId = this.$route.query.parentId;
         } else {
-          this.parentId = null;
+          this.parentId = 0;
         }
       },
       //添加产品类别