快乐的昕的电脑
2025-11-14 0075304648af0582196ba32d54701644e74d8b88
Revert "改为获取手机MAC地址"

This reverts commit 1fe5f08e454b43262bc88541f5db7908a48ddce2.
已修改1个文件
32 ■■■■ 文件已修改
pages/index.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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") {