From c5ec0da61ca9ac6ca65af1088670da0765b2bd96 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 27 Aug 2024 10:58:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=85=E5=80=BC=E6=96=87?= =?UTF-8?q?=E5=AD=97=E3=80=82=E5=A2=9E=E5=87=8F=E4=BD=99=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user_manage/user_list.vue | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/views/user_manage/user_list.vue b/src/views/user_manage/user_list.vue index 81411e9..6b4dd04 100644 --- a/src/views/user_manage/user_list.vue +++ b/src/views/user_manage/user_list.vue @@ -97,14 +97,6 @@ 增减余额 - - - - @@ -162,13 +154,13 @@ 扣除 - + - 消费 - 充值退款 + 充值 + 消费退款 @@ -208,7 +200,8 @@ export default { userinfo: { nickName: '', operationType: 'in', - type: 'consume' + type: 'consume', + amount: '' }, userinfos: { levelConsume: "0", @@ -232,9 +225,9 @@ export default { checkIfNum() { this.userinfos.telephone = this.userinfos.telephone.toString().replace(/\D/g, ''); }, - amountNum(){ + amountNum() { this.userinfo.amount = this.userinfo.amount.toString().replace(/[^\d|\.]/g, '') - + }, handleClose() { this.dialogVisible = false @@ -261,6 +254,7 @@ export default { this.userinfo.nickName = d.nickName this.userinfo.amounts = d.amount this.userinfo.id = d.id + this.userinfo.amount = "" }, edituser(d) { let obj = { ...d }