lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
f2e8116b06
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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