| | |
| | | return JsonConvert.SerializeObject(resultEntity); |
| | | } |
| | | |
| | | //销假必须三天以内 |
| | | if (leaveOff.EndTime.Value.Date < DateTime.Now.Date.AddDays(-4)) |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "请在72小时内进行销假处理,超过72小时无法提交"; |
| | | return JsonConvert.SerializeObject(resultEntity); |
| | | } |
| | | ////销假必须三天以内 |
| | | //if (leaveOff.EndTime.Value.Date < DateTime.Now.Date.AddDays(-4)) |
| | | //{ |
| | | // resultEntity.Result = false; |
| | | // resultEntity.Message = "请在72小时内进行销假处理,超过72小时无法提交"; |
| | | // return JsonConvert.SerializeObject(resultEntity); |
| | | //} |
| | | } |
| | | |
| | | using (TransactionScope scope = new TransactionScope()) |
| | |
| | | ViewBag.ShengDropDown = areaDTOs.Select(x => new { code = x.CodeId, label = x.Name }).ToList(); |
| | | |
| | | |
| | | ViewBag.Baomingtimebegin = DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimebegin = "";// DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = "";// DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | |
| | | return View(); |
| | |
| | | areaDTOs.Insert(1, areaDTOsic); |
| | | ViewBag.ShengDropDown = areaDTOs.Select(x => new { code = x.CodeId, label = x.Name }).ToList(); |
| | | |
| | | ViewBag.Baomingtimebegin = DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimebegin = "";// DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = "";// DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | return View(); |
| | | |
| | |
| | | |
| | | |
| | | |
| | | ViewBag.Baomingtimebegin = DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = DateTime.Now.ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimebegin = "";//DateTime.Now.AddMonths(-6).ToString("yyyy-MM-dd"); |
| | | ViewBag.Baomingtimeend = "";//DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | return View(); |
| | | |
| | |
| | | } |
| | | }, |
| | | ]; |
| | | dataUrl = "/CooperatecustomCustomer/GetList?Createtime=" + Baomingtimebegin + "|" + Baomingtimeend +"@(string.IsNullOrEmpty(Creater)?"": "&Ywjl=" + Creater)"; |
| | | dataUrl = "/CooperatecustomCustomer/GetList?Createtime=" /*+ Baomingtimebegin + "|" + Baomingtimeend*/ +"@(string.IsNullOrEmpty(Creater)?"": "&Ywjl=" + Creater)"; |
| | | searchCol = [ |
| | | |
| | | { label: '客户来源', name: 'Khly', labtype: 'combox', hidden: false, data: JSON.parse(khlys), cwidth: '5%', cccwidth: '8%' }, |
| | |
| | | }, |
| | | |
| | | ]; |
| | | dataUrl = "/IntentionCustomer/GetList?Createtime=" + Baomingtimebegin + "|" + Baomingtimeend +"@(string.IsNullOrEmpty(Creater11) ?"": "&Ywjl=" + Creater11)"; |
| | | dataUrl = "/IntentionCustomer/GetList?Createtime=" /*+ Baomingtimebegin + "|" + Baomingtimeend*/ +"@(string.IsNullOrEmpty(Creater11) ?"": "&Ywjl=" + Creater11)"; |
| | | searchCol = [ |
| | | { label: '客户来源', name: 'Khly', labtype: 'combox', hidden: false, data: JSON.parse(khlys), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: '行业分类', name: 'Hyfl', labtype: 'combox', hidden: false, data: JSON.parse(hyfls), cwidth: '5%', cccwidth: '15%' }, |
| | |
| | | |
| | | |
| | | ]; |
| | | dataUrl = "/IntentionCustomer/GetListhuiyuan?Createtime=" + Baomingtimebegin + "|" + Baomingtimeend ; |
| | | dataUrl = "/IntentionCustomer/GetListhuiyuan?Createtime="/* + Baomingtimebegin + "|" + Baomingtimeend*/ ; |
| | | searchCol = [ |
| | | { label: '账号:', name: 'Itcode', labtype: 'txt', hidden: false }, |
| | | { label: '名称:', name: 'Name', labtype: 'txt', hidden: false }, |