ソースを参照

bug修复提交

LAPTOP-16IUEB3P\Lenovo 2 年 前
コミット
26ea4de3cc

+ 1 - 1
src/views/materialPlan/components/materialPlan-search.vue

@@ -146,7 +146,7 @@
         handler () {
           if (this.activeName) {
             this.where.statusList = this.statusOpt[this.activeName][0].value;
-            this.search();
+            this.reset();
           }
         },
         immediate: true

+ 1 - 0
src/views/materialPlan/index.vue

@@ -290,6 +290,7 @@
 
       /* 刷新表格 */
       reload (where = {}) {
+		where.statusList = this.statusOpt[this.activeName][0].value.split(',')
         this.$nextTick(() => {
           this.$refs.table.reload({ page: 1, where });
         });

+ 1 - 1
src/views/productionPlan/components/productionPlan-search.vue

@@ -207,7 +207,7 @@
         handler () {
           if (this.activeName) {
             this.where.status = this.statusOpt[this.activeName][0].value;
-            this.search();
+            this.reset();
           }
         },
         immediate: true

+ 1 - 1
src/views/saleOrder/components/order-search.vue

@@ -248,7 +248,7 @@
             this.where.proStu = 0;
           }
 
-          this.search();
+          this.reset();
         },
         immediate: true
       }