lilei 3 years ago
parent
commit
f2e8116b06
1 changed files with 6 additions and 1 deletions
  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