fix:子工序日志中设备排除工装
This commit is contained in:
parent
a3b8600d87
commit
aa81a28d1c
|
|
@ -700,8 +700,13 @@ export default {
|
||||||
},
|
},
|
||||||
getEquipment(){
|
getEquipment(){
|
||||||
let that = this;
|
let that = this;
|
||||||
|
that.equipmentOtions = [];
|
||||||
that.$API.em.equipment.list.req({page:0,belong_dept:that.dept}).then((res) => {
|
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);
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//获取指定工序的切分数量
|
//获取指定工序的切分数量
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue