Merge branch 'test' of https://e.coding.net/g-cphe0354/yinshoukeguanliduan/management into wwz
This commit is contained in:
commit
2b6a4f9a83
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
<!-- <img :src="codeImg" class="codeImg" alt="" /> -->
|
||||
</div>
|
||||
<div class="color-333 u-font-20 u-m-t-20">32.00元</div>
|
||||
<div class="color-333 u-font-20 u-m-t-20">{{price|to2}}元</div>
|
||||
<div class="color-aaa u-font-12 u-m-t-10">
|
||||
<i class="el-icon-loading"></i>
|
||||
<span>等待用户支付</span>
|
||||
|
|
@ -91,6 +91,11 @@ export default {
|
|||
default: "请使用扫码枪扫描付款码",
|
||||
},
|
||||
},
|
||||
filters:{
|
||||
to2(n){
|
||||
return n.toFixed(2)
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
tips: "",
|
||||
|
|
@ -191,7 +196,7 @@ export default {
|
|||
this.show = true;
|
||||
this.form.money = Number(this.price).toFixed(2);
|
||||
if (this.openSwitch) {
|
||||
$getOrderPayUrl({ orderId: this.order.id }).then((res) => {
|
||||
$getOrderPayUrl({ orderId: this.order.id,payAmount:this.price.toFixed(2) }).then((res) => {
|
||||
console.log(res);
|
||||
this.paymentQrcode = res;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue