From 76c38d4e7a6e46f34f547fad873dc383c1397d00 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期六, 24 五月 2025 14:53:09 +0800 Subject: [PATCH] Merge branch 'devlop' of http://47.97.1.152:5880/r/wms-master into devlop --- rsf-admin/src/page/work/outBound/OutBoundList.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rsf-admin/src/page/work/outBound/OutBoundList.jsx b/rsf-admin/src/page/work/outBound/OutBoundList.jsx index 7a2db95..22aaa44 100644 --- a/rsf-admin/src/page/work/outBound/OutBoundList.jsx +++ b/rsf-admin/src/page/work/outBound/OutBoundList.jsx @@ -183,13 +183,13 @@ } const http = async (sta, items) => { console.log(items); - + const filZores = items.filter(item => item.outQty <= 0.0); const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme); - if (filter.length > 0) { + if (filter.length > 0 || filZores.length > 0) { notify(translate('toolbar.request.error.out_stock_qty')) return } - const { data: { code, data, msg } } = await request.post(`/locItem/generate/task`, { siteNo: sta, items: items }); + const { data: { code, data, msg } } = await request.post(`/locItem/check/task`, { siteNo: sta, items: items }); if (code === 200) { notify(msg); refresh() -- Gitblit v1.9.1