From 501fc9805cc9f3c66a311e09a46e3aa102a72667 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 11 十二月 2025 11:25:52 +0800
Subject: [PATCH] 1.南洋电缆-质量统计过程检台账有数据但是BI大屏没有数据(改成月份统计和合格率) 2.南洋电缆-再加两个统计内容:产品合格率(%)、库存周转率BI展示

---
 src/views/procurementManagement/procurementInvoiceLedger/index.vue |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 255f3ac..da2bd7b 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -60,7 +60,7 @@
       >
         <template #commonFilesRef="{ row }">
           <el-dropdown @command="(command) => handleCommand(command, row)">
-            <el-button link :icon="Files" type="danger"> 闄勪欢 </el-button>
+            <el-button link :icon="Files" :type="row.commonFiles.length !== 0 ? 'success' : 'danger'"> 闄勪欢 </el-button>
             <template #dropdown>
               <el-dropdown-menu>
                 <el-dropdown-item
@@ -82,14 +82,12 @@
             type="primary"
             text
             @click="openEdit(row)"
-						:disabled="row.issUerId !== userStore.id"
           >
             缂栬緫
           </el-button>
           <el-button
             type="primary"
             text
-						:disabled="row.issUerId !== userStore.id"
             @click="handleDelete(row)"
           >
             鍒犻櫎
@@ -162,8 +160,8 @@
       width: 150,
     },
     {
-      label: "瀹㈡埛鍚嶇О",
-      prop: "customerName",
+      label: "椤圭洰鍚嶇О",
+      prop: "projectName",
       width: 240,
     },
     {
@@ -185,12 +183,9 @@
       label: "鍚堝悓閲戦(鍏�)",
       prop: "taxInclusiveTotalPrice",
       width: 200,
-      formatData: (cell) => {
-        return cell ? parseFloat(cell).toFixed(2) : 0;
-      },
     },
     {
-      label: "寮�绁ㄦ棩鏈�",
+      label: "鏉ョエ鏃ユ湡",
       prop: "createdAt",
       width: 110,
     },
@@ -198,17 +193,11 @@
       label: "寮�绁ㄩ噾棰�",
       prop: "ticketsAmount",
       width: 200,
-      formatData: (cell) => {
-        return cell ? parseFloat(cell).toFixed(2) : 0;
-      },
     },
     {
       label: "涓嶅惈绋庨噾棰�",
       prop: "unTicketsPrice",
       width: 200,
-      formatData: (cell) => {
-        return cell ? parseFloat(cell).toFixed(2) : 0;
-      },
     },
     {
       label: "澧炲�肩◣",

--
Gitblit v1.9.3