退货红单功能实现,以及出入库记录内容调整

This commit is contained in:
2025-10-09 23:21:03 +08:00
parent ec35781c1b
commit a669664fcc
5 changed files with 68 additions and 16 deletions

View File

@@ -659,7 +659,19 @@ namespace ZR.Service.mes.wms
ChangeQuantity = totalPartCount,
ActionTime = DateTime.Now,
Status = 1,
Remark = $"货物出库,出库单号:{shipmentNum}\n客户{customerCode}\n零件号{string.Join(',', partNumbers)}\n处理插入{finalInsertCount}条,删除{finalDeleteCount}条",
Remark =
"货物出库"
+ "\n出库单:"
+ shipmentNum
+ "\n零件号:"
+ string.Join(',', partNumbers)
+ "\n总箱数:"
+ totalPackage
+ "\n总零件数:"
+ totalPartCount
+ "\n涉及批次号:\n"
+ string.Join(',', uniquePatchCodes)
+ $"\n处理插入{ finalInsertCount }条,删除{ finalDeleteCount }条",
CreatedBy = createBy,
CreatedTime = DateTime.Now
};