|
@@ -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
|