SIT ระบบวินัย>>สรุปผลการพิจารณา (หากข้อมูลเงินเดือนไม่มี)

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-21 17:18:37 +07:00
parent 9cc12ada52
commit bc51350b96
2 changed files with 4 additions and 3 deletions

View file

@ -271,6 +271,7 @@ watch(
}
);
</script>
<template>
<div class="row col-12 bg-white">
<div v-if="isSave" class="col-12">
@ -430,7 +431,7 @@ watch(
{{
props.row.salary
? props.row.salary.toLocaleString()
: ""
: "-"
}}
</div>
<div v-else-if="col.name === 'profileType'">
@ -441,7 +442,7 @@ watch(
}}
</div>
<div v-else>
{{ col.value }}
{{ col.value ?? '-'}}
</div>
</q-td>
</q-tr>

View file

@ -108,7 +108,7 @@ export const useDisciplineMainStore = defineStore("disciplineMainStore", () => {
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format(val, row) {
return val.toLocaleString();
return val ? val.toLocaleString() : '-';
},
},
{