Exemple #1
0
        public ActionResult AjaxRejectRequest()
        {
            var sysnoData = Request["SysNo"];
            int sysno;

            if (!int.TryParse(sysnoData, out sysno) || sysno <= 0)
            {
                throw new BusinessException(L("退换货申请单编号不正确"));
            }
            LoginUser user = EntityConverter <UserAuthVM, LoginUser> .Convert(UserAuthHelper.GetCurrentUser());

            RMARequestInfo data = RMARequestService.Reject(sysno, user);

            return(Json(data));
        }