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

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

View file

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