支付时四舍五入金额
This commit is contained in:
parent
bcca3fc677
commit
e431980fee
|
@ -531,7 +531,7 @@
|
|||
取消订单
|
||||
</u-button>
|
||||
<u-button :custom-style="customStyle2"
|
||||
v-if="order.packageType=='104'||order.packageType=='105'||order.packageType=='106'||item.packageType=='111'||item.packageType=='112'"
|
||||
v-if="order.packageType=='104'||order.packageType=='105'||order.packageType=='106'||order.packageType=='111'||order.packageType=='112'"
|
||||
shape="circle" :plain="true"
|
||||
@click="goNav('/my/order/payModifyDd?ordersId='+order.ordersId,order)"
|
||||
class="btns">
|
||||
|
@ -1329,6 +1329,7 @@ export default {
|
|||
this.loading = false
|
||||
uni.hideLoading()
|
||||
this.order = res.data;
|
||||
console.log(this.order);
|
||||
if(res.data["technicianType"] == 3){
|
||||
this.order["technicianTypeName"] = "资深"
|
||||
}
|
||||
|
|
|
@ -381,8 +381,8 @@
|
|||
// this.getOrder()
|
||||
if(this.jishiName){
|
||||
this.getMsTime(Time);
|
||||
this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.jishiName.technicianTypeRate/100)))
|
||||
console.log("jishiName",this.jishiName)
|
||||
// this.technicianRate=Math.ceil(this.orderXm.price+(this.orderXm.price*(this.jishiName.technicianTypeRate/100)))
|
||||
this.technicianRate=((this.orderXm.price*this.number)+this.orderXm.price*this.number*(this.jishiName.technicianTypeRate/100)).toFixed(2)
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue