From 5a9be998d3dc8097d19d6f4833c0538c34bd6dcb Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 09 一月 2025 10:29:18 +0800 Subject: [PATCH] 111 --- src/views/system/tijian/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue index 091cc22..f164347 100644 --- a/src/views/system/tijian/index.vue +++ b/src/views/system/tijian/index.vue @@ -994,7 +994,8 @@ <el-button type="primary" @click="submitPrice" - :disabled="confirm" + :loading="loadingSubmit" + :disabled="confirm || loadingSubmit" v-if="showHidden.has_charge == 'N'" size="mini" >绛惧埌鐧昏</el-button @@ -1528,6 +1529,7 @@ hide: true, beat: false, dialogVisibles: false, + loadingSubmit: false, charge: false, src: "", url: "", @@ -3760,6 +3762,7 @@ submitPrice() { let _this = this; if (_this.tjCategory !== "") { + this.loadingSubmit = true; let List = _this.tableData1; //鍗曚釜椤圭洰淇℃伅 if (this.responseList.cusId) { var userId = this.responseList.cusId; @@ -3810,6 +3813,7 @@ })); // 鍒涘缓鏂扮殑瀵硅薄锛屽寘鍚� discount 鍜� id gaibianzhekou(newArray).then((res) => { if (res.code === 200) { + this.loadingSubmit = false; let data; if (pacId || this.tjOrderList.length > 0) { @@ -3847,10 +3851,12 @@ }); } } else { + this.loadingSubmit = false; this.$modal.msgError("鏀瑰彉鎶樻墸閿欒"); } }); } else { + this.loadingSubmit = false; this.$modal.msgError("璇烽�夋嫨浣撴绫诲埆"); } }, -- Gitblit v1.8.0