From 00212ed8e808fc7b76c04389224e65f27f074fb2 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 26 四月 2024 15:30:04 +0800
Subject: [PATCH] su

---
 src/views/system/comp/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/system/comp/index.vue b/src/views/system/comp/index.vue
index 5f9ac22..9441f2f 100644
--- a/src/views/system/comp/index.vue
+++ b/src/views/system/comp/index.vue
@@ -889,10 +889,15 @@
       })
     },
     submitrighr() {
-      this.openss = false
+      if(this.pacList.length >= 1){
+        this.openss = false
       this.forms.pacName = this.pacList[0].pacName
       this.forms.price = this.queryParams.price
       this.forms.ysPrice = (this.forms.price * (this.forms.limits / 10)).toFixed(2);
+      }else{
+        this.$modal.msgError("璇烽�夋嫨濂楅");
+      }
+      
     },
     // 濂楅鍗曢」鑾峰彇
     handleChangeOne(selection) {

--
Gitblit v1.8.0