fix: quotation => product item => view emp

This commit is contained in:
puriphatt 2024-12-23 11:14:34 +07:00
parent 639608e67b
commit d166f91e09

View file

@ -422,10 +422,7 @@ watch(
{{ formatNumberDecimal(calcPrice(props.row), 2) }}
</q-td>
<q-td>
<div
class="row items-center full-width justify-end no-wrap"
v-if="!readonly"
>
<div class="row items-center full-width justify-end no-wrap">
<q-btn
@click.stop="openEmployeeTable(item.title, props.rowIndex)"
dense
@ -454,6 +451,7 @@ watch(
"
/>
<DeleteButton
v-if="!readonly"
iconOnly
@click="$emit('delete', props.row.i)"
/>
@ -464,15 +462,15 @@ watch(
<q-tr
v-show="
currentBtnOpen[0].title === item.title &&
currentBtnOpen[0].opened[props.rowIndex] &&
!readonly
currentBtnOpen[0].opened[props.rowIndex]
"
:props="props"
>
<q-td colspan="100%" style="padding: 16px">
<WorkerItem
:readonly
:checkable="!readonly"
@check="(wokerIndex) => handleCheck(wokerIndex, props.row)"
checkable
fallback-img="/images/employee-avatar.png"
inTable
hideQuantity