From 425df91a898d9afee1aa9e22c185a24ea2b5b637 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 31 十月 2025 16:00:18 +0800
Subject: [PATCH] 优化
---
components/machine.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index beeb5c5..49de6c8 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -157,7 +157,6 @@
},
// 淇濆瓨骞剁敓鏁堬紝灏嗘椂闂寸瓑淇℃伅鎻愪氦鍒板悗绔�
// 鍙樻洿锛氳繑鍥� Promise锛涙垚鍔熷悗灞�閮ㄥ埛鏂帮紙璋冪敤 findByOrderId锛夎�屼笉鏄暣椤� reload
- // 淇濆瓨骞剁敓鏁堬紝灏嗘椂闂寸瓑淇℃伅鎻愪氦鍒板悗绔�
save() {
if (!this.statusForm.id) {
this.$showMessage("id涓虹┖锛屼笉鍏佽鎺ㄩ��");
@@ -178,6 +177,9 @@
if (res && res.data && res.data.tbBillList) {
this.$showMessage("鍛煎彨鎴愬姛");
+ // 鍏抽敭淇敼锛氭竻绌� flag 鐨勫��
+ this.flag = -1; // 鎴栬�呮牴鎹笟鍔¢渶姹傝缃负鍏朵粬鍒濆鍊�
+
// 鏂规1锛氫娇鐢╱ni-app鐨勯〉闈㈠埛鏂版柟娉�
// 鏂规硶1锛氳Е鍙戜笅鎷夊埛鏂帮紙濡傛灉椤甸潰鏀寔锛�
if (uni.startPullDownRefresh) {
--
Gitblit v1.9.3