ปรับ text ระบบเงินเดือน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-01 13:04:37 +07:00
parent 4021af92a5
commit beb1522145
3 changed files with 33 additions and 6 deletions

View file

@ -41,6 +41,7 @@ const props = defineProps({
systemName: String, //
orgPublishDate: { type: Date || undefined, defult: undefined },
salaryPeriodId: { type: String, defult: "" }, //
titleCommand: { type: String, defult: "" },
});
const commandOp = ref<ListCommand[]>([]); //
@ -281,7 +282,14 @@ watch(modal, async () => {
<q-dialog v-model="modal" persistent>
<q-card style="min-width: 50vw">
<q-form greedy @submit.prevent @validation-success="onSubmit">
<DialogHeader :tittle="'สร้างคำสั่ง'" :close="closeModal" />
<DialogHeader
:tittle="`สร้างคำสั่ง ${
props.systemName === 'SALARY' || props.systemName === 'SALARY_EMP'
? props.titleCommand
: ''
}`"
:close="closeModal"
/>
<q-separator />
<q-card-section style="max-height: 50vh" class="scroll">
<div class="row q-sm q-col-gutter-sm">