(ฉ)
This commit is contained in:
parent
24f2cfc57b
commit
6369d1c0d7
3 changed files with 44 additions and 5 deletions
|
|
@ -34,7 +34,7 @@ const props = defineProps({
|
|||
rowId: { type: String, default: "" },
|
||||
fetchDataTable: Function,
|
||||
getSummary: Function,
|
||||
shortName: {type: String, required: true}
|
||||
shortName: { type: String, required: true },
|
||||
});
|
||||
|
||||
const modalAdd = ref<boolean>(false);
|
||||
|
|
@ -521,7 +521,7 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
async function addPosition(data: RowDetailPositions) {
|
||||
async function addPosition(data: RowDetailPositions) {
|
||||
const isIdExist = await rows.value.some(
|
||||
(item: any) =>
|
||||
item.posExecutiveId == data.posExecutiveId &&
|
||||
|
|
@ -573,6 +573,7 @@ async function clearFormPositionSelect() {
|
|||
formPositionSelect.positionExecutive = "";
|
||||
formPositionSelect.positionExecutiveField = "";
|
||||
formPositionSelect.positionArea = "";
|
||||
|
||||
setTimeout(async () => {
|
||||
isDisValidate.value = await false;
|
||||
}, 1000);
|
||||
|
|
@ -706,7 +707,15 @@ async function emitSearch(keyword: string, typeSelect: string) {
|
|||
>
|
||||
{{ col.value ? col.value : "-" }}
|
||||
</div>
|
||||
|
||||
<div v-else-if="col.name === 'posLevelName'">
|
||||
{{
|
||||
props.row.posLevelName
|
||||
? props.row.isSpecial == true
|
||||
? `${props.row.posLevelName} (ฉ)`
|
||||
: props.row.posLevelName
|
||||
: "-"
|
||||
}}
|
||||
</div>
|
||||
<div v-else-if="col.name === 'positionArea'">
|
||||
{{ col.value ? col.value : "-" }}
|
||||
</div>
|
||||
|
|
@ -862,6 +871,15 @@ async function emitSearch(keyword: string, typeSelect: string) {
|
|||
>
|
||||
{{ col.value ? col.value : "-" }}
|
||||
</div>
|
||||
<div v-else-if="col.name === 'posLevelName'">
|
||||
{{
|
||||
props.row.posLevelName
|
||||
? props.row.isSpecial == true
|
||||
? `${props.row.posLevelName} (ฉ)`
|
||||
: props.row.posLevelName
|
||||
: "-"
|
||||
}}
|
||||
</div>
|
||||
|
||||
<div v-else-if="col.name === 'positionArea'">
|
||||
{{ col.value ? col.value : "-" }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue