From 012718026af934b7370fd32efb809ce6dd6c3b66 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Thu, 20 Nov 2025 16:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BD=8D=E5=BF=85=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/moneyManage/receiveDetail/receiveService.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/moneyManage/receiveDetail/receiveService.vue b/src/views/moneyManage/receiveDetail/receiveService.vue index bfc8630..587e279 100644 --- a/src/views/moneyManage/receiveDetail/receiveService.vue +++ b/src/views/moneyManage/receiveDetail/receiveService.vue @@ -685,6 +685,11 @@ const handleAddForm = async () => { return; } } + + if(addFormData.value.numUnit == ''){ + ElMessage.error('请选择产品数量单位'); + return; + } // 处理时间格式 if (addFormData.value.payTime) { addFormData.value.payTime = moment(addFormData.value.payTime).format('YYYY-MM-DD HH:mm:ss') @@ -742,6 +747,10 @@ const handleEditForm = async () => { return; } } + if(addFormData.value.numUnit == ''){ + ElMessage.error('请选择产品数量单位'); + return; + } // 处理时间格式 if (addFormData.value.payTime) { addFormData.value.payTime = moment(addFormData.value.payTime).format('YYYY-MM-DD HH:mm:ss')