소스 검색

bug 修复

lilei 4 년 전
부모
커밋
240c8b9e8c
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/views/salesManagement/salesQuery/edit.vue

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

@@ -212,9 +212,7 @@ export default {
           productSn: row.productSn,
           price: row.price
         }).then(res => {
-          if (res.status == 200) {
-            this.resetSearchForm(true)
-          }
+          this.resetSearchForm(true)
           this.$message.info(res.message)
         })
       }
@@ -223,8 +221,8 @@ export default {
           id: row.id,
           qty: row.qty
         }).then(res => {
+          this.resetSearchForm(true)
           if (res.status == 200) {
-            this.resetSearchForm(true)
             this.$refs.partQuery.resetCurForm()
           }
           this.$message.info(res.message)