|
|
|
@ -915,6 +915,10 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
TransferPort1 = taskBCInfoDto.TransferPort1,
|
|
|
|
|
TransferPort2 = taskBCInfoDto.TransferPort2,
|
|
|
|
|
PriceCalculationDate = taskBCInfoDto.PriceCalculationDate,
|
|
|
|
|
TakeCtnYard = taskBCInfoDto.TakeCTNYard,
|
|
|
|
|
UpdateFlag = taskBCInfoDto.UpdateFlag,
|
|
|
|
|
CarrierReferNo = taskBCInfoDto.CarrierReferNo,
|
|
|
|
|
UserReferNo = taskBCInfoDto.UserReferNo,
|
|
|
|
|
CtnList = new List<BookingSlotCtnSaveInput>()
|
|
|
|
|
},
|
|
|
|
|
OpType = messageInfo.Head.RequestAction?.ToLower(),
|
|
|
|
@ -925,6 +929,21 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
{
|
|
|
|
|
slotModel.DataObj.WeekAt = week;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
|
|
|
|
|
//如果约号不为空,通过约号来对应提单类型 MBL 或者HBL
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(taskBCInfoDto.ContractNo))
|
|
|
|
|
{
|
|
|
|
|
string s = taskBCInfoDto.ContractNo.Trim();
|
|
|
|
|
var contractInfo = tenantDb.Queryable<BookingContractNoManage>().First(b => b.ContractNo.Equals(s, StringComparison.OrdinalIgnoreCase));
|
|
|
|
|
|
|
|
|
|
if(contractInfo != null && !string.IsNullOrWhiteSpace(contractInfo.BLIssueType))
|
|
|
|
|
{
|
|
|
|
|
slotModel.DataObj.BLIssueType = contractInfo.BLIssueType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (taskBCInfoDto.CtnList.Count > 0)
|
|
|
|
|
{
|
|
|
|
|
var ctnCodeList = (await _codeCtnService.GetAllList()).Data ?? new List<Code.Dtos.CodeCtnRes>();
|
|
|
|
|