| | |
| | | jzdtbt.pageObject.ServicePrice__c = 0; |
| | | jzdtbt.warrantyType__c = ''; |
| | | var NoDiscountTotal = 0; |
| | | var exPrice = jzdtbt.pageObject.exPrice; |
| | | jzdtbt.pageObject.exPrice = 0; |
| | | if(jzdtbt.exPrice != 0 && jzdtbt.exPrice != null && jzdtbt.exPrice != undefined ){ |
| | | jzdtbt.exPriceCopy = jzdtbt.exPrice; |
| | | } |
| | | if(jzdtbt.Learning_Community != null && jzdtbt.Learning_Community != undefined && jzdtbt.Learning_Community != '0' && jzdtbt.Learning_Community != ''){ |
| | | jzdtbt.Learning_CommunityCopy = jzdtbt.Learning_Community; |
| | | } |
| | | jzdtbt.exPrice = 0; |
| | | jzdtbt.Learning_Community = '0'; |
| | | if (GuranteeType == '服务') { |
| | | multiYearWarranty = true; |
| | | jzdtbt.warrantyType__c = '服务多年保修'; |
| | |
| | | } else if (GuranteeType == '市场' && contractmultiYearWarranty == false) { |
| | | multiYearWarranty = true; |
| | | jzdtbt.pageObject.ServicePrice__c = ServicePrice; |
| | | jzdtbt.pageObject.exPrice = exPrice; |
| | | jzdtbt.exPrice = jzdtbt.exPriceCopy; |
| | | jzdtbt.Learning_Community = jzdtbt.Learning_CommunityCopy; |
| | | jzdtbt.warrantyType__c = '市场多年保修'; |
| | | warrantyType = '市场多年保修'; |
| | | var Quantity =jzdtbt.Quantity__c; |
| | |
| | | else if (GuranteeType == '市场' && contractmultiYearWarranty && CanNotCancelledGurantee) { |
| | | multiYearWarranty = true; |
| | | jzdtbt.pageObject.ServicePrice__c = ServicePrice; |
| | | jzdtbt.pageObject.exPrice = exPrice; |
| | | jzdtbt.exPrice = jzdtbt.exPriceCopy; |
| | | jzdtbt.Learning_Community = jzdtbt.Learning_CommunityCopy; |
| | | jzdtbt.warrantyType__c = '市场多年保修'; |
| | | warrantyType = '市场多年保修'; |
| | | // 数量 |