From 40810d8d6e5430401378590c1b9810f156e7a4e7 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 18 十二月 2024 09:51:22 +0800
Subject: [PATCH] 1.修改打印标签样式
---
sub_pages/supplier/print/print-list.vue | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/sub_pages/supplier/print/print-list.vue b/sub_pages/supplier/print/print-list.vue
index 9acb176..fbb4ddb 100644
--- a/sub_pages/supplier/print/print-list.vue
+++ b/sub_pages/supplier/print/print-list.vue
@@ -582,7 +582,7 @@
}
}
command.setText(30, 40, "TSS24.BF2", 1, 1, "" + (each.supplierName || '-'))
- command.setText(200, 40, "TSS24.BF2", 1, 1, "" + (each.warehouseName || '待分配'))
+ command.setText(200, 40, "TSS24.BF2", 2, 1, "" + (each.warehouseName || '待分配'))
var flowerCategory = each.flowerCategory || ''
if (flowerCategory) {
//只取二级分类
@@ -591,23 +591,28 @@
flowerCategory = tarr[tarr.length - 1]
}
}
+
command.setText(30, 80, "TSS24.BF2", 1, 1, "" + (flowerCategory || ''))
- command.setText(200, 80, "TSS24.BF2", 1, 1, "库位:" + (each.warehouseLocationCode || ''))
+ // 盲写库位大小
+ // command.setText(200, 80, "TSS24.BF2", 1, 1, "库位:" + (each.warehouseLocationCode || ''))
+ command.setText(200, 80+10, "TSS24.BF2", 1, 1, "库位:" )
+ command.setText(270, 80, "TSS24.BF2", 2, 2, (each.warehouseLocationCode || ''))
- command.setText(30, 120, "TSS24.BF2", 1, 1, "等级:" + (each.flowerLevelStr || ''))
- command.setText(200, 120, "TSS24.BF2", 1, 1, "" + (each.flowerColor || ''))
+ // command.setText(30, 120, "TSS24.BF2", 1, 1, "等级:" + (each.flowerLevelStr || ''))
+ command.setText(30, 120, "TSS24.BF2", 2, 2, ""+ (each.flowerLevelStr || ''))
+ command.setText(200, 120+10, "TSS24.BF2", 1, 1, "" + (each.flowerColor || ''))
// 规格:
- command.setText(30, 160, "TSS24.BF2", 1, 1, "" + (each.flowerUnit || '-'))
+ command.setText(30, 160+20, "TSS24.BF2", 1, 1, "" + (each.flowerUnit || '-'))
// 成熟度:
- command.setText(200, 160, "TSS24.BF2", 1, 1, "" + (paramsmap['成熟度'] || '-'))
+ command.setText(200, 160+20, "TSS24.BF2", 1, 1, "" + (paramsmap['成熟度'] || '-'))
// 枝长:
- command.setText(30, 200, "TSS24.BF2", 1, 1, "" + (paramsmap['枝长'] || '-'))
- command.setText(200, 200, "TSS24.BF2", 1, 1, that.$util.toDate(new Date()))
+ command.setText(30, 200+20, "TSS24.BF2", 1, 1, "" + (paramsmap['枝长'] || '-'))
+ command.setText(200, 200+20, "TSS24.BF2", 1, 1, that.$util.toDate(new Date()))
- command.setText(60, 230, "TSS24.BF2", 1, 1, "————————————")
+ command.setText(60, 230+20, "TSS24.BF2", 1, 1, "————————————")
- command.setText(30, 260, "TSS24.BF2", 1, 1, "花满芫")
- command.setText(200, 260, "TSS24.BF2", 1, 1, `数目: ${i+1}/${each.num||1}`)
+ command.setText(30, 260+20, "TSS24.BF2", 1, 1, "花满芫")
+ command.setText(200, 260+20, "TSS24.BF2", 1, 1, `数目: ${i+1}/${each.num||1}`)
// command.setText(20, 40, "TSS24.BF2", 1, 1, "" + (that.item.warehouseName || '待分配'))
// // 库位:
--
Gitblit v1.9.3