|
@@ -709,7 +709,7 @@ export default {
|
|
|
_this.spinning = true
|
|
|
exportExcel(salesDetailTypeExcel, params, '销售分类' + moment().format('YYYYMMDDHHmmss'), () => {
|
|
|
_this.spinning = false
|
|
|
- _this.$store.state.app.curActionPermission = ''
|
|
|
+ _this.closePrint()
|
|
|
})
|
|
|
} else {
|
|
|
this.detailData.authCode = authCode
|
|
@@ -732,13 +732,13 @@ export default {
|
|
|
if (this.nowType == 'export') { // 导出
|
|
|
exportExcel(salesDetailExcel, params, '销售' + moment().format('YYYYMMDDHHmmss'), () => {
|
|
|
_this.spinning = false
|
|
|
- _this.$store.state.app.curActionPermission = ''
|
|
|
+ _this.closePrint()
|
|
|
})
|
|
|
} else { // 打印
|
|
|
const taskName = this.nowType == 'SALES_BILL' ? '销售单' : '销售分类'
|
|
|
printFun(salesDetailPrint, params, objs.type, taskName, () => {
|
|
|
_this.spinning = false
|
|
|
- _this.$store.state.app.curActionPermission = ''
|
|
|
+ _this.closePrint()
|
|
|
})
|
|
|
}
|
|
|
}
|