|
@@ -409,7 +409,7 @@ export default {
|
|
operationColumn: false,
|
|
operationColumn: false,
|
|
renderBodyCell: ({ row, column, rowIndex }, h) => {
|
|
renderBodyCell: ({ row, column, rowIndex }, h) => {
|
|
return (
|
|
return (
|
|
- row.useRuleQty
|
|
|
|
|
|
+ row.useRuleQty || row.promoRuleSnList.length
|
|
? <a-popover placement="right">
|
|
? <a-popover placement="right">
|
|
<template slot="content">
|
|
<template slot="content">
|
|
{row.promoRuleSnList.map(item => {
|
|
{row.promoRuleSnList.map(item => {
|
|
@@ -423,7 +423,7 @@ export default {
|
|
)
|
|
)
|
|
})}
|
|
})}
|
|
</template>
|
|
</template>
|
|
- <a-button type="link" id={'dispacth-ruleSn-' + row.productSn} size="small" class="button-info">{row.useRuleQty}<span style="zoom:0.6;color: #666;">个 ∨</span></a-button>
|
|
|
|
|
|
+ <a-button type="link" id={'dispacth-ruleSn-' + row.productSn} size="small" class="button-info">{row.useRuleQty || row.promoRuleSnList.length}<span style="zoom:0.6;color: #666;">个 ∨</span></a-button>
|
|
</a-popover> : '--'
|
|
</a-popover> : '--'
|
|
)
|
|
)
|
|
}
|
|
}
|