md
This commit is contained in:
parent
529546a763
commit
fed91e2842
@ -476,9 +476,15 @@ export default {
|
||||
if(resBatch.code==200){
|
||||
if(resBatch.rows&&resBatch.rows.length>0){
|
||||
// billCodeStr=resBatch.rows.map( item=> item.billCode).join();
|
||||
this.form.billRelList=[];
|
||||
let uniqMap = new Map();
|
||||
resBatch.rows.forEach(itemWaybill=>{
|
||||
let relItem={...itemWaybill};
|
||||
this.form.billRelList.push(relItem);
|
||||
if(!(relItem.billCode in uniqMap)){
|
||||
uniqMap[relItem.billCode]=1;
|
||||
this.form.billRelList.push(relItem);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user