From 385a0a8fa78ceb898636bf2f3291ddcc9a3c301b Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 08 十月 2025 15:22:18 +0800
Subject: [PATCH] 调机开始点击按钮带出时间

---
 components/machine.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/components/machine.vue b/components/machine.vue
index 78be49e..3e90354 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -10,8 +10,8 @@
 				<h4>璇存槑:澶氬伐鍗曟ā寮忔椂璋冩満閫佹鏄粺涓�鐨�</h4>
 			</view>
 			<view class="item">
-				<button class="btn-disabled">璋冩満寮�濮嬶紙=鎹㈡ā瀹屾垚锛�</button>
-				<input class="txt-inp" v-model="maStartTime" placeholder="鐐瑰嚮鎹㈡ā瀹屾垚鏃跺啓鍏�" disabled="true" />
+				<button class="btn-blue" @click="setStartTime">璋冩満寮�濮嬶紙=鎹㈡ā瀹屾垚锛�</button>
+				<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 +93,9 @@
 			this.findByOrderId();
 		},
 		methods: {
+            setStartTime() {
+                this.maStartTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
+            },
 			refresh() {
 				this.findByOrderId(); // This will reload the data for the current order
 			},

--
Gitblit v1.9.3