💊 fix: 【订单列表】后端返回了更新时间,但是前端没有展示出来

This commit is contained in:
wangsongsole 2023-06-29 11:46:56 +08:00
parent 0a9b637d8a
commit fae314d678
1 changed files with 12 additions and 6 deletions

View File

@ -760,20 +760,26 @@ export default class orderList extends React.Component {
} }
if (com == "status_modify_time") { if (com == "status_modify_time") {
return <span>{rowData.orderVoucher?.status_modify_time || "-"}</span> return (
<span>
{rowData.type == 3
? rowData.update_time
: rowData.orderVoucher?.status_modify_time || "-"}
</span>
)
} }
if (com == "product_type") { if (com == "product_type") {
return ( return (
<span> <span>
{rowData.product_type == 1 {rowData.type === 1 && rowData.product_type == 2
? "直充"
: rowData.product_type == 2
? "卡密" ? "卡密"
: rowData.type == 1
? "直冲"
: rowData.type == 2
? "立减金"
: rowData.type == 3 : rowData.type == 3
? "兑换码现金红包" ? "兑换码现金红包"
: rowData.product_type == 3
? "立减金"
: "-"} : "-"}
</span> </span>
) )