作者 shenhailong

完善 二维码弹出提示信息 获取session strorage 用户名称

... ... @@ -76,11 +76,12 @@
</el-col>
</el-row>
<el-dialog
title="扫码支付"
title="扫码支付 "
:visible.sync="dialogVisible"
width="15%"
>
<template>
<span style="font-size: 20px"> 请在15分钟内进行支付</span>
<div>
<qriously :value="Qrcode" :size="200" />
</div>
... ... @@ -120,7 +121,8 @@
wmId:'',
payFees:'',
realName:'',
userId:''
userId:'',
realName:''
},
rules:{
payType: [
... ... @@ -199,6 +201,8 @@
this.$refs.waterForm.validate((valid) => {
if (valid) {
this.$confirm('确认充值吗?', '提示', {}).then(() => {
this.waterForm.realName = loginUserInfo.username;
console.log(loginUserInfo.username)
let para = Object.assign({}, this.waterForm);
this.loading=true;
qrCode(para).then((res) => {
... ...