|
@@ -491,8 +491,9 @@ export default {
|
|
// 打印贴签
|
|
// 打印贴签
|
|
handlePrintSticker (row) {
|
|
handlePrintSticker (row) {
|
|
const nowData = this.basicInfoData
|
|
const nowData = this.basicInfoData
|
|
- const list = []
|
|
|
|
- list.push(row)
|
|
|
|
|
|
+ row.productCode = row.shelfProductApiEntity.productCode
|
|
|
|
+ row.productSn = row.shelfProductApiEntity.productSn
|
|
|
|
+ const list = [row]
|
|
// 打开预览弹框
|
|
// 打开预览弹框
|
|
this.showPrintView = true
|
|
this.showPrintView = true
|
|
this.$refs.printView.setData(nowData, list)
|
|
this.$refs.printView.setData(nowData, list)
|