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.
|
|
using NFine.Application.KBSWMS;using NFine.Code;using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Web;using System.Web.Mvc;
namespace NFine.Web.Areas.KBSWMS.Controllers{ public class ICSUpdateMoPickController : ControllerBase { ICSUpdateMoPickApp App = new ICSUpdateMoPickApp(); // GET: KBSWMS/ICSUpdateMoPick
public ActionResult Index() { return View(); }
[HttpGet] public ActionResult GetICSMOPickInfo(Pagination pagination, string queryJson) { DataTable ListData = App.GetICSMOPickInfo(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 UpdateMopickInfoByCode(string Code) { string Msg = App.UpdateMopickInfoByCode(Code); if (string.IsNullOrEmpty(Msg)) { return Success("操作成功!"); } else { return Error("" + Msg + ""); } } [HttpPost] [HandlerAjaxOnly] [ValidateAntiForgeryToken] public ActionResult UpdateMoInfoByCode(string Code) { string Msg = App.UpdateMoInfoByCode(Code); if (string.IsNullOrEmpty(Msg)) { return Success("操作成功!"); } else { return Error("" + Msg + ""); } } }}
|