lilei 3 년 전
부모
커밋
f2e8116b06
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/salesManagement/salesQuery/detail.vue

+ 6 - 1
src/views/salesManagement/salesQuery/detail.vue

@@ -376,7 +376,12 @@ export default {
           this.visibleAudit = false
           this.$message.success(res.message)
           this.spinningAudit = false
-          this.toDispatch({ salesBillSn: this.$route.params.sn })
+          if (billStatus == 'AUDIT_PASS' && !this.auditText) {
+            this.toDispatch({ salesBillSn: this.$route.params.sn })
+          } else {
+            //  关闭详情跳列表
+            this.handleBack()
+          }
         } else {
           this.visibleAudit = false
           this.spinningAudit = false