Beispiel #1
0
 /// <summary>
 /// 入库管理修改时 修改主表
 /// </summary>
 /// <returns></returns>
 public ActionResult RuKuXiuZhu(Models.Storage zhu)
 {
     zhu.State         = 2;
     zhu.OperationType = "电脑";
     zhu.CreationTime  = DateTime.Now;
     zhu.DataState     = true;
     return(Json(BLL.XBY.StorageManager.RuKuXiuZhu(zhu), JsonRequestBehavior.AllowGet));
 }
Beispiel #2
0
 /// <summary>
 /// 添加入库主表
 /// </summary>
 /// <param name="xiang"></param>
 /// <param name="zhu"></param>
 /// <returns></returns>
 public ActionResult ADDRuku(Models.Storage zhu)
 {
     //Random a = new Random();
     //zhu.StorageID = a.Next().ToString();
     zhu.State         = 2;
     zhu.OperationType = "电脑";
     zhu.CreationTime  = DateTime.Now;
     zhu.DataState     = true;
     return(Json(BLL.XBY.StorageManager.ADDRuku(zhu), JsonRequestBehavior.AllowGet));
 }