From e3a63203c823a4b7fcb12a52769c34acdc0b7a19 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 18 三月 2024 18:03:51 +0800
Subject: [PATCH] qxtj

---
 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