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 + } }, // 回车事件