Commit b0abc23e authored by Tình Trương's avatar Tình Trương

update

parent de9fafa4
......@@ -4,7 +4,7 @@
:model-value="isOpened"
@update:model-value="$emit('update:isOpened', $event)"
>
<q-card class="full-width" style="max-width: 30rem" bordered>
<q-card class="full-width" style="max-width: 50rem" bordered>
<q-form
greedy
@submit.prevent="
......@@ -30,7 +30,7 @@
style="max-height: calc(100vh - 10rem)"
>
<div class="row q-col-gutter-sm">
<div class="col-12">
<div class="col-6">
<q-select
:model-value="artistField"
@update:model-value="$emit('update:artistField', $event)"
......@@ -45,27 +45,6 @@
class="q-my-sm"
outlined
></q-select>
<div>
<q-select
:model-value="artistName"
:disable="!artistField"
@update:model-value="$emit('update:artistName', $event)"
:label="
$t('managingUnitAdd.dialogLabel.fieldLabels.artistName')
"
:options="artistOptions"
:rules="artistNameRules"
map-options
option-value="id"
option-label="fullName"
class="q-my-sm"
outlined
>
</q-select
><q-tooltip v-if="!artistField"
>Vui lòng chọn Lĩnh vực</q-tooltip
>
</div>
<q-input
:model-value="contractTimeFrom"
:label="
......@@ -99,6 +78,30 @@
</q-date>
</q-popup-proxy>
</q-input>
</div>
<div class="col-6">
<div>
<q-select
:model-value="artistName"
:disable="!artistField"
@update:model-value="$emit('update:artistName', $event)"
:label="
$t('managingUnitAdd.dialogLabel.fieldLabels.artistName')
"
:options="artistOptions"
:rules="artistNameRules"
map-options
option-value="id"
option-label="fullName"
class="q-my-sm"
outlined
>
</q-select
><q-tooltip v-if="!artistField"
>Vui lòng chọn Lĩnh vực</q-tooltip
>
</div>
<q-input
:model-value="contractTimeTo"
:label="
......
......@@ -4,7 +4,7 @@
:model-value="isOpened"
@update:model-value="$emit('update:isOpened', $event)"
>
<q-card class="full-width" style="max-width: 30rem" bordered>
<q-card class="full-width" style="max-width: 50rem" bordered>
<q-form
greedy
@submit.prevent="
......@@ -30,7 +30,7 @@
style="max-height: calc(100vh - 10rem)"
>
<div class="row q-col-gutter-sm">
<div class="col-12">
<div class="col-6">
<q-select
:model-value="bank"
@update:model-value="$emit('update:bank', $event)"
......@@ -65,6 +65,8 @@
:rules="cardCodeRules"
clearable
></q-input>
</div>
<div class="col-6">
<q-input
:model-value="userCard"
@update:model-value="$emit('update:userCard', $event)"
......@@ -87,7 +89,8 @@
:rules="numberCardRules"
clearable
></q-input>
<div class="flex">
<div class="flex q-pt-sm">
<div class="flex flex-center text-body1 q-ml-xs">Mặc định</div>
<q-checkbox
:model-value="isDefault"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment