|
@@ -4638,17 +4638,22 @@ namespace wms.service.Service
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
+ #region 分区计算
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ #endregion
|
|
|
foreach (var doc in bomSetGrpList)
|
|
|
{
|
|
|
//找到对应的垛形信息
|
|
|
var bomSetGrp = _BillBomsetgrpRepository.GetSingle(x => doc.Id == x.Id);
|
|
|
- var bomSetGrpInfo = _billBomsetinfoRepository.GetList(x => x.BomSetHdrId == bomSetGrp.Id && x.IsEmpty == 0).OrderBy(x => x.XYNo.ObjToInt());
|
|
|
+ //var bomSetGrpInfo = _billBomsetinfoRepository.GetList(x => x.BomSetHdrId == bomSetGrp.Id && x.IsEmpty == 0).OrderBy(x => x.XYNo.ObjToInt());
|
|
|
|
|
|
- //南侧需要反转
|
|
|
- if (wareHouse.Code.Contains("S"))
|
|
|
- {
|
|
|
- bomSetGrpInfo = bomSetGrpInfo.OrderByDescending(x => x.XYNo.ObjToInt());
|
|
|
- }
|
|
|
+ ////南侧需要反转
|
|
|
+ //if (wareHouse.Code.Contains("S"))
|
|
|
+ //{
|
|
|
+ // bomSetGrpInfo = bomSetGrpInfo.OrderByDescending(x => x.XYNo.ObjToInt());
|
|
|
+ //}
|
|
|
|
|
|
//是否可以码垛,默认可以码垛
|
|
|
var isPalletize = true;
|