fix(store): 修正订单收货状态设置错误
- 将订单收货状态从30修改为20,表示已收货 - 确保收货时间正确记录 - 保持订单状态设置为已完成 - 不影响其他订单数据更新逻辑
This commit is contained in:
@@ -387,7 +387,7 @@ export default function StoreOrdersPage() {
|
||||
// 确认完成:用户已收到货
|
||||
updateData.payStatus = true
|
||||
updateData.payTime = formatDateTime(new Date())
|
||||
updateData.deliveryStatus = 30 // 发货状态 → 已收货
|
||||
updateData.deliveryStatus = 20 // 发货状态 → 已收货
|
||||
updateData.deliveryTime = formatDateTime(new Date()) // 收货时间
|
||||
updateData.orderStatus = 1 // 订单状态 → 已完成
|
||||
updateData.sendEndImg = JSON.stringify(proofImages) // 配送员送达拍照(JSON数组)
|
||||
|
||||
Reference in New Issue
Block a user