From c4a8e0e0727648c5558604330fbe925bc8d1a0c1 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Wed, 28 Jul 2021 16:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8D=95No.158594=20?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E8=AF=A5=E5=AD=98=E8=B4=A7=E5=9C=A8MES?= =?UTF-8?q?=E3=80=90=E5=AD=98=E8=B4=A7=E3=80=91{=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=89=A7=E8=A1=8C=E6=A0=87=E5=87=86}=E4=B8=AD?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=89=E5=80=BC=EF=BC=8C=E8=8B=A5=E6=97=A0?= =?UTF-8?q?=E5=80=BC=E6=97=B6=E5=9C=A8=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=89=93?= =?UTF-8?q?=E7=A0=81=E6=97=B6=E7=BB=99=E4=BA=88=E6=8A=A5=E9=94=99=EF=BC=9A?= =?UTF-8?q?=E6=9C=AA=E9=85=8D=E7=BD=AE=E8=87=AA=E5=AE=9A=E4=B9=89=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=A0=87=E5=87=86=EF=BC=8C=E8=AF=B7=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E5=A4=84=E7=90=86=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SegmentProductionAuto_/SegmentProductionAutoForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs index 38ed249..74bcc8a 100644 --- a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs +++ b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs @@ -356,6 +356,8 @@ namespace ButcherFactory.SegmentProductionAuto_ private void InsertSegmentProduction(ClientGoodsSet_Detail detail, decimal weight) { + if (detail.GoodsType.HasValue && detail.GoodsType != 0 && string.IsNullOrEmpty(detail.Goods_CustomerDefine)) + throw new Exception("未配置自定义执行标准,请联系管理员处理!"); var pics = int.Parse(numberInput.Text); if (pics <= 0) pics = 1;