【功能修复】商城:修复满减送批量合并的错误部分

This commit is contained in:
YunaiV
2024-09-15 21:06:21 +08:00
parent 1a8c04d763
commit f7217a5c83
3 changed files with 4 additions and 6 deletions

View File

@ -16,15 +16,14 @@ export const discountFormat = (row: CouponTemplateVO) => {
// 格式化【领取上限】
export const takeLimitCountFormat = (row: CouponTemplateVO) => {
if(row.takeLimitCount){
if (row.takeLimitCount) {
if (row.takeLimitCount === -1) {
return '无领取限制'
}
return `${row.takeLimitCount} 张/人`
}else{
} else {
return ' '
}
}
// 格式化【有效期限】