From 1cd52c84905ee2cb5ba8ec66a94a094e3c2c92ea Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Tue, 3 Dec 2024 17:01:48 +0800 Subject: [PATCH] =?UTF-8?q?12/3=20=E5=AE=A1=E6=A0=B8=E9=A2=86=E7=94=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/receive/receiveAuditDetail.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/inout/receive/receiveAuditDetail.vue b/src/views/inout/receive/receiveAuditDetail.vue index 85b21b6..bc535fe 100644 --- a/src/views/inout/receive/receiveAuditDetail.vue +++ b/src/views/inout/receive/receiveAuditDetail.vue @@ -142,13 +142,23 @@ export default { status:val, auditRemark:this.formData.auditRemark }; + // 显示加载状态 + const loading = this.$loading({ + lock: true, + text: '审核中...', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }); getAudit(data).then((res=>{ if(res.code==20000){ + loading.close() this.closeDialog(); }else{ this.$message.error(res.message); + loading.close(); } })) + loading.close(); } }, filters: {},