feat: 完成订单履约菜单重构与业务优化

1. 调整token有效期从30分钟改为60分钟
2. 重构订单履约菜单结构,拆分出供应商履约子目录
3. 修复发货单状态校验逻辑,允许confirmed状态发货
4. 调整页面表格样式与列宽适配
5. 新增供应商履约相关路由与菜单权限
6. 替换首页仪表盘为福安德平台首页
7. 新增批量客户初始化SQL与重复菜单清理脚本
8. 移除顶部导航栏的源码和文档地址入口
This commit is contained in:
2026-06-16 19:35:52 +08:00
parent 7ffc140cf8
commit f5b91c3bd0
13 changed files with 368 additions and 253 deletions

View File

@@ -98,7 +98,7 @@ public class BizDeliveryOrderServiceImpl implements IBizDeliveryOrderService {
public int ship(Long id) {
BizDeliveryOrder d = mapper.selectBizDeliveryOrderById(id);
if (d == null) throw new RuntimeException("发货单不存在");
if (!"pending".equals(d.getDeliveryStatus()))
if (!"pending".equals(d.getDeliveryStatus()) && !"confirmed".equals(d.getDeliveryStatus()))
throw new RuntimeException("当前状态不允许发货确认");
return mapper.updateDeliveryStatus(id, "transit", null, null, "");
}