Browse Source

bug修改

郭宇琦 2 days ago
parent
commit
62072febc0

+ 1 - 1
component/carPlan/carPlan.vue

@@ -7,7 +7,7 @@
 					</view>
 				<view class="car-model-detail flex-row">
 					<!-- <priceTool :price="58" :font_size="40"/> -->
-					<allPrice :amount="((priceAll || 0)/100)"/>
+					<allPrice :amount="((price || 0)/100)"/>
 					<view v-if="params.overdueData && params.overdueData.money" style="align-items: baseline;" class="flex-row">
 						<text>逾期金额:</text>
 						<allPrice  :amount="(params.overdueData.money || 0/100)"/>

+ 1 - 1
pages/purchaseOrder/purchaseOrder.vue

@@ -211,7 +211,7 @@
 					unitPrice: model_info.rental_setting.find(v => v.hire_duration_unit == model_info
 						.selectType)?.hire_price,
 					service_list: model_info.service_list || [],
-					price: model_info.totalPrice / 100,
+					price: model_info.price,
 					totalPrice: model_info.selectType != 100 ? ((model_info.totalPrice + model_info.deposit) / 100).toFixed(2) : ((model_info.sell_price) / 100).toFixed(2)
 				})
 			}

+ 1 - 1
pages/service/components/carRentalList/carRentalList.vue

@@ -36,7 +36,7 @@
 								<view class="flex-row flex-between">
 									<view class="bottom-text">
 										{{ leaseUnitsResult }} <text
-											style="margin-left: 10rpx;">¥</text><text>{{item.model_list[0].hire_price}}</text>
+											style="margin-left: 10rpx;">¥</text><text>{{(item.model_list[0].hire_price / 100).toFixed(2)}}</text>
 									</view>
 								</view>
 							</view>