using Aspose.Cells; using NFine.Application.WMS; using NFine.Code; using System; using System.Data; using System.Drawing; using System.IO; using System.Web.Mvc; namespace NFine.Web.Areas.WMS.Controllers { public class WatchPanelController : ControllerBase { private WatchPanelApp App = new WatchPanelApp(); //当天工单生产信息 [HttpGet] [HandlerAjaxOnly] public ActionResult GetWIPDATA(string XX) { try { var data = App.GetWIPDATA(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } //车间人员信息 [HttpGet] [HandlerAjaxOnly] public ActionResult GetWIPUser(string XX) { try { var data = App.GetWIPUser(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 收料信息 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetWIPRCV(string XX) { try { var data = App.GetWIPRCV(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 收料图表 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetWIPRCVChart(string XX) { try { var data = App.GetWIPRCVChart(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 发料信息 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetMaterialPick(string XX) { try { var data = App.GetMaterialPick(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 发料图表 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetMaterialPickChart(string XX) { try { var data = App.GetMaterialPickChart(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 销售发货 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetSo(string XX) { try { var data = App.GetSo(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } /// /// 工单欠料 /// /// /// [HttpGet] [HandlerAjaxOnly] public ActionResult GetOwe(string XX) { try { var data = App.GetOwe(); return Content(data.ToJson()); } catch (Exception ex) { return Content(ex.Message); } } public virtual ActionResult PanelWIP() { return View(); } public virtual ActionResult PanelWIP2() { return View(); } public virtual ActionResult PanelWIP3() { return View(); } public virtual ActionResult PanelWIP4() { return View(); } public virtual ActionResult PanelWIP1021() { return View(); } public virtual ActionResult PanelWIP21021() { return View(); } public virtual ActionResult PanelWIP31021() { return View(); } } }