lilei 1 month ago
parent
commit
ca2319b6a8

+ 1 - 1
src/views/promotionRulesManagement/dealerPromotions/specialOfferModal.vue

@@ -596,7 +596,7 @@ export default {
             form.specialDiscountList.forEach(item => {
             form.specialDiscountList.forEach(item => {
               const utd = { 'YUAN': '元(原价)', 'GE': '个' }
               const utd = { 'YUAN': '元(原价)', 'GE': '个' }
               infoDetail += form.specialDiscountList.length > 1 ? '<div>' + item.scopeLevel + '、' : '<div>'
               infoDetail += form.specialDiscountList.length > 1 ? '<div>' + item.scopeLevel + '、' : '<div>'
-              infoDetail += '购买满' + item.discountScopeValue + utd[item.unitType] + '特价产品,省级折扣' + item.provinceDiscountRate + '%,市级折扣' + item.cityDiscountRate + '%,特约折扣' + item.specialDiscountRate + '%;</div>'
+              infoDetail += '购买满 ' + (item.unitType == 'YUAN' ? Number(item.discountScopeValue).toFixed(2) : item.discountScopeValue) + ' ' + utd[item.unitType] + ' 特价产品,省级折扣' + item.provinceDiscountRate + '%,市级折扣' + item.cityDiscountRate + '%,特约折扣' + item.specialDiscountRate + '%;</div>'
             })
             })
           } else {
           } else {
             infoDetail += '各级别价直降;省级直降' + form.provinceValue.toFixed(2) + ',市级直降' + form.cityValue.toFixed(2) + ',特约直降' + form.specialValue.toFixed(2)
             infoDetail += '各级别价直降;省级直降' + form.provinceValue.toFixed(2) + ',市级直降' + form.cityValue.toFixed(2) + ',特约直降' + form.specialValue.toFixed(2)