From 6ce893cb38472b00d4ad0d210245662cd44c69ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Tue, 13 Sep 2022 23:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E5=94=AE=E5=90=8E=E5=8D=95=E5=AE=A1=E6=A0=B8=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=94=AE=E5=90=8E=E5=95=86=E5=93=81=E4=B8=BA?= =?UTF-8?q?=E5=BF=85=E9=80=89=E9=A1=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/views/order/billaftersales/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/order/billaftersales/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/order/billaftersales/index.html index 15179e1b..ce0dd7d4 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/order/billaftersales/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/order/billaftersales/index.html @@ -239,6 +239,10 @@ } } } + if (items.length <= 0) { + layer.msg("售后商品数量不能为空。"); + return false; + } field.items = items; if (debug) { console.log(field); } //开启调试返回数据 //提交 Ajax 成功后,关闭当前弹层并重载表格