this.details2=arr.reduce((total, cur, index) => {
let hasValue = total.findIndex(current => { return current.size === cur.size && current.po === cur.po && current.color === cur.color})
hasValue === -1 && total.push(cur)
hasValue !== -1 && (total[hasValue].singleQuantity = total[hasValue].singleQuantity + cur.singleQuantity)
return total
}, [])
