diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 17382fc7..c1970b61 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -700,8 +700,13 @@ export default { }, getEquipment(){ let that = this; + that.equipmentOtions = []; that.$API.em.equipment.list.req({page:0,belong_dept:that.dept}).then((res) => { - that.equipmentOtions = res; + res.forEach((item) => { + if(item.cate_name!=="工装"||item.cate_name==null){ + that.equipmentOtions.push(item); + } + }) }) }, //获取指定工序的切分数量