feat: 订单列表新增字段

This commit is contained in:
wangsongsole 2024-02-29 09:39:52 +08:00
parent f69fa17cfa
commit 9ebbd77b22
2 changed files with 12 additions and 2 deletions

View File

@ -873,6 +873,11 @@ export default class orderList extends React.Component {
if (com == "order_type") { if (com == "order_type") {
return <span>虚拟</span> return <span>虚拟</span>
} }
if (com == "receive_error") {
return (
<span>{rowData.orderVoucher ? rowData.orderVoucher.receive_error : "-"}</span>
)
}
if (com == "usage_status") { if (com == "usage_status") {
return ( return (
<p className="dflexa"> <p className="dflexa">

View File

@ -132,7 +132,6 @@ export const Column = [
width: "50px", width: "50px",
type: "slot" type: "slot"
}, },
{ {
title: "核销状态", title: "核销状态",
name: "usage_status", name: "usage_status",
@ -140,7 +139,13 @@ export const Column = [
width: "120px", width: "120px",
type: "slot" type: "slot"
}, },
{
title: "发放失败",
name: "receive_error",
prop: "receive_error",
width: "150px",
type: "slot"
},
{ {
title: "减扣(元)", title: "减扣(元)",
name: "discount_amount", name: "discount_amount",