From 379ad4226bc5a3ad175635b5c40e6bf5b68e4069 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 19 三月 2025 13:30:59 +0800 Subject: [PATCH] 能力范围功能更新70% --- src/views/structural/capabilityAndLaboratory/capability/index.vue | 37 +++++++++++++++++++++---------------- 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue index 046c120..ea3b1cd 100644 --- a/src/views/structural/capabilityAndLaboratory/capability/index.vue +++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue @@ -97,7 +97,8 @@ <EditForm ref="editForm" @refreshList="refreshList1"></EditForm> <testObjectEditForm ref="testObjectEditForm" @refreshList="refreshList"></testObjectEditForm> <BindPartDialog v-if="bindPartDialog" :bindPartDialog="bindPartDialog" :currentRow="currentRow" :type="type" - @closeBindPartDialog="closeBindPartDialog"></BindPartDialog> + @closeBindPartDialog="closeBindPartDialog" :currentObj="currentObj"> + </BindPartDialog> <BindSupplierDensityDialog v-if="bindSupplierDensityDialog" :bindSupplierDensityDialog="bindSupplierDensityDialog" :currentRow="currentSupplierDensityRow" @closeBindPartDialog="closeBindSupplierDensityDialog"> </BindSupplierDensityDialog> @@ -232,7 +233,7 @@ { label: '妫�楠屽璞�', prop: 'specimenName' }, { label: '妫�楠屽璞N', prop: 'specimenNameEn' }, { label: '浜у搧', prop: 'product' }, - { label: '瀵硅薄浠e彿', prop: 'code' }, + // { label: '瀵硅薄浠e彿', prop: 'code' }, { label: '瀵硅薄绫诲瀷', prop: 'objectType', dataType: 'tag', @@ -274,13 +275,13 @@ this.upProduct(row); }, }, - // { - // name: '闆朵欢缁戝畾', - // type: 'text', - // clickFun: (row) => { - // this.bindPartFirst(row); - // }, - // }, + { + name: '闆朵欢缁戝畾', + type: 'text', + clickFun: (row) => { + this.bindPartFirst(row); + }, + }, ] } ], @@ -343,13 +344,13 @@ } } }, - { - name: '鍘傚瀵嗗害缁戝畾', - type: 'text', - clickFun: (row) => { - this.bindSupplierDensitySecond(row); - }, - }, + // { + // name: '鍘傚瀵嗗害缁戝畾', + // type: 'text', + // clickFun: (row) => { + // this.bindSupplierDensitySecond(row); + // }, + // }, ] } ], @@ -674,6 +675,7 @@ this.bindPart(row, 1) }, bindWokshop(row) { + this.workshopForm.workShopId = row.workShopId this.currentProduct = row; this.workshopVisible = true }, @@ -688,6 +690,9 @@ }, // 鎵撳紑闆朵欢缁戝畾寮规 bindPart(row, index) { + if (index == 0) { + this.currentObj = row + } this.type = index this.currentRow = row this.bindPartDialog = true -- Gitblit v1.9.3