|
|
|
@ -641,6 +641,8 @@ |
|
|
|
getShopOrderData, |
|
|
|
} from "@/api/abnormal.js" |
|
|
|
import {Decimal} from 'decimal.js' |
|
|
|
import {getPackagePrintDataList} from "../../../api/production/generateReport"; |
|
|
|
import {printPackageLabelNoPreview} from "../print/print_package_label-NOOREVIEW"; |
|
|
|
export default { |
|
|
|
name: 'generateReport', |
|
|
|
components: { |
|
|
|
@ -963,6 +965,19 @@ |
|
|
|
} |
|
|
|
if(inList.length>0){ |
|
|
|
printTransNoLabel(inList); |
|
|
|
// 生成袋装标签 |
|
|
|
let params = { |
|
|
|
site:this.saveHeaderData.site, |
|
|
|
seqNo:this.saveHeaderData.seqNo, |
|
|
|
previousSeqNo:this.saveHeaderData.seqNo, |
|
|
|
orderNo:this.saveHeaderData.orderNo, |
|
|
|
number:this.saveHeaderData.qtyApprove, |
|
|
|
} |
|
|
|
getPackagePrintDataList(params).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
printPackageLabelNoPreview(data.rows); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|