xiaodai2022 2 years ago
parent
commit
76529a69d5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/sellOut/zixunOrder/components/editForm.vue

+ 5 - 0
src/views/sellOut/zixunOrder/components/editForm.vue

@@ -1040,6 +1040,11 @@ export default {
             this.loading = false;
             return;
           }
+          if (new Date(endtime).getTime() <= new Date().getTime()) {
+            this.$message.warning("竞价截止时间应该大于当前时间!");
+            this.loading = false;
+            return;
+          }
           model.khNo = model.khNo.toString();
           // model.platform_code = model.platform_code.toString();
           model.projectNo = model.projectNo.toString();