| | |
| | | console.log(reslut); |
| | | console.log(this.jzDataToBeproduct); |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | idList.push(item.pageObject.PricebookEntry.Product2Id); |
| | | idList.push(item.pageObject.Id__c); |
| | | }); |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | |
| | | // cjw |
| | | var idList = []; |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | idList.push(item.pageObject.PricebookEntry.Product2Id); |
| | | idList.push(item.pageObject.Id__c); |
| | | }); |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | |
| | | var idList = []; |
| | | // cjw |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | idList.push(item.pageObject.PricebookEntry.Product2Id); |
| | | idList.push(item.pageObject.Id__c); |
| | | }); |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | |
| | | }); |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | if(result){ |
| | | item.Learning_CommunityOptions = Setmap.get(item.pageObject.PricebookEntry.Product2Id); |
| | | item.Learning_CommunityOptions = Setmap.get(item.pageObject.Id__c); |
| | | } |
| | | }); |
| | | } |