Browse Source

如果没勾选打吗,也记录日志

master
yibo 4 years ago
parent
commit
7cd4c23a4a
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs

+ 6
- 0
ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs View File

@ -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;


Loading…
Cancel
Save