From 98cd7063d9b9a1570dcfbac92f5c2b35d904868b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 05 七月 2021 15:41:29 +0800
Subject: [PATCH] 修改修改

---
 zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
index 95b6936..2d85f63 100644
--- a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionCustomerController.cs
@@ -121,7 +121,7 @@
 
             ViewBag.Creater = _userService.GetList().Select(x => new { code = x.Id, label = x.UserName }).ToList();
 
-
+            ViewBag.shifou = _liaotianService.GetSYScode("system", "shifou").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList();
 
 
             ViewBag.ShengDropDown = _projectService.Getsheng().Select(x => new { code = x.CodeId, label = x.Name }).ToList();
@@ -258,6 +258,10 @@
             var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User"));
             ViewData["curentuser"] = curentuser;
             data.RecStatus = "A";
+            if (string.IsNullOrEmpty(data.Shifoutianjiaweixin))
+            {
+                data.Shifoutianjiaweixin = "D";
+            }
             if (String.IsNullOrEmpty(data.Id))
             {
                 data.Creater = curentuser.Id;

--
Gitblit v1.9.1