From e2ce0493b0978ed2706eed28555bd83ed329cb97 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期四, 24 七月 2025 11:36:12 +0800
Subject: [PATCH] qx

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

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index 7ecfeea..01c0f03 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -248,7 +248,7 @@
                 <el-button v-show="lishi" type="primary" @click="cope" size="mini">涓�閿鍒�</el-button>
                 <el-button type="primary" @click="inputChanges" v-show="lishi" size="mini"
                   :disabled="confirm">鍘嗗彶浣撴璁板綍</el-button>
-                <el-button :disabled="isDisabled" type="primary" size="mini" @click="submitForm">鐧昏</el-button>
+                <el-button :disabled="butopen" type="primary" size="mini" @click="submitForm">鐧昏</el-button>
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" @queryTable="getList">閲嶇疆</el-button>
               </div>
             </el-col>
@@ -943,6 +943,7 @@
       // 闈炲崟涓鐢�
       single: true,
       cardreader: false,
+      butopen:false,
       // 闈炲涓鐢�
       multiple: true,
       nodeobj: {},
@@ -1745,6 +1746,7 @@
     /** 鐧昏鎻愪氦鎸夐挳 */
     submitForm() {
       let _this = this;
+      _this.butopen = true;
       if (!this.form.cusPhone || !this.form.cusName) {
         this.$message.warning("璇峰~閫夊繀濉」");
         return;
@@ -1781,6 +1783,7 @@
           // }
 
           addCustomer(formData).then((response) => {
+             _this.butopen = false;
             this.responseList = response.data;
             this.form.tjType = this.dict.type.dict_team[0].value;
             this.$modal.msgSuccess("鏂板鎴愬姛");
@@ -1788,6 +1791,7 @@
             _this.isDisabled = true;
             _this.top = false;
           }).catch((error) => {
+             _this.butopen = false;
             this.$modal.msgError("鐧昏澶辫触锛岃妫�鏌ユ暟鎹�");
             console.error("Error in addCustomer:", error);
           });

--
Gitblit v1.8.0