Переглянути джерело

fix(SCRM-6380): 深圳的积分文案以元为单位

john 1 рік тому
батько
коміт
faf83d5a38
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/store/order/points.js

+ 1 - 1
src/store/order/points.js

@@ -357,7 +357,7 @@ export default {
       commit('setIntegralDesc', `${ available }积分可减免`)
       return
     }
-    commit('setIntegralDesc', `${ pointsPerUnit }积分可停车1小时`)
+    commit('setIntegralDesc', `${ pointsPerUnit }积分可停车${[5, 10].indexOf(orderDetail.parkInfo.parkMallCode)> -1 ? unitAmount + '元' : '1小时'}`)
   }
 }