fix bug ลา
This commit is contained in:
parent
f9e55ed073
commit
d305b753bf
2 changed files with 3 additions and 3 deletions
|
|
@ -211,7 +211,7 @@ onMounted(async () => {
|
|||
</div>
|
||||
<q-space />
|
||||
<q-btn
|
||||
v-if="props.row.status == 'NEW'"
|
||||
v-if="props.row.status != 'DELETE' && props.row.status != 'REJECT' && props.row.status != 'CANCEL'"
|
||||
label="ขอยกเลิก"
|
||||
@click="onClickView(props.row.id, 'CANCEL')"
|
||||
size="13px"
|
||||
|
|
|
|||
|
|
@ -79,13 +79,13 @@ export const useLeaveStore = defineStore("Leave", () => {
|
|||
name: e.name,
|
||||
code: e.code,
|
||||
}))
|
||||
typeOptionsMain.value = []
|
||||
typeOptionsMain.value.push(...optionType)
|
||||
typeOptions.value = typeOptionsMain.value
|
||||
console.log(typeOptions.value)
|
||||
|
||||
typeOptionsAdd.value = []
|
||||
typeOptionsAdd.value.push(...optionType)
|
||||
options.value = typeOptionsAdd.value
|
||||
console.log(options.value)
|
||||
}
|
||||
|
||||
/** สถานะของการลา */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue