Пример #1
0
        public ActionResult saveapply(string t, int?sn)
        {
            string      c  = WebRequest.GetString("cate", true);
            string      r  = WebRequest.GetString("content", true);
            ReturnValue rv = new ReturnValue();

            if (c == "" || r == "" || t == null || !sn.HasValue)
            {
                rv.status  = "error";
                rv.message = "缺少参数";
            }
            else
            {
                ////耗材|硫酸|98%|营养济|Kg
                string content = c + "|" + r;
                rv = centerService.SaveBasicDataApplications(Masterpage.CurrUser.client_code, t, sn.Value, Masterpage.CurrUser.guid, content, Masterpage.CurrUser.alias, "");
                LogHelper.Info(Masterpage.CurrUser.alias, "903013:客户," + Masterpage.CurrUser.client_code + ",用户中心保存耗材申请,sn:" + sn + "类别:" + c + ",内容:" + r);
            }
            return(Json(rv, JsonRequestBehavior.AllowGet));
        }