陶杰
2024-11-06 a0ea1ece4e3ffb728aee73e954d65a2209ebde32
1.提现不能超过500
已修改1个文件
15 ■■■■ 文件已修改
sub_pages/supplier/wallet/wallet-withdrao-deposit.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/supplier/wallet/wallet-withdrao-deposit.vue
@@ -94,12 +94,16 @@
                        setTimeout(() => {
                            uni.navigateBack()
                        }, 1000)
                    } else {
                        this.$message.showToast(resp.msg)
                    }else{
                        // if(resp&&resp.data&&resp.data[0]){
                        //     this.$message.showToast(resp.data[0].msg)
                        // }
                        this.$message.showToast("提现失败")
                    }
                }).catch(err => {
                    console.log(err)
                }).finally(() => {
                    this.$message.hideLoading()  // 关闭加载提示
                })
@@ -124,6 +128,11 @@
                   if (value > this.wallet.withdrawableAmount) {
                        return callback(new Error('提现金额不能大于可提现金额'));
                   }
                   // 提现金额不能大于500
                   if (value > 500) {
                        return callback(new Error('提现金额不能大于500'));
                    }
                   callback();
               },