เปลี่ยนฟิล เลขที่คำสั่ง

This commit is contained in:
setthawutttty 2025-04-21 10:00:38 +07:00
parent 07c816a8ef
commit be070ee882
2 changed files with 6 additions and 5 deletions

View file

@ -323,7 +323,7 @@ function addPersonalData(data: ResProfileProbation) {
lastName: data.lastName,
position: data.position,
idcard: data.idcard,
order_number: data.refCommandNo ? data.refCommandNo : "",
order_number: data.commandNo ? data.commandNo : "",
posLevelName: data.posLevelName,
posTypeName: data.posTypeName,
posNo: data.posNo,
@ -630,7 +630,7 @@ onMounted(() => {
}}
</div>
<div v-else >
<div v-else>
{{ col.value ? col.value : "-" }}
</div>
</q-td>
@ -789,9 +789,9 @@ onMounted(() => {
</div>
<div v-else-if="col.name == 'refCommandNo'">
{{
props.row.refCommandNo
? props.row.refCommandNo != "xx/2566"
? props.row.refCommandNo
props.row.commandNo
? props.row.commandNo != "xx/2566"
? props.row.commandNo
: "-"
: "-"
}}

View file

@ -41,6 +41,7 @@ interface ResProfileProbation {
prefix: string;
rank: string;
refCommandNo: string;
commandNo?: string;
root: string;
rootDna: string;
}