From 70551b35cac6dd0262f644cb248ba1d03ff2fa08 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期五, 22 五月 2026 14:53:10 +0800
Subject: [PATCH] feat: 质量管理检验员筛选和传递优化 1. 检验员下拉框筛选:过程检验、出厂检验、原材料检验的检验员下拉框只显示 roleIds 包含 106 的用户,包括列表页的"检验"弹窗、"分配检验员"弹窗,以及新增/编辑弹窗 2. 检验员默认值优化:点击"检验"按钮时检验员默认为当前登录用户;选择"不合格"打开详情页时检验员从上个页面带入,修复 closeQuickCheck() 重置表单导致检验员值丢失的问题 3. 材料信息新增行修复:生产工单绑定工艺路线弹窗中,新增材料行时根据 productById 是否有值判断显示选择器还是文本
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index d82e3e7..2e1e8fb 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -151,7 +151,7 @@
width: 150,
},
{
- label: "閿�鍞悎鍚屽彿",
+ label: "璁㈠崟缂栧彿",
prop: "salesContractNo",
width: 150,
},
@@ -185,7 +185,7 @@
prop: "taxInclusiveTotalPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -198,7 +198,7 @@
prop: "ticketsAmount",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -206,7 +206,7 @@
prop: "unTicketsPrice",
width: 200,
formatData: (cell) => {
- return cell ? parseFloat(cell).toFixed(2) : 0;
+ return cell ? parseFloat(cell).toFixed(3) : 0;
},
},
{
@@ -242,6 +242,9 @@
param,
["ticketsAmount", "unTicketsPrice", "invoiceAmount"],
{
+ ticketsAmount: { decimalPlaces: 3 },
+ unTicketsPrice: { decimalPlaces: 3 },
+ invoiceAmount: { decimalPlaces: 3 },
ticketsNum: { noDecimal: true },
futureTickets: { noDecimal: true },
}
@@ -260,7 +263,7 @@
(c) => c.property === "taxInclusiveTotalPrice"
);
if (taxInclusiveIndex !== -1) {
- sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(2);
+ sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(3);
}
return sums;
};
--
Gitblit v1.9.3