From ed0f7c772ab2d967a6a39eb169f682e4e77c5a00 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 14 八月 2026 23:20:45 +0800
Subject: [PATCH] fix: bom结构耗料比例调整为8位小数
---
src/views/equipmentManagement/inspectionManagement/index.vue | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/src/views/equipmentManagement/inspectionManagement/index.vue b/src/views/equipmentManagement/inspectionManagement/index.vue
index 76a272c..8c0d52c 100644
--- a/src/views/equipmentManagement/inspectionManagement/index.vue
+++ b/src/views/equipmentManagement/inspectionManagement/index.vue
@@ -197,7 +197,7 @@
formatData: cell => {
if (!cell) return "-";
try {
- return dayjs(cell).format("YYYY-MM-DD");
+ return dayjs(cell).format("YYYY-MM-DD HH:mm:ss");
} catch {
return cell;
}
@@ -231,12 +231,6 @@
operation: operations
.map(op => {
switch (op) {
- case "view":
- return {
- name: "璇︽儏",
- clickFun: openViewDialog,
- color: "#409EFF",
- };
case "edit":
return {
name: "缂栬緫",
@@ -286,7 +280,7 @@
...taskColumns,
...(operationColumn ? [operationColumn] : []),
];
- operationsArr.value = ["view", "upload", "viewFile"];
+ operationsArr.value = ["upload", "viewFile"];
}
pageNum.value = 1;
pageSize.value = 10;
@@ -383,13 +377,7 @@
const openUploadDialog = row => {
nextTick(() => {
- uploadFiles.value?.openDialog("add", row);
- });
- };
-
- const openViewDialog = row => {
- nextTick(() => {
- uploadFiles.value?.openDialog("view", row);
+ uploadFiles.value?.openDialog(row);
});
};
--
Gitblit v1.9.3