| | |
| | | }, |
| | | currentNum(val) { |
| | | this.initData() |
| | | }, |
| | | insProduct:{ |
| | | deep:true, |
| | | handler:()=>{ |
| | | this.initData() |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | if(!n.often){ |
| | | return |
| | | } |
| | | if(!n.often.includes('MHz')||!n.often.includes('MHZ')){ |
| | | if(!n.often.includes('MHz')&&!n.often.includes('MHZ')){ |
| | | n.often = n.often + 'MHz' |
| | | } |
| | | }, |
| | |
| | | }, |
| | | save(h,y) { |
| | | let arr = h.projectList.map(item=>{ |
| | | if(item.portList&&item.portList.length>0){ |
| | | item.value.forEach(m=>{ |
| | | m = m.splice(item.portList.length) |
| | | }) |
| | | } |
| | | let obj = { |
| | | insProductId:item.id, |
| | | equipValue:this.insProductNew.find(m=>m.id==item.id).equipValue, |