fix: readonly quotation info
This commit is contained in:
parent
4878e5f751
commit
8f069de610
3 changed files with 6 additions and 2 deletions
|
|
@ -92,7 +92,8 @@ const columns = [
|
|||
<TableComponents
|
||||
flat
|
||||
bordered
|
||||
:button-delete="!checkable"
|
||||
hideView
|
||||
:button-delete="!checkable && !readonly"
|
||||
img-column="employeeName"
|
||||
:readonly="readonly"
|
||||
:inTable
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ const props = withDefaults(
|
|||
buttonDelete?: boolean;
|
||||
hidePagination?: boolean;
|
||||
inTable?: boolean;
|
||||
hideView?: boolean;
|
||||
|
||||
imgColumn?: string;
|
||||
customColumn?: string[];
|
||||
|
|
@ -100,7 +101,7 @@ defineEmits<{
|
|||
@click="$emit('delete', props.rowIndex)"
|
||||
/>
|
||||
<q-btn
|
||||
v-if="!buttonDelete"
|
||||
v-if="!buttonDelete && !hideView"
|
||||
icon="mdi-eye-outline"
|
||||
size="sm"
|
||||
dense
|
||||
|
|
|
|||
|
|
@ -373,6 +373,7 @@ watch(
|
|||
>
|
||||
{{ `${$t('quotation.periodNo')} ${i + 1}` }}
|
||||
<q-input
|
||||
:readonly
|
||||
class="col q-mx-sm"
|
||||
:label="$t('quotation.amount')"
|
||||
:model-value="commaInput(period.amount.toString())"
|
||||
|
|
@ -415,6 +416,7 @@ watch(
|
|||
</template>
|
||||
</q-input>
|
||||
<DatePicker
|
||||
:readonly
|
||||
v-model="period.date"
|
||||
class="col-5"
|
||||
:label="$t('quotation.payDueDate')"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue