|
|
|
@ -138,6 +138,8 @@ namespace BWP.Web.Pages.B3YunKen { |
|
|
|
|
|
|
|
var details = new List<SaleOutStore_Detail>(); |
|
|
|
foreach (SaleOutStore_Detail detail in _detailGrid.GetSelectedItems()) { |
|
|
|
if (detail.AcceptUnitNum > detail.UnitNum) |
|
|
|
throw new ApplicationException("【"+detail.Goods_Name+"】转验收报价数量不能大于报价数量"); |
|
|
|
detail.UnitNum = detail.AcceptUnitNum; |
|
|
|
detail.SecondNumber = detail.AcceptSecondNumber; |
|
|
|
details.Add(detail); |
|
|
|
|