🎨 style: 优化订单列表展示
This commit is contained in:
parent
81d4329581
commit
193ac52d0b
|
@ -657,7 +657,9 @@ export default class orderList extends React.Component {
|
||||||
}}
|
}}
|
||||||
></font>
|
></font>
|
||||||
{rowData.status_text}
|
{rowData.status_text}
|
||||||
{rowData.type === 2 ? `(${rowData.received_num}/${rowData.num})` : ""}
|
{rowData.type === 2 && rowData.status === 2
|
||||||
|
? `(${rowData.received_num}/${rowData.num})`
|
||||||
|
: ""}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
|
@ -700,7 +702,9 @@ 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})` : ""}
|
{rowData.type === 2 && rowData.orderVoucher?.status === 2
|
||||||
|
? `(${rowData.used_num}/${rowData.num})`
|
||||||
|
: ""}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue