Просмотр исходного кода

修改提示语句取消单位时间

“yueshang” 1 год назад
Родитель
Сommit
7371053721

+ 4 - 4
src/views/backend/org/index.vue

@@ -1462,10 +1462,10 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      if (this.form.qrsj > this.form.qxsj) {
-        this.$message.error("取消重点单位时间不能小于确定重点单位时间");
-        return;
-      }
+      // if (this.form.qrsj > this.form.qxsj) {
+      //   this.$message.error("取消重点单位时间不能小于确定重点单位时间");
+      //   return;
+      // }
       this.form.userId = this.$store.getters.userId;
       this.$refs["form"].validate((valid) => {
         if (!valid) {

+ 4 - 4
src/views/backend/org2/index.vue

@@ -1462,10 +1462,10 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      if (this.form.qrsj > this.form.qxsj) {
-        this.$message.error("取消重点单位时间不能小于确定重点单位时间");
-        return;
-      }
+      // if (this.form.qrsj > this.form.qxsj) {
+      //   this.$message.error("取消重点单位时间不能小于确定重点单位时间");
+      //   return;
+      // }
       this.form.userId = this.$store.getters.userId;
       this.$refs["form"].validate((valid) => {
         if (!valid) {

+ 4 - 4
src/views/unitorg/org/index.vue

@@ -1462,10 +1462,10 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      if (this.form.qrsj > this.form.qxsj) {
-        this.$message.error("取消重点单位时间不能小于确定重点单位时间");
-        return;
-      }
+      // if (this.form.qrsj > this.form.qxsj) {
+      //   this.$message.error("取消重点单位时间不能小于确定重点单位时间");
+      //   return;
+      // }
       this.form.userId = this.$store.getters.userId;
       this.$refs["form"].validate((valid) => {
         if (!valid) {