| CLAUDE.md | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| components/WorkOrder.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| pages/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
CLAUDE.md
@@ -103,4 +103,4 @@ - `common/`: Global mixins, permissions, and utility functions - `static/img/imgMenu/`: Extensive collection of production operation icons and images - `uni_modules/`: Uni-app plugin ecosystem components - `unpackage/`: Build output and distribution files - `unpackage/`: Build output and distribution files components/WorkOrder.vue
@@ -466,7 +466,7 @@ <style> .top-order { margin-bottom: 1vh; margin-bottom: 0.3vh; } .refresh-btn { @@ -478,12 +478,11 @@ background-color: #00A2E9; color: white; border: none; font-size: 29px; border-radius: 15px; margin-top: 9px; margin-bottom: 20px; padding-left: 25px; padding-right: 25px; font-size: 24px; border-radius: 12px; margin-top: 6px; margin-bottom: 10px; padding: 6px 20px; } .refresh-btn:hover { @@ -493,40 +492,41 @@ .form-row { display: flex; justify-content: space-between; margin-bottom: 1.5vh; margin-bottom: 0.5vh; } .form-item { width: 100%; padding: 4px; margin: 10px 10px; padding: 2px; margin: 4px 8px; } .inp { float: left; width: 63%; padding: 0.5vh; padding: 3px; border: 1px solid #ccc; border-radius: 0.5vw; margin-top: 0.3vh; font-size: 1.3vw; margin-top: 0.2vh; font-size: 15px; height: 26px; } .status-block p { margin: 1vh 0; font-size: 1.5vw; margin: 0.5vh 0; font-size: 1.3vw; font-weight: bold; } .card { background-color: #fff; border-radius: 0.8vw; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); padding: 1.5vh; border-radius: 0.6vw; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); padding: 8px; border: 1px solid black; margin-top: -1vh; margin-bottom: 2vh; font-size: 1.5vw; margin-top: 0; margin-bottom: 8px; font-size: 1.3vw; } .card-header { @@ -534,33 +534,34 @@ top: -1vh; left: 2vw; background-color: #ffffff; padding: 0.5vh 1vw; padding: 0.3vh 0.8vw; border-radius: 0.5vw; font-weight: bold; font-size: 1.8vw; font-size: 1.5vw; } .form-item label { float: left; margin-top: 8px; font-size: 1.5vw; margin-top: 4px; font-size: 15px; display: inline-block; margin-bottom: 0.5vh; margin-bottom: 0.2vh; color: #333; } .status-row label, .check-row label { width: 30%; padding-right: 1vw; padding-right: 0.6vw; text-align: right; font-size: 1.5vw; font-size: 15px; } .status-row input, .check-row input { width: 65%; font-size: 1.5vw; font-size: 15px; height: 26px; } .form-row2 { @@ -568,8 +569,8 @@ float: left; margin-left: -65px; flex-direction: column; margin-top: -13px; line-height: 48px; margin-top: -10px; line-height: 38px; align-content: flex-start; } @@ -580,7 +581,7 @@ align-content: flex-start; justify-content: flex-start; align-items: flex-start; margin-bottom: 2.5vh margin-bottom: 0.5vh } .form-row4 { @@ -591,69 +592,100 @@ .inp1 { width: 42%; height: 3.5em; height: 2.8em; font-weight: bolder; margin-top: -41px; font-size: 39px; margin-top: -35px; font-size: 32px; text-align: center; color: red; } .inp2 { float: right; width: 220px; height: 220px; width: 180px; height: 180px; border-radius: 100%; text-align: center; margin-top: -42px; font-size: 96px; margin-top: -35px; font-size: 75px; background-color: #476ee1fc; color: #ffffff; margin-right: 172px; margin-right: 140px; } .quality-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5vh; margin-bottom: 6px; } .quality-row .form-item { flex: 1; margin: 0 10px; margin: 0 6px; padding: 2px; } .quality-row .form-item label { width: auto; min-width: 110px; margin-right: 8px; min-width: 95px; margin-right: 6px; font-size: 15px; } .quality-row .inp { width: 70%; min-width: 120px; min-width: 100px; font-size: 15px; height: 26px; padding: 3px; } .status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5vh; margin-bottom: 6px; } .status-row .form-item { flex: 1; margin: 0 10px; margin: 0 6px; padding: 2px; } .status-row .form-item label { min-width: 220px; /* 可根据实际情况调整宽度 */ min-width: 180px; white-space: nowrap; font-size: 15px; } .status-row .inp { width: 70%; min-width: 120px; min-width: 100px; font-size: 15px; height: 26px; padding: 3px; } /* 针对1280*717屏幕的特定优化 */ @media screen and (max-width: 1280px) and (max-height: 800px) { .top-order { margin-bottom: 0; } .card { padding: 6px; margin-bottom: 6px; } .form-item { margin: 2px 6px; } .quality-row, .status-row { margin-bottom: 4px; } } </style> 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);