refactor: handle agent
This commit is contained in:
parent
fd62732642
commit
c1afeee1da
3 changed files with 9 additions and 3 deletions
|
|
@ -445,7 +445,9 @@ watch(
|
|||
<q-td align="right">
|
||||
{{
|
||||
formatNumberDecimal(
|
||||
props.row.product.calcVat
|
||||
props.row.product[
|
||||
agentPrice ? 'agentPriceCalcVat' : 'calcVat'
|
||||
]
|
||||
? precisionRound(
|
||||
(props.row.pricePerUnit * props.row.amount -
|
||||
props.row.discount) *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue