|
@@ -303,7 +303,7 @@
|
303
|
303
|
}
|
304
|
304
|
// this.form.private_price = parseFloat(this.form.tmp_decimal) + parseFloat(this.form.pay_price)
|
305
|
305
|
|
306
|
|
- this.form.pay_price = (parseFloat(this.form.private_price) * 10000 - parseFloat(this.form.tmp_decimal) * 10000) / 10000
|
|
306
|
+ this.form.pay_price = ((parseFloat(this.form.private_price) * 10000 - parseFloat(this.form.tmp_decimal) * 10000) / 10000).toFixed(2)
|
307
|
307
|
},
|
308
|
308
|
changedecimal() {
|
309
|
309
|
// console.log("this.isshow前",this.isshow)
|
|
@@ -325,7 +325,7 @@
|
325
|
325
|
}
|
326
|
326
|
// this.form.private_price = parseFloat(this.form.tmp_decimal) + parseFloat(this.form.pay_price)
|
327
|
327
|
this.tmp_pay = this.form.pay_price
|
328
|
|
- this.form.pay_price = (parseFloat(this.form.private_price) * 10000 - parseFloat(this.form.tmp_decimal) * 10000) / 10000
|
|
328
|
+ this.form.pay_price = ((parseFloat(this.form.private_price) * 10000 - parseFloat(this.form.tmp_decimal) * 10000) / 10000).toFixed(2)
|
329
|
329
|
}
|
330
|
330
|
},
|
331
|
331
|
//查询用户当前的余额
|