优化
This commit is contained in:
@@ -153,8 +153,13 @@ function showDetailHandle(item) {
|
||||
`其它说明:${item.ruleDetails || '无'}`
|
||||
];
|
||||
|
||||
if (item.type == 2 || item.type == 4) {
|
||||
selectListItemDetails.value.splice(2, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
|
||||
}
|
||||
|
||||
if (item.type == 3) {
|
||||
selectListItemDetails.value.unshift(`最高抵扣${item.discountAmount}元`);
|
||||
selectListItemDetails.value.unshift(`最高抵扣${item.maxDiscountAmount}元`);
|
||||
// selectListItemDetails.value.splice(3, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user