pick count 取2位小数
This commit is contained in:
parent
ebc38709b1
commit
89b87e81a4
|
@ -3424,7 +3424,7 @@ namespace DeiNiu.wms.Logical
|
|||
{
|
||||
logOut.Debug(string.Format("1 下架任务 {0},flowNO:{1},状态 {2}, 下架数量{3}", id, flowNo, state, pickCount));
|
||||
|
||||
|
||||
pickCount = Math.Round(pickCount, 2);
|
||||
WmsPlateStock_tmp ptmp = new WmsPlateStock_tmp();
|
||||
string custId = ptmp.getRelatedCustId(flowNo);
|
||||
|
||||
|
@ -3456,7 +3456,7 @@ namespace DeiNiu.wms.Logical
|
|||
WmsGoods goods = new WmsGoods(sr.goodsId);
|
||||
|
||||
|
||||
pickCount = goods.isWeightOut() ? pickCount : ((int)(pickCount / goods.minOperateCount)) * goods.minOperateCount;
|
||||
pickCount = goods.isWeightOut() ? pickCount : ((int)Math.Ceiling(pickCount / goods.minOperateCount)) * goods.minOperateCount;
|
||||
|
||||
logOut.Debug(string.Format(" 下架任务 {0},flowNO:{1},状态 {2}, 下架数量{3}, gooddsname {4} ,minOperateCount {5}", id, flowNo, state, pickCount,goods.goodsName, goods.minOperateCount));
|
||||
|
||||
|
|
Loading…
Reference in New Issue