|
@@ -225,15 +225,13 @@ export default {
|
|
},
|
|
},
|
|
// 打印预览/快捷打印
|
|
// 打印预览/快捷打印
|
|
handlePrint (type) {
|
|
handlePrint (type) {
|
|
- const _this = this
|
|
|
|
this.nowPrintType = type
|
|
this.nowPrintType = type
|
|
if (type == 'DISPATCH_BILL') { // 发货打印
|
|
if (type == 'DISPATCH_BILL') { // 发货打印
|
|
- _this.spinning = true
|
|
|
|
const params = {
|
|
const params = {
|
|
- type: this.nowPrintType,
|
|
|
|
- dispatchBillSn: this.detailData.dispatchBillSn
|
|
|
|
|
|
+ dispatchBillSn: this.detailData.dispatchBillSn,
|
|
|
|
+ dispatchBillNo: this.detailData.dispatchBillNo
|
|
}
|
|
}
|
|
- printFun(dispatchDetailPrint, params, 'preview', '发货', () => { _this.spinning = false })
|
|
|
|
|
|
+ this.handlePrintOk(params, '发货', 'preview')
|
|
} else if (type == 'DISPATCH_BILL_TYPE') { // 发货分类打印
|
|
} else if (type == 'DISPATCH_BILL_TYPE') { // 发货分类打印
|
|
this.openModal = true
|
|
this.openModal = true
|
|
this.$refs.typePrint.setData(this.detailData, this.outBizSubSn || this.bizSn || this.$route.params.sn)
|
|
this.$refs.typePrint.setData(this.detailData, this.outBizSubSn || this.bizSn || this.$route.params.sn)
|