using NFine.Application.WMS; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Data; using System.IO; using NFine.Code; using System.Data.SqlClient; using NFine.Data.Extensions; using System.Data.OleDb; using System.Configuration; using ICS.Application.Entity; namespace NFine.Web.Areas.WMS.Controllers { public class PrintLotNoOverallController : ControllerBase { PrintLotNoOverall App = new PrintLotNoOverall(); // GET: WMS/PrintLotNoOverall public ActionResult CreateQtyinput() { return View(); } public ActionResult ICSPrintLotNoOverall() { return View(); } [HttpGet] [HandlerAjaxOnly] public ActionResult GetGridJson(Pagination pagination, string queryJson) { DataTable ListData = App.GetGridJson(queryJson, ref pagination); var JsonData = new { total = pagination.total, page = pagination.page, records = pagination.records, rows = ListData, }; return Content(JsonData.ToJson()); } /// /// 删除条码 /// /// [HttpPost] [HandlerAjaxOnly] [ValidateAntiForgeryToken] public ActionResult DeleteICSLotNo(string keyValue) { string msg = App.DeleteICSLotNo(keyValue); if (string.IsNullOrEmpty(msg)) { return Success("删除成功!"); } else { return Error(msg); } } } }