From 1c20a331d9fc1be029fadbd3d0f7619fe6a83cd0 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 17 三月 2026 13:32:32 +0800
Subject: [PATCH] 决策分析页面
---
src/views/productionManagement/productStructure/index.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 835e0f5..abf4fd2 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -50,7 +50,7 @@
prop="productModelId">
<el-button type="primary"
@click="showProductSelectDialog = true">
- {{ form.productName || '閫夋嫨浜у搧' }}
+ {{ form.productName || '閫夋嫨浜у搧' }}-{{ form.productModelName }}
</el-button>
</el-form-item>
<el-form-item label="鐗堟湰鍙�"
@@ -130,6 +130,12 @@
dataType: "slot",
slot: "detail",
minWidth: 140,
+ },
+ {
+ label: "浜у搧缂栫爜",
+ prop: "productCode",
+
+ minWidth: 160,
},
{
label: "浜у搧鍚嶇О",
@@ -336,9 +342,9 @@
const handleProductSelect = products => {
if (products && products.length > 0) {
const product = products[0];
- form.value.productModelId = product.skuId;
- form.value.productName = product.materialName;
- form.value.productModelName = product.specification;
+ form.value.productModelId = product.id;
+ form.value.productName = product.productName;
+ form.value.productModelName = product.model;
}
showProductSelectDialog.value = false;
};
--
Gitblit v1.9.3