From e8a4108b420a8d276561995ee26d128d8200f4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=96=B5=E5=92=AA?= <15233722133@163.com> Date: Wed, 5 Aug 2026 11:10:52 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E5=BB=B6=E8=BF=9F=E5=8F=91?= =?UTF-8?q?=E8=B4=A7api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/orderItem/orderItem.vue | 290 ++++++++++++++++++++++++++--- pages/order/detail.vue | 281 +++++++++++++++++++++++++++- sheep/api/ai/index.ts | 2 +- 3 files changed, 546 insertions(+), 27 deletions(-) diff --git a/components/orderItem/orderItem.vue b/components/orderItem/orderItem.vue index 517e66a..fbb7b7e 100644 --- a/components/orderItem/orderItem.vue +++ b/components/orderItem/orderItem.vue @@ -69,7 +69,7 @@ + + + + + 延迟发货 + 订单号:{{ props.data.no || '-' }} + + 下单时间:{{ formatCreateTime(props.data.createTime) || '-' }} + + + × + + 请选择当前商品及延迟发货数量 + + + + + {{ item.spuName }} + {{ item.skuText || '-' }} + + 最多可选 x{{ item.maxCount }} + + + + + + + + 取消 + + + 确认延迟发货 + + + + + + diff --git a/components/orderItem/card_order.vue b/components/orderItem/card_order.vue index 61e8361..47b77b0 100644 --- a/components/orderItem/card_order.vue +++ b/components/orderItem/card_order.vue @@ -19,13 +19,16 @@ {{ v.spuName }} + + 已延迟 {{ getSpuDelayInfo(v).text }} + ¥{{ fen2yuan(v.price) }} - - + + {{ formatSkuProperties(item?.properties) }} @@ -35,13 +38,28 @@ - + + + + {{ getDelayRecordSkuText(record) }} + + + {{ getDelayStatusText(record) }} + x{{ getDelayRecordCount(record) }} + + + ¥{{ fen2yuan(item.payPrice) }} - + {{ formatSkuProperties(item?.properties) }} @@ -51,14 +69,47 @@ ¥{{ fen2yuan(item.payPrice || item.price) }} + + + + {{ getDelayRecordSkuText(record) }} + + + {{ getDelayStatusText(record) }} + x{{ getDelayRecordCount(record) }} + + - {{ formatSkuProperties(v.properties) }} + + {{ formatSkuProperties(v.properties) }} + {{ `x${v.count}` }} + + + + {{ getDelayRecordSkuText(record) }} + + + {{ getDelayStatusText(record) }} + x{{ getDelayRecordCount(record) }} + +