From 539231de1e68f45a6f11bc88df665cc1f161941f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 十二月 2025 15:34:59 +0800
Subject: [PATCH] 1.南洋电缆-小数点位展示修改
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index efe8c37..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
@@ -183,9 +183,6 @@
label: "鍚堝悓閲戦(鍏�)",
prop: "taxInclusiveTotalPrice",
width: 200,
- formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
- },
},
{
label: "鏉ョエ鏃ユ湡",
@@ -196,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