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.Code; using NFine.Data.Extensions; using System; using System.Collections.Generic; using System.Data.Common; using System.Data; using System.Linq; using System.Web; using System.Web.Mvc; using NFine.Application; using NFine.Application.SRM;
namespace NFine.Web.Areas.SRM.Controllers { public class ICSXBJNewController : Controller { RFQManagerApp App=new RFQManagerApp(); // GET: SRM/ICSXBJNew
public ActionResult BJDIndex() { return View(); } public ActionResult BJDList() { return View(); } public ActionResult BJDByZGIndex() { return View(); }
public ActionResult BJDVersionList() { return View(); }
public ActionResult BJDLookVersiondetails() { return View(); }
[HttpGet] [HandlerAjaxOnly] public ActionResult GetJson(string RFQCODE) { string ListData = App.GetJson(RFQCODE); var JsonData = new { ListData = ListData, }; return Content(JsonData.ToJson()); }
[HttpGet] [HandlerAjaxOnly] public ActionResult GetJsonVersion(string RFQCODE,string Version) { string ListData = App.GetJsonVersion(RFQCODE, Version); var JsonData = new { ListData = ListData, }; return Content(JsonData.ToJson()); }
public ActionResult CGAgree(string json,string result, string rfqno) { return Content(App.CGAgree(json, result, rfqno));
} public ActionResult BZAgree(string json,string Type) { return Content(App.BZAgree(json, Type));
}
public ActionResult SaveBZAgree(string result,string rfqno) { return Content(App.SaveBZAgree(result, rfqno));
}
public ActionResult BackAgree(string json) { return Content(App.BackAgree(json));
}
public ActionResult SaveAgree(string json) { return Content(App.SaveAgree(json));
}
[HttpGet] [HandlerAjaxOnly] public ActionResult GetVersionList(Pagination pagination, string queryJson) { //DataTable ListData = App.GetVendorMail(queryJson, ref pagination);
//var JsonData = new
//{
// total = pagination.total,
// page = pagination.page,
// records = pagination.records,
// rows = ListData,
//};
//return Content(JsonData.ToJson());
DataTable ListData = App.GetVersionList(queryJson, ref pagination); return Content(ListData.ToJson()); }
/// <summary>
/// 部长撤销提交
/// </summary>
/// <param name="json"></param>
/// <returns></returns>
public ActionResult BZUpdateBJD(string json) { return Content(App.BZUpdateBJD(json));
}
} }
|