|
|
@ -617,11 +617,11 @@ namespace SegmentationWeight |
|
|
{ |
|
|
{ |
|
|
if (set.StandardWeightUp.HasValue && record.Weight > set.StandardWeightUp.Value) |
|
|
if (set.StandardWeightUp.HasValue && record.Weight > set.StandardWeightUp.Value) |
|
|
{ |
|
|
{ |
|
|
MessageBox.Show("当前重量:"+record.Weight+" 不允许大于标准重量上限:"+ set.StandardWeightUp.Value); |
|
|
|
|
|
|
|
|
// MessageBox.Show("当前重量:"+record.Weight+" 不允许大于标准重量上限:"+ set.StandardWeightUp.Value);
|
|
|
} |
|
|
} |
|
|
if (set.StandardWeightLow.HasValue && record.Weight < set.StandardWeightLow.Value) |
|
|
if (set.StandardWeightLow.HasValue && record.Weight < set.StandardWeightLow.Value) |
|
|
{ |
|
|
{ |
|
|
MessageBox.Show("当前重量:" + record.Weight + " 不允许小于标准重量下限:" + set.StandardWeightLow.Value); |
|
|
|
|
|
|
|
|
// MessageBox.Show("当前重量:" + record.Weight + " 不允许小于标准重量下限:" + set.StandardWeightLow.Value);
|
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
|