From 2cdbad409e82d4354e4eca5cffa65c6bef7a4d20 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 16 三月 2026 13:36:37 +0800
Subject: [PATCH] bom添加产品编码
---
src/views/productionPlan/summaryByProduct/index.vue | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/src/views/productionPlan/summaryByProduct/index.vue b/src/views/productionPlan/summaryByProduct/index.vue
index 97c5001..316e338 100644
--- a/src/views/productionPlan/summaryByProduct/index.vue
+++ b/src/views/productionPlan/summaryByProduct/index.vue
@@ -43,47 +43,38 @@
{
label: "鐗╂枡缂栫爜",
prop: "materialCode",
- className: "code-cell",
},
{
label: "浜у搧鍚嶇О",
prop: "productName",
dataType: "tag",
formatType: params => {
- const typeMap = {
- 鏉挎潗: "primary",
- 鐮屽潡: "info",
- };
- return typeMap[params] || "info";
+ return "primary";
},
},
{
label: "浜у搧瑙勬牸",
- prop: "productSpec",
+ prop: "model",
className: "spec-cell",
},
{
label: "闀�",
prop: "length",
- className: "dimension-cell",
formatData: cell => (cell ? `${cell}mm` : ""),
},
{
label: "瀹�",
prop: "width",
- className: "dimension-cell",
formatData: cell => (cell ? `${cell}mm` : ""),
},
{
label: "楂�",
prop: "height",
- className: "dimension-cell",
formatData: cell => (cell ? `${cell}mm` : ""),
},
{
label: "鍧楁暟",
prop: "quantity",
- className: "quantity-cell",
formatData: cell => (cell ? `${cell}鍧梎 : ""),
},
{
--
Gitblit v1.9.3