using NFine.Application.WMS; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace NFine.Web.Areas.WMS.Controllers { public class DeleteArrivalDocController : ControllerBase { DeleteArrivalDocApp App = new DeleteArrivalDocApp(); // GET: WMS/DeleteArrivalDoc public ActionResult DelArrivalDoc() { return View(); } [HttpPost] [HandlerAjaxOnly] [ValidateAntiForgeryToken] public ActionResult DeArrivalDoc(string keyValue,string Type) { string msg = ""; if (Type=="1") { msg = App.DeleteICSDeliveryNotice(keyValue); } else { msg = App.DeleteICSODeliveryNotice(keyValue); } if (string.IsNullOrEmpty(msg)) { return Success("删除成功!"); } else { return Error(msg); } } } }