|
@@ -6,6 +6,9 @@
|
|
|
:to="{ path: '/mine/tenderOffer', query: { aid: aid, uid: uid, sid: sid, qid: form.qid } }">我的报价</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>报价</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
|
+
|
|
|
+ <el-alert title="注意:需要多次报价的项目,每次报价的总价不能相同!" style="margin: 12px 0" type="error" center></el-alert>
|
|
|
+
|
|
|
<div class="countdown">
|
|
|
当前时间:<span class="time">{{ currentTime }}</span>
|
|
|
</div>
|
|
@@ -373,8 +376,9 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if (this.quoteNumber != this.form.quoteNumber && this.quotePrice > 0 && this.quotePrice < quotePrice) {
|
|
|
- this.$message.error('报价失败,报价总金额不能高于第一次报价金额')
|
|
|
+ // totalAmount
|
|
|
+ if (this.quoteNumber != this.form.quoteNumber && this.quotePrice > 0 && this.quotePrice <= quotePrice) {
|
|
|
+ this.$message.error('报价失败,报价总金额不能高于或等于第一次报价金额')
|
|
|
return
|
|
|
}
|
|
|
formData.quotePrice = quotePrice;
|
|
@@ -385,7 +389,6 @@ export default {
|
|
|
|
|
|
this.loading = true
|
|
|
submitOffer(formData).then(res => {
|
|
|
-
|
|
|
this.$message.success('报价成功')
|
|
|
this.$router.push({ path: '/mine/tenderOffer', query: { aid: this.aid, uid: this.uid, sid: this.sid, qid: this.form.qid } })
|
|
|
}).finally(() => {
|