소스 검색

合同详情小数

Shannon_mu 3 년 전
부모
커밋
137e24797c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      operationSupport/src/views/businessManagement/contractManagement/stepPage/details.vue

+ 1 - 1
operationSupport/src/views/businessManagement/contractManagement/stepPage/details.vue

@@ -101,7 +101,7 @@
                 >
                 <el-table-column label="月租金">
                     <template slot-scope="scope">
-                        {{ scope.row.chargePrice * item.buildingArea}}
+                        {{ scope.row.chargeMode == 2 ? (scope.row.chargePrice * item.buildingArea).toFixed(2) : scope.row.chargePrice }}
                     </template>
                 </el-table-column>
                 <el-table-column prop="roomNumber" label="计费周期">