修复bug

This commit is contained in:
18942506660
2023-12-22 11:30:56 +08:00
parent 7e5b86e932
commit e7c0f78751
4 changed files with 36 additions and 32 deletions

View File

@@ -118,9 +118,9 @@ namespace WMS.Web.Domain.Entitys
if (task.Type == OutStockType.Sal)
{
//只有销售出库才需要同步金蝶
this.SuccessSync = SyncStatus.Fail;
this.SuccessSync = SyncStatus.SyncIng;
var erpd = this.Details.SelectMany(s => s.ErpDetails).ToList();
erpd.ForEach(f => f.SuccessSync = SyncStatus.Fail);
erpd.ForEach(f => f.SuccessSync = SyncStatus.SyncIng);
}
else
{