fix: quotation => product item => view emp
This commit is contained in:
parent
639608e67b
commit
d166f91e09
1 changed files with 5 additions and 7 deletions
|
|
@ -422,10 +422,7 @@ watch(
|
||||||
{{ formatNumberDecimal(calcPrice(props.row), 2) }}
|
{{ formatNumberDecimal(calcPrice(props.row), 2) }}
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td>
|
<q-td>
|
||||||
<div
|
<div class="row items-center full-width justify-end no-wrap">
|
||||||
class="row items-center full-width justify-end no-wrap"
|
|
||||||
v-if="!readonly"
|
|
||||||
>
|
|
||||||
<q-btn
|
<q-btn
|
||||||
@click.stop="openEmployeeTable(item.title, props.rowIndex)"
|
@click.stop="openEmployeeTable(item.title, props.rowIndex)"
|
||||||
dense
|
dense
|
||||||
|
|
@ -454,6 +451,7 @@ watch(
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<DeleteButton
|
<DeleteButton
|
||||||
|
v-if="!readonly"
|
||||||
iconOnly
|
iconOnly
|
||||||
@click="$emit('delete', props.row.i)"
|
@click="$emit('delete', props.row.i)"
|
||||||
/>
|
/>
|
||||||
|
|
@ -464,15 +462,15 @@ watch(
|
||||||
<q-tr
|
<q-tr
|
||||||
v-show="
|
v-show="
|
||||||
currentBtnOpen[0].title === item.title &&
|
currentBtnOpen[0].title === item.title &&
|
||||||
currentBtnOpen[0].opened[props.rowIndex] &&
|
currentBtnOpen[0].opened[props.rowIndex]
|
||||||
!readonly
|
|
||||||
"
|
"
|
||||||
:props="props"
|
:props="props"
|
||||||
>
|
>
|
||||||
<q-td colspan="100%" style="padding: 16px">
|
<q-td colspan="100%" style="padding: 16px">
|
||||||
<WorkerItem
|
<WorkerItem
|
||||||
|
:readonly
|
||||||
|
:checkable="!readonly"
|
||||||
@check="(wokerIndex) => handleCheck(wokerIndex, props.row)"
|
@check="(wokerIndex) => handleCheck(wokerIndex, props.row)"
|
||||||
checkable
|
|
||||||
fallback-img="/images/employee-avatar.png"
|
fallback-img="/images/employee-avatar.png"
|
||||||
inTable
|
inTable
|
||||||
hideQuantity
|
hideQuantity
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue