feat(gltTicketOrder): 添加配送状态和相关字段支持

- 在订单模型中新增配送状态字段(deliveryStatus)、派送完成图片(sendEndImg)、收货确认时间和收货确认类型
- 更新骑手数据显示逻辑,增加配送时间和留档图片展示
- 修正骑手列表选择逻辑,使用userId替代id进行匹配
- 注释掉订单状态列显示以优化界面布局
This commit is contained in:
2026-02-06 22:16:26 +08:00
parent 633109e67e
commit b933020bf8
2 changed files with 20 additions and 10 deletions

View File

@@ -44,7 +44,8 @@
<template v-if="column.key === 'riderName'">
<a-space>
<div class="flex flex-col">
<div class="text-gray-400 flex justify-between">
<div class="text-gray-400">配送时间{{ record.sendTime || '-'}}</div>
<div class="text-gray-400 flex justify-between" style="min-width: 224px">
配送人员{{ record.riderName || '-' }}
<a-tag
color="blue"
@@ -55,6 +56,7 @@
</a-tag>
</div>
<div class="text-blue-400">联系电话{{ record.riderPhone || '-' }}</div>
<div class="text-gray-400">留档图片{{ record.sendEndImg || '-' }}</div>
</div>
</a-space>
</template>
@@ -202,11 +204,11 @@
return (riderList.value || []).map((r) => {
const label = `${r.realName || '-'}${r.mobile ? `${r.mobile}` : ''}`;
return {
value: r.id,
value: r.userId,
label,
disabled:
r.status === 0 ||
(currentRiderId != null && String(r.id ?? '') === String(currentRiderId))
(currentRiderId != null && String(r.userId ?? '') === String(currentRiderId))
};
});
});
@@ -398,13 +400,13 @@
width: 260,
align: 'center'
},
{
title: '状态',
dataIndex: 'status',
key: 'status',
align: 'center',
width: 120
}
// {
// title: '状态',
// dataIndex: 'status',
// key: 'status',
// align: 'center',
// width: 120
// }
// {
// title: '操作',
// key: 'action',