diff --git a/src/api/system/area/index.ts b/src/api/system/area/index.ts index b7da941f..e91a4997 100644 --- a/src/api/system/area/index.ts +++ b/src/api/system/area/index.ts @@ -5,14 +5,6 @@ export const getAreaTree = async () => { return await request.get({ url: '/system/area/tree' }) } -export const getChildrenArea = async (id: number) => { - return await request.get({ url: '/system/area/get-children?id=' + id }) -} - -export const getAreaListByIds = async (ids) => { - return await request.get({ url: '/system/area/get-by-ids?ids=' + ids }) -} - // 获得 IP 对应的地区名 export const getAreaByIp = async (ip: string) => { return await request.get({ url: '/system/area/get-by-ip?ip=' + ip }) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index b6f76a73..d8172d27 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -405,7 +405,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ meta: { title: '订单详情', icon: 'ep:view', activeMenu: '/mall/trade/order' } }, { - path: 'after-sale/detail/:orderId(\\d+)', + path: 'after-sale/detail/:id(\\d+)', component: () => import('@/views/mall/trade/afterSale/detail/index.vue'), name: 'TradeAfterSaleDetail', meta: { title: '退款详情', icon: 'ep:view', activeMenu: '/mall/trade/after-sale' } diff --git a/src/views/mall/trade/afterSale/detail/index.vue b/src/views/mall/trade/afterSale/detail/index.vue index 557e6b6e..50c759d5 100644 --- a/src/views/mall/trade/afterSale/detail/index.vue +++ b/src/views/mall/trade/afterSale/detail/index.vue @@ -6,7 +6,6 @@ - @@ -29,8 +28,7 @@ - - + {{ formData?.user?.nickname }} @@ -46,7 +44,7 @@ - {{ floatToFixed2(formData.refundPrice) }} + {{ fenToYuan(formData.refundPrice) }} {{ formData.applyReason }} @@ -92,7 +90,7 @@ - + - + - - - - + @@ -122,6 +112,8 @@ + + @@ -153,7 +145,7 @@