From 7cd4c23a4ac25cd085d7750c48f6a295e1046735 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sun, 22 Aug 2021 16:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E6=B2=A1=E5=8B=BE=E9=80=89?= =?UTF-8?q?=E6=89=93=E5=90=97=EF=BC=8C=E4=B9=9F=E8=AE=B0=E5=BD=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SegmentProductionAuto_/SegmentProductionAutoForm.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs index e236c28..bae98b9 100644 --- a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs +++ b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs @@ -490,6 +490,12 @@ namespace ButcherFactory.SegmentProductionAuto_ log.Message = string.Format("存货名称:{0} 重量:{1:#0.###}", entity.Goods_Name, entity.Weight); SegmentProductionBL.InsertLog(log); } + else + { + var log = new SegmentLog(entity.BarCode, "生产未打印"); + log.Message = string.Format("存货名称:{0} 重量:{1:#0.###}", entity.Goods_Name, entity.Weight); + SegmentProductionBL.InsertLog(log); + } } GoodsLabel.Text = detail.Goods_Name;