From 306b600da0e604b2b05e782a899d3c5c9e51785f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Thu, 13 Nov 2025 13:04:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(order):=20=E8=B0=83=E6=95=B4=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=8A=B6=E6=80=81=E7=9B=B8=E5=85=B3=E6=96=87=E6=A1=88?= =?UTF-8?q?=E5=8F=8A=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将“已取消”改为“已关闭”及相关状态文案调整- 更新订单状态判断逻辑,适配新的状态值 - 修改订单搜索组件中的选项文案 - 调整订单列表中操作按钮的提示信息 - 优化订单数据查询条件,增加type过滤项- 更新导出表格的字段展示内容与结构 - 新增资金流水类型“新人注册奖”的显示支持 - 移除无用的时间格式化工具引入声明 --- src/views/bsyx/bsyxOrder/index.vue | 12 +++---- src/views/sdy/shopDealerCapital/index.vue | 6 ++-- .../shopDealerOrder2/components/search.vue | 12 +++++-- .../shop/shopOrder/components/search.vue | 2 +- src/views/shop/shopOrder/index.vue | 31 ++++++++++--------- 5 files changed, 35 insertions(+), 28 deletions(-) diff --git a/src/views/bsyx/bsyxOrder/index.vue b/src/views/bsyx/bsyxOrder/index.vue index 669eb00..e6bb31f 100644 --- a/src/views/bsyx/bsyxOrder/index.vue +++ b/src/views/bsyx/bsyxOrder/index.vue @@ -200,12 +200,12 @@ const columns = ref([ key: 'isInvoice', align: 'center', }, - { - title: '订单状态', - dataIndex: 'orderStatus', - key: 'orderStatus', - align: 'center', - }, + // { + // title: '订单状态', + // dataIndex: 'orderStatus', + // key: 'orderStatus', + // align: 'center', + // }, // { // title: '支付时间', // dataIndex: 'payTime', diff --git a/src/views/sdy/shopDealerCapital/index.vue b/src/views/sdy/shopDealerCapital/index.vue index 2592e6d..610c9ab 100644 --- a/src/views/sdy/shopDealerCapital/index.vue +++ b/src/views/sdy/shopDealerCapital/index.vue @@ -53,7 +53,6 @@ import { message, Modal } from 'ant-design-vue'; import { ExclamationCircleOutlined } from '@ant-design/icons-vue'; import type { EleProTable } from 'ele-admin-pro'; - import { toDateString } from 'ele-admin-pro'; import type { DatasourceFunction, ColumnItem @@ -124,7 +123,8 @@ 10: { text: '佣金收入', color: 'success' }, 20: { text: '提现支出', color: 'warning' }, 30: { text: '转账支出', color: 'error' }, - 40: { text: '转账收入', color: 'processing' } + 40: { text: '转账收入', color: 'processing' }, + 50: { text: '新人注册奖', color: 'processing' } }; const type = typeMap[text] || { text: '未知', color: 'default' }; return { type: 'tag', props: { color: type.color }, children: type.text }; @@ -137,7 +137,7 @@ align: 'center', customRender: ({ text, record }) => { const amount = parseFloat(text || '0').toFixed(2); - const isIncome = record.flowType === 10 || record.flowType === 40; + const isIncome = record.flowType === 10 || record.flowType === 40 || record.flowType === 50; return { type: 'span', props: { diff --git a/src/views/sdy/shopDealerOrder2/components/search.vue b/src/views/sdy/shopDealerOrder2/components/search.vue index bccdd0b..a47cc62 100644 --- a/src/views/sdy/shopDealerOrder2/components/search.vue +++ b/src/views/sdy/shopDealerOrder2/components/search.vue @@ -66,8 +66,11 @@ '税费', '实发金额', '一级佣金30%', + '一级佣金收益', '二级佣金10%', + '二级佣金收益', '三级佣金60%', + '三级佣金收益', '月份', '创建时间', '结算时间', @@ -90,9 +93,12 @@ `${d.settledPrice}`, `${d.rate}`, `${d.payPrice}`, - `${d.firstNickname}(${d.firstUserId}),收益:${d.firstMoney}`, - `${d.secondNickname}(${d.secondUserId}),收益:${d.secondMoney}`, - `${d.thirdNickname}(${d.thirdUserId}),收益:${d.thirdMoney}`, + `${d.firstNickname}(${d.firstUserId})`, + `${d.firstMoney}`, + `${d.secondNickname}(${d.secondUserId})`, + `${d.secondMoney}`, + `${d.thirdNickname}(${d.thirdUserId})`, + `${d.thirdMoney}`, `${d.month}`, `${d.createTime}`, `${d.settleTime}`, diff --git a/src/views/shop/shopOrder/components/search.vue b/src/views/shop/shopOrder/components/search.vue index f7f76bd..b5795c5 100644 --- a/src/views/shop/shopOrder/components/search.vue +++ b/src/views/shop/shopOrder/components/search.vue @@ -83,7 +83,7 @@ style="width: 88px;" @change="onType" > - 全部 + 不限 用户ID diff --git a/src/views/shop/shopOrder/index.vue b/src/views/shop/shopOrder/index.vue index c8d3c71..31d27b5 100644 --- a/src/views/shop/shopOrder/index.vue +++ b/src/views/shop/shopOrder/index.vue @@ -17,7 +17,7 @@ - + 未完成 已完成 - 已取消 - 取消中 + 已关闭 + 关闭中 退款申请中 退款被拒绝 退款成功 @@ -116,7 +116,7 @@ @click.stop="handleCancelOrder(record)" > - 取消 + 关闭 @@ -174,7 +174,7 @@ - +