From 8777a8942443305addb99c258b11e7d4829037fd Mon Sep 17 00:00:00 2001 From: xusc Date: Thu, 23 May 2024 09:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml b/WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml index 7d938e2..c2606b3 100644 --- a/WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml +++ b/WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml @@ -526,6 +526,12 @@ let obj = { ids: ids.join() }; + let apsStatus = $("#gridList").jqGrid('getRowData', ids[0]).APSStatus; + + if (apsStatus != 'Y') { + $.modalMsg("未下发,不能取消下发", "warning"); + return; + } $.ajax({ url: "/OMAY/Aps/CancelSendMo" + "?" + Math.random(),