|
|
@@ -333,7 +333,10 @@ export default {
|
|
|
uni.hideLoading()
|
|
|
if(res.code && res.code == 1){
|
|
|
let account = this.option.account ? this.option.account : 0
|
|
|
- let totalPrice = Number(res.data.totalPrice) + Number(this.form.sendCost)
|
|
|
+ let totalPrice = Number(res.data.totalPrice)
|
|
|
+ if (this.form.sendType == 2) { // 当是代叫跑腿时,总价格得加上运费
|
|
|
+ totalPrice =+ Number(this.form.sendCost)
|
|
|
+ }
|
|
|
|
|
|
if (Math.abs(totalPrice - this.modifyPrice) < 0.001) {
|
|
|
res.data.totalPrice = totalPrice
|