|
@@ -230,7 +230,6 @@ export default {
|
|
|
handlePrint (type) {
|
|
|
const _this = this
|
|
|
const a = ['WAIT_CUSTOMER_SERVICE_CONFIRM', 'WAIT_FINANCIAL_AUDIT', 'FINANCIAL_REJECT', 'FINISH'].find(item => item == this.detailData.billStatus)
|
|
|
- console.log(a, '-------')
|
|
|
const status = a ? 'SALES_RETURN_AMOUNT' : 'SALES_RETURN_REASON'
|
|
|
const params = { sn: this.$route.params.sn, status: status }
|
|
|
_this.spinning = true
|
|
@@ -241,7 +240,9 @@ export default {
|
|
|
})
|
|
|
} else {
|
|
|
// 打印或预览
|
|
|
- printFun(salesReturnPrint, params, type, '销售退货', () => { _this.spinning = false })
|
|
|
+ printFun(salesReturnPrint, params, type, '销售退货', () => {
|
|
|
+ _this.spinning = false
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
},
|