From f256826bc36366c91571809aa91d80cc8ee470f4 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 18 Oct 2023 19:53:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E5=86=85=E9=BB=91=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/bank/Add.vue | 30 --- src/views/product/strategy/150.vue | 3 +- src/views/product/strategy/151.vue | 3 +- src/views/product/strategy/152.vue | 15 +- src/views/product/strategy/153.vue | 256 ++++++++++++++++++++++++ src/views/product/strategy/CardList.vue | 2 + 6 files changed, 271 insertions(+), 38 deletions(-) create mode 100644 src/views/product/strategy/153.vue diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue index cad68a3..ce420d3 100644 --- a/src/views/product/bank/Add.vue +++ b/src/views/product/bank/Add.vue @@ -187,16 +187,6 @@ prop="minimumLoan" :rules="[ { required: true, message: '请输入贷款额度', trigger: 'blur' }, - { - asyncValidator: async (rule, value, callback) => { - const max = form.loanCeiling - if (isNaN(value) || value < 0 || max === '' || isNaN(max) || max < 0 || value > max) { - callback('请输入合理的贷款额度') - } else { - callback() - } - }, - }, ]">