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.
 
 
 
 

45 lines
1.3 KiB

using NFine.Application.SRM;
using NFine.Code;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace NFine.Web.Areas.SRM.Controllers
{
public class RCVListController : Controller
{
RCVListApp App = new RCVListApp();
// GET: SRM/RCVList
public ActionResult Index()
{
return View();
}
[HttpGet]
[HandlerAjaxOnly]
public ActionResult GetRcvLineSubGridJson(Pagination pagination, string queryJson)
{
DataTable ListData = App.GetRcvLineSubGridJson(queryJson, ref pagination);
var JsonData = new
{
total = pagination.total,
page = pagination.page,
records = pagination.records,
rows = ListData,
};
return Content(JsonData.ToJson());
}
[HttpPost]
public void ExportRcvLineAll(string cPOID, string cCode, string PurOper, string Code, string BeginDate, string EndDate, string IsReceive, string VenName)
{
DataTable dt = App.ExportRcvLineAll(cPOID, cCode, PurOper, Code, BeginDate, EndDate, IsReceive, VenName);
AsposeCell.Export(dt);
}
}
}