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.
 
 
 
 
 

65 lines
1.4 KiB

using NFine.Application.WMS;
using System.Data;
using System.Web.Mvc;
using NFine.Code;
using NFine.Data.Extensions;
namespace NFine.Web.Areas.WMS.Controllers
{
public class ZHYSalesDeliveryController : Controller
{
// GET: WMS/HYSalesDelivery
ZHYSalesDeliveryApp App = new ZHYSalesDeliveryApp();
public ActionResult HYSalesDelivery()
{
return View();
}
public ActionResult GetGridJson(Pagination pagination, string queryJson)
{
DataTable ListData = new DataTable();
ListData = App.GetGridJson(queryJson, ref pagination);
var JsonData = new
{
total = pagination.total,
page = pagination.page,
records = pagination.records,
rows = ListData,
};
return Content(JsonData.ToJson());
}
public ActionResult GetSalesDeliveryTemp(Pagination pagination, string queryJson, string ID)
{
DataTable ListData = new DataTable();
ListData = App.GetSalesDeliveryTemp(queryJson, ref pagination, ID);
var JsonData = new
{
total = pagination.total,
page = pagination.page,
records = pagination.records,
rows = ListData,
};
return Content(JsonData.ToJson());
}
}
}