diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 4a73b55..9f63bab 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -480,7 +480,7 @@ - 子物料编码 + 子物料编码 子物料编码 @@ -3204,7 +3204,8 @@ export default { /** * 物料列表 */ - queryComponentPartList () { + queryComponentPartModal () { + this.componentPartData.status = 'Y' // 查询所有物料 queryPartList(this.componentPartData).then(({data}) => { if (data && data.code === 0) { @@ -3218,6 +3219,20 @@ export default { }) }, + /** + * 物料列表 + */ + queryComponentPartList () { + // 查询所有物料 + queryPartList(this.componentPartData).then(({data}) => { + if (data && data.code === 0) { + this.componentPartList = data.rows + } else { + this.componentPartList = [] + } + }) + }, + // 子物料编码失焦事件 componentPartBlur () { this.componentPartData.partNo = this.componentData.componentPart