修复bug
This commit is contained in:
Binary file not shown.
@@ -327,6 +327,8 @@ namespace WMS.Web.Api.Controllers
|
|||||||
List<PullDownStrResponse> pullList = new List<PullDownStrResponse>();
|
List<PullDownStrResponse> pullList = new List<PullDownStrResponse>();
|
||||||
foreach (var c in customers.Data.Where(w => w.Name.Contains(name)))
|
foreach (var c in customers.Data.Where(w => w.Name.Contains(name)))
|
||||||
{
|
{
|
||||||
|
//排除重复的code
|
||||||
|
if (pullList.Where(f => f.Code == c.Number).Any()) continue;
|
||||||
pullList.Add(new PullDownStrResponse()
|
pullList.Add(new PullDownStrResponse()
|
||||||
{
|
{
|
||||||
Id = c.Id.ToString(),
|
Id = c.Id.ToString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user