lilei 1 năm trước cách đây
mục cha
commit
145ab3b536

+ 1 - 1
src/views/salesManagement/waitDispatchNew/detailProductList.vue

@@ -285,7 +285,7 @@
             if (res.status == 200) {
               _this.$message.success(res.message)
               _this.spinning = false
-              _this.$emit('refashTable')
+              _this.$emit('refashTable', true)
             } else {
               record.qty = record.qtyBackups
               _this.spinning = false

+ 4 - 2
src/views/salesManagement/waitDispatchNew/edit.vue

@@ -160,9 +160,11 @@ export default {
         this.isInster = false
       })
     },
-    refashTable(){
+    refashTable(flag){
       this.getTotalData()
-      // this.$refs.partQuery.resetSearchForm()
+      if(flag){
+        this.$refs.partQuery.resetSearchForm()
+      }
     },
     //  销售单详情
     getOrderDetail () {