From 2a994d156f01072d865af6e8ff36d40c0a752796 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 22 十月 2025 16:39:33 +0800
Subject: [PATCH] 还原版本

---
 components/machine.vue |   26 ++++++--------------------
 1 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/components/machine.vue b/components/machine.vue
index 5ac152c..70d4adb 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -9,7 +9,7 @@
 		<!-- 涓棿鐘舵�侀儴鍒嗭紝涓婁笅缁撴瀯锛屽寘鍚皟鏈烘祦绋嬬殑涓変釜姝ラ -->
 		<view class="middle-section">
 			<view class="item" style="height: 100px;">
-				<h4>璇存槑:鐐瑰嚮璋冩満寮�濮嬪悗锛屽啀鐐瑰嚮淇濆瓨骞剁敓鏁�</h4>
+				<h4>璇存槑:璋冩満寮�濮嬫椂闂撮渶瑕佹墜鍔ㄧ‘璁�</h4>
 			</view>
 			<view class="item">
 				<!-- 璋冩満寮�濮嬫寜閽紝maStartTime鏈夊�兼椂绂佺敤 -->
@@ -114,23 +114,9 @@
 				this.maEndTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
 			},
 			// 鍒锋柊宸ュ崟鏁版嵁
-            refresh() {
-                this.findByOrderId();
-            },
-            findByOrderId() {
-                this.$post({
-                    url: "/MesOrderSta/FindByOrderNo",
-                    data: {
-                        orderId: this.orderId,
-                        orderNo: this.orderNo
-                    }
-                }).then(res => {
-                    this.statusForm = res.data.tbBillList;
-                    this.maShoutTime = res.data.tbBillList.maShoutTime;
-                    this.maStartTime = res.data.tbBillList.maStartTime;
-                    this.maEndTime = res.data.tbBillList.maEndTime;
-                });
-            },
+			refresh() {
+				this.findByOrderId();
+			},
 			// 淇濆瓨骞剁敓鏁堬紝灏嗘椂闂寸瓑淇℃伅鎻愪氦鍒板悗绔�
 			save() {
 				if (!this.statusForm.id) {
@@ -151,8 +137,7 @@
 				}).then(res => {
 					if (res.data.tbBillList) {
 						this.$showMessage("鍛煎彨鎴愬姛");
-                        this.$forceUpdate(); // 寮哄埗鍒锋柊褰撳墠缁勪欢
-                        this.refresh(); // 淇濆瓨鍚庡埛鏂�
+						this.findByOrderId();
 					} else {
 						this.$showMessage("鍛煎彨澶辫触");
 						this.cancel();
@@ -177,6 +162,7 @@
 					case 2:
 						break;
 				}
+				this.flag = item;
 			},
 			// 鏍规嵁宸ュ崟鍙�/ID鑾峰彇宸ュ崟鐘舵�佹暟鎹�
 			findByOrderId() {

--
Gitblit v1.9.3