From c7fe19f33cca09065cf724d7904a818dd92b625f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 10 Feb 2026 00:53:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor(order):=20=E9=87=8D=E6=9E=84=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2=E4=BB=A5=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=98=BE=E7=A4=BA=E5=92=8C=E4=BA=A4=E4=BA=92=E4=BD=93?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整订单详情抽屉宽度从65%到70% - 移除订单详情中的顶部操作按钮区域 - 在订单详情中新增买家备注显示字段 - 将商品信息卡片从底部移至收货信息前 - 为表格组件添加缓存键以改善性能 - 合并订单状态标签显示包括支付、发货、开票和订单状态 - 优化表格列宽设置并调整操作列宽度 - 更新表格行双击事件以正确打开编辑窗口 - 注释掉商户管理界面中的组织部门字段显示 --- src/views/shop/shopAdmin/index.vue | 12 +- .../shop/shopOrder/components/orderInfo.vue | 168 ++-------- src/views/shop/shopOrder/index.vue | 312 +++++++++--------- 3 files changed, 190 insertions(+), 302 deletions(-) diff --git a/src/views/shop/shopAdmin/index.vue b/src/views/shop/shopAdmin/index.vue index 9154de6..d9adc6e 100644 --- a/src/views/shop/shopAdmin/index.vue +++ b/src/views/shop/shopAdmin/index.vue @@ -232,12 +232,12 @@ align: 'center', showSorterTooltip: false }, - { - title: '所属部门', - dataIndex: 'organizationName', - key: 'organizationName', - align: 'center' - }, + // { + // title: '所属部门', + // dataIndex: 'organizationName', + // key: 'organizationName', + // align: 'center' + // }, { title: '角色', dataIndex: 'roles', diff --git a/src/views/shop/shopOrder/components/orderInfo.vue b/src/views/shop/shopOrder/components/orderInfo.vue index 9ae0f29..0de5eb2 100644 --- a/src/views/shop/shopOrder/components/orderInfo.vue +++ b/src/views/shop/shopOrder/components/orderInfo.vue @@ -1,7 +1,7 @@ + - @@ -104,146 +152,105 @@ - - - - - - - - @@ -346,8 +353,7 @@ { title: '用户信息', dataIndex: 'userId', - key: 'userInfo', - width: 220 + key: 'userInfo' }, { title: '商品信息', @@ -359,36 +365,20 @@ dataIndex: 'payPrice', key: 'payPrice', align: 'center', + width: 120, customRender: ({ text }) => '¥' + text }, + // { + // title: '支付方式', + // dataIndex: 'payType', + // key: 'payType', + // align: 'center', + // width: 120, + // }, { - title: '支付方式', - dataIndex: 'payType', - key: 'payType', - align: 'center' - }, - { - title: '支付状态', - dataIndex: 'payStatus', - key: 'payStatus', - align: 'center' - }, - { - title: '发货状态', - dataIndex: 'deliveryStatus', - key: 'deliveryStatus', - align: 'center' - }, - { - title: '开票状态', - dataIndex: 'isInvoice', - key: 'isInvoice', - align: 'center' - }, - { - title: '订单状态', + title: '状态', dataIndex: 'orderStatus', - key: 'orderStatus', + key: 'statusInfo', align: 'center' }, // { @@ -417,7 +407,7 @@ { title: '操作', key: 'action', - width: 220, + width: 120, fixed: 'right', align: 'center', hideInSetting: true @@ -722,11 +712,11 @@ return { // 行点击事件 onClick: () => { - openEdit(record); + // openEdit(record); }, // 行双击事件 onDblclick: () => { - // openEdit(record); + openEdit(record); } }; };