💊 fix: 【订单列表】后端返回了更新时间,但是前端没有展示出来
This commit is contained in:
parent
0a9b637d8a
commit
fae314d678
|
@ -760,20 +760,26 @@ export default class orderList extends React.Component {
|
|||
}
|
||||
|
||||
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") {
|
||||
return (
|
||||
<span>
|
||||
{rowData.product_type == 1
|
||||
? "直充"
|
||||
: rowData.product_type == 2
|
||||
{rowData.type === 1 && rowData.product_type == 2
|
||||
? "卡密"
|
||||
: rowData.type == 1
|
||||
? "直冲"
|
||||
: rowData.type == 2
|
||||
? "立减金"
|
||||
: rowData.type == 3
|
||||
? "兑换码现金红包"
|
||||
: rowData.product_type == 3
|
||||
? "立减金"
|
||||
: "-"}
|
||||
</span>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue