From 015aeab7a6a99afd0b24ee6ea7b5e4a9c950c3b5 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 27 五月 2024 18:05:52 +0800
Subject: [PATCH] qxtj

---
 src/views/system/comp/index.vue |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/views/system/comp/index.vue b/src/views/system/comp/index.vue
index 30afc43..9e48f64 100644
--- a/src/views/system/comp/index.vue
+++ b/src/views/system/comp/index.vue
@@ -6,7 +6,7 @@
           @keyup.enter.native="handleQuery" />
       </el-form-item>
       <el-form-item>
-        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin:0 15px;">鎼滅储</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
       </el-form-item>
     </el-form>
@@ -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) {
@@ -1022,6 +1027,12 @@
         dwgrouping(data).then(res => {
           if (res.code == 200) {
             this.beCurrent()
+            this.forms.groupingName = "";
+            this.forms.sex = "";
+            this.forms.pacName = "";
+            this.forms.price = "";
+            this.forms.ysPrice = "";
+            this.forms.payType = "";
           }
         })
       }

--
Gitblit v1.8.0