迁移设备损耗品管理功能
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-26 00:27:03 +08:00
parent 2e44bd86a3
commit 874cbeaeea
12 changed files with 1126 additions and 767 deletions

View File

@@ -33,6 +33,7 @@
:icon="btn.icon"
:style="btn.cssStyle"
:disabled="btn.needSelection && !selectedCount"
:title="getToolbarDisabledTip(btn)"
@click="btn.onClick"
>
{{ $t(btn.label) }}
@@ -449,6 +450,11 @@ export default {
}
},
getToolbarDisabledTip (btn) {
if (!btn || !btn.needSelection || this.selectedCount) return ''
return btn.disabledTip ? this.$t(btn.disabledTip) : ''
},
/* ============ 分页事件 ============ */
onSizeChange (size) {