纽威
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

3 years ago
  1. using Newtonsoft.Json;
  2. using NFine.Application.ProductManage;
  3. using NFine.Code;
  4. using NFine.Code.Excel;
  5. using NFine.Domain.Entity.ProductManage;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Data;
  9. using System.IO;
  10. using System.Linq;
  11. using System.Web.Mvc;
  12. namespace NFine.Web.Areas.ProductManage.Controllers
  13. {
  14. public class SaleOrderViewController : ControllerBase
  15. {
  16. private PreSellApp presellApp = new PreSellApp();
  17. private PreSellDetailApp preselldetailApp = new PreSellDetailApp();
  18. [HttpGet]
  19. [HandlerAjaxOnly]
  20. public ActionResult GetGridJson(string keyword)
  21. {
  22. var data = presellApp.GetSOMain(keyword);
  23. return Content(data.ToJson());
  24. }
  25. [HttpGet]
  26. [HandlerAjaxOnly]
  27. public ActionResult GetGridJsonMX(string keyValue)
  28. {
  29. var data = preselldetailApp.GetSODetails(keyValue);
  30. return Content(data.ToJson());
  31. }
  32. }
  33. }