|
|
@ -245,12 +245,8 @@ namespace BBWYB.Server.Business |
|
|
|
SchemeId = cargoParam.SchemeId, |
|
|
|
SourceSkuId = orderSku?.BelongSkuId |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
totalPurchaseAmount += purchaseOrderSimpleInfo.TotalAmount; |
|
|
|
|
|
|
@ -372,6 +368,7 @@ namespace BBWYB.Server.Business |
|
|
|
fsql.Update<Order>(request.OrderId).SetIf(dbOrder.OrderState == Enums.OrderState.等待采购, o => o.OrderState, Model.Enums.OrderState.待出库) |
|
|
|
.SetIf(!string.IsNullOrEmpty(request.Remark), o => o.PurchaseRemark, request.Remark) |
|
|
|
.Set(o => o.IsPurchased, true) |
|
|
|
.Set(o => o.PackConfigState, Enums.PackConfigState.待配置) |
|
|
|
.ExecuteAffrows(); |
|
|
|
}); |
|
|
|
} |
|
|
|