修改订单类型
This commit is contained in:
parent
a40fe057a0
commit
811223c738
|
@ -190,10 +190,10 @@ export default class orderlist extends React.Component {
|
||||||
prop: 'status',
|
prop: 'status',
|
||||||
menuList: [
|
menuList: [
|
||||||
{ id: 999, name: '全部' },
|
{ id: 999, name: '全部' },
|
||||||
{ id: 1, name: '商品-充值中' },
|
{ id: 1, name: '直充-充值中' },
|
||||||
{ id: 2, name: '商品-已完成' },
|
{ id: 2, name: '直充-已完成' },
|
||||||
{ id: 3, name: '商品-充值失败' },
|
{ id: 3, name: '直充-充值失败' },
|
||||||
{ id: 4, name: '商品-已取消' },
|
{ id: 4, name: '直充-已取消' },
|
||||||
{ id: 111, name: '立减金-待领取' },
|
{ id: 111, name: '立减金-待领取' },
|
||||||
{ id: 222, name: '立减金-已领取' },
|
{ id: 222, name: '立减金-已领取' },
|
||||||
{ id: 5, name: '立减金-已过期' }
|
{ id: 5, name: '立减金-已过期' }
|
||||||
|
@ -778,7 +778,7 @@ export default class orderlist extends React.Component {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (com === 'type_text') {
|
if (com === 'type_text') {
|
||||||
return <span>{rowData.type === 1 ? '商品' : '立减金'}</span>
|
return <span>{rowData.type === 1 ? '直充' : '立减金'}</span>
|
||||||
}
|
}
|
||||||
if (com == 'channel_activity_id') {
|
if (com == 'channel_activity_id') {
|
||||||
return (
|
return (
|
||||||
|
@ -797,7 +797,8 @@ export default class orderlist extends React.Component {
|
||||||
onClick={(e) => this.moreFn(e, rowData)}>
|
onClick={(e) => this.moreFn(e, rowData)}>
|
||||||
详情
|
详情
|
||||||
</span>
|
</span>
|
||||||
{rowData.status == 1||rowData.status == 0&&rowData.type==1 ? (
|
{rowData.status == 1 ||
|
||||||
|
(rowData.status == 0 && rowData.type == 1) ? (
|
||||||
<span
|
<span
|
||||||
className='grid-link'
|
className='grid-link'
|
||||||
onClick={(e) => this.deleteFn(e, rowData)}>
|
onClick={(e) => this.deleteFn(e, rowData)}>
|
||||||
|
|
Loading…
Reference in New Issue