You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
1.1 KiB

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);
}
}
}
}