feat: 待收货、待发货添加15(部分发货状态)

This commit is contained in:
2026-08-06 17:57:52 +08:00
parent 01e6925ede
commit 3d54e7ce31
2 changed files with 29 additions and 5 deletions
+3 -3
View File
@@ -191,11 +191,11 @@ export function handleOrderButtons(order) {
// 查看拼团
order.buttons.push('combination');
}
if (order.status === 20) {
// 确认收货
if (order.status === 15 || order.status === 20) {
// 确认收货(部分发货或全部发货)
order.buttons.push('confirm');
}
if (order.logisticsId > 0) {
if (order.logisticsId > 0 || Number(order?.logisticsId) > 0 || (String(order?.logisticsNo || '').trim())) {
// 查看物流
order.buttons.push('express');
}