From 260badfb06dd27573d1002dfad7cd0d5c48c6d0c Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 09 十月 2025 15:28:54 +0800
Subject: [PATCH] 界面优化
---
components/machine.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index 3e90354..8504da8 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -7,10 +7,14 @@
<!-- 涓棿鐘舵�侀儴鍒嗭紝涓婁笅缁撴瀯 -->
<view class="middle-section">
<view class="item" style="height: 100px;">
- <h4>璇存槑:澶氬伐鍗曟ā寮忔椂璋冩満閫佹鏄粺涓�鐨�</h4>
+ <h4>璇存槑:璋冩満寮�濮嬫椂闂撮渶瑕佹墜鍔ㄧ‘璁�</h4>
</view>
- <view class="item">
- <button class="btn-blue" @click="setStartTime">璋冩満寮�濮嬶紙=鎹㈡ā瀹屾垚锛�</button>
+ <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" />
</view>
<view class="item" v-if="!maShoutTime">
@@ -93,7 +97,7 @@
this.findByOrderId();
},
methods: {
- setStartTime() {
+ setMaStartTime() {
this.maStartTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
},
refresh() {
@@ -108,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