diff --git a/src/views/wallet/wallet-recharge-apply/upload-excel.vue b/src/views/wallet/wallet-recharge-apply/upload-excel.vue index d208ebd..b0c7fbf 100644 --- a/src/views/wallet/wallet-recharge-apply/upload-excel.vue +++ b/src/views/wallet/wallet-recharge-apply/upload-excel.vue @@ -3,19 +3,36 @@ - + - +
{{ $t("excel.operationNotice") }} @@ -24,8 +41,13 @@ @@ -41,8 +63,7 @@ - + @@ -161,10 +182,11 @@ const handleFileSuccess = (response: any) => { */ const submitFileForm = async () => { if (form.bizType != "1") { + state.upload.isUploading = true uploadRef.value.submit() return } - const valid = await dataFormRef.value.validate().catch(() => { }) + const valid = await dataFormRef.value.validate().catch(() => {}) if (!valid) return try { state.upload.isUploading = true @@ -173,7 +195,7 @@ const submitFileForm = async () => { useMessage().success("导入成功充值") emit?.("refreshDataList") } catch (error: any) { - console.error(error); + console.error(error) useMessage().error(error.msg || "新增充值数据错误") } finally { state.upload.isUploading = false