| | |
| | | var errormessage = tempArr[0]; |
| | | var quoteLineItem = JSON.parse(tempArr[1]); |
| | | quoteLineItem = InitializeProductAssignment(quoteLineItem); |
| | | this.tobeflag=true; |
| | | this.jzDataToBeproduct = quoteLineItem; |
| | | // cjw |
| | | console.log('xxx'); |
| | |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | | }); |
| | | this.tobeflag=false; |
| | | if(quoteLineItem.length!=num){ |
| | | this.quo.IsQuoteTrial__c = false; |
| | | } |
| | |
| | | key2.forEach(item=>{ |
| | | priceMap.set(item,map2[item]); |
| | | }); |
| | | console.log('loh'); |
| | | console.log(this.jzDataToBeproduct); |
| | | this.jzDataToBeproduct.forEach(item=>{ |
| | | if(result){ |
| | | item.Learning_CommunityOptions = optionMap.get(item.pageObject.Id__c); |
| | |
| | | } |
| | | } |
| | | }); |
| | | console.log(this.jzDataToBeproduct); |
| | | } |
| | | // cjw |
| | | //新增报价产品模态框取消按钮 |