| | |
| | | /// <param name="orderId"></param> |
| | | /// <param name="materielCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("GetStockSelectViews"),AllowAnonymous] |
| | | [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous] |
| | | public List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode) |
| | | { |
| | | return Service.GetStockSelectViews(orderId, materielCode); |
| | |
| | | [HttpPost, HttpGet, Route("GetSelectViewDTOs"), AllowAnonymous] |
| | | public List<StockSelectViewDTO> GetSelectViewDTOs(string orderNo, string materielCode) |
| | | { |
| | | return Service.GetSelectViewDTOs(orderNo, materielCode); |
| | | try |
| | | { |
| | | return Service.GetSelectViewDTOs(orderNo, materielCode); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return new List<StockSelectViewDTO>(); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// / |
| | | /// </summary> |
| | | /// <param name="orderNo"></param> |
| | | /// <param name="materielCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("GetAllocateStockSelect"), AllowAnonymous] |
| | | public List<StockSelectViewDTO> GetAllocateSelectViewDTOs(int orderId,int orderDetailId, string materielCode) |
| | | { |
| | | try |
| | | { |
| | | return Service.GetAllocateSelectViewDTOs(orderId, orderDetailId,materielCode); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return new List<StockSelectViewDTO>(); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |