/// <summary> /// 审核上架 /// </summary> /// <param name="ids"></param> /// <returns></returns> public JsonResult AuditPurchase(string ids) { bool bl = new OrdersBusiness().AuditStorageIn(ids, CurrentUser.UserID, CurrentUser.ClientID); JsonDictionary.Add("Status", bl); return new JsonResult { Data = JsonDictionary, JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }
/// <summary> /// 删除单据 /// </summary> /// <param name="docid"></param> /// <returns></returns> public JsonResult DeletePurchase(string docid) { var bl = new OrdersBusiness().DeleteDoc(docid, CurrentUser.UserID, OperateIP, CurrentUser.ClientID); JsonDictionary.Add("Status", bl); return new JsonResult { Data = JsonDictionary, JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }
/// <summary> /// 更换入库仓库和货位 /// </summary> /// <param name="autoid"></param> /// <param name="wareid"></param> /// <param name="depotid"></param> /// <returns></returns> public JsonResult UpdateStorageDetailWare(string autoid, string wareid, string depotid) { var bl = new OrdersBusiness().UpdateStorageDetailWare(autoid, wareid, depotid, CurrentUser.UserID, OperateIP, CurrentUser.ClientID); JsonDictionary.Add("Status", bl); return new JsonResult { Data = JsonDictionary, JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }