feat: 增加调拨单审批功能及界面优化
fix(调拨单): 修正审批状态校验逻辑 feat(调拨单): 添加审批API接口 refactor(调拨单明细): 重构表格组件支持不同状态操作 style(调拨单): 优化界面显示和操作按钮 perf(发货单): 自动设置发货时间为当前时间 chore: 删除无用调拨记录页面
This commit is contained in:
@@ -541,7 +541,7 @@ public class WmsTransferOrderItemServiceImpl implements IWmsTransferOrderItemSer
|
||||
throw new IllegalArgumentException("调拨单不存在");
|
||||
}
|
||||
// 审批状态: 0-待审批 1-已通过 2-已驳回
|
||||
if (wmsTransferOrder.getApproveStatus() == null || wmsTransferOrder.getApproveStatus() != 1) {
|
||||
if (wmsTransferOrder.getApproveStatus() == null || wmsTransferOrder.getApproveStatus() != 2) {
|
||||
throw new IllegalArgumentException("审批未通过,不能调拨");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user