| | |
| | | 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; |
| | | } |
| | |
| | | } |
| | | // cjw |
| | | addOptionsLogic(result){ |
| | | this.tobeflag=false; |
| | | var Setmap = new Map() |
| | | var key = Object.keys(result) |
| | | key.forEach(item=>{ |
| | |
| | | } |
| | | } |
| | | }); |
| | | this.tobeflag=true; |
| | | console.log(this.jzDataToBeproduct); |
| | | } |
| | | // cjw |