From 05d4eb205a7aaede8a3a3fc96a2f4f487b4e9b96 Mon Sep 17 00:00:00 2001 From: wx-jincw Date: Sun, 15 Sep 2024 17:52:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E5=93=81=E6=9C=80=E9=AB=98?= =?UTF-8?q?=E5=88=A9=E7=8E=87=E4=B8=8D=E8=83=BD=E5=A4=A7=E4=BA=8E=E6=9C=80?= =?UTF-8?q?=E4=BD=8E=E5=88=A9=E7=8E=87=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bs-ui/src/views/product/info/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bs-ui/src/views/product/info/index.vue b/bs-ui/src/views/product/info/index.vue index a97730f..3396b6b 100644 --- a/bs-ui/src/views/product/info/index.vue +++ b/bs-ui/src/views/product/info/index.vue @@ -798,6 +798,11 @@ export default { submitForm() { this.$refs["form"].validate(valid => { if (valid) { + if (this.form.interestRateBegin > this.form.interestRateEnd) { + this.$modal.msgError("最低利率不能大于最高利率"); + return; + + } if (this.form.id != null) { updateInfo(this.form).then(response => { this.$modal.msgSuccess("修改成功");