| | |
| | | </view> |
| | | </view> |
| | | <view class="form-row1"> |
| | | <view class="right-group"> |
| | | <view class="form-item" style="display:inline-block;"> |
| | | <label>工单状态:</label> |
| | | <input class="inp1" type="text" v-model="order.daa018" disabled="true" /> |
| | | <!-- 刷新按钮 --> |
| | | <button @click="handleRefresh" class="refresh-btn">刷新</button> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>机台编号:</label> |
| | | <input class="inp2" type="text" v-model="order.machineNo" disabled="true" /> |
| | | </view> |
| | | <view class="form-item" style="display:inline-block;"> |
| | | <label>工单状态:</label> |
| | | <input class="inp1" type="text" v-model="order.daa018" disabled="true" /> |
| | | <!-- 刷新按钮 --> |
| | | <button @click="handleRefresh" class="refresh-btn">刷新</button> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>机台编号:</label> |
| | | <input class="inp2" type="text" v-model="order.machineNo" disabled="true" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 中部:运行状态 --> |
| | | <view class="section card"> |
| | | <view class="status-row"> |
| | | <view class="form-item"> |
| | | <label style="color: red;">日停机次数(时长超3分钟):</label> |
| | | <input class="inp" type="number" v-model="order.todayDowntimeCount" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>日停机时长(mi):</label> |
| | | <input class="inp" type="text" :value="downtimeDuration" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>设备稼动率:</label> |
| | | <input class="inp" type="text" v-model="utilizationRate" disabled="true" /> |
| | | </view> |
| | | <!-- 中部:运行状态 --> |
| | | <view class="section card"> |
| | | <view class="status-row"> |
| | | <view class="form-item"> |
| | | <label style="color: red;">日停机次数(时长超3分钟):</label> |
| | | <input class="inp" type="number" v-model="order.todayDowntimeCount" disabled="true" /> |
| | | </view> |
| | | <view class="status-row"> |
| | | <view class="form-item"> |
| | | <label>生产开始时间:</label> |
| | | <input class="inp" type="text" v-model="startTime" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>生产结束时间:</label> |
| | | <input class="inp" type="text" v-model="endTime" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>生产时长(mi):</label> |
| | | <input class="inp" type="text" v-model="productionDuration" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>日停机时长(mi):</label> |
| | | <input class="inp" type="text" :value="downtimeDuration" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>设备稼动率:</label> |
| | | <input class="inp" type="text" v-model="utilizationRate" disabled="true" /> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 下部:品质检验 --> |
| | | <view class="section card"> |
| | | <view class="quality-row"> |
| | | <view class="form-item"> |
| | | <label>最近首检时间:</label> |
| | | <input class="inp" type="text" v-model="lastInitialCheck" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检结论:</label> |
| | | <input class="inp" type="text" v-model="initialConclusion" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检人员:</label> |
| | | <input class="inp" type="text" v-model="initialInspector" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检次数:</label> |
| | | <input class="inp" type="number" v-model="initialCount" disabled="true" /> |
| | | </view> |
| | | <view class="status-row"> |
| | | <view class="form-item"> |
| | | <label>生产开始时间:</label> |
| | | <input class="inp" type="text" v-model="startTime" disabled="true" /> |
| | | </view> |
| | | <view class="quality-row"> |
| | | <view class="form-item"> |
| | | <label>最近巡检时间:</label> |
| | | <input class="inp" type="text" v-model="lastPatrolCheck" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检结论:</label> |
| | | <input class="inp" type="text" v-model="patrolConclusion" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检人员:</label> |
| | | <input class="inp" type="text" v-model="patrolInspector" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检次数:</label> |
| | | <input class="inp" type="number" v-model="patrolCount" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>生产结束时间:</label> |
| | | <input class="inp" type="text" v-model="endTime" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>生产时长(mi):</label> |
| | | <input class="inp" type="text" v-model="productionDuration" disabled="true" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- 下部:品质检验 --> |
| | | <view class="section card"> |
| | | <view class="quality-row"> |
| | | <view class="form-item"> |
| | | <label>最近首检时间:</label> |
| | | <input class="inp" type="text" v-model="lastInitialCheck" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检结论:</label> |
| | | <input class="inp" type="text" v-model="initialConclusion" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检人员:</label> |
| | | <input class="inp" type="text" v-model="initialInspector" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>首检次数:</label> |
| | | <input class="inp" type="number" v-model="initialCount" disabled="true" /> |
| | | </view> |
| | | </view> |
| | | <view class="quality-row"> |
| | | <view class="form-item"> |
| | | <label>最近巡检时间:</label> |
| | | <input class="inp" type="text" v-model="lastPatrolCheck" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检结论:</label> |
| | | <input class="inp" type="text" v-model="patrolConclusion" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检人员:</label> |
| | | <input class="inp" type="text" v-model="patrolInspector" disabled="true" /> |
| | | </view> |
| | | <view class="form-item"> |
| | | <label>巡检次数:</label> |
| | | <input class="inp" type="number" v-model="patrolCount" disabled="true" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | /* 全局字体放大,可根据需要调整数值 */ |
| | | body, .container { |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .top-order { |
| | | margin-bottom: 0.3vh; |
| | | } |
| | |
| | | background-color: #00A2E9; |
| | | color: white; |
| | | border: none; |
| | | font-size: 24px; |
| | | font-size: 28px; |
| | | border-radius: 12px; |
| | | margin-top: 6px; |
| | | margin-bottom: 10px; |
| | | padding: 6px 20px; |
| | | padding: 10px 28px; |
| | | } |
| | | |
| | | .refresh-btn:hover { |
| | |
| | | |
| | | .inp { |
| | | float: left; |
| | | width: 63%; |
| | | width: 85%; |
| | | padding: 3px; |
| | | border: 1px solid #ccc; |
| | | border-radius: 0.5vw; |
| | | margin-top: 0.2vh; |
| | | font-size: 15px; |
| | | height: 26px; |
| | | font-size: 22px; |
| | | height: 36px; |
| | | } |
| | | |
| | | .status-block p { |
| | | margin: 0.5vh 0; |
| | | font-size: 1.3vw; |
| | | font-size: 1.8vw; |
| | | font-weight: bold; |
| | | } |
| | | |
| | |
| | | background-color: #fff; |
| | | border-radius: 0.6vw; |
| | | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); |
| | | padding: 8px; |
| | | padding: 12px; |
| | | border: 1px solid black; |
| | | margin-top: 0; |
| | | margin-bottom: 8px; |
| | | font-size: 1.3vw; |
| | | margin-bottom: 12px; |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .card-header { |
| | |
| | | padding: 0.3vh 0.8vw; |
| | | border-radius: 0.5vw; |
| | | font-weight: bold; |
| | | font-size: 1.5vw; |
| | | font-size: 2vw; |
| | | } |
| | | |
| | | .form-item label { |
| | | float: left; |
| | | margin-top: 4px; |
| | | font-size: 15px; |
| | | font-size: 22px; |
| | | display: inline-block; |
| | | margin-bottom: 0.2vh; |
| | | color: #333; |
| | |
| | | width: 30%; |
| | | padding-right: 0.6vw; |
| | | text-align: right; |
| | | font-size: 15px; |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .status-row input, |
| | | .check-row input { |
| | | width: 65%; |
| | | font-size: 15px; |
| | | height: 26px; |
| | | font-size: 22px; |
| | | height: 36px; |
| | | } |
| | | |
| | | .form-row2 { |
| | |
| | | height: 2.8em; |
| | | font-weight: bolder; |
| | | margin-top: -35px; |
| | | font-size: 32px; |
| | | font-size: 48px; |
| | | text-align: center; |
| | | color: red; |
| | | } |
| | | |
| | | .inp2 { |
| | | float: right; |
| | | width: 180px; |
| | | height: 180px; |
| | | width: 200px; |
| | | height: 200px; |
| | | border-radius: 100%; |
| | | text-align: center; |
| | | margin-top: -35px; |
| | | font-size: 75px; |
| | | font-size: 100px; |
| | | background-color: #476ee1fc; |
| | | color: #ffffff; |
| | | margin-right: 140px; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-bottom: 6px; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | .quality-row .form-item { |
| | | flex: 1; |
| | | margin: 0 6px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .quality-row .form-item label { |
| | | width: auto; |
| | | min-width: 95px; |
| | | margin-right: 6px; |
| | | font-size: 15px; |
| | | .quality-row .form-item { |
| | | flex: 1; |
| | | margin: 0 6px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .quality-row .inp { |
| | | width: 70%; |
| | | min-width: 100px; |
| | | font-size: 15px; |
| | | height: 26px; |
| | | padding: 3px; |
| | | } |
| | | .quality-row .form-item label { |
| | | width: auto; |
| | | min-width: 95px; |
| | | margin-right: 6px; |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .quality-row .inp { |
| | | width: 70%; |
| | | min-width: 100px; |
| | | font-size: 22px; |
| | | height: 36px; |
| | | padding: 3px; |
| | | } |
| | | |
| | | .status-row { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | margin-bottom: 6px; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | .status-row .form-item { |
| | |
| | | .status-row .form-item label { |
| | | min-width: 180px; |
| | | white-space: nowrap; |
| | | font-size: 15px; |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .status-row .inp { |
| | | width: 70%; |
| | | min-width: 100px; |
| | | font-size: 15px; |
| | | height: 26px; |
| | | font-size: 22px; |
| | | height: 36px; |
| | | padding: 3px; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .card { |
| | | padding: 6px; |
| | | margin-bottom: 6px; |
| | | padding: 8px; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | .form-item { |
| | |
| | | |
| | | .quality-row, |
| | | .status-row { |
| | | margin-bottom: 4px; |
| | | margin-bottom: 6px; |
| | | } |
| | | } |
| | | |
| | | /*.top-order { |
| | | width: 65%; |
| | | display: inline-block; |
| | | vertical-align: top; |
| | | } |
| | | |
| | | .form-row1 { |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | position: relative;*/ |
| | | /* width: 100%; // 去掉这行 */ |
| | | /*} |
| | | |
| | | .right-group { |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 24px;*/ /* 控制两块之间的间距,可根据需要调整 */ |
| | | /*}*/ |
| | | |
| | | </style> |