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 () {