//编辑
 public ActionResult Edit(WMS_SCHEDULE schedule)
 {
     bool bResult = ScheduleService.Save (schedule);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
 //删除
 public ActionResult Delet(WMS_SCHEDULE schedule)
 {
     bool bResult = ScheduleService.Delete(schedule.SCHEDULE_NO);
     string msg = bResult ? "删除成功" : "删除失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }