fix:子工序日志中设备排除工装

This commit is contained in:
shijing 2026-05-28 13:27:32 +08:00
parent a3b8600d87
commit aa81a28d1c
1 changed files with 6 additions and 1 deletions

View File

@ -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);
}
})
})
},
//