From b92ec5e7dda11712facbdae748ccc7b0a99050f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Tue, 18 Feb 2020 13:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E5=95=86=E5=93=81=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E5=BF=85=E9=A1=BB=E5=BD=95=E5=85=A5=E6=9D=A1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/pages/materials/material.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erp_web/pages/materials/material.html b/erp_web/pages/materials/material.html index 5ee230ef..c74bd15c 100644 --- a/erp_web/pages/materials/material.html +++ b/erp_web/pages/materials/material.html @@ -1175,6 +1175,10 @@ $.messager.alert('提示', '单位为必填项!', 'warning'); return; } + if ($("#materialExtendData").datagrid('getRows').length==0){ + $.messager.alert('提示', '请录入条码及相关信息!', 'warning'); + return; + } if (checkIsExist()) { return; }