|
|
@@ -33,7 +33,7 @@
|
|
|
v-for="item in toggleItems"
|
|
|
:key="item.key"
|
|
|
:model-value="col[item.key]"
|
|
|
- @change="(v) => setColumnVisible(item.key, Boolean(v))"
|
|
|
+ @change="(v: boolean) => setColumnVisible(item.key, v)"
|
|
|
>
|
|
|
{{ item.label }}
|
|
|
</el-checkbox>
|
|
|
@@ -191,7 +191,7 @@ function statusTag(v?: string | null) {
|
|
|
if (v === 'C') return 'info';
|
|
|
return '';
|
|
|
}
|
|
|
-function taxInText(v?: boolean | number | null) {
|
|
|
+function taxInText(v?: boolean | number | string | null) {
|
|
|
if (v === true || v === 1 || v === '1') return '是';
|
|
|
return '否';
|
|
|
}
|