修正 订单列表字段显示问题

This commit is contained in:
wangsongsole 2022-06-14 10:10:08 +08:00
parent 85ae9cd509
commit 60592990d7
1 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,7 @@ const Column = [
name: 'type_text',
prop: 'type_text',
width: 'auto',
type: 'normal'
type: 'slot'
},
{
title: '折扣',
@ -730,6 +730,9 @@ export default class orderlist extends React.Component {
</p>
)
}
if (com === 'type_text') {
return <span>{rowData.type === 1 ? '商品' : '立减金'}</span>
}
if (com == 'opearo') {
return (
<div>