@@ -148,17 +175,15 @@ const columns = [
-
-
+
+ {{
+ formatNumberDecimal(
+ (props.row.pricePerUnit = agentPrice
+ ? props.row.product.agentPrice
+ : props.row.product.price),
+ 2,
+ )
+ }}
@@ -177,34 +202,26 @@ const columns = [
-
-
-
-
- %
-
-
-
+
+
+ %
+
+
-
- {{ calcPrice(props.row) }}
+
+ {{ formatNumberDecimal(calcPrice(props.row), 2) }}
@@ -229,20 +246,28 @@ const columns = [
>
{{ $t('quotation.allProductPrice') }}
- {{ summary.totalPrice }} ฿
+
+ {{ formatNumberDecimal(summary.totalPrice, 2) }} ฿
+
{{ $t('general.discount') }}
- {{ summary.totalDiscount }} ฿
+
+ {{ formatNumberDecimal(summary.totalDiscount, 2) }} ฿
+
{{ $t('quotation.tax') }}
- {{ summary.vat }} ฿
+
+ {{ formatNumberDecimal(summary.vat, 2) }} ฿
+
{{ $t('quotation.totalPrice') }}
- {{ summary.finalPrice }} ฿
+
+ {{ formatNumberDecimal(summary.finalPrice, 2) }} ฿
+