| | |
| | | |
| | | public string HuifangStatussss { get; set; } |
| | | |
| | | |
| | | public string HuiyuanId { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | public string Weixin { get; set; } |
| | | public string Shifoutianjiaweixin { get; set; } |
| | | public string HuiyuanId { get; set; } |
| | | } |
| | | |
| | | public class CooperatecustomCustomerDTOSearch : SearchEntity |
| | |
| | | public string Createtime { get; set; } |
| | | |
| | | public string Shifouweixin { get; set; } |
| | | |
| | | |
| | | public string HuiyuanId { get; set; } |
| | | } |
| | | } |
| | |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime? Createtime { get; set; } |
| | | public string CreatetimeName { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime? Modifytime { get; set; } |
| | | public string sort { get; set; } |
| | |
| | | public string OrderNo { get; set; } |
| | | public string XdTime { get; set; } |
| | | public string KhdwName { get; set; } |
| | | public int isDispatch { get; set; } |
| | | public string isDispatch { get; set; } |
| | | |
| | | public string PdTime { get; set; } |
| | | |
| | | public string Sort { get; set; } |
| | | |
| | | } |
| | | #endregion |
| | |
| | | |
| | | public string Fenchadayu { get; set; } |
| | | |
| | | public string Baojiachaxiaoyu { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | public int count { get; set; } |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 订å表 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class UserOrders |
| | | { |
| | | |
| | | |
| | | #region Model |
| | | private int _id; |
| | | private string _order_no = string.Empty; |
| | | private int _payment_id = 0; |
| | | private int _payment_status = 0; |
| | | private DateTime? _payment_time; |
| | | private string _express_no = string.Empty; |
| | | private int _express_status = 0; |
| | | private DateTime? _express_time; |
| | | private string _accept_name = string.Empty; |
| | | private string _mobile = string.Empty; |
| | | private string _area = string.Empty; |
| | | private string _address = string.Empty; |
| | | private int _is_invoice = 0; |
| | | private string _invoice_title = string.Empty; |
| | | private decimal _invoice_taxes = 0M; |
| | | private decimal _payable_amount = 0M; |
| | | private decimal _real_amount = 0M; |
| | | private decimal _order_amount = 0M; |
| | | private int _status = 1; |
| | | private DateTime _add_time = DateTime.Now; |
| | | private DateTime? _complete_time; |
| | | |
| | | /// <summary> |
| | | /// 订åç±»å |
| | | /// </summary> |
| | | public string order_type { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªå¢ID |
| | | /// </summary> |
| | | public int id |
| | | { |
| | | set { _id = value; } |
| | | get { return _id; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 订åå· |
| | | /// </summary> |
| | | public string order_no |
| | | { |
| | | set { _order_no = value; } |
| | | get { return _order_no; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¯ä»æ¹å¼ |
| | | /// </summary> |
| | | public int payment_id |
| | | { |
| | | set { _payment_id = value; } |
| | | get { return _payment_id; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¯ä»ç¶æ0æªæ¯ä»1å¾
æ¯ä»2å·²æ¯ä» |
| | | /// </summary> |
| | | public int payment_status |
| | | { |
| | | set { _payment_status = value; } |
| | | get { return _payment_status; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¿«éåå· |
| | | /// </summary> |
| | | public string express_no |
| | | { |
| | | set { _express_no = value; } |
| | | get { return _express_no; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¶è´§äººå§å |
| | | /// </summary> |
| | | public string accept_name |
| | | { |
| | | set { _accept_name = value; } |
| | | get { return _accept_name; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ææº |
| | | /// </summary> |
| | | public string mobile |
| | | { |
| | | set { _mobile = value; } |
| | | get { return _mobile; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æå±çå¸åº |
| | | /// </summary> |
| | | public string area |
| | | { |
| | | set { _area = value; } |
| | | get { return _area; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¶è´§å°å |
| | | /// </summary> |
| | | public string address |
| | | { |
| | | set { _address = value; } |
| | | get { return _address; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦ç´¢è¦å票 |
| | | /// </summary> |
| | | public int is_invoice |
| | | { |
| | | set { _is_invoice = value; } |
| | | get { return _is_invoice; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å票æ¬å¤´ |
| | | /// </summary> |
| | | public string invoice_title |
| | | { |
| | | set { _invoice_title = value; } |
| | | get { return _invoice_title; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è®¢åæ»éé¢ |
| | | /// </summary> |
| | | public decimal order_amount |
| | | { |
| | | set { _order_amount = value; } |
| | | get { return _order_amount; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç¶æè¯´æ |
| | | /// </summary> |
| | | public string statusChs |
| | | { |
| | | get; set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸åæ¶é´ |
| | | /// </summary> |
| | | public DateTime add_time |
| | | { |
| | | set { _add_time = value; } |
| | | get { return _add_time; } |
| | | } |
| | | |
| | | private List<usercart_items> _order_goods; |
| | | /// <summary> |
| | | /// ååå表 |
| | | /// </summary> |
| | | public List<usercart_items> order_goods |
| | | { |
| | | set { _order_goods = value; } |
| | | get { return _order_goods; } |
| | | } |
| | | #endregion |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è´ç©è½¦å表 |
| | | /// </summary> |
| | | [Serializable] |
| | | public class usercart_items |
| | | { |
| | | #region Model |
| | | private string _img_url = string.Empty; |
| | | private decimal _sell_price = 0M; |
| | | private int _quantity = 1; |
| | | private int _stock_quantity = 0; |
| | | |
| | | /// <summary> |
| | | /// ID |
| | | /// </summary> |
| | | public int id |
| | | { |
| | | get; set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ååID |
| | | /// </summary> |
| | | public int good_id |
| | | { |
| | | get; set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åååç§° |
| | | /// </summary> |
| | | public string name |
| | | { |
| | | get; set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¾çè·¯å¾ |
| | | /// </summary> |
| | | public string img_url |
| | | { |
| | | set { _img_url = value; } |
| | | get { return _img_url; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// éå®åä»· |
| | | /// </summary> |
| | | public decimal sell_price |
| | | { |
| | | set { _sell_price = value; } |
| | | get { return _sell_price; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è´ä¹°æ°é |
| | | /// </summary> |
| | | public int quantity |
| | | { |
| | | get { return _quantity; } |
| | | set { _quantity = value; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åºåæ°é |
| | | /// </summary> |
| | | public int stock_quantity |
| | | { |
| | | set { _stock_quantity = value; } |
| | | get { return _stock_quantity; } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | ResultDataEntity<ExpertPromoteDTO> SearchExpPromote(ExpertPromoteDTOSearch searchEntity); |
| | | ResultDataEntity<ExpertOrderDipatchDTO> SearchOrderDispatch(ExpertOrderDipatchDTOSearch searchEntity); |
| | | ResultEntity SaveDispatch(ExpertOrderDipatchDTO dipatchDTO); |
| | | |
| | | |
| | | ResultDataEntity<ExpertOrderDipatchDTO> SearchJiesuan(ExpertOrderDipatchDTOSearch searchEntity); |
| | | |
| | | |
| | | ExpertOrderDipatchDTO GetDispatch(string id); |
| | | } |
| | | } |
| | |
| | | public DateTime Modifytime { get; set; } |
| | | public string Weixin { get; set; } |
| | | public string Shifoutianjiaweixin { get; set; } |
| | | public string HuiyuanId { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | .HasColumnName("f_tel") |
| | | .HasComment("èç³»çµè¯"); |
| | | |
| | | entity.Property(e => e.HuiyuanId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("huiyuanId") |
| | | .HasComment("ä¼åId"); |
| | | |
| | | entity.Property(e => e.Hyfl) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("hyfl") |
| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.WangongStatus) || a.WangongStatus == searchEntity.WangongStatus.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.SonghuoStatus) || a.SonghuoStatus == searchEntity.SonghuoStatus.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.HuifangStatussss) || a.HuifangStatus == searchEntity.HuifangStatussss.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.HuiyuanId) || ggg.HuiyuanId == searchEntity.HuiyuanId.Trim()) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | select new CooperOrderDTO |
| | | select new CooperOrderDTO |
| | | { |
| | | Id = a.Id, |
| | | XdTime = a.XdTime, |
| | |
| | | updateproject.Modifier = cooperatecustomCustomer.Modifier; |
| | | updateproject.Modifytime = cooperatecustomCustomer.Modifytime; |
| | | updateproject.Weixin = cooperatecustomCustomer.Weixin; |
| | | |
| | | updateproject.HuiyuanId = cooperatecustomCustomer.HuiyuanId; |
| | | updateproject.Shifoutianjiaweixin = cooperatecustomCustomer.Shifoutianjiaweixin; |
| | | } |
| | | |
| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Sheng) || a.Sheng == searchEntity.Sheng.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.City) || a.City == searchEntity.City.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.AreaId) || a.AreaId == searchEntity.AreaId.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Shifouweixin) || (searchEntity.Shifouweixin == "A" && a.Weixin != null) || (searchEntity.Shifouweixin != "A" && a.Weixin == null) ) |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Shifouweixin) || (searchEntity.Shifouweixin == "A" && a.Weixin != null) || (searchEntity.Shifouweixin != "A" && a.Weixin == null) ) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.HuiyuanId) || a.HuiyuanId == searchEntity.HuiyuanId.Trim()) |
| | | |
| | | select new CooperatecustomCustomerDTO |
| | | { |
| | |
| | | CreatetimeName = a.Createtime.ToString("yyyy-MM-dd"), |
| | | Weixin = a.Weixin, |
| | | Shifoutianjiaweixin = a.Shifoutianjiaweixin, |
| | | HuiyuanId = a.HuiyuanId, |
| | | } |
| | | ).OrderByDescending(x => x.Modifytime).ToList(); |
| | | |
| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.OrderNo) || a.OrderNo.Contains(searchEntity.OrderNo.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.KhdwName) || ggg.Name.Contains(searchEntity.KhdwName.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Khlx) || ggg.Khlx == searchEntity.Khlx.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.isDispatch) || (searchEntity.isDispatch == "1" && hod.Id!=null) || (searchEntity.isDispatch == "0" && hod.Id == null) ) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.ExpertId) || hod.ExpertId == searchEntity.ExpertId.Trim()) |
| | | |
| | | |
| | | // && (string.IsNullOrWhiteSpace(searchEntity.HuifangStatus) || a.HuifangStatus.Contains(searchEntity.HuifangStatus.Trim())) |
| | | // && (string.IsNullOrWhiteSpace(searchEntity.PingjiaStatus) || a.PingjiaStatus.Contains(searchEntity.PingjiaStatus.Trim())) |
| | | |
| | |
| | | if (string.IsNullOrEmpty(dispatch.Id)) |
| | | { |
| | | dispatch.Id = Guid.NewGuid().ToString(); |
| | | dipatchDTO.Id = dispatch.Id; |
| | | _context.ExpertOrderDispatches.Add(dispatch); |
| | | } |
| | | else |
| | | { |
| | | var model = _context.ExpertOrderDispatches.Find(dispatch.Id); |
| | | model.Orderid = dipatchDTO.OrderId; |
| | | model.ExpertId = dipatchDTO.ExpertId; |
| | | model.Money = dipatchDTO.Money; |
| | | model.RecStatus = dipatchDTO.RecStatus; |
| | | model.Modifier = dipatchDTO.Modifier; |
| | | model.Modifytime = dipatchDTO.Modifytime.Value; |
| | | model.Sort = dipatchDTO.sort; |
| | | } |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = dispatch.Id; |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region ä¸å®¶ç»ç® |
| | | /// <summary> |
| | | /// æ¥è¯¢ä¸å®¶ç»ç® |
| | | /// </summary> |
| | | /// <param name="searchEntity"></param> |
| | | /// <returns></returns> |
| | | public ResultDataEntity<ExpertOrderDipatchDTO> SearchJiesuan(ExpertOrderDipatchDTOSearch searchEntity) |
| | | { |
| | | ResultDataEntity<ExpertOrderDipatchDTO> data = new ResultDataEntity<ExpertOrderDipatchDTO>(); |
| | | List<ExpertOrderDipatchDTO> list = new List<ExpertOrderDipatchDTO>(); |
| | | |
| | | var listCode = (from a in _context.SysCodeDtls |
| | | join b in _context.SysCodes |
| | | on a.CodeId equals b.Id |
| | | where a.RecStatus == "A" |
| | | && b.RecStatus == "A" |
| | | select new CodeDataEntity() |
| | | { |
| | | CodeId = b.Id, |
| | | CodeTable = b.CodeTable, |
| | | CodeField = b.CodeField, |
| | | CodeSn = a.CodeSn, |
| | | Comments = a.Comments, |
| | | Contents = a.Contents, |
| | | RecStatus = a.RecStatus, |
| | | Sort = a.Sort |
| | | } |
| | | ); |
| | | DateTime PdTimestart = DateTime.Now; |
| | | DateTime PdTimeend = DateTime.Now; |
| | | if (!string.IsNullOrWhiteSpace(searchEntity.PdTime)) |
| | | { |
| | | string[] PdTimes = searchEntity.PdTime.Split("|"); |
| | | DateTime.TryParse(PdTimes[0], out PdTimestart); |
| | | DateTime.TryParse(PdTimes[1], out PdTimeend); |
| | | PdTimeend = PdTimeend.AddDays(1); |
| | | } |
| | | |
| | | var query = (from hod in _context.ExpertOrderDispatches.Where(x => x.RecStatus == "A") |
| | | |
| | | |
| | | |
| | | |
| | | join a in _context.CooperOrders on hod.Orderid equals a.Id |
| | | |
| | | join b in listCode.Where(x => x.CodeTable == "CooperOrder" && x.CodeField == "shouli_status") |
| | | on a.ShouliStatus equals b.CodeSn |
| | | into bsss |
| | | from bbb in bsss.DefaultIfEmpty() |
| | | |
| | | join f in listCode.Where(x => x.CodeTable == "CooperVisit" && x.CodeField == "jtype") |
| | | on a.OrderType equals f.CodeSn |
| | | into fsssss |
| | | from fff in fsssss.DefaultIfEmpty() |
| | | |
| | | |
| | | join k in listCode.Where(x => x.CodeTable == "system" && x.CodeField == "shifou") |
| | | on hod.Sort equals k.CodeSn |
| | | into ksssss |
| | | from kkk in ksssss.DefaultIfEmpty() |
| | | |
| | | |
| | | join ggg in _context.CooperatecustomCustomers |
| | | on a.Khdw equals ggg.Id |
| | | |
| | | |
| | | |
| | | |
| | | join expt in _context.Experts |
| | | on hod.ExpertId equals expt.Id |
| | | |
| | | |
| | | |
| | | where a.RecStatus == "A" |
| | | && (string.IsNullOrWhiteSpace(searchEntity.PdTime) || (hod.Createtime >= PdTimestart && hod.Createtime <= PdTimeend)) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.ExpertId) || hod.ExpertId == searchEntity.ExpertId.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.OrderNo) || a.OrderNo.Contains(searchEntity.OrderNo.Trim())) |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Sort) || hod.Sort == searchEntity.Sort.Trim()) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | select new ExpertOrderDipatchDTO |
| | | { |
| | | Id = hod.Id, |
| | | XdTime = a.XdTime, |
| | | XdTimeName = a.XdTime.ToString("yyyy-MM-dd"), |
| | | OrderId = a.Id, |
| | | OrderNo = a.OrderNo, |
| | | Khdw = a.Khdw, |
| | | KhdwName = ggg.Name, |
| | | OrderType = a.OrderType, |
| | | OrderTypeName = fff.Comments, |
| | | |
| | | //OrderPro = a.OrderPro, |
| | | //OrderProName = hhh.Name, |
| | | //OrderNum = a.OrderNum, |
| | | |
| | | Shr = a.Shr, |
| | | ShrAddress = a.ShrAddress, |
| | | ShrTel = a.ShrTel, |
| | | Money = hod.Money, |
| | | Creater = hod.Creater, |
| | | Createtime = hod.Createtime, |
| | | CreatetimeName = hod.Createtime.ToString("yyyy-MM-dd"), |
| | | ExpertId = hod.ExpertId, |
| | | ExpertName = expt.Name, |
| | | RecStatus = hod.RecStatus, |
| | | Modifier = hod.Modifier, |
| | | Modifytime = hod.Modifytime, |
| | | sort = kkk.Comments, |
| | | |
| | | } |
| | | ).OrderByDescending(x => x.XdTime).ToList(); |
| | | |
| | | |
| | | |
| | | if (searchEntity.totalrows == 0) |
| | | searchEntity.totalrows = query.Count(); |
| | | var lianlist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | data.LoadData(searchEntity, lianlist); |
| | | return data; |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | public ExpertOrderDipatchDTO GetDispatch(string id) |
| | | { |
| | | var entity = _context.ExpertOrderDispatches.Find(id); |
| | | if (entity.RecStatus != "A") |
| | | { |
| | | entity = new ExpertOrderDispatch(); |
| | | } |
| | | var exDTO = _mapper.Map<ExpertOrderDipatchDTO>(entity); |
| | | return exDTO; |
| | | } |
| | | } |
| | | } |
| | |
| | | DateTime.TryParse(Createtimes[1], out Createtimeend); |
| | | Createtimeend = Createtimeend.AddDays(1); |
| | | } |
| | | |
| | | |
| | | |
| | | //var query1 = _context.Liaotians.Where(a => a.RecStatus == "A"); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //çé |
| | | var query = (from a in _context.Liaotians |
| | | |
| | | |
| | | join h in _context.LiaotianShoucangs.Where(x => x.RecStatus == "A" && x.Creater == searchEntity.ShouCangCreater) |
| | | on a.Id equals h.LiaotianId |
| | | into hsss |
| | | from hhh in hsss.DefaultIfEmpty() |
| | | // join h in _context.LiaotianShoucangs.Where(x => x.RecStatus == "A" && x.Creater == searchEntity.ShouCangCreater) |
| | | // on a.Id equals h.LiaotianId |
| | | //into hsss |
| | | // from hhh in hsss.DefaultIfEmpty() |
| | | |
| | | |
| | | where a.RecStatus == "A" |
| | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Shifoushenhe) || (a.Clientid == searchEntity.Shifoushenhe.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.ChushuStatus) || (a.ChushuStatus == searchEntity.ChushuStatus.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Creater) || (a.Creater == searchEntity.Creater.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.ShouCangStatus) || (searchEntity.ShouCangStatus == "A" && hhh.Id !=null) || (searchEntity.ShouCangStatus != "A" && hhh.Id == null)) |
| | | //&& (string.IsNullOrWhiteSpace(searchEntity.ShouCangStatus) || (searchEntity.ShouCangStatus == "A" && hhh.Id !=null) || (searchEntity.ShouCangStatus != "A" && hhh.Id == null)) |
| | | select new LiaotianDTO |
| | | { |
| | | Id = a.Id, |
| | |
| | | searchEntity.totalrows = query.Count(); |
| | | var lianlist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | //list = _mapper.Map<List<LiaotianDTO>>(lianlist); |
| | | data.LoadData(searchEntity, query); |
| | | data.LoadData(searchEntity, lianlist); |
| | | return data; |
| | | } |
| | | |
| | |
| | | sql.Append(" and exists ( select b.[ProjectId] from [Projectzhongbiao] b where a.[Id]=b.[ProjectId] and (b.[defen]-a.[drhx_defen]) <= " + aaaa + " ) "); |
| | | } |
| | | } |
| | | if (!string.IsNullOrWhiteSpace(searchEntity.Baojiachaxiaoyu)) |
| | | { |
| | | decimal aaaa = 0; |
| | | decimal.TryParse(searchEntity.Baojiachaxiaoyu, out aaaa); |
| | | if (aaaa > 0) |
| | | { |
| | | sql.Append(" and exists ( select b.[ProjectId] from [Projectzhongbiao] b where a.[Id]=b.[ProjectId] and (convert(numeric(10,2),b.[price] )-convert(numeric(10,2),a.[drhx_price] )) <= " + aaaa + " ) "); |
| | | } |
| | | } |
| | | |
| | | |
| | | if (!string.IsNullOrWhiteSpace(searchEntity.Fenchadayu)) |
| | | { |
| | |
| | | private readonly ICooperatecustomCustomerService _cooperatecustomCustomerService; |
| | | private readonly IMapper _mapper; |
| | | private readonly IHrDeptService _hrDeptService; |
| | | private readonly IPltPageService _pltPageService; |
| | | |
| | | |
| | | public IntentionCustomerController(ILogger<IntentionCustomerController> logger, IProjectService projectService, ILiaotianService liaotianService, IIntentionCustomerService intentionCustomerService, IUserService userService, ICooperatecustomCustomerService cooperatecustomCustomerService, IMapper mapper, IHrDeptService hrDeptService) |
| | | public IntentionCustomerController(ILogger<IntentionCustomerController> logger, IProjectService projectService, ILiaotianService liaotianService, IIntentionCustomerService intentionCustomerService, IUserService userService |
| | | , ICooperatecustomCustomerService cooperatecustomCustomerService, IMapper mapper, IHrDeptService hrDeptService, IPltPageService pltPageService) |
| | | { |
| | | _logger = logger; |
| | | _projectService = projectService; |
| | |
| | | _cooperatecustomCustomerService = cooperatecustomCustomerService; |
| | | _mapper = mapper; |
| | | _hrDeptService = hrDeptService; |
| | | _pltPageService = pltPageService; |
| | | } |
| | | |
| | | public IActionResult Index() |
| | |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | List<PageEntity> pageEntities = _pltPageService.GetUserPage(curentuser.Id, "/IntentionCustomer/IndexYiXiang/"); |
| | | foreach(var pageEntity in pageEntities) |
| | | { |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = pageEntity.OpenType; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = pageEntity.PageShortcut; |
| | | actionEntity.PageIco = pageEntity.PageIco; |
| | | actionEntity.ActionName = pageEntity.PageName; |
| | | actionlist.Add(actionEntity); |
| | | } |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | |
| | | ViewBag.khly = _liaotianService.GetSYScode("IntentionCustomer", "khly").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.ywjl = _userService.GetList().Where(x => x.IsYwjl == "A").Select(x => new { code = x.Id, label = x.UserName }).ToList(); |
| | |
| | | //ViewBag.ShengDropDown = _projectService.Getsheng().Select(x => new { code = x.CodeId, label = x.Name }).ToList(); |
| | | return View(); |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è§£ç» |
| | | /// </summary> |
| | | /// <param name="id"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | public JsonResult UnBind(string id) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | using (TransactionScope scope = new TransactionScope()) |
| | | { |
| | | string[] ids = id.Split(','); |
| | | foreach (var iddd in ids) |
| | | { |
| | | var intentionCustomerDTO = _intentionCustomerService.Get(iddd); |
| | | intentionCustomerDTO.Yixiang = null; |
| | | intentionCustomerDTO.Yixiangtime = null; |
| | | resultEntity = _intentionCustomerService.save(intentionCustomerDTO); |
| | | if (!resultEntity.Result) |
| | | { |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | scope.Complete(); |
| | | } |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | public IActionResult Edit(string id = null,string namecus = null) |
| | |
| | | for (int i = 0; i < result.Count; i++) |
| | | { |
| | | |
| | | //resultEntity = _intentionCustomerService.ModifyStatus(result[i].Id, curentuser.Id); |
| | | //if (!resultEntity.Result) |
| | | //{ |
| | | // return new JsonResult(resultEntity); |
| | | //} |
| | | resultEntity = _intentionCustomerService.ModifyStatus(result[i].Id, curentuser.Id); |
| | | if (!resultEntity.Result) |
| | | { |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | var dto = _mapper.Map<CooperatecustomCustomerDTO>(result[i]); |
| | | dto.Id = ""; |
| | |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | dto.Viscustomer = Viscustomer; |
| | | IntentionVisitDTOSearch searchEntity = new IntentionVisitDTOSearch(); |
| | | searchEntity.page = 1; |
| | | searchEntity.rows = 1000; |
| | | searchEntity.Viscustomer = Viscustomer; |
| | | var resultDataEntity = _intentionVisitService.SearchByPaging(searchEntity); |
| | | ViewData["visitlishi"] = resultDataEntity.DataList; |
| | | |
| | | } |
| | | else |
| | | { |
| | | ViewData["visitlishi"] = new List<IntentionVisitDTO>(); |
| | | } |
| | | |
| | | dto.VisType = "01"; |
| | |
| | | using zhengcaioa.IService; |
| | | using System.IO; |
| | | using Microsoft.Extensions.Configuration; |
| | | using System.Transactions; |
| | | |
| | | namespace zhengcaioa.Controllers.Expert |
| | | { |
| | |
| | | private readonly ILiaotianService _liaotianService; |
| | | private readonly IProjectService _projectService; |
| | | private readonly IUserService _userService; |
| | | public ExpertController(ILogger<ExpertController> logger, IExpertService expertService, IProjectService projectService, ILiaotianService liaotianService, IUserService userService) |
| | | private readonly IFiSubjectService _ifiSubjectService; |
| | | private readonly ICooperOrderService _cooperOrderService; |
| | | private readonly IFiAccountService _fiAccountService; |
| | | private readonly IFiAccountRecordService _iFiAccountRecordService; |
| | | public ExpertController(ILogger<ExpertController> logger, IExpertService expertService, IProjectService projectService, ILiaotianService liaotianService, IUserService userService |
| | | , IFiSubjectService ifiSubjectService, ICooperOrderService cooperOrderService, IFiAccountService fiAccountService, IFiAccountRecordService iFiAccountRecordService) |
| | | { |
| | | _logger = logger; |
| | | _expertService = expertService; |
| | | _projectService = projectService; |
| | | _liaotianService = liaotianService; |
| | | _userService = userService; |
| | | _ifiSubjectService = ifiSubjectService; |
| | | _cooperOrderService = cooperOrderService; |
| | | _fiAccountService = fiAccountService; |
| | | _iFiAccountRecordService = iFiAccountRecordService; |
| | | } |
| | | [CheckLogin] |
| | | public IActionResult Index() |
| | |
| | | ViewBag.HuifangStatus = _liaotianService.GetSYScode("CooperOrder", "huifang_status").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.PingjiaStatus = _liaotianService.GetSYScode("CooperOrder", "pingjia_status").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.Expert = _expertService.GetList().Select(x => new { code = x.Id, label = x.Name }).ToList(); |
| | | return View(); |
| | | } |
| | | [CheckLogin] |
| | |
| | | { |
| | | data.Creater = curentuser.Id; |
| | | data.Createtime = DateTime.Now; |
| | | data.sort = "D"; |
| | | } |
| | | data.Modifier = curentuser.Id; |
| | | data.Modifytime = DateTime.Now; |
| | |
| | | |
| | | |
| | | |
| | | #region ä¸å®¶è´¹ç¨ç»ç® |
| | | [CheckLogin] |
| | | public IActionResult ExpertFeiyong() |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | |
| | | |
| | | ActionEntity actionEntity1 = new ActionEntity(); |
| | | actionEntity1.OpenType = 0; |
| | | actionEntity1.ActionUrl = ""; |
| | | actionEntity1.ActionFun = "Jiesuan"; |
| | | actionEntity1.PageIco = "fa fa-plus-square"; |
| | | actionEntity1.ActionName = "ç»ç®"; |
| | | actionlist.Add(actionEntity1); |
| | | |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | |
| | | ViewBag.Expert = _expertService.GetList().Select(x => new { code = x.Id, label = x.Name }).ToList(); |
| | | ViewBag.shifou = _liaotianService.GetSYScode("system", "shifou").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | return View(); |
| | | } |
| | | |
| | | [CheckLogin] |
| | | public string GetJiesuanList(ExpertOrderDipatchDTOSearch search) |
| | | { |
| | | return JsonConvert.SerializeObject(_expertService.SearchJiesuan(search)); |
| | | } |
| | | |
| | | |
| | | public IActionResult EditJiesuan(string id) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | decimal Money = 0; |
| | | FiOrderrecievemoneyDTO dto = new FiOrderrecievemoneyDTO(); |
| | | if (!String.IsNullOrEmpty(id)) |
| | | { |
| | | string[] ids = id.Split(','); |
| | | foreach(var iddd in ids) |
| | | { |
| | | var expertOrderDipatchDTO = _expertService.GetDispatch(iddd); |
| | | if(expertOrderDipatchDTO.sort != "A") |
| | | { |
| | | Money += expertOrderDipatchDTO.Money.Value; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | dto.PayTime = DateTime.Now; |
| | | dto.Id = id; |
| | | |
| | | dto.Money = Money; |
| | | |
| | | |
| | | ViewData.Model = dto; |
| | | |
| | | ViewBag.PayType = _liaotianService.GetSYScode("fi_account", "accounttype"); |
| | | ViewBag.accounttype = _liaotianService.GetSYScode("fi_account", "accounttype"); |
| | | ViewBag.FiSubject = _ifiSubjectService.GetList().Where(x => x.Subjecttype == "02").ToList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ViewData.Model = dto; |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | /// |
| | | [HttpPost] |
| | | public IActionResult SaveJiesuan(FiOrderrecievemoneyDTO data) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | using (TransactionScope scope = new TransactionScope()) |
| | | { |
| | | string[] ids = data.Id.Split(','); |
| | | foreach (var iddd in ids) |
| | | { |
| | | var expertOrderDipatchDTO = _expertService.GetDispatch(iddd); |
| | | if(expertOrderDipatchDTO.sort == "A") |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "åå¨å·²ç»ç»ç®ç订å"; |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | expertOrderDipatchDTO.sort = "A"; |
| | | expertOrderDipatchDTO.Modifier = curentuser.Id; |
| | | expertOrderDipatchDTO.Modifytime = DateTime.Now; |
| | | resultEntity = _expertService.SaveDispatch(expertOrderDipatchDTO); |
| | | if (!resultEntity.Result) |
| | | { |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | var expertDTO = _expertService.Get(expertOrderDipatchDTO.ExpertId); |
| | | var orderDTO = _cooperOrderService.Get(expertOrderDipatchDTO.OrderId); |
| | | //æå
¥æ¯åºè®°å½ |
| | | FiAccountRecordDTO data1 = new FiAccountRecordDTO(); |
| | | data1.RecStatus = "A"; |
| | | data1.Creater = curentuser.Id; |
| | | data1.Createtime = data.PayTime; |
| | | data1.Modifier = curentuser.Id; |
| | | data1.Modifytime = data.PayTime; |
| | | data1.SubjectId = data.SubjectId; |
| | | data1.AccountId = data.AccountId; |
| | | data1.Money = expertOrderDipatchDTO.Money; |
| | | data1.PaymentUnit = expertDTO.Name; |
| | | data1.OperationalMatters = expertDTO.Name +" " +orderDTO.OrderNo+ "ç»ç®è´¹ç¨" ; |
| | | |
| | | |
| | | |
| | | FiAccountDTO firmAccount = _fiAccountService.Get(data1.AccountId); |
| | | |
| | | |
| | | data1.RecordTypeId = "2";//æ¶å
¥ |
| | | data1.Department = ""; |
| | | |
| | | |
| | | firmAccount.AllExpenses = (firmAccount.AllExpenses ?? 0) + data1.Money; |
| | | firmAccount.Balance = (firmAccount.Balance ?? 0) - data1.Money; |
| | | |
| | | |
| | | |
| | | data1.AccountMoney = firmAccount.Balance; |
| | | resultEntity = _iFiAccountRecordService.save(data1); |
| | | if (!resultEntity.Result) |
| | | { |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | resultEntity = _fiAccountService.save(firmAccount); |
| | | if (!resultEntity.Result) |
| | | { |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | } |
| | | scope.Complete(); |
| | | } |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | data1.RecordTypeId = "1";//æ¶å
¥ |
| | | data1.Department = ""; |
| | | |
| | | resultEntity = _iFiAccountRecordService.save(data1); |
| | | |
| | | |
| | | firmAccount.AllIncome = (firmAccount.AllIncome ?? 0) + data1.Money; |
| | | firmAccount.Balance = (firmAccount.Balance ?? 0) + data1.Money; |
| | | |
| | | data1.AccountMoney = firmAccount.Balance; |
| | | resultEntity = _iFiAccountRecordService.save(data1); |
| | | resultEntity = _fiAccountService.save(firmAccount); |
| | | scope.Complete(); |
| | | } |
| | |
| | | var imgLoad = new Object(); |
| | | |
| | | |
| | | |
| | | $("#ExpertId").chosen(); |
| | | |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
New file |
| | |
| | | @model DTO.FiOrderrecievemoneyDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | |
| | | |
| | | List<SysCodeDtl> PayType = ViewData["PayType"] as List<SysCodeDtl>; //仿¬¾ç±»å |
| | | |
| | | List<FiSubjectDTO> FiSubject = ViewData["FiSubject"] as List<FiSubjectDTO>; //ç§ç® |
| | | |
| | | |
| | | List<SysCodeDtl> accounttype = ViewData["accounttype"] as List<SysCodeDtl>; //è´¦æ·ç±»å |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="description" content=""> |
| | | <meta name="author" content="ThemeBucket"> |
| | | <title>@(SiteConfig.SiteName)</title> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容å¨--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> åºæ¬ä¿¡æ¯</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æ¶æ¬¾éé¢ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="æ¶æ¬¾éé¢ï¼å
ï¼" name="Money" id="Money" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Money.ToString("F2")" readonly="readonly"> |
| | | |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">æ¶æ¬¾æ¹å¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="PayType" class="form-control" name="PayType" data-placeholder="éæ© åºå ..."> |
| | | @foreach (var item in PayType) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.PayType)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">æ¶æ¬¾æ¥æ<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="PayTime" class="form-control" label="æ¶æ¬¾æ¥æ" name="PayTime" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.PayTime.ToString("yyyy/MM/dd")" readonly="readonly"> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">è´¦æ·åç§°<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="AccountId" class="form-control" name="AccountId" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">ç§ç®åç§°<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="SubjectId" class="form-control" name="SubjectId" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in FiSubject) |
| | | { |
| | | @if (!item.Id.Equals(Model.SubjectId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.Subjectname |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.Subjectname |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="åè½æé®ï¼âä¿åâï¼âå é¤â"> |
| | | |
| | | |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">æäº¤</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | laydate({ elem: "#PayTime", format: 'YYYY/MM/DD', istime: true, event: "focus" }); |
| | | |
| | | |
| | | |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | |
| | | |
| | | |
| | | if ($("#Money").val() == '') { |
| | | toastr.warning("æ¶æ¬¾éé¢ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#PayType").val() == '') { |
| | | toastr.warning("æ¶æ¬¾æ¹å¼ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#PayTime").val() == '') { |
| | | toastr.warning("æ¶æ¬¾æ¥æä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#AccountId").val() == '') { |
| | | toastr.warning("æ¶æ¬¾è´¦æ·ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#SubjectId").val() == '') { |
| | | toastr.warning("æ¶æ¬¾ç§ç®ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if (parseFloat($("#Money").val()) <= 0) { |
| | | toastr.warning("æ¶æ¬¾éé¢ä¸è½å°äº0"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/Expert/SaveJiesuan", |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('æåä¿å', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | |
| | | try { |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/Expert/EditJiesuan/"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg(data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | $("#PayType").change(function () { |
| | | |
| | | var PayType = $("#PayType").val(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/FiAccountIncome/getAccount?Accounttype=" + PayType, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | var city = $("#AccountId"); |
| | | city.find('option').remove(); |
| | | var aaa = '<option value="" hassubinfo="true">è¯·éæ©</option>'; |
| | | city.append(aaa); |
| | | if (data.length > 0) { |
| | | for (var i = 0; i < data.length; i++) { |
| | | |
| | | var o = '<option value="' + data[i].Id + '" hassubinfo="true">' + data[i].Accountname + '</option>'; |
| | | city.append(o); |
| | | } |
| | | } |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | $("#PayType").trigger("change"); |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.isRefresh = true; |
| | | parent.layer.closeAll('loading'); |
| | | parent.layer.close(index); |
| | | return false; |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | @{ |
| | | ViewBag.Title = "CooperOrder"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | |
| | | var Expert = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Expert))'; |
| | | var shifou = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shifou))'; |
| | | gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | //var Dispatch = [{ code: "1", label: "æ¯" }, { code: "0", label: "å¦" }]; |
| | | //loseherght = 60; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { label: 'æ´¾åæ¶é´', name: 'CreatetimeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: '订åå·', name: 'OrderNo', labtype: 'txt', hidden: false, width: 100 , |
| | | //formatter: function (cellvalue, options, rowObject) { |
| | | // return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/CooperOrder/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | //} |
| | | }, |
| | | { label: '订åç±»å«', name: 'OrderTypeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '客æ·åç§°', name: 'KhdwName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'æ¶è´§å°å', name: 'ShrAddress', labtype: 'txt', hidden: false, width: 200 }, |
| | | { label: 'è系人', name: 'Shr', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'èç³»çµè¯', name: 'ShrTel', labtype: 'txt', hidden: false, width: 100 }, |
| | | //{ label: 'ä¸å¡ç»ç', name: 'Youhui', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: '派工ä¸å®¶', ExpertId: 'id', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | |
| | | return rowObject.ExpertName; |
| | | |
| | | } |
| | | }, |
| | | |
| | | { label: 'å³å¡è´¹(å
)', name: 'Money', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'æ¯å¦ç»ç®', name: 'sort', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | ]; |
| | | dataUrl = "/Expert/GetJiesuanList"; |
| | | searchCol = [ |
| | | { label: 'æ´¾åæ¶é´', name: 'PdTime', labtype: 'datearea', hidden: false, cwidth: '5%', cccwidth: '15%'}, |
| | | { label: '订åç¼å·', name: 'OrderNo', labtype: 'txt', hidden: false, cwidth: '5%', cccwidth: '8%' }, |
| | | { |
| | | label: 'ä¸å®¶', name: 'ExpertId', labtype: 'combox', hidden: false, data: JSON.parse(Expert), cwidth: '5%', cccwidth: '8%' |
| | | }, |
| | | { |
| | | label: 'æ¯å¦ç»ç®', name: 'Sort', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' |
| | | }, |
| | | |
| | | ]; |
| | | |
| | | var _pageJiesuan = function () { |
| | | var duanxin = GetGridSelect(); |
| | | var baifangid = ""; |
| | | if (duanxin != '') { |
| | | for (var i = 0; i < duanxin.length; i++) { |
| | | baifangid += duanxin[i] + ',' |
| | | } |
| | | baifangid = baifangid.substring(0, baifangid.length - 1); |
| | | } else { |
| | | toastr.error("è¯·éæ©è®¢å"); |
| | | return; |
| | | } |
| | | OpenWindow('ç»ç®', '98%', '100%', '/Expert/EditJiesuan?id=' + baifangid ) ; |
| | | ///Expert/JiesuanOperate ? id = " + baifangid, |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |
| | | if (result) { |
| | | toastr.success("ä¿åæå"); |
| | | } else { |
| | | toastr.error("ä¿å失败"); |
| | | } |
| | | } |
| | | |
| | | var _afterDel = function (result) { |
| | | if (result) { |
| | | toastr.success("å 餿å"); |
| | | } else { |
| | | /**/ |
| | | toastr.error("å 餿å"); |
| | | /**/ |
| | | } |
| | | } |
| | | </script> |
| | | } |
| | | |
| | | @section footerScripts{ |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | } |
| | |
| | | var Khlx = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Khlx))'; |
| | | var HuifangStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.HuifangStatus))'; |
| | | var PingjiaStatus = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.PingjiaStatus))'; |
| | | var Expert = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Expert))'; |
| | | |
| | | |
| | | var Dispatch = [{ code: "1", label: "æ¯" }, { code: "0", label: "å¦" }]; |
| | | loseherght = 60; |
| | | dataCol = [ |
| | |
| | | { label: 'æ¶è´§å°å', name: 'ShrAddress', labtype: 'txt', hidden: false, width: 200 }, |
| | | { label: 'è系人', name: 'Shr', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'èç³»çµè¯', name: 'ShrTel', labtype: 'txt', hidden: false, width: 100 }, |
| | | //{ label: 'ä¸å¡ç»ç', name: 'Youhui', labtype: 'txt', hidden: false, width: 100 }, |
| | | //{ label: 'ä¸å¡ç»ç', name: 'Youhui', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: '派工ä¸å®¶', ExpertId: 'id', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if ($.trim(rowObject.ExpertId) !== '') { |
| | | return rowObject.ExpertName; |
| | | } else { |
| | | return '<a href="javascript:void(0)" onclick="ExpertDispatch(\'' + rowObject.OrderId + '\',\'' + rowObject.OrderNo+'\');"> <span style="background: #ECF3FF;"> 派工 </span> </a > '; |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | |
| | | { label: 'å³å¡è´¹(å
)', name: 'Money', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | ]; |
| | |
| | | { |
| | | label: 'æ¯å¦æ´¾å·¥', name: 'isDispatch', labtype: 'combox', hidden: false, data: Dispatch /*JSON.parse(HuifangStatus)*/, cwidth: '5%', cccwidth: '8%' |
| | | }, |
| | | |
| | | { |
| | | label: 'ä¸å®¶', name: 'ExpertId', labtype: 'combox', hidden: false, data: JSON.parse(Expert), cwidth: '5%', cccwidth: '8%' |
| | | }, |
| | | |
| | | |
| | | ]; |
| | | |
| | | |
| | | function ExpertDispatch(orderid, orderNo) { |
| | | OpenWindow("ä¸å®¶æ´¾å·¥", "400px", "230px", "/Expert/Dispatch/?orderid=" + orderid); |
| | | OpenWindow("ä¸å®¶æ´¾å·¥", "400px", "600px", "/Expert/Dispatch/?orderid=" + orderid); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |
| | |
| | | |
| | | |
| | | loseherght = 60; |
| | | //gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | gridConfig = { multiselect: true, selectcol: "Id" }; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { label: 'æåæ¶é´', name: 'YixiangtimeName', labtype: 'txt', hidden: false, width: 100 }, |
| | |
| | | |
| | | |
| | | |
| | | var _pageDelete = function () { |
| | | var duanxin = GetGridSelect(); |
| | | var baifangid = ""; |
| | | if (duanxin != '') { |
| | | for (var i = 0; i < duanxin.length; i++) { |
| | | baifangid += duanxin[i] + ',' |
| | | } |
| | | baifangid = baifangid.substring(0, baifangid.length - 1); |
| | | } else { |
| | | toastr.error("è¯·éæ©æå订å"); |
| | | return; |
| | | } |
| | | |
| | | // 1ãæå¼å¼¹åºå± |
| | | var index = layer.open({ |
| | | type: 1,ãã//åºæ¬å±ç±»å |
| | | icon: 0, //徿 |
| | | content: 'ç¡®å®è¦å 餿å订ååï¼', //å
容 |
| | | shade: 0.3, //é®ç½©,妿æ³å®ä¹å«çé¢è²,å¯ä»¥shade:[0.5,'#fff'] |
| | | shadeClose: 1, //æ¯å¦ç¹å»é®ç½©å
³é |
| | | skin: 'demoClass', //æ ·å¼ç±»å |
| | | moveType: 1, //ææ½é£æ ¼,é»è®¤ä¸º0(ä¼æä¸ªè¿åº¦çéææ¡) |
| | | btn: ['ç¡®å®', 'åæ¶'], //æé® |
| | | btn1: function () { //æé®ä¸çåè° |
| | | |
| | | layer.close(index); |
| | | |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/IntentionCustomer/UnBind?id=" + baifangid, |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | if (data.Result) { |
| | | toastr.success("å 餿å"); |
| | | jQuery('#jqGrid').jqGrid().trigger('reloadGrid'); |
| | | } else { |
| | | toastr.error("å é¤å¤±è´¥" + data.Message); |
| | | } |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | toastr.error("å é¤å¤±è´¥"); |
| | | } |
| | | }); |
| | | }, |
| | | // btn2:function(){ //æé®äºçåè° |
| | | // |
| | | // } |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | |
| | | List<IntentionVisitDuanxinDTO> Duanxin = ViewData["Duanxin"] as List<IntentionVisitDuanxinDTO>; //çä¿¡ |
| | | |
| | | List<IntentionVisitDTO> visitlishi = ViewData["visitlishi"] as List<IntentionVisitDTO>; //æåå®¢æ· |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | table { |
| | | border-collapse: collapse; |
| | | border: none; |
| | | width: 900px; |
| | | margin-left: 0px; |
| | | text-align: center; |
| | | } |
| | | |
| | | td { |
| | | border: solid #000000 1px; |
| | | height: 30px; |
| | | } |
| | | |
| | | |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">çä¿¡å
容<i class="red">*</i></label> |
| | | <div class="col-sm-8 col-md-8"> |
| | | <textarea class="form-control bt" id="DuanxinNeirong" name="DuanxinNeirong" title="çä¿¡å
容" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'" >@Model.DuanxinNeirong</textarea> |
| | | <textarea class="form-control bt" id="DuanxinNeirong" name="DuanxinNeirong" title="çä¿¡å
容" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@Model.DuanxinNeirong</textarea> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @if (visitlishi.Count > 0) |
| | | { |
| | | <table class="col-sm-12 col-md-12"> |
| | | @{ |
| | | int i = 1; |
| | | } |
| | | <tr> |
| | | <td style="width:4%;"> ç¼å·</td> |
| | | <td style="width:7%;"> æè®¿æ¶é´</td> |
| | | |
| | | <td style="width:14%;"> 客æ·åä½</td> |
| | | <td style="width:7%;"> æè®¿æ¹å¼</td> |
| | | <td style="width:7%;"> æ¥å¾
人</td> |
| | | <td style="width:7%;"> èå¡</td> |
| | | <td style="width:14%;"> 交è°ç±»å®¹</td> |
| | | <td style="width:14%;"> 客æ·åé¦</td> |
| | | <td style="width:7%;"> æäº¤æå</td> |
| | | <td style="width:7%;"> è·è¸ªå»ºè®®</td> |
| | | <td style="width:7%;"> 访é®äºº</td> |
| | | </tr> |
| | | @foreach (var visitDTO in visitlishi) |
| | | { |
| | | <tr> |
| | | <td> @i</td> |
| | | <td> @visitDTO.VistimeName</td> |
| | | <td> @visitDTO.Name</td> |
| | | <td> @visitDTO.VisTypeName</td> |
| | | <td> @visitDTO.Jdr</td> |
| | | <td> @visitDTO.ZwName</td> |
| | | <td> @visitDTO.Talk</td> |
| | | <td> @visitDTO.Khfk</td> |
| | | <td> @visitDTO.YxName</td> |
| | | <td> @visitDTO.JyName</td> |
| | | <td> @visitDTO.CreaterName</td> |
| | | </tr> |
| | | |
| | | i++; |
| | | } |
| | | </table> |
| | | } |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | |
| | |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label"> |
| | | @*<label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label"> |
| | | æ¶è |
| | | </label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | |
| | | } |
| | | <input type="hidden" id="ShouCangStatus" name="ShouCangStatus" value="" /> |
| | | |
| | | </div> |
| | | </div>*@ |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | |
| | | { label: 'å½å
¥æ¶é´', name: 'Createtime', labtype: 'datearea', hidden: false }, |
| | | { label: 'å½å
¥äºº', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'æ¯å¦åºä¹¦', name: 'ChushuStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'æ¯å¦æ¶è', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, |
| | | //{ label: 'æ¯å¦æ¶è', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, |
| | | ]; |
| | | var _pageAdd = function () { |
| | | OpenWindow("æ°å¢é®é¢", "98%", "90%", "/Liaotian/Edit/"); |
| | |
| | | |
| | | |
| | | |
| | | function sendHuidaStatus() { |
| | | //function sendHuidaStatus() { |
| | | |
| | | var msg = $("#PBSShifoushenhe"); |
| | | // var msg = $("#PBSShifoushenhe"); |
| | | |
| | | |
| | | if (msg.length > 0) { |
| | | $("#PBSShifoushenhe").val("D"); |
| | | $("#PBSShifoushenhe").trigger('chosen:updated');//æ´æ°é项 |
| | | _pageSearch(); |
| | | } else { |
| | | setTimeout(sendHuidaStatus, 1000); |
| | | } |
| | | } |
| | | |
| | | // if (msg.length > 0) { |
| | | // $("#PBSShifoushenhe").val("D"); |
| | | // $("#PBSShifoushenhe").trigger('chosen:updated');//æ´æ°é项 |
| | | // //_pageSearch(); |
| | | // } else { |
| | | // setTimeout(sendHuidaStatus, 1000); |
| | | // } |
| | | //} |
| | | //sendHuidaStatus(); |
| | | send(); |
| | | sendHuidaStatus(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $(document).ready(function () { |
| | | |
| | | setTimeout( |
| | | function () { |
| | | $("#PBSShifoushenhe").val("D"); |
| | | $("#PBSShifoushenhe").trigger('chosen:updated');//æ´æ°é项 |
| | | _pageSearch(); |
| | | }, 2000); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | |
| | | { label: 'åå·®å°äº', name: 'Fencha', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ }, |
| | | { label: 'å差大äº', name: 'Fenchadayu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ }, |
| | | { label: 'ä¾åºåæ°é', name: 'Shuliang', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ }, |
| | | //{ label: 'ä»·å·®å°äº', name: 'Baojiachaxiaoyu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ }, |
| | | |
| | | |
| | | |
| | | ]; |
| | | var _pageAdd = function () { |
| | |
| | | </a> |
| | | </li> |
| | | <li class="hidden-xs"> |
| | | <a href="http://47.108.235.38:8082/admin/login.aspx?user=test&pwd=123456" target="_blank" class="J_menuItem" title="åååå°è·³è½¬" data-index="0"> |
| | | <a href="http://47.108.235.38:8082/admin/login.aspx?user=@actionlist.UserSn&pwd=@actionlist.Password&username=@actionlist.UserName" target="_blank" class="J_menuItem" title="åååå°è·³è½¬" data-index="0"> |
| | | <i class="fa fa-lock"></i>åååå°è·³è½¬ |
| | | </a> |
| | | </li> |
| | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[CooperatecustomCustomer] ADD [huiyuanId] [nvarchar](50) NULL |
| | | |
| | | GO |
| | | EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ä¼åId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CooperatecustomCustomer', @level2type=N'COLUMN',@level2name=N'huiyuanId' |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [songhuo_gongsi] [nvarchar](100) NULL |
| | | GO |
| | | ALTER TABLE [dbo].[CooperOrder] ADD [songhuo_danhao] [nvarchar](100) NULL |