| | |
| | | public PurchaseOrderDetailController(IPurchaseOrderDetailService service) : base(service) |
| | | { |
| | | } |
| | | [HttpPost, HttpGet, Route("GetPurchaseOrderInfo"), AllowAnonymous] |
| | | public WebResponseContent GetPurchaseOrderInfo(string materielCode) |
| | | [HttpPost, HttpGet, Route("GetPurchaseOrderDetailMaterielCode"), AllowAnonymous] |
| | | public WebResponseContent GetPurchaseOrderDetailMaterielCode(int warehouseId) |
| | | { |
| | | return Service.GetPurchaseOrderInfo(materielCode); |
| | | return Service.GetPurchaseOrderDetailMaterielCode(warehouseId); |
| | | } |
| | | [HttpPost, HttpGet, Route("GetPurchaseOrderNos"), AllowAnonymous] |
| | | public WebResponseContent GetPurchaseOrderNos(string materielCode) |
| | | { |
| | | return Service.GetPurchaseOrderNos(materielCode); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GetOrderQuantity"), AllowAnonymous] |
| | | public WebResponseContent GetOrderQuantity(string purchaseOrderNo) |
| | | { |
| | | return Service.GetOrderQuantity(purchaseOrderNo); |
| | | } |
| | | } |
| | | } |