修改计费逻辑

This commit is contained in:
wuweihua
2026-11-12 11:07:13 +08:00
parent 17ee9731e8
commit d2c75e0c51
7 changed files with 57 additions and 14 deletions
@@ -128,10 +128,9 @@ function statusTag(status) {
return map[String(status)] || 'info'
}
/** 待生效、已生效:可编辑价卡 */
/** 不限状态:待生效/已生效/已失效均可编辑价卡 */
function canEdit(row) {
const s = row ? String(row.status) : ''
return s === '0' || s === '1'
return !!row
}
/** 仅待生效可改生效时间 */