修改派车

optimize
jianghaiqing 2 years ago
parent 09903bfceb
commit 0e62d8ed90

@ -509,7 +509,10 @@ namespace Myshipping.Application
if(yardInfo != null) if(yardInfo != null)
{ {
if (string.IsNullOrWhiteSpace(model.YARDCONTRACT)) if (string.IsNullOrWhiteSpace(model.YARDCONTRACT))
{
model.YARDCONTRACT = yardInfo.Chief?.Trim(); model.YARDCONTRACT = yardInfo.Chief?.Trim();
}
if (string.IsNullOrWhiteSpace(model.YARDCONTRACTTEL)) if (string.IsNullOrWhiteSpace(model.YARDCONTRACTTEL))
model.YARDCONTRACTTEL = yardInfo.Tel?.Trim(); model.YARDCONTRACTTEL = yardInfo.Tel?.Trim();
@ -517,8 +520,8 @@ namespace Myshipping.Application
} }
} }
model.InYardContact = orderInfo.YARDCONTRACT; model.InYardContact = model.YARDCONTRACT;
model.InYardContractTel = orderInfo.YARDCONTRACTTEL; model.InYardContractTel = model.YARDCONTRACTTEL;
if (orderInfo.KGS.HasValue) if (orderInfo.KGS.HasValue)
{ {

Loading…
Cancel
Save