zhengcaioa/zhengcaioa/Controllers/Customer/CooperVisitController.cs
@@ -129,6 +129,11 @@ { dto = _cooperVisitService.Get(id); var cooperatecustomCustomerDTO = _cooperatecustomCustomerService.Get(dto.Viscustomer); if (cooperatecustomCustomerDTO != null) { dto.ViscustomerName = cooperatecustomCustomerDTO.Name; } } else { @@ -144,7 +149,7 @@ } } } if (!string.IsNullOrWhiteSpace(Viscustomer)) if (!string.IsNullOrWhiteSpace(dto.Viscustomer)) { ViewData["customer"] = new List<CooperatecustomCustomerDTO>(); } zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs
@@ -133,7 +133,11 @@ if (!String.IsNullOrEmpty(id)) { dto = _intentionVisitService.Get(id); var intentionCustomerDTO = _intentionCustomerService.Get(dto.Viscustomer); if (intentionCustomerDTO != null) { dto.ViscustomerName = intentionCustomerDTO.Name; } //dto.Viscustomer = Viscustomer; IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); searchEntity.page = 1; @@ -178,7 +182,7 @@ } if (!string.IsNullOrWhiteSpace(Viscustomer)) if (!string.IsNullOrWhiteSpace(dto.Viscustomer)) { ViewData["customer"] = new List<IntentionCustomerDTO>(); }