lilei преди 1 година
родител
ревизия
3996a1c715
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      src/views/salesManagement/waitDispatchNew/detailProductList.vue
  2. 1 0
      src/views/salesManagement/waitDispatchNew/edit.vue

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

@@ -319,7 +319,7 @@
             dispatchBillDetailList : type == 0 ? [row.dispatchBillDetailSn] : row
             dispatchBillDetailList : type == 0 ? [row.dispatchBillDetailSn] : row
           }).then(res => {
           }).then(res => {
             if (res.status == 200) {
             if (res.status == 200) {
-              _this.$emit('refashTable')
+              _this.$emit('refashTable', true)
               _this.$message.success(res.message)
               _this.$message.success(res.message)
               _this.spinning = false
               _this.spinning = false
             } else {
             } else {

+ 1 - 0
src/views/salesManagement/waitDispatchNew/edit.vue

@@ -121,6 +121,7 @@ export default {
       }).then(res => {
       }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           this.getTotalData()
           this.getTotalData()
+          this.$refs.partQuery.resetSearchForm()
           this.$refs.partQuery.clearSelectTable()
           this.$refs.partQuery.clearSelectTable()
           this.$message.success('添加成功', 2.5)
           this.$message.success('添加成功', 2.5)
           this.spinning = false
           this.spinning = false