|
@@ -178,17 +178,17 @@ export default {
|
|
|
{
|
|
|
field: 'promotionRuleType',
|
|
|
key: '2',
|
|
|
- width: 100,
|
|
|
+ width: 90,
|
|
|
title: '活动类型',
|
|
|
align: 'center',
|
|
|
fixed: 'left',
|
|
|
renderBodyCell: ({ row, column, rowIndex }, h) => {
|
|
|
- const isTejia = row && row.promotionRule && row.promotionRule.promotionRuleType == 'PROMO_PROD' // 是否特价
|
|
|
+ const isTejia = row && row.promotionRule && row.promotionRule.promotionRuleType == 'PROMO_PROD' && _this.type == 'edit' // 是否特价
|
|
|
const tejiaLen = _this.activeList.filter(item => item.promotionRule && item.promotionRule.promotionRuleType == 'PROMO_PROD').length // 特价活动数量
|
|
|
// 特价活动上移下移排序
|
|
|
const equalWord = <div class="table-arrow-box">
|
|
|
- <span class="up" onClick={() => _this.moveTjRow(row, rowIndex, 1)} title="上移">{rowIndex != 0 ? '⇡' : ''}</span>
|
|
|
- <span class="down" onClick={() => _this.moveTjRow(row, rowIndex, 0)} title="下移">{rowIndex != tejiaLen - 1 ? '⇣' : ''}</span>
|
|
|
+ {rowIndex != 0 ? <span class="up" onClick={() => _this.moveTjRow(row, rowIndex, 1)} title="上移">⇡</span> : ''}
|
|
|
+ {rowIndex != tejiaLen - 1 ? <span class="down" onClick={() => _this.moveTjRow(row, rowIndex, 0)} title="下移">⇣</span> : ''}
|
|
|
</div>
|
|
|
// 买产品送产品 同款产品 是累计产品才弹详情窗
|
|
|
if (row.promotionRule.promotionRuleType === 'BUY_PROD_GIVE_PROD' && row.promotion.borrowFlag == '1' && row.promotionRule.regularSameFlag == '1') {
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
},
|
|
|
{ field: 'promotionRuleDesc',
|
|
|
key: '3',
|
|
|
- width: 100,
|
|
|
+ width: 110,
|
|
|
title: '规则简称',
|
|
|
align: 'center',
|
|
|
fixed: 'left',
|