From 3b9a0380f8dfb24964c0afbd635dc7d2f013d475 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 08 五月 2023 10:38:58 +0800
Subject: [PATCH] #

---
 common/mock/index.js |  119 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 101 insertions(+), 18 deletions(-)

diff --git a/common/mock/index.js b/common/mock/index.js
index fd4017d..6f7b8cf 100644
--- a/common/mock/index.js
+++ b/common/mock/index.js
@@ -6,6 +6,9 @@
 	test: ['闈欐�佹暟鎹�'],
 	//闈㈠崟鏁版嵁
 	order_data: {
+		MATNR: "1200128-10055",
+		MAKTX: "X5S-4-M03/333",
+		MODI_TIME: "2023-04-24 15:25:32",
 		CUSTOMER_CODE: "00001",
 		CUSTOMER_NAME: "瀹嬪皬濮�",
 		BILL_CODE: "JYM100005228492",
@@ -38,6 +41,7 @@
 			"pageWidth": "74"
 		},
 		"printItem": [
+			// 涓婅竟妗�
 			{
 				"top": "2",
 				"left": "0",
@@ -48,6 +52,7 @@
 				"fontWeight": "400",
 				"height": "3"
 			},
+			// 涓嬭竟妗�
 			{
 				"top": "180",
 				"left": "0",
@@ -58,6 +63,7 @@
 				"fontWeight": "400",
 				"height": "3"
 			},
+			// 宸﹁竟妗�
 			{
 				"top": "2",
 				"left": "0",
@@ -66,8 +72,9 @@
 				"text": "",
 				"type": "vertical",
 				"fontWeight": "400",
-				"height": "180"
+				"height": "176"
 			},
+			// 鍙宠竟妗�
 			{
 				"top": "2",
 				"left": "270",
@@ -76,18 +83,9 @@
 				"text": "",
 				"type": "vertical",
 				"fontWeight": "400",
-				"height": "180"
+				"height": "176"
 			},
-			{
-				"top": "140",
-				"left": "0",
-				"textAlign": "start",
-				"width": "281",
-				"text": "",
-				"type": "cross",
-				"fontWeight": "400",
-				"height": "4"
-			},
+			// 妯嚎1
 			{
 				"top": "70",
 				"left": "0",
@@ -98,6 +96,18 @@
 				"fontWeight": "400",
 				"height": "4"
 			},
+			// 妯嚎2
+			{
+				"top": "144",
+				"left": "0",
+				"textAlign": "start",
+				"width": "270",
+				"text": "",
+				"type": "cross",
+				"fontWeight": "400",
+				"height": "4"
+			},
+			// 绔栫嚎1
 			{
 				"top": "2",
 				"left": "40",
@@ -106,8 +116,9 @@
 				"text": "",
 				"type": "vertical",
 				"fontWeight": "400",
-				"height": "180"
+				"height": "176"
 			},
+			// 绔栫嚎2
 			{
 				"top": "2",
 				"left": "140",
@@ -118,19 +129,91 @@
 				"fontWeight": "400",
 				"height": "140"
 			},
-			// 闈欐�佹枃瀛�
 			{
-				"top": "35",
-				"left": "7.6",
+				"top": "30",
+				"left": "10",
 				"textAlign": "left",
-				"barcodetype": "128Auto",
-				"width": "38",
+				"width": "54",
 				"fontSize": 9,
 				"text": "鏂欏彿",
 				"type": "text",
 				"fontWeight": "400",
 				"height": "19"
 			},
+			{
+				"top": "105",
+				"left": "10",
+				"textAlign": "left",
+				"width": "54",
+				"fontSize": 9,
+				"text": "鍟嗗搧",
+				"type": "text",
+				"fontWeight": "400",
+				"height": "19"
+			},
+			{
+				"top": "155",
+				"left": "10",
+				"textAlign": "left",
+				"width": "54",
+				"fontSize": 9,
+				"text": "鏃ユ湡",
+				"type": "text",
+				"fontWeight": "400",
+				"height": "19"
+			},
+			// 浜岀淮鐮�
+			{
+				"imgUrl": "/static/img/order/ewm.png",
+				"dataId": "MATNR",
+				"top": "12",
+				"left": "152",
+				"textAlign": "start",
+				"width": "66",
+				"text": "鏂欏彿鍙蜂簩缁寸爜",
+				"type": "qrCode",
+				"fontWeight": "400",
+				"height": "66"
+			},
+			// 鏂欏彿
+			{
+				"dataId": "MATNR",
+				"top": "30",
+				"left": "55",
+				"textAlign": "start",
+				"width": "152",
+				"fontSize": "8",
+				"text": "鏂欏彿",
+				"type": "field",
+				"fontWeight": "400",
+				"height": "19"
+			},
+			// 鍟嗗搧鍚嶇О
+			{
+				"dataId": "MAKTX",
+				"top": "105",
+				"left": "55",
+				"textAlign": "start",
+				"width": "152",
+				"fontSize": "7",
+				"text": "鍟嗗搧",
+				"type": "field",
+				"fontWeight": "400",
+				"height": "19"
+			},
+			// 鏃ユ湡
+			{
+				"dataId": "MODI_TIME",
+				"top": "155",
+				"left": "100",
+				"textAlign": "start",
+				"width": "152",
+				"fontSize": "8",
+				"text": "鍟嗗搧",
+				"type": "field",
+				"fontWeight": "400",
+				"height": "19"
+			},
 			// {
 			// 	"top": "304",
 			// 	"left": "0",

--
Gitblit v1.9.1