using BLL;
|
using Model;
|
using Lib;
|
using System.Web.Mvc;
|
|
namespace WMS.Areas.Data.Controllers
|
{
|
public class ErpController : MasterPage
|
{
|
// GET: Data/Erp
|
[LoginFilter]
|
public ActionResult ErpList()
|
{
|
return View();
|
}
|
|
public ActionResult Detail(string OrdNo)
|
{
|
if (!string.IsNullOrEmpty(OrdNo))
|
{
|
IDALErp provider = new DALErp();
|
Erp entity = provider.GetModel(OrdNo);
|
entity = entity == null ? new Erp() : entity;
|
ViewBag.Admin = entity;
|
}
|
return View();
|
}
|
}
|
}
|