| | |
| | | quoteLineItem=InitializeProductAssignment(quoteLineItem); |
| | | this.jzDataToBeproduct=quoteLineItem; |
| | | // cjw |
| | | var idList = []; |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | idList.push(item.pageObject.PricebookEntry.Product2Id); |
| | | }); |
| | |
| | | var quoteLineItem = JSON.parse(tempArr[1]); |
| | | quoteLineItem = InitializeProductAssignment(quoteLineItem); |
| | | this.jzDataToBeproduct = quoteLineItem; |
| | | // cjw |
| | | var idList = []; |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | idList.push(item.pageObject.PricebookEntry.Product2Id); |
| | | }); |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | | }); |
| | | if(quoteLineItem.length!=num){ |
| | | this.quo.IsQuoteTrial__c = false; |
| | | } |