diff --git a/web/djy.Service/Afr/AfrService.cs b/web/djy.Service/Afr/AfrService.cs index 4cec75b..41191fe 100644 --- a/web/djy.Service/Afr/AfrService.cs +++ b/web/djy.Service/Afr/AfrService.cs @@ -884,13 +884,13 @@ namespace djy.Service.AFR var expendResult = fin.Expend(new CustFee { CARRIER = masterItem.ShipCompanyCode, - ETD = null, + ETD = masterItem.LoadDate, VOYNO = masterItem.Voyno, VESSEL = masterItem.Vessel, HBLNO = dealHouseItem.HouseBillNo, SENDUSERID = User.GID, LURURENID = User.GID, - CtnrCount = 1, + CtnrCount = cntrAll.Count(c => c.PID == dealHouseItem.GID), CtnrInfo = string.Empty, BSTYPE = BusinessType.AFR_REPORT, SENDTYPE = sendType switch { 1 or 2 => 0, 3 => 1, _ => -1 }, @@ -1043,7 +1043,7 @@ namespace djy.Service.AFR var expendResult = fin.Expend(new CustFee { CARRIER = expendMasterItem.ShipCompanyCode, - ETD = null, + ETD = expendMasterItem.LoadDate, VOYNO = expendMasterItem.Voyno, VESSEL = expendMasterItem.Vessel, HBLNO = expendHouseItem.HouseBillNo,