Commit 72bf1d71 by 任晓松

update search

parent ef89c955
......@@ -518,7 +518,15 @@ class ProductService extends ServiceBase {
if (item.item_code == '10202010204001'){
item.item_code = 'edisq';
}
if(!arr.includes(item)){
// if(!arr.includes(item)){
// arr.push(item)
// }
let ret = arr.filter(f =>{
if(f.channel_item_name == item.channel_item_name || f.item_code == item.item_code){
return f;
}
})
if(ret.length == 0){
arr.push(item)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment