feat: 订单列表新增订单状态、核销状态数量

This commit is contained in:
wangsongsole 2023-12-19 17:14:27 +08:00
parent 44c7fa809d
commit 81d4329581
2 changed files with 4 additions and 2 deletions

View File

@ -657,6 +657,7 @@ export default class orderList extends React.Component {
}} }}
></font> ></font>
{rowData.status_text} {rowData.status_text}
{rowData.type === 2 ? `${rowData.received_num}/${rowData.num}` : ""}
</span> </span>
</p> </p>
) )
@ -699,6 +700,7 @@ export default class orderList extends React.Component {
}} }}
></font> ></font>
{this.usageFunction(rowData.orderVoucher?.status)} {this.usageFunction(rowData.orderVoucher?.status)}
{rowData.type === 2 ? `${rowData.used_num}/${rowData.num}` : ""}
</span> </span>
</p> </p>
) )

View File

@ -74,7 +74,7 @@ export const Column = [
name: "statusDom", name: "statusDom",
prop: "statusDom", prop: "statusDom",
type: "slot", type: "slot",
width: "80px" width: "120px"
}, },
{ {
title: "支付状态", title: "支付状态",
@ -137,7 +137,7 @@ export const Column = [
title: "核销状态", title: "核销状态",
name: "usage_status", name: "usage_status",
prop: "usage_status", prop: "usage_status",
width: "60px", width: "120px",
type: "slot" type: "slot"
}, },