浏览代码

Merge branch 'yuetuan' into online

wolyshaw 4 年之前
父节点
当前提交
b915c7b539
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/resetTeaming/modals/user-pay-form.vue

+ 1 - 1
src/views/resetTeaming/modals/user-pay-form.vue

@@ -246,7 +246,7 @@ export default {
     priceChange (item, index) {
       const _ = [...this.eclass]
       const active = this.organizationCourseUnitPriceSettingsByType[item.courseType] || {}
-      const price = Math.ceil((item.courseTotalMinuties || 1) * (active.unitPrice || 1))
+      const price = ((item.courseTotalMinuties || 1) * (active.unitPrice || 1)).toFixed(2)
       item.courseCurrentPrice = price
       item.courseOriginalPrice = price
       _[index] = item