|
|
@ -636,8 +636,14 @@ namespace Myshipping.Application.Service.BookingOrder
|
|
|
|
if(!model.earliestDepartureDate.HasValue)
|
|
|
|
if(!model.earliestDepartureDate.HasValue)
|
|
|
|
throw Oops.Bah($"预计离港日期必填");
|
|
|
|
throw Oops.Bah($"预计离港日期必填");
|
|
|
|
|
|
|
|
|
|
|
|
if (!model.isSendNoSchedule && string.IsNullOrWhiteSpace(model.carrierProductId))
|
|
|
|
if(string.IsNullOrWhiteSpace(model.userPlaceOfReceiptUnLocCode))
|
|
|
|
throw Oops.Bah($"船期信息不能为空,请查询船期信息");
|
|
|
|
throw Oops.Bah($"始发地必填");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(model.userPlaceOfDeliveryUnLocCode))
|
|
|
|
|
|
|
|
throw Oops.Bah($"目的地必填");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//if (!model.isSendNoSchedule && string.IsNullOrWhiteSpace(model.carrierProductId))
|
|
|
|
|
|
|
|
// throw Oops.Bah($"船期信息不能为空,请查询船期信息");
|
|
|
|
|
|
|
|
|
|
|
|
if (model.isReefer)
|
|
|
|
if (model.isReefer)
|
|
|
|
{
|
|
|
|
{
|
|
|
|