tjx
2025-11-04 c5a146f28935019016d0d0fa93b7e8d91a8388e8
pages/index.vue
@@ -17,18 +17,18 @@
         <view class="tab-item" :class="{ active: currentTab === 4 }" @click="changeTab(4)">
            生产报工
         </view>
         <view class="tab-item" :class="{ active: currentTab === 1 }" @click="changeTab(1)">
         <!-- <view class="tab-item" :class="{ active: currentTab === 1 }" @click="changeTab(1)">
            开工完工
         </view>
         </view> -->
         <view class="tab-item" :class="{ active: currentTab === 5 }" @click="changeTab(5)">
            e-SOP
         </view>
         <view class="tab-item" :class="{ active: currentTab === 6 }" @click="changeTab(6)">
            工艺参数
         </view>
         <view class="tab-item" :class="{ active: currentTab === 8 }" @click="changeTab(8)">
         <!-- <view class="tab-item" :class="{ active: currentTab === 8 }" @click="changeTab(8)">
            打印机设置
         </view>
         </view> -->
      </view>
      <view class="font"></view>
@@ -398,7 +398,7 @@
         getPrintInfo() {
            var mac = "ac:f4:2c:20:0d:b4";
            
            mac = "e8:51:9e:7d:dc:95";
            mac = "74:24:ca:4f:b7:9b";
            this.$post({
               url: "/DevMachine/GetDevMachineByPdaMac",
               data: {
@@ -445,7 +445,7 @@
                }).then(res => {
                   let devMachine = res.data.tbBillList;
                   this.machineNo = devMachine.machineNo;
                   this.machineName = "当前机台:" + this.machineNo + "号注塑机";
                   this.machineName = "当前机台:" + this.machineNo + "号齿轮机";
                   uni.setStorageSync('machineNo', this.machineNo);
                   uni.setStorageSync('printMac', devMachine.printMac);