|
|
@ -385,11 +385,12 @@ namespace Myshipping.Application.EDI.PIL
|
|
|
|
if (string.IsNullOrEmpty(bill.ORDERNO))
|
|
|
|
if (string.IsNullOrEmpty(bill.ORDERNO))
|
|
|
|
{ error = error + "|订舱单号不能为空"; }
|
|
|
|
{ error = error + "|订舱单号不能为空"; }
|
|
|
|
|
|
|
|
|
|
|
|
if (bill.PORTLOADID == "CNTAO")
|
|
|
|
//2023-03-21 跟韩工确认PIL不需要判断场站EDI去掉验证
|
|
|
|
{
|
|
|
|
//if (bill.PORTLOADID == "CNTAO")
|
|
|
|
if (string.IsNullOrEmpty(bill.YARD) || string.IsNullOrEmpty(bill.YARDEDICODE))
|
|
|
|
//{
|
|
|
|
{ error = error + "|场站和场站EDI代码不能为空"; }
|
|
|
|
// if (string.IsNullOrEmpty(bill.YARD) || string.IsNullOrEmpty(bill.YARDEDICODE))
|
|
|
|
}
|
|
|
|
// { error = error + "|场站和场站EDI代码不能为空"; }
|
|
|
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(bill.MBLNO))
|
|
|
|
if (string.IsNullOrEmpty(bill.MBLNO))
|
|
|
|
{ error = error + "|主提单号不能为空"; }
|
|
|
|
{ error = error + "|主提单号不能为空"; }
|
|
|
|