Browse Source

称重计数扣重支持0扣重。

master
yibo 6 years ago
parent
commit
dd81ab224d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs

+ 1
- 1
ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs View File

@ -136,7 +136,7 @@ namespace ButcherFactory.WeightCount_
if (keyBoard.ShowDialog() == true)
{
var v = 0;
if (int.TryParse(keyBoard.Result, out v) && v > 0)
if (int.TryParse(keyBoard.Result, out v) && v >= 0)
{
entity.Number = v;
mGrid.Refresh();


Loading…
Cancel
Save