快乐的昕的电脑
2025-11-24 378fa22b7f542bb18677f867b1f1425db1d03673
components/WorkOrderStatus.vue
@@ -3,7 +3,7 @@
      <!-- 刷新按钮 -->
      <button @click="handleRefresh" class="refresh-btn">刷新</button>
      <view>
         <h4>说明:</br>开工时间=首件合格后取送检时间,</br>完工时间=报工数等于工单数的时间</h4>
         <h4>说明:开工时间=首件合格后取送检时间,</br>完工时间=报工数等于工单数的时间</h4>
      </view>
      <!-- 上半部分 -->
      <!-- 开工完工 -->
@@ -253,27 +253,25 @@
      flex-direction: column;
   }
   .item {
      display: flex;
      align-items: center;
      margin-bottom: 1.5vh;
   }
    .item {
        display: flex;
        align-items: center;
        margin-bottom: 2.2vh;
        height: 7vh;
        width: 100%; /* 保证一行占满父容器 */
        box-sizing: border-box;
    }
   /* 统一按钮和输入框的高度 */
   button,
   .input-box {
      height: 5vh;
      /* Adjusted for larger, consistent height */
   }
    button,
    .input-box {
        height: 6vh; /* 按钮和输入框更高 */
    }
   button {
      width: 30%;
      padding: 0;
      font-size: 1.8vw;
      /* Larger font for buttons */
      margin-right: 1vw;
      line-height: 5vh;
   }
    button {
        width: 32%;
        margin-right: 1vw;
    }
   .btn-disabled {
      background-color: #ccc;
@@ -288,16 +286,7 @@
   }
    .input-box {
        width: 70%;
        ght-section
    {
        padding: 0 1vw;
        font-size: 1.5vw;
        /* Increased font size for input */
        border: 1px solid #ccc;
        box-sizing: border-box;
        /* 确保高度一致 */
        width: calc(68% - 1vw); /* 减去按钮的margin-right */
    }
   /* 右边工单状态部分 */
@@ -367,7 +356,7 @@
   /* 让右侧工单号输入框变长 */
   .status-title input.status-title {
      width: 100%; /* 或 100%,根据实际需求调整 */
      width: 120%; /* 或 100%,根据实际需求调整 */
      min-width: 320px; /* 可选,保证最小宽度 */
      font-size: 2vw;
      box-sizing: border-box;