gm-printer 10.18.0 → 10.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-printer",
3
- "version": "10.18.0",
3
+ "version": "10.19.0",
4
4
  "description": "diy printer",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -482,6 +482,7 @@ class PrinterStore {
482
482
  // 做好保护,出错就返回 text
483
483
  try {
484
484
  let list = this.data._table[dataKey] || this.data._table.orders
485
+ // 采购任务打印存在两个表格,第二表格没有明细,数据需要做去重
485
486
  if (dataKey === 'purchase_no_detail') {
486
487
  list = _.uniqBy(list, '序号')
487
488
  }