|
|
@@ -310,7 +310,7 @@ namespace UAS_LabelMachine
|
|
|
//计算当前采集数量
|
|
|
string collectqty = (LabelInfDataTable.Compute("sum(pib_qty)", "pib_prodcode='" + CurrentPrCode + "' and pib_pdno='" + CurrentPDNO + "'").ToString());
|
|
|
double CollectQty = (collectqty == "" ? 0 : double.Parse(collectqty));
|
|
|
- if (CollectQty + CollectNum > double.Parse(CurrentPrCount))
|
|
|
+ if (Convert.ToDouble((CollectQty + CollectNum).ToString("0.00")) > double.Parse(CurrentPrCount))
|
|
|
{
|
|
|
MessageBox.Show("物料" + Data["PRCODE"] + "采集后数量为" + (CollectQty + CollectNum) + ",【超出】本行出货数量" + CurrentPrCount, "提示");
|
|
|
Input.SelectAll();
|