| | |
| | | } |
| | | |
| | | /** |
| | | * 查询采购退货可选采购台账 |
| | | */ |
| | | @GetMapping("/returnableList") |
| | | public TableDataInfo returnableList(PurchaseLedger purchaseLedger) { |
| | | startPage(); |
| | | List<PurchaseLedger> list = purchaseLedgerService.selectReturnablePurchaseLedgerList(purchaseLedger); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导出采购台账列表 |
| | | */ |
| | | @Log(title = "采购台账", businessType = BusinessType.EXPORT) |
| | |
| | | * 修改采购台账审批状态 |
| | | */ |
| | | @PostMapping("/updateApprovalStatus") |
| | | @Log(title = "采购审批", businessType = BusinessType.UPDATE) |
| | | public AjaxResult addOrEditPurchase(@RequestBody PurchaseLedger purchaseLedger){ |
| | | return toAjax(purchaseLedgerService.updateById(purchaseLedger)); |
| | | } |