forked from gxwebsoft/mp-10550
fix(config): 恢复开发和测试环境API配置
- 将开发环境API_BASE_URL从线上地址改回本地地址 - 在开发环境注释掉线上API地址配置 - 将测试环境API_BASE_URL从线上地址改回本地地址 - 在测试环境注释掉线上API地址配置 fix(order): 修复待收货状态下订单操作权限控制 - 在待收货状态判断条件中增加orderStatus !== 6的限制 - 防止已完成订单在待收货状态下显示查看物流和确认收货按钮
This commit is contained in:
@@ -785,7 +785,7 @@ function OrderList(props: OrderListProps) {
|
||||
)}
|
||||
|
||||
{/* 待收货状态:显示查看物流和确认收货 */}
|
||||
{item.deliveryStatus === 20 && (!item.riderId || !!item.sendEndTime) && item.orderStatus !== 2 && (
|
||||
{item.deliveryStatus === 20 && (!item.riderId || !!item.sendEndTime) && item.orderStatus !== 2 && item.orderStatus !== 6 && (
|
||||
<Space>
|
||||
<Button size={'small'} onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user