fix ทะเบียนประวัติ
This commit is contained in:
parent
a31a388481
commit
078ff1840e
3 changed files with 11 additions and 11 deletions
|
|
@ -497,6 +497,11 @@ function appointPost() {
|
|||
*/
|
||||
function clickPassaway() {
|
||||
dialogPassaway.value = true;
|
||||
filePassaway.value = null;
|
||||
deathCertificateNo.value = "";
|
||||
dateDeath.value = new Date();
|
||||
placeDeathCertificate.value = "";
|
||||
reasonDeath.value = "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1003,7 +1008,7 @@ onMounted(async () => {
|
|||
<q-separator />
|
||||
<q-card-section class="q-pa-md row q-col-gutter-sm">
|
||||
<q-file
|
||||
class="col-12 col-sm-6 col-md-5"
|
||||
class="col-12 col-sm-6 col-md-5 inputgreen"
|
||||
outlined
|
||||
dense
|
||||
v-model="filePassaway"
|
||||
|
|
@ -1018,7 +1023,7 @@ onMounted(async () => {
|
|||
</template>
|
||||
</q-file>
|
||||
<q-input
|
||||
class="col-12 col-sm-6 col-md-7"
|
||||
class="col-12 col-sm-6 col-md-7 inputgreen"
|
||||
dense
|
||||
outlined
|
||||
v-model="deathCertificateNo"
|
||||
|
|
@ -1026,7 +1031,7 @@ onMounted(async () => {
|
|||
/>
|
||||
|
||||
<datepicker
|
||||
class="col-12 col-sm-6 col-md-5"
|
||||
class="col-12 col-sm-6 col-md-5 inputgreen"
|
||||
menu-class-name="modalfix"
|
||||
v-model="dateDeath"
|
||||
:locale="'th'"
|
||||
|
|
@ -1064,14 +1069,14 @@ onMounted(async () => {
|
|||
</datepicker>
|
||||
|
||||
<q-input
|
||||
class="col-12 col-sm-6 col-md-7"
|
||||
class="col-12 col-sm-6 col-md-7 inputgreen"
|
||||
dense
|
||||
outlined
|
||||
v-model="placeDeathCertificate"
|
||||
label="สถานที่ออกใบมรณบัตร"
|
||||
/>
|
||||
<q-input
|
||||
class="col-12"
|
||||
class="col-12 inputgreen"
|
||||
dense
|
||||
outlined
|
||||
v-model="reasonDeath"
|
||||
|
|
@ -1083,11 +1088,8 @@ onMounted(async () => {
|
|||
<q-separator />
|
||||
<q-card-actions align="right">
|
||||
<q-btn
|
||||
unelevated
|
||||
label="บันทึก"
|
||||
dense
|
||||
color="public"
|
||||
class="q-px-md"
|
||||
@click="clickSaveDeceased"
|
||||
:disable="
|
||||
filePassaway === null ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue