lilei 11 ماه پیش
والد
کامیت
0090006303
1فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 5 3
      src/views/salesManagement/waitCostOrder/list.vue

+ 5 - 3
src/views/salesManagement/waitCostOrder/list.vue

@@ -336,7 +336,7 @@ export default {
         if (res.status == 200) {
           this.$message.info(res.message)
           this.openBaseModal = false
-          this.searchForm()
+          this.searchForm(true)
           this.$router.push({ name: 'expenseReimbursementEdit', params: { sn: res.data.expenseAccountSn } })
         }
       })
@@ -364,10 +364,12 @@ export default {
       this.$refs.table.refresh(true)
       this.$refs.table.clearSelected()
     },
-    searchForm () {
+    searchForm (flag) {
       this.isSearch = true
       this.$refs.table.refresh(true)
-      // this.$refs.table.clearSelected()
+      if (flag) {
+        this.$refs.table.clearSelected()
+      }
     }
   },
   activated () {