예제 #1
0
        public ActionResult AgreeDeliverPlan(string id)
        {
            string strMessage;
            PlanSystem plan = new PlanSystem();
            bool bSuccess = plan.SubmitDeliverPlan(long.Parse(id), true, "", LoginAccountId, LoginStaffName, out strMessage);

            var ret = new
            {
                Success = bSuccess,
                Message = strMessage
            };
            return Json(ret);
        }
예제 #2
0
 public ActionResult DisagreeDeliverPlan(string id, string disagreeopinion)
 {
     string strErrText;
     PlanSystem plan = new PlanSystem();
     if (plan.SubmitDeliverPlan(long.Parse(id), false, disagreeopinion, LoginAccountId, LoginStaffName, out strErrText))
     {
         return Json(string.Empty);
     }
     else
     {
         return Json(strErrText);
     }
 }