This commit is contained in:
gyq
2025-09-26 14:21:51 +08:00
parent 56436617f9
commit c0f250789d
3 changed files with 21 additions and 4 deletions

View File

@@ -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' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
}
}