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.
36 lines
983 B
36 lines
983 B
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());
|
|
}
|
|
}
|
|
}
|