diff --git a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs index 80d4879..d1aa98e 100644 --- a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs +++ b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs @@ -596,6 +596,8 @@ namespace ButcherFactory.SegmentProductionAuto_ if (_codePanel != null && _totalCode.ID == item2.Key) { flowLayoutPanel4.Controls.Clear(); + _codePanel = null; + _totalCode = null; } }