| | |
| | | 锘縰sing Microsoft.AspNetCore.Http; |
| | | 锘縰sing Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Stock; |
| | | using WIDESEA_IStockService; |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_StockService; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Stock |
| | | { |
| | |
| | | public StockInfoDetailController(IStockInfoDetailService service) : base(service) |
| | | { |
| | | } |
| | | |
| | | [HttpPost, Route("GetPageData")] |
| | | public override ActionResult GetPageData([FromBody] PageDataOptions options) |
| | | { |
| | | |
| | | var result = Service.GetPageData2(options); |
| | | |
| | | |
| | | return Json(result); |
| | | } |
| | | |
| | | [HttpPost, Route("GetPageDataByMateriel"),AllowAnonymous] |
| | | public PageGridData<StockDetailDtO> GetPageDataByMateriel([FromBody] PageDataOptions options) |
| | | { |
| | | return Service.GetPageDataByMateriel(options); |
| | | } |
| | | } |
| | | } |