|
@@ -155,14 +155,14 @@ export default {
|
|
|
const rebateScopeList = item.rebateScopeList ? this.filterData(item.rebateScopeList, queryParam) : [{ productBrandName: null, productTypeName1: null, productTypeName2: null, productTypeName3: null }]
|
|
|
const supDealerList = item.rebateDealerList.find(b => b.rebateParentType == 'SUPERIORS')
|
|
|
const headDealerList = item.rebateDealerList.find(b => b.rebateParentType == 'HEAD')
|
|
|
- const zdDealerList = item.rebateDealerList.find(b => b.rebateParentType == 'ASSIGN')
|
|
|
+ const zdDealerList = item.rebateDealerList.filter(b => b.rebateParentType == 'ASSIGN')
|
|
|
// this.checkedDealerSn.push(rebateScopeList)
|
|
|
|
|
|
for (let j = 0; j < rebateScopeList.length; j++) {
|
|
|
rebateScopeList[j].no = no + j + 1
|
|
|
if (j == 0) {
|
|
|
rebateScopeList[j].rowspan = rebateScopeList.length
|
|
|
- rebateScopeList[j].rebateDealerList = [...supDealerList, ...zdDealerList, ...headDealerList]
|
|
|
+ rebateScopeList[j].rebateDealerList = [supDealerList, ...zdDealerList, headDealerList]
|
|
|
}
|
|
|
rebateScopeList[j].dealerUpsSn = item.dealerUpsSn
|
|
|
rebateScopeList[j].dealerSn = item.dealerSn
|