From 57af1938b656e10a71918221f47846b9b050897b Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 08 八月 2025 14:22:12 +0800 Subject: [PATCH] # --- rsf-admin/src/page/orders/asnOrder/AsnOrderModal.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/rsf-admin/src/page/orders/asnOrder/AsnOrderModal.jsx b/rsf-admin/src/page/orders/asnOrder/AsnOrderModal.jsx index dd16e72..d26ea4c 100644 --- a/rsf-admin/src/page/orders/asnOrder/AsnOrderModal.jsx +++ b/rsf-admin/src/page/orders/asnOrder/AsnOrderModal.jsx @@ -200,6 +200,11 @@ const handleDeleteItem = () => { + if (selectedRows.length === 0) { + notify('璇烽�夋嫨瑕佸垹闄ょ殑琛�', {type: 'warning'}); + return; + } + const newTableData = _.filter(tabelData, (item) => !selectedRows.includes(item.id)); setTableData(newTableData); } -- Gitblit v1.9.1