ทะเบียนประวัติ ==> fix เลขที่ตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-17 16:01:02 +07:00
parent 6da4d8efc8
commit a8f0a486e3
7 changed files with 43 additions and 22 deletions

View file

@ -296,7 +296,7 @@ onMounted(() => {
</div>
<div class="row items-center">
<div class="col-12 col-sm-12 col-md-5 text-grey-6 text-weight-medium">
<div>ตำแหนงเลขท</div>
<div>{{ empType === "" ? `เลขที่ตำแหน่ง` : `ตำแหน่งเลขที่` }}</div>
</div>
<div class="col-12 col-sm-12 col-md-7">
{{ formMain.numberId ? formMain.numberId : "-" }}

View file

@ -69,7 +69,7 @@ const baseColumns = ref<QTableColumn[]>([
{
name: "posNo",
align: "left",
label: "ตำแหน่งเลขที่",
label: empType.value === "" ? "เลขที่ตำแหน่ง" : "ตำแหน่งเลขที่",
sortable: true,
field: "posNo",
headerStyle: "font-size: 14px",
@ -487,7 +487,7 @@ onMounted(() => {
<q-separator />
<div class="row q-pa-sm bg-grey-2">
<div class="col-3 text-grey-6 text-weight-medium">
ตำแหนงเลขท
{{ empType.value === "" ? "เลขที่ตำแหน่ง" : "ตำแหน่งเลขที่" }}
</div>
<div class="col-3">
{{ props.row.posNo ? props.row.posNo : "-" }}

View file

@ -74,7 +74,7 @@ const baseColumns = ref<QTableColumn[]>([
{
name: "posNo",
align: "left",
label: "ตำแหน่งเลขที่",
label: empType.value === "" ? "เลขที่ตำแหน่ง" : "ตำแหน่งเลขที่",
sortable: true,
field: "posNo",
headerStyle: "font-size: 14px",
@ -1159,7 +1159,7 @@ onMounted(async () => {
borderless
v-model="formData.posNo"
hide-bottom-space
:label="`${'ตำแหน่งเลขที่'}`"
:label="empType === '' ? 'เลขที่ตำแหน่ง' : 'ตำแหน่งเลขที่'"
>
</q-input>
</div>

View file

@ -79,7 +79,7 @@ const baseColumns = ref<QTableColumn[]>([
{
name: "posNo",
align: "left",
label: "ตำแหน่งเลขที่",
label: empType.value === "" ? "เลขที่ตำแหน่ง" : "ตำแหน่งเลขที่",
sortable: true,
field: "posNo",
headerStyle: "font-size: 14px",
@ -1126,7 +1126,7 @@ onMounted(async () => {
borderless
v-model="formData.posNo"
hide-bottom-space
:label="`${'ตำแหน่งเลขที่'}`"
:label="empType === '' ? 'เลขที่ตำแหน่ง' : 'ตำแหน่งเลขที่'"
>
</q-input>
</div>