From e939c684f4e5f90c3670cbfab14825cdf46eefd6 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 6 Feb 2024 08:38:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=AB=9E=E4=BB=B7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../relation/secondarysaleannouncement.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/anrui-system-ui/src/views/notificationannouncement/relation/secondarysaleannouncement.vue b/anrui-system-ui/src/views/notificationannouncement/relation/secondarysaleannouncement.vue index 4b0e259454..1f6506e4db 100644 --- a/anrui-system-ui/src/views/notificationannouncement/relation/secondarysaleannouncement.vue +++ b/anrui-system-ui/src/views/notificationannouncement/relation/secondarysaleannouncement.vue @@ -398,7 +398,8 @@ export default { unexpiredMoney: '', useOrgSid: '', userSid: '', - wheFundOccMoney: '' + wheFundOccMoney: '', + validate: true }, rules: {} } @@ -463,12 +464,16 @@ export default { }, // 我要竞价--初始化 toBidding() { - getPrice({ sid: this.formobj.sid }).then((res) => { - if (res.success) { - this.isBidding = true - this.bidding.maxPrice = res.data - } - }) + if (this.formobj.validate) { + getPrice({ sid: this.formobj.sid }).then((res) => { + if (res.success) { + this.isBidding = true + this.bidding.maxPrice = res.data + } + }) + } else { + this.$message({ showClose: true, type: 'error', message: '该公示竞价截止日期已过,无法竞价' }) + } }, // 我要竞价--保存 toConFirm() {