From e9f19a3d7e8bdcfdac118b9279f8417ebe4d98b8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 18:19:36 +0800
Subject: [PATCH] fix(erp): 单据明细单价口径由「不含税单价」改为「含税单价」(前端)

---
 src/views/erp/purchase/request/detail/index.vue |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/src/views/erp/purchase/request/detail/index.vue b/src/views/erp/purchase/request/detail/index.vue
index 62c383e..6c471ca 100644
--- a/src/views/erp/purchase/request/detail/index.vue
+++ b/src/views/erp/purchase/request/detail/index.vue
@@ -46,13 +46,7 @@
     },
     {
       field: 'productPrice',
-      title: '鍗曚环锛堝弬鑰冧环锛�',
-      minWidth: 120,
-      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
-    },
-    {
-      field: 'totalPrice',
-      title: '棰勪及閲戦',
+      title: '鍚◣鍗曚环(鍏�)',
       minWidth: 120,
       formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
     },
@@ -61,6 +55,25 @@
       title: '绋庣巼(%)',
       minWidth: 90,
       formatter: ({ cellValue }) => (cellValue ? `${cellValue}%` : '-'),
+    },
+    {
+      field: 'totalPrice',
+      title: '涓嶅惈绋庨噾棰�(鍏�)',
+      minWidth: 120,
+      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
+    },
+    {
+      field: 'taxPrice',
+      title: '绋庨(鍏�)',
+      minWidth: 120,
+      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
+    },
+    {
+      field: 'totalTaxInclusivePrice',
+      title: '鍚◣鍚堣(鍏�)',
+      minWidth: 120,
+      formatter: ({ row }) =>
+        erpPriceInputFormatter((row.totalPrice || 0) + (row.taxPrice || 0)) || '-',
     },
     { field: 'demandTime', title: '闇�姹傛棩鏈�', minWidth: 110 },
     {
@@ -123,7 +136,7 @@
       render: (val) => erpCountInputFormatter(val) || '-',
     },
     {
-      label: '鍚堣閲戦',
+      label: '鍚◣鍚堣閲戦',
       field: 'totalPrice',
       render: (val) => erpPriceInputFormatter(val) || '-',
     },

--
Gitblit v1.9.3