From 0075304648af0582196ba32d54701644e74d8b88 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 14 十一月 2025 14:51:05 +0800
Subject: [PATCH] Revert "改为获取手机MAC地址"

---
 pages/index.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/pages/index.vue b/pages/index.vue
index 7e5c51c..03eae57 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -408,25 +408,25 @@
 			getPrintInfo() {
 				var mac = "";
 				
-				//mac = "74:24:ca:4f:b7:9b";
-				//this.$post({
-				//	url: "/DevMachine/GetDevMachineByPdaMac",
-				//	data: {
-				//		pdaMac: mac,
-				//	}
-				//}).then(res => {
-				//	let devMachine = res.data.tbBillList;
-				//	this.machineNo = devMachine.machineNo;
-    //                this.machineName = "璋冭瘯妯″紡锛�" + this.machineNo + "鍙烽娇杞満"
+				mac = "74:24:ca:4f:b7:9b";
+				this.$post({
+					url: "/DevMachine/GetDevMachineByPdaMac",
+					data: {
+						pdaMac: mac,
+					}
+				}).then(res => {
+					let devMachine = res.data.tbBillList;
+					this.machineNo = devMachine.machineNo;
+                    this.machineName = "璋冭瘯妯″紡锛�" + this.machineNo + "鍙烽娇杞満"
 
-				//	uni.setStorageSync('machineNo', this.machineNo);
-				//	uni.setStorageSync('printMac', devMachine.printMac);
+					uni.setStorageSync('machineNo', this.machineNo);
+					uni.setStorageSync('printMac', devMachine.printMac);
 
-				//	console.log(devMachine.printMac);
+					console.log(devMachine.printMac);
 
-				//	this.getWomdaaIsShow();
-				//});
-				//return;
+					this.getWomdaaIsShow();
+				});
+				return;
 				
 				
 	 			if (plus.os.name == "Android") {

--
Gitblit v1.9.3