瀏覽代碼

新增显示售后信息

tags/小炒逻辑变更前
yangwenhua 2 年之前
父節點
當前提交
a91cf6af2c
共有 1 個文件被更改,包括 21 次插入2 次删除
  1. +21
    -2
      src/pages/order/order-report/index.jsx

+ 21
- 2
src/pages/order/order-report/index.jsx 查看文件

@@ -73,7 +73,26 @@ const columns = [
}
</>
)
}
},
},
{
title: '售后信息',
key: 'orderStatus',
render: (record) => {
return (
<>
{
record.isRefund ? <Tag color="error">
</Tag>
:
<Tag color="success">
</Tag>
}
</>
)
},
},
{
title: '操作',
@@ -212,7 +231,7 @@ export default function Index() {
sheetName: excelName, //excel文件中sheet页名称
sheetFilter: sheetHeader, //excel文件中需显示的列数据
sheetHeader: ['ID', '取餐号', '用户Id', '优惠合集', '订单号(本系统)',
'交易号', '店铺ID', '店铺名字', '商品总价','优惠金额', '实付金额',
'交易号', '店铺ID', '店铺名字', '商品总价', '优惠金额', '实付金额',
'创建时间', '支付金额异常',
'订单支付时间异常', '订单异常', '售后金额异常', '售后时间异常', '售后订单异常'
] //excel文件中每列的表头名称


Loading…
取消
儲存