feat: 待收货、待发货添加15(部分发货状态)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user