diff --git a/src/views/canteen/accountCenter/account/accountManager/index.vue b/src/views/canteen/accountCenter/account/accountManager/index.vue index f90cc22b..7f279ff0 100644 --- a/src/views/canteen/accountCenter/account/accountManager/index.vue +++ b/src/views/canteen/accountCenter/account/accountManager/index.vue @@ -187,11 +187,11 @@ + @input="(v)=>(form.walletLimitBalance=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"/> + @input="(v)=>(form.subLimitBalance=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"/> + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -349,7 +349,7 @@ + @input="(v)=>(batchForm.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -460,7 +460,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -529,7 +529,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -714,7 +714,7 @@ accountStatus:row.accountStatus, userId:row.userId } - this.$modal.confirm('确认要"' + text + '吗?').then(function() { + this.$modal.confirm('确认要' + text + '吗?').then(function() { return updateAccStateApi(param) }).then(() => { this.$modal.msgSuccess(text + '成功') @@ -888,6 +888,11 @@ } accInfoPageApi(param).then(response => { this.dialogTableData = response.rows; + this.dialogTableData.forEach(item=>{ + if(item.phoneNumber&&item.phoneNumber!=""){ + this.$set(item,"phoneNumber",decryptWithSM4(item.phoneNumber)) + } + }) this.dialogTotal = Number(response.total); }); }, diff --git a/src/views/canteen/accountCenter/account/wallet/index.vue b/src/views/canteen/accountCenter/account/wallet/index.vue index dd8a8547..3089ae35 100644 --- a/src/views/canteen/accountCenter/account/wallet/index.vue +++ b/src/views/canteen/accountCenter/account/wallet/index.vue @@ -171,7 +171,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -241,7 +241,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> diff --git a/src/views/canteen/accountCenter/butie/butie/index.vue b/src/views/canteen/accountCenter/butie/butie/index.vue index 5636dd79..86d74e09 100644 --- a/src/views/canteen/accountCenter/butie/butie/index.vue +++ b/src/views/canteen/accountCenter/butie/butie/index.vue @@ -179,7 +179,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -263,7 +263,7 @@ + @input="(v)=>(batchForm.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -406,7 +406,7 @@ + @input="(v)=>(form.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -482,7 +482,7 @@ + @input="(v)=>(batchForm.amount=v.replace(/^(\d+)(\.\d{0,2})?.*$/, '$1$2'))"> @@ -802,6 +802,11 @@ } accInfoPageApi(param).then(response => { this.dialogTableData = response.rows; + this.dialogTableData.forEach(item=>{ + if(item.phoneNumber&&item.phoneNumber!=""){ + this.$set(item,"phoneNumber",decryptWithSM4(item.phoneNumber)) + } + }) this.dialogTotal = Number(response.total); }); }, diff --git a/src/views/canteen/base/canteenStall/area/index.vue b/src/views/canteen/base/canteenStall/area/index.vue index 6969949e..4920051f 100644 --- a/src/views/canteen/base/canteenStall/area/index.vue +++ b/src/views/canteen/base/canteenStall/area/index.vue @@ -104,7 +104,7 @@ - +