From a4140cce32dda94c73fd6aa721772c3a4f0b3be0 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 08 十月 2025 16:20:55 +0800
Subject: [PATCH] 如果有调机开始时间则更新
---
components/machine.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index 2820f9f..c7ceb83 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -7,10 +7,10 @@
<!-- 涓棿鐘舵�侀儴鍒嗭紝涓婁笅缁撴瀯 -->
<view class="middle-section">
<view class="item" style="height: 100px;">
- <h4>璇存槑:澶氬伐鍗曟ā寮忔椂璋冩満閫佹鏄粺涓�鐨�</h4>
+ <h4>璇存槑:璋冩満寮�濮嬫椂闂存墜鍔ㄧ‘璁�</h4>
</view>
<view class="item" v-if="!maStartTime">
- <button class="btn-blue" @click="setStartTime">璋冩満寮�濮嬶紙=鎹㈡ā瀹屾垚锛�</button>
+ <button class="btn-blue" @click="maStartTime">璋冩満寮�濮嬶紙=鎹㈡ā瀹屾垚锛�</button>
<input class="txt-inp" v-model="maStartTime" placeholder="鐐瑰嚮鎸夐挳甯﹀嚭鏃堕棿" disabled="true" />
</view>
<view class="item" v-else>
@@ -97,7 +97,7 @@
this.findByOrderId();
},
methods: {
- setStartTime() {
+ maStartTime() {
this.maStartTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
},
refresh() {
@@ -112,6 +112,7 @@
this.$post({
url: "/MesOrderSta/ChangeMachineTime",
data: {
+ maStartTime: this.maStartTime, // 鏂板璋冩満鏃堕棿
maShoutTime: this.maShoutTime,
id: this.statusForm.id,
orderId: this.orderId,
--
Gitblit v1.9.3