diff --git a/src/components/Upload/Excel.vue b/src/components/Upload/Excel.vue index 8ba036f..b1d47b6 100644 --- a/src/components/Upload/Excel.vue +++ b/src/components/Upload/Excel.vue @@ -140,6 +140,7 @@ const handleFileSuccess = (response: any) => { * 提交表单,触发上传 */ const submitFileForm = () => { + state.upload.isUploading = true uploadRef.value.submit() } diff --git a/src/views/wallet/wallet-recharge-invoice/print-dialog.vue b/src/views/wallet/wallet-recharge-invoice/print-dialog.vue index db565e6..19e5d51 100644 --- a/src/views/wallet/wallet-recharge-invoice/print-dialog.vue +++ b/src/views/wallet/wallet-recharge-invoice/print-dialog.vue @@ -165,7 +165,7 @@ const loading = ref(false) const loadingBack = ref(false) const receiptRef = ref(null) const deptOrUserInput = ref(null) -let timer = null +let timer const isStamping = ref(false) // 盖章动画开关 const receiptData = ref({ id: "", @@ -210,7 +210,7 @@ const handleClose = () => { timer = null } -// 发票退回 +// 发票作废 const backInvoice = async () => { if (!receiptData.value.picUrl) { useMessage().error("请先盖章") @@ -357,17 +357,17 @@ defineExpose({ @keyframes stamp-in { 0% { - transform: translateY(-100px) scale(2) rotate(0); + transform: translateY(-100px) scale(2); opacity: 0.2; } 60% { - transform: translateY(-10px) scale(1.5) rotate(0); + transform: translateY(-10px) scale(1.5); opacity: 1; } 100% { - transform: translateY(0) scale(1) rotate(0); + transform: translateY(0) scale(1); opacity: 1; } }