using Newtonsoft.Json; using NFine.Application.ProductManage; using NFine.Code; using NFine.Code.Excel; using NFine.Domain.Entity.ProductManage; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Web.Mvc; namespace NFine.Web.Areas.ProductManage.Controllers { public class SaleOrderViewController : ControllerBase { private PreSellApp presellApp = new PreSellApp(); private PreSellDetailApp preselldetailApp = new PreSellDetailApp(); [HttpGet] [HandlerAjaxOnly] public ActionResult GetGridJson(string keyword) { var data = presellApp.GetSOMain(keyword); return Content(data.ToJson()); } [HttpGet] [HandlerAjaxOnly] public ActionResult GetGridJsonMX(string keyValue) { var data = preselldetailApp.GetSODetails(keyValue); return Content(data.ToJson()); } } }