From d876aa06f04d7b93f849e944cca5df64b6a28ee2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 09 十二月 2025 10:19:29 +0800
Subject: [PATCH] 1.南洋电缆小数点修改
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 22 +++++-----------------
1 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 8ad8799..e08cb8d 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)"
>
鍒犻櫎
@@ -172,11 +170,6 @@
width: 240,
},
{
- label: "浜у搧澶х被",
- prop: "productCategory",
- width: 150,
- },
- {
label: "瑙勬牸鍨嬪彿",
prop: "specificationModel",
width: 150,
@@ -191,13 +184,8 @@
prop: "taxInclusiveTotalPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(5) : 0;
},
- },
- {
- label: "鏈鏉ョエ鏁�",
- prop: "ticketsNum",
- width: 110,
},
{
label: "鏉ョエ鏃ユ湡",
@@ -205,11 +193,11 @@
width: 110,
},
{
- label: "鏉ョエ閲戦(鍏�)",
+ label: "寮�绁ㄩ噾棰�",
prop: "ticketsAmount",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(5) : 0;
},
},
{
@@ -217,7 +205,7 @@
prop: "unTicketsPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(5) : 0;
},
},
{
--
Gitblit v1.9.3