修改采购ui

This commit is contained in:
2025-11-19 12:54:44 +08:00
parent ecea954d52
commit 7d0492a545
9 changed files with 1169 additions and 566 deletions

View File

@@ -91,7 +91,7 @@ public class ErpPurchaseOrderController extends BaseController {
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
@PutMapping("/{orderId}/confirm")
public R<Void> confirm(@NotNull(message = "主键不能为空")
@PathVariable Long orderId) {
@PathVariable("orderId") Long orderId) {
return toAjax(iErpPurchaseOrderService.confirmOrder(orderId, getUsername()));
}
@@ -101,7 +101,7 @@ public class ErpPurchaseOrderController extends BaseController {
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
@PutMapping("/{orderId}/partial")
public R<Void> partial(@NotNull(message = "主键不能为空")
@PathVariable Long orderId) {
@PathVariable("orderId") Long orderId) {
return toAjax(iErpPurchaseOrderService.markPartialArrival(orderId));
}
@@ -111,7 +111,7 @@ public class ErpPurchaseOrderController extends BaseController {
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
@PutMapping("/{orderId}/complete")
public R<Void> complete(@NotNull(message = "主键不能为空")
@PathVariable Long orderId) {
@PathVariable("orderId") Long orderId) {
return toAjax(iErpPurchaseOrderService.completeOrder(orderId));
}
@@ -121,7 +121,7 @@ public class ErpPurchaseOrderController extends BaseController {
@Log(title = "采购订单主", businessType = BusinessType.UPDATE)
@PutMapping("/{orderId}/cancel")
public R<Void> cancel(@NotNull(message = "主键不能为空")
@PathVariable Long orderId) {
@PathVariable("orderId") Long orderId) {
return toAjax(iErpPurchaseOrderService.cancelOrder(orderId));
}