+
+
+
+ {{ scope.row.after_sale_no }}
-
-
- 备注
+
+
+
+ {{ scope.row.order_no }}
-
-
-
-
-
+
+
+
+ {{
+ scope.row.type_text || scope.row.type
+ }}
+
+
+
+
+ {{ scope.row.status_text || scope.row.status }}
+
+
+
+
+ {{ getProductTypeLabel(scope.row.product_type) }}
+
+
+
+
+ ¥{{ scope.row.refund_price || '0.00' }}
+
+
+
+
+ {{ scope.row.add_time ? formatDate(scope.row.add_time) : '--' }}
+
+
+
+
+ 详情
+
+
+ 审核
+
+
+
+ 备注
+
+
+
+
+
@@ -504,6 +506,10 @@ onMounted(() => {
width: 250px;
}
+.table-content {
+ padding: 12px 20px 0;
+}
+
.price {
color: #ed4014;
font-weight: bold;
diff --git a/frontend/admin/src/pages/order/orderCenter/index.vue b/frontend/admin/src/pages/order/orderCenter/index.vue
index 2e0d629a4..ecc5aa53f 100644
--- a/frontend/admin/src/pages/order/orderCenter/index.vue
+++ b/frontend/admin/src/pages/order/orderCenter/index.vue
@@ -151,106 +151,108 @@
-
-
-
-
- {{ scope.row.order_no }}
-
-
-
-
- {{
- getOrderCategoryLabel(scope.row.order_category)
- }}
-
-
-
-
- {{ getProductTypeLabel(scope.row.product_type) }}
-
-
-
-
- {{ scope.row.activity_type_text || '--' }}
-
-
-
-
-
-
![]()
-
-
-
- 商品名称:{{ scope.row.title }}
-
-
- 购买数量:{{ scope.row.total_num }}
-
-
- {{ scope.row.title }}
-
-
-
-
-
-
- {{ scope.row.nickname || '--' }}
- {{ scope.row.user_phone || '--' }}
-
-
-
-
-
- 总价:¥{{ scope.row.total_price }}
-
-
- 实付:¥{{ scope.row.pay_price }}
-
-
-
-
-
- {{
- getPayStatusLabel(scope.row.pay_status)
- }}
-
-
-
-
- {{ getStatusLabel(scope.row.status_code) }}
-
- {{ scope.row.business_status.label }}
-
-
-
-
-
- {{ scope.row.add_time ? formatDate(scope.row.add_time * 1000) : '--' }}
-
-
-
-
- 详情
-
- 备注
-
-
- 删除
+
+
+
+
+
+ {{ scope.row.order_no }}
-
-
-
-
-
+
+
+
+ {{
+ getOrderCategoryLabel(scope.row.order_category)
+ }}
+
+
+
+
+ {{ getProductTypeLabel(scope.row.product_type) }}
+
+
+
+
+ {{ scope.row.activity_type_text || '--' }}
+
+
+
+
+
+
![]()
+
+
+
+ 商品名称:{{ scope.row.title }}
+
+
+ 购买数量:{{ scope.row.total_num }}
+
+
+ {{ scope.row.title }}
+
+
+
+
+
+
+ {{ scope.row.nickname || '--' }}
+ {{ scope.row.user_phone || '--' }}
+
+
+
+
+
+ 总价:¥{{ scope.row.total_price }}
+
+
+ 实付:¥{{ scope.row.pay_price }}
+
+
+
+
+
+ {{
+ getPayStatusLabel(scope.row.pay_status)
+ }}
+
+
+
+
+ {{ getStatusLabel(scope.row.status_code) }}
+
+ {{ scope.row.business_status.label }}
+
+
+
+
+
+ {{ scope.row.add_time ? formatDate(scope.row.add_time * 1000) : '--' }}
+
+
+
+
+ 详情
+
+ 备注
+
+
+ 删除
+
+
+
+
+
@@ -518,7 +520,8 @@ function getPayStatusClass(status) {
}
function getTabLabel(text, statusCode) {
- const count = statusCode === 'deleted' ? statData.value.deleted_count : statData.value.status_counts?.[statusCode]?.count;
+ const count =
+ statusCode === 'deleted' ? statData.value.deleted_count : statData.value.status_counts?.[statusCode]?.count;
return count ? `${text}(${count})` : text;
}
@@ -546,6 +549,10 @@ onMounted(() => {
width: 250px;
}
+.table-content {
+ padding: 12px 20px 0;
+}
+
.tab {
display: flex;
align-items: center;
diff --git a/frontend/admin/src/pages/plugin/normal/order/components/OrderTable.vue b/frontend/admin/src/pages/plugin/normal/order/components/OrderTable.vue
index 862a64b53..c89fe6a73 100644
--- a/frontend/admin/src/pages/plugin/normal/order/components/OrderTable.vue
+++ b/frontend/admin/src/pages/plugin/normal/order/components/OrderTable.vue
@@ -22,182 +22,184 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
- {{ scope.row.order_no }}
-
- [{{ getShippingTypeLabel(scope.row) }}]
-
- 用户已删除
- 用户已取消
-
-
-
-
-
-
![]()
-
-
-
- 商品名称:{{ scope.row.title }}
-
-
- 副标题:{{ scope.row.subtitle }}
-
-
- 购买数量:{{ scope.row.total_num }}
-
-
- {{ scope.row.title }}
-
-
-
-
-
-
- {{ scope.row.nickname || '--' }}
- {{ scope.row.user_phone || '--' }}
-
-
-
-
-
- 总价:¥{{ scope.row.total_price }}
-
-
- 实付:¥{{ scope.row.pay_price }}
-
-
-
-
-
- {{ scope.row.pay_type_name || scope.row.pay_type || '--' }}
-
-
-
-
-
- {{ isPaid(scope.row) ? '已支付' : '未支付' }}
-
-
-
-
-
-
- {{ getRowStatusLabel(scope.row) }}
-
-
-
-
-
-
-
-
售后单数:{{ scope.row.after_sale.count }}
-
售后类型:{{ formatAfterSaleTypes(scope.row.after_sale.types) }}
-
售后状态:{{ formatAfterSaleStatuses(scope.row.after_sale.statuses) }}
-
-
- {{ scope.row.after_sale.is_processing ? '售后中' : '有售后' }}
-
-
- --
-
-
-
-
-
- {{ scope.row.delivery_name || '--' }}
-
- {{ scope.row.delivery_id || '--' }}
+
+
+ {{ scope.row.order_no }}
+
+ [{{ getShippingTypeLabel(scope.row) }}]
- 物流查询用户已删除
+ 用户已取消
- {{
- isPickupOrder(scope.row) ? '--' : '未发货'
- }}
-
-
-
-
- {{ scope.row.add_time ? formatTime(scope.row.add_time) : '--' }}
-
-
-
-
- 详情
-
- handleCommand(scope.row, cmd)" :transfer="true">
- 更多
-
-
- 确认付款
-
- 发货
-
- {{
- getConfirmLabel(scope.row)
- }}
-
- 订单编辑
-
- 小票打印
-
- 配货单打印
-
- 修改地址
-
- 订单备注
-
- 立即退款
-
- 配送信息
+
+
+
+
![]()
+
+
+
+ 商品名称:{{ scope.row.title }}
+
+
+ 副标题:{{ scope.row.subtitle }}
+
+
+ 购买数量:{{ scope.row.total_num }}
+
+
-
- 删除订单
- {{ scope.row.title }}
+
+
+
+
+
+
+ {{ scope.row.nickname || '--' }}
+ {{ scope.row.user_phone || '--' }}
+
+
+
+
+
+ 总价:¥{{ scope.row.total_price }}
+
+
+ 实付:¥{{ scope.row.pay_price }}
+
+
+
+
+
+ {{ scope.row.pay_type_name || scope.row.pay_type || '--' }}
+
+
+
+
+
+ {{ isPaid(scope.row) ? '已支付' : '未支付' }}
+
+
+
+
+
+
+ {{ getRowStatusLabel(scope.row) }}
+
+
+
+
+
+
-
-
-
-
+
+
售后单数:{{ scope.row.after_sale.count }}
+
售后类型:{{ formatAfterSaleTypes(scope.row.after_sale.types) }}
+
售后状态:{{ formatAfterSaleStatuses(scope.row.after_sale.statuses) }}
+
+
+ {{ scope.row.after_sale.is_processing ? '售后中' : '有售后' }}
+
+
+
--
+
+
+
+
+
+ {{ scope.row.delivery_name || '--' }}
+
+ {{ scope.row.delivery_id || '--' }}
+
+ 物流查询
+
+ {{
+ isPickupOrder(scope.row) ? '--' : '未发货'
+ }}
+
+
+
+
+ {{ scope.row.add_time ? formatTime(scope.row.add_time) : '--' }}
+
+
+
+
+ 详情
+
+ handleCommand(scope.row, cmd)" :transfer="true">
+ 更多
+
+
+ 确认付款
+
+ 发货
+
+ {{
+ getConfirmLabel(scope.row)
+ }}
+
+ 订单编辑
+
+ 小票打印
+
+ 配货单打印
+
+ 修改地址
+
+ 订单备注
+
+ 立即退款
+
+ 配送信息
+
+ 删除订单
+
+
+
+
+
-
-
@@ -619,6 +621,10 @@ defineExpose({ selectedIds, page });
border-bottom: 1px solid var(--prev-border-color-lighter);
}
+.table-content {
+ padding: 12px 20px 0;
+}
+
.orderData {
.tab {
display: flex;