打印修改

dev
cjy 3 weeks ago
parent b3f5646eb4
commit b2fee9bccb

@ -399,11 +399,11 @@ namespace DS.WMS.PrintApi.Service
var info = tenantDb.Queryable<dynamic>().AS("op_sea_export").Where("id=@id", new { id = id }).First();
if (fileName.Contains("[委托编号]"))
{
fileName = fileName.Replace("[委托编号]", info.MBLNO);
fileName = fileName.Replace("[委托编号]", info.CustomerNo);
}
if (fileName.Contains("[提单号]"))
{
fileName = fileName.Replace("[提单号]", info.CustomerNo);
fileName = fileName.Replace("[提单号]", info.MBLNO);
}
}
}

Loading…
Cancel
Save