| | |
| | | }, |
| | | // chenjingwu 3+2多年保修 20240318 start |
| | | { |
| | | label: '延保金额', |
| | | fieldName: 'exPrice', |
| | | // editable: true, |
| | | cellAttributes: { |
| | | class: {}, |
| | | alignment: 'right', |
| | | }, |
| | | type: 'number', |
| | | typeAttributes: { |
| | | minimumFractionDigits: '2', |
| | | maximumFractionDigits: '2' |
| | | }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 150 |
| | | }, |
| | | { |
| | | label: '延保年限', |
| | | fieldName: 'Learning_Community', |
| | | type: 'picklistColumn', |
| | |
| | | }, |
| | | hideDefaultActions: true, |
| | | initialWidth: 300 |
| | | }, |
| | | } |
| | | // chenjingwu 3+2多年保修 20240318 end |
| | | |
| | | ], |
| | |
| | | } |
| | | if(datavaue.Learning_Community){ |
| | | jzdtbt.Learning_Community = datavaue.Learning_Community; |
| | | jzdtbt.multiYearWarrantyList.forEach(item=>{ |
| | | if('' + (item.AgeLimit__c) == jzdtbt.Learning_Community){ |
| | | jzdtbt.exPrice = item.MultiOneYearWarrantyPrice__c; |
| | | } |
| | | }); |
| | | if(jzdtbt.exPrice == null || jzdtbt.exPrice == '' || jzdtbt.exPrice == undefined){ |
| | | jzdtbt.exPrice = 0; |
| | | } |
| | | } |
| | | x = localParseInt(jzdtbt.Quantity__c); |
| | | y = localParseFloat(jzdtbt.UnitPrice_Page__c); |