From e876fed618abd4237b9818424b72d01e24f8908c Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 01 八月 2024 16:22:17 +0800
Subject: [PATCH] update

---
 sub_pages/supplier/print/print-list.vue |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/sub_pages/supplier/print/print-list.vue b/sub_pages/supplier/print/print-list.vue
index d7351d4..66c3832 100644
--- a/sub_pages/supplier/print/print-list.vue
+++ b/sub_pages/supplier/print/print-list.vue
@@ -448,34 +448,37 @@
 				var that = this;
 
 				var command = tsc.jpPrinter.createNew()
-				command.setSize(48, 96)
+				command.setSize(48, 60)
 				command.setGap(0)
 				command.setCls()
 				// command.setText(0, 30, "TSS24.BF2", 1, 1, "图片")
 				// command.setQR(40, 120, "L", 5, "A", "www.smarnet.cc佳博智汇")
-				command.setText(60, 20, "TSS24.BF2", 1, 1, "单号:" + (that.item.orderNo || '-'))
+				// command.setText(60, 20, "TSS24.BF2", 1, 1, "单号:" + (that.item.orderNo || '-'))
 				if (that.item.warehouseName)
-					command.setText(10, 60, "TSS24.BF2", 1, 1, "仓库: " + that.item.warehouseName)
+					command.setText(10, 20, "TSS24.BF2", 1, 1, "仓库: " + that.item.warehouseName)
 				if (that.item.warehouseLocationCode)
-					command.setText(200, 60, "TSS24.BF2", 1, 1, "库位: " + that.item.warehouseLocationCode)
+					command.setText(200, 20, "TSS24.BF2", 1, 1, "库位: " + that.item.warehouseLocationCode)
 
 				// command.setText(170, 50, "TSS24.BF2", 1, 1, "小程序测试")
 				// command.setText(170, 90, "TSS24.BF2", 1, 1, "测试数字12345678")
 				// command.setText(170, 120, "TSS24.BF2", 1, 1, "测试英文abcdefg")
 				// command.setText(170, 150, "TSS24.BF2", 1, 1, "测试符号/*-+!@#$")
-				command.setText(10, 100, "TSS24.BF2", 1, 1, "供应商: " + (that.item.supplierName || '-'))
-				command.setText(10, 140, "TSS24.BF2", 1, 1, "商品名称: " + (that.item.flowerName || '-'))
-				command.setText(10, 180, "TSS24.BF2", 1, 1, "等级: " + (that.item.flowerLevelStr || '-'))
-				command.setText(200, 180, "TSS24.BF2", 1, 1, "颜色: " + (that.item.flowerColor || '-'))
-				command.setText(10, 220, "TSS24.BF2", 1, 1, "价格: ¥ " + (that.item.price || '-'))
-				command.setText(200, 220, "TSS24.BF2", 1, 1, "数目: x " + (that.item.num || '0'))
-				command.setText(10, 260, "TSS24.BF2", 1, 1, "规格: " + (that.item.flowerUnit || '-'))
-				command.setText(10, 300, "TSS24.BF2", 1, 1, "花满芫")
-				command.setText(170, 300, "TSS24.BF2", 1, 1, that.$util.toDateMin(new Date()))
+				command.setText(10, 60, "TSS24.BF2", 1, 1, "供应商: " + (that.item.supplierName || '-'))
+				command.setText(10, 100, "TSS24.BF2", 1, 1, "商品名称: " + (that.item.flowerName || '-'))
+				command.setText(10, 140, "TSS24.BF2", 1, 1, "等级: " + (that.item.flowerLevelStr || '-'))
+				command.setText(200, 140, "TSS24.BF2", 1, 1, "颜色: " + (that.item.flowerColor || '-'))
+				// command.setText(10, 220, "TSS24.BF2", 1, 1, "价格: ¥ " + (that.item.price || '-'))
+				command.setText(10, 180, "TSS24.BF2", 1, 1, "规格: " + (that.item.flowerUnit || '-'))
+				command.setText(200, 180, "TSS24.BF2", 1, 1, "数目: x " + (that.item.num || '0'))
+				// command.setText(10, 300, "TSS24.BF2", 1, 1, "花满芫")
+				command.setText(100, 220, "TSS24.BF2", 1, 1, that.$util.toDateMin(new Date()))
 				if (that.item.params) {
 					var addnum = 0
-					var hlen = 300
+					var hlen = 220
 					for (var p of that.item.params) {
+						if (p.name !== '枝长' && p.name !== '成熟度') {
+							continue
+						}
 						if (p.value) {
 							var lef = 10
 							if (addnum % 2 == 1) {

--
Gitblit v1.9.3