Пример #1
0
 /// <summary>
 /// 新增库位管理
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiInsert(storage s)
 {
     s.forbidden    = "否";
     s.CreationDate = DateTime.Now;
     s.state        = 0;
     return(Json(KLmanager.Get_kuweiInsert(s), JsonRequestBehavior.AllowGet));
 }
Пример #2
0
 /// <summary>
 /// 根据条件查询客户
 /// </summary>
 /// <param name="kehuID"></param>
 /// <param name="KehuName"></param>
 /// <returns></returns>
 public ActionResult Get_dizhiNamecha(int kehuID = 0, string KehuName = "hao")
 {
     return(Json(KLmanager.Get_dizhiNamecha(kehuID, KehuName), JsonRequestBehavior.AllowGet));
 }
Пример #3
0
 /// <summary>
 /// 修改地址
 /// </summary>
 /// <param name="d"></param>
 /// <returns></returns>
 public ActionResult Get_dizhiUpdate(dizhi d)
 {
     return(Json(KLmanager.Get_dizhiUpdate(d), JsonRequestBehavior.AllowGet));
 }
Пример #4
0
 /// <summary>
 /// 修改地址状态("删除")
 /// </summary>
 /// <param name="dizhiID"></param>
 /// <param name="state"></param>
 /// <returns></returns>
 public ActionResult Get_dizhiDel(int dizhiID, int state)
 {
     return(Json(KLmanager.Get_dizhiDel(dizhiID, state), JsonRequestBehavior.AllowGet));
 }
Пример #5
0
 /// <summary>
 /// 修改客户
 /// </summary>
 /// <param name="c"></param>
 /// <param name="d"></param>
 /// <returns></returns>
 public ActionResult Get_kehuUpdate(customer c)
 {
     return(Json(KLmanager.Get_kehuUpdate(c), JsonRequestBehavior.AllowGet));
 }
Пример #6
0
 /// <summary>
 /// 库位根据id查询
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiByid(int ID)
 {
     return(Json(KLmanager.Get_kuweiByid(ID), JsonRequestBehavior.AllowGet));
 }
Пример #7
0
 /// <summary>
 /// 库位删除
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiDel(int id)
 {
     return(Json(KLmanager.Get_kuweiDel(id), JsonRequestBehavior.AllowGet));
 }
Пример #8
0
 /// <summary>
 /// 库位管理查询
 /// </summary>
 /// <returns></returns>
 public ActionResult Get_kuweiAllss(int WID = 0, int KuTypeID = 0, string KName = null)
 {
     return(Json(KLmanager.Get_kuweiAllss(WID, KuTypeID, KName), JsonRequestBehavior.AllowGet));
 }
Пример #9
0
 /// <summary>
 /// 地址新增
 /// </summary>
 /// <param name="c"></param>
 /// <returns></returns>
 public ActionResult Get_kehuinsertdizhi(dizhi d)
 {
     d.state = 0;
     return(Json(KLmanager.Get_kehuinsertdizhi(d), JsonRequestBehavior.AllowGet));
 }
Пример #10
0
 /// <summary>
 /// 客户新增
 /// </summary>
 /// <param name="c"></param>
 /// <param name="d"></param>
 /// <returns></returns>
 public ActionResult Get_kehuinsert(customer c)
 {
     c.CreationDate = DateTime.Now;
     c.state        = 0;
     return(Json(KLmanager.Get_kehuinsert(c), JsonRequestBehavior.AllowGet));
 }
Пример #11
0
 /// <summary>
 /// 客户修改状态("删除")
 /// </summary>
 /// <param name="kehuID"></param>
 /// <param name="state"></param>
 /// <returns></returns>
 public ActionResult Get_kehuDel(int kehuID, int state)
 {
     return(Json(KLmanager.Get_kehuDel(kehuID, state), JsonRequestBehavior.AllowGet));
 }
Пример #12
0
 /// <summary>
 /// 修改供应商
 /// </summary>
 /// <param name="g"></param>
 /// <returns></returns>
 public ActionResult Get_gysUpdate(gysguanli g)
 {
     return(Json(KLmanager.Get_gysUpdate(g), JsonRequestBehavior.AllowGet));
 }
Пример #13
0
 /// <summary>
 /// 查询供应商类型
 /// </summary>
 /// <returns></returns>
 public ActionResult Get_gysTypeAll()
 {
     return(Json(KLmanager.Get_gysTypeAll(), JsonRequestBehavior.AllowGet));
 }
Пример #14
0
 /// <summary>
 /// 供应商条件查询
 /// </summary>
 /// <param name="GID"></param>
 /// <param name="gystypeName"></param>
 /// <returns></returns>
 public ActionResult Get_gystiaojiAll(int GID = 0, string gystypeName = "sb")
 {
     return(Json(KLmanager.Get_gystiaojiAll(GID, gystypeName), JsonRequestBehavior.AllowGet));
 }
Пример #15
0
 /// <summary>
 /// 库位仓库查询
 /// </summary>
 /// <returns></returns>
 public ActionResult Get_kuweiwarehouse()
 {
     return(Json(KLmanager.Get_kuweiwarehouse(), JsonRequestBehavior.AllowGet));
 }
Пример #16
0
 /// <summary>
 /// 客户回收站
 /// </summary>
 /// <returns></returns>
 public ActionResult Get_kehuhuishouzhan()
 {
     return(Json(KLmanager.Get_kehuhuishouzhan(), JsonRequestBehavior.AllowGet));
 }
Пример #17
0
 /// <summary>
 /// 库位管理分页
 /// </summary>
 /// <param name="PageIndex"></param>
 /// <param name="PageSize"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiAll(int PageIndex = 1, int PageSize = 4)
 {
     return(Json(KLmanager.Get_kuweiAll(PageIndex, PageSize), JsonRequestBehavior.AllowGet));
 }
Пример #18
0
 /// <summary>
 /// 查询地址
 /// </summary>
 /// <returns></returns>
 public ActionResult Get_dizhibyid()
 {
     return(Json(KLmanager.Get_dizhibyid(), JsonRequestBehavior.AllowGet));
 }
Пример #19
0
 /// <summary>
 /// 根据客户地址id查询地址
 /// </summary>
 /// <param name="dizhiID"></param>
 /// <returns></returns>
 public ActionResult Get_dizhichaid(int dizhiID)
 {
     return(Json(KLmanager.Get_dizhichaid(dizhiID), JsonRequestBehavior.AllowGet));
 }
Пример #20
0
 /// <summary>
 /// 根据id查询客户
 /// </summary>
 /// <param name="kehuID"></param>
 /// <returns></returns>
 public ActionResult Get_kehubyid(int kehuID)
 {
     return(Json(KLmanager.Get_kehubyid(kehuID), JsonRequestBehavior.AllowGet));
 }
Пример #21
0
 /// <summary>
 /// 修改状态
 /// </summary>
 /// <param name="TID"></param>
 /// <param name="state"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiupdatestate(int TID, int state)
 {
     return(Json(KLmanager.Get_kuweiupdatestate(TID, state), JsonRequestBehavior.AllowGet));
 }
Пример #22
0
 /// <summary>
 /// 库位修改
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public ActionResult Get_kuweiupdate(storage s)
 {
     return(Json(KLmanager.Get_kuweiupdate(s), JsonRequestBehavior.AllowGet));
 }