From 7437dfcac6e756889a272534a64d62594ea21e48 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Mon, 3 Nov 2025 14:43:19 +0800 Subject: [PATCH] =?UTF-8?q?2025.11.3=20BOM=E5=BF=AB=E9=80=9F=E5=88=9B?= =?UTF-8?q?=E5=BB=BA-=E6=89=B9=E9=87=8F=E6=96=B0=E5=A2=9E=E3=80=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/part/bom_create.vue | 64 ++++++++++++++++++++------- 1 file changed, 48 insertions(+), 16 deletions(-) diff --git a/src/views/modules/part/bom_create.vue b/src/views/modules/part/bom_create.vue index b15de3c..856a3cb 100644 --- a/src/views/modules/part/bom_create.vue +++ b/src/views/modules/part/bom_create.vue @@ -395,9 +395,13 @@ - + + + 物料分类 + + 查询 @@ -687,49 +691,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + {{scope.row[item.columnProp]}} @@ -1189,6 +1210,8 @@ export default { partNo: '', partDesc: '', shrinkageFactor: '', + familyID: '', + familyName: '', page: 1, limit: 10 }, @@ -3870,6 +3893,11 @@ export default { if (val === 510) { conSql = " and site = '" + this.modalData.site + "'" } + if (val === 214) { + strVal = this.batchComponentPartData.familyName ? this.batchComponentPartData.familyName : '' + conSql = " and site = '" + this.batchComponentPartData.site + "'" + " and bu_no = '" + + this.batchComponentPartData.buNo + "'" + } this.$refs.baseList.init(val, strVal, conSql) }) }, @@ -3884,6 +3912,10 @@ export default { this.modalData.processUnit = val.UMID this.modalData.processUnitName = val.UMName } + if (this.tagNo === 214) { + this.batchComponentPartData.familyID = val.family_id + this.batchComponentPartData.familyName = val.family_name + } }, // 回车事件