快乐的昕的电脑
2025-10-09 c714ebbefe251a3b2ca8d11352ba6e646e040db5
components/machine.vue
@@ -7,11 +7,15 @@
      <!-- 中间状态部分,上下结构 -->
      <view class="middle-section">
         <view class="item" style="height: 100px;">
            <h4>说明:多工单模式时调机送检是统一的</h4>
            <h4>说明:调机开始时间需要手动确认</h4>
         </view>
         <view class="item">
         <view class="item" v-if="!maStartTime">
            <button class="btn-blue" @click="setMaStartTime">调机开始(=换模完成)</button>
            <input class="txt-inp" v-model="maStartTime" placeholder="点击按钮带出时间" disabled="true" />
         </view>
         <view class="item" v-else>
            <button class="btn-disabled">调机开始(=换模完成)</button>
            <input class="txt-inp" v-model="maStartTime" placeholder="点击换模完成时写入" disabled="true" />
            <input class="txt-inp" v-model="maStartTime" placeholder="点击按钮带出时间" disabled="true" />
         </view>
         <view class="item" v-if="!maShoutTime">
            <button @click="stateCheck(1)" class="btn-blue">送检呼叫(点击按钮|清零机台面板数)</button>
@@ -93,6 +97,9 @@
         this.findByOrderId();
      },
      methods: {
            setMaStartTime() {
                this.maStartTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
            },
         refresh() {
            this.findByOrderId(); // This will reload the data for the current order
         },
@@ -105,6 +112,7 @@
            this.$post({
               url: "/MesOrderSta/ChangeMachineTime",
               data: {
                        maStartTime: this.maStartTime, // 新增调机时间
                  maShoutTime: this.maShoutTime,
                  id: this.statusForm.id,
                  orderId: this.orderId,