From 84a9297d616a8db97330e3daa6b92974bb738fa5 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 28 七月 2025 16:38:30 +0800 Subject: [PATCH] 1 --- 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