订单列表新增支付状态

This commit is contained in:
wangsongsole 2022-09-28 16:08:04 +08:00
parent 88f6d5d509
commit 4c347bf71e
1 changed files with 26 additions and 2 deletions

View File

@ -112,13 +112,19 @@ const Column = [
width: "50px" width: "50px"
}, },
{ {
title: "状态", title: "订单状态",
name: "statusDom", name: "statusDom",
prop: "statusDom", prop: "statusDom",
type: "slot", type: "slot",
width: "80px" width: "80px"
}, },
{
title: "支付状态",
name: "pay_status",
prop: "pay_status",
type: "slot",
width: "80px"
},
{ {
title: "平台批次号", title: "平台批次号",
name: "channel_activity_id", name: "channel_activity_id",
@ -781,6 +787,24 @@ export default class orderlist extends React.Component {
</p> </p>
) )
} }
if (com == "pay_status") {
return (
<p className='dflexa'>
<span>
<font
className='icon'
style={{
background: menu.orderStatusBg(
rowData.pay_status === 1
? ""
: parseInt(rowData.pay_status)
)
}}></font>
{rowData.pay_status_text}
</span>
</p>
)
}
if (com === "type_text") { if (com === "type_text") {
return <span>{rowData.type === 1 ? "直充" : "立减金"}</span> return <span>{rowData.type === 1 ? "直充" : "立减金"}</span>
} }