Exemple #1
0
 public HttpResponseMessage GetRawMaterialStockPlanData([FromUri] HomeRequest request)
 {
     try
     {
         var data = _Home.GetRawMaterialStockPlanData(request);
         return(AjaxResult.Success(data).ToJsonApi());
     }
     catch (Exception)
     {
         return(AjaxResult.Error("操作失败").ToJsonApi());
     }
 }
Exemple #2
0
        /// <summary>
        /// 获取生产计划阶段数据
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ActionResult GetRawMaterialStockPlanData(HomeRequest request)
        {
            var data = _Home.GetRawMaterialStockPlanData(request);

            return(Content(data.ToJson()));
        }