From 585a80894b9249878fee9c7182f4d14f8e5da985 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 21 四月 2025 18:03:07 +0800
Subject: [PATCH] qx

---
 src/views/hosp/order/index.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue
index 195cfd2..43d26e4 100644
--- a/src/views/hosp/order/index.vue
+++ b/src/views/hosp/order/index.vue
@@ -167,6 +167,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
+           :disabled="singles"
           v-hasPermi="['hosp:order:export']"
           >瀵煎嚭</el-button
         >
@@ -178,7 +179,7 @@
           size="mini"
           @click="handleRevoke"
           :loading="isLoading"
-          :disabled="single"
+          :disabled="singles"
           >鎾ら攢绛惧埌</el-button
         >
       </el-col>
@@ -1666,6 +1667,7 @@
       dataObj: {},
       // 闈炲崟涓鐢�
       single: true,
+      singles: false,
       activeNames: "first",
       // 闈炲涓鐢�
       multiple: true,
@@ -2257,6 +2259,7 @@
       this.ids = selection.map((item) => item.orderId);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
+      this.singles = selection.length !== 1;
       if (tjNUms.length > 0) {
         shijianzhou(tjNUms).then((res) => {
           this.shijianlist = res.data;

--
Gitblit v1.8.0