This commit is contained in:
@ -260,21 +260,22 @@ namespace Epost.BLL
|
||||
int SumCkQuantity = 0;//= Convert.ToInt32(skudt.Rows[0]["SumCkQuantity"].ToString());
|
||||
//散件总数
|
||||
int SumQuantity = Convert.ToInt32(skudt.Rows[0]["SumQuantity"].ToString());
|
||||
//if (discount != 1)
|
||||
//{
|
||||
// if (SumQuantity >= discount)
|
||||
// {
|
||||
int zcount = Convert.ToInt32(skudt.Rows[0]["SumQuantity"].ToString());
|
||||
if (discount != 1)
|
||||
{
|
||||
if (SumQuantity >= discount)
|
||||
{
|
||||
|
||||
// SumCkQuantity = SumQuantity / discount;
|
||||
// SumQuantity = SumQuantity % discount;
|
||||
// }
|
||||
//}
|
||||
SumCkQuantity = SumQuantity / discount;
|
||||
SumQuantity = SumQuantity % discount;
|
||||
}
|
||||
}
|
||||
ShowMessageModel_M show = new ShowMessageModel_M();
|
||||
show.Title = skudt.Rows[0]["goodsname"].ToString();
|
||||
show.Color = EnumHelper.EMToDescriptionString(LightColor.Color.Red);
|
||||
show.Block = item.block;
|
||||
show.Islock = true;
|
||||
show.Contents = data.Parameter + "(" + scanStr + ")\r";// + "规格:" + discount;
|
||||
show.Contents = data.Parameter + "(" + scanStr + ")\r规格:" + discount + " \r总数量:" + zcount;
|
||||
show.Qty = SumQuantity.ToString();
|
||||
show.Wholeqty = SumCkQuantity;
|
||||
show.Unit = "件";
|
||||
|
Reference in New Issue
Block a user