|
@@ -377,7 +377,7 @@ export default {
|
|
|
this.$message.success(res.message)
|
|
|
this.spinningAudit = false
|
|
|
if (billStatus == 'AUDIT_PASS' && !this.auditText) {
|
|
|
- this.toDispatch({ salesBillSn: this.$route.params.sn })
|
|
|
+ this.$router.push({ name: 'waitDispatch', params: { salesBillSn: this.$route.params.sn, dispatchBillSn: res.data.dispatchBillSn } })
|
|
|
} else {
|
|
|
// 关闭详情跳列表
|
|
|
this.handleBack()
|
|
@@ -388,16 +388,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 跳转下推页面
|
|
|
- toDispatch (row) {
|
|
|
- this.spinning = true
|
|
|
- findBySalesBillSn({ salesBillSn: row.salesBillSn }).then(res => {
|
|
|
- this.spinning = false
|
|
|
- if (res.status == 200) {
|
|
|
- this.$router.push({ name: 'waitDispatch', params: { salesBillSn: row.salesBillSn, dispatchBillSn: res.data.dispatchBillSn } })
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
// 打印导出
|
|
|
handlePrint (type) {
|
|
|
const _this = this
|