From 55a05b8dfe9a760feb8f6fb6f8b4e0089d88b111 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期三, 14 一月 2026 10:47:22 +0800
Subject: [PATCH] 编辑来票台账来票数和未来票数关系
---
src/views/productionManagement/productStructure/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index bdbec9c..b17c1f0 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -15,14 +15,14 @@
type="primary"
text
@click="() =>{
- currentRowId = row.id;
+ currentRow = row;
showEdit = true;
}"
>{{ row.productName }}
</el-button>
</template>
</PIMTable>
- <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :product-model-id="currentRowId"/>
+ <StructureEdit v-if="showEdit" v-model:show-model="showEdit" :record="currentRow"/>
</div>
</template>
@@ -33,6 +33,11 @@
const StructureEdit = defineAsyncComponent(() => import('@/views/productionManagement/productStructure/StructureEdit.vue'))
const tableColumn = ref([
+ {
+ label: "浜у搧缂栫爜",
+ prop: "productCode",
+ slot: "detail"
+ },
{
label: "浜у搧鍚嶇О",
prop: "productName",
@@ -52,7 +57,7 @@
const tableLoading = ref(false);
const showEdit = ref(false);
const selectedRows = ref([]);
-const currentRowId = ref(0);
+const currentRow = ref({});
const page = reactive({
current: 1,
size: 10,
--
Gitblit v1.9.3