Ver Fonte

修改保税区信息管理的表单校验

lcmxs há 1 ano atrás
pai
commit
e2f533c48e
1 ficheiros alterados com 11 adições e 11 exclusões
  1. 11 11
      src/views/BONDED/index.vue

+ 11 - 11
src/views/BONDED/index.vue

@@ -236,17 +236,17 @@ export default {
       form: {},
       // 表单校验
       rules: {
-        // deptName: [{ required: true, message: "保税区名称不能为空", trigger: "blur" },],
-        // industryOrientation: [{ required: true, message: "产业定位不能为空", trigger: "blur" }],
-        // planningArea: [{ required: true, message: "规划面积不能为空", trigger: "blur" }],
-        // acceptanceArea: [{ required: true, message: "验收面积不能为空", trigger: "blur" }],
-        // useArea: [{ required: true, message: "已使用面积不能为空", trigger: "blur" }],
-        // usageRate: [{ required: true, message: "使用率不能为空", trigger: "blur" }],
-        // warehouse: [{ required: true, message: "仓库面积不能为空", trigger: "blur" }],
-        // oilDepot: [{ required: true, message: "油库面积不能为空", trigger: "blur" }],
-        // refrigeratory: [{ required: true, message: "冷库面积不能为空", trigger: "blur" }],
-        // workshop: [{ required: true, message: "厂房面积不能为空", trigger: "blur" }],
-        // approvalTime: [{ required: true, message: "批复时间不能为空", trigger: "blur" }],
+        deptName: [{ required: true, message: "保税区名称不能为空", trigger: "blur" },],
+        industryOrientation: [{ required: true, message: "产业定位不能为空", trigger: "blur" }],
+        planningArea: [{ required: true, message: "规划面积不能为空", trigger: "blur" }],
+        acceptanceArea: [{ required: true, message: "验收面积不能为空", trigger: "blur" }],
+        useArea: [{ required: true, message: "已使用面积不能为空", trigger: "blur" }],
+        usageRate: [{ required: true, message: "使用率不能为空", trigger: "blur" }],
+        warehouse: [{ required: true, message: "仓库面积不能为空", trigger: "blur" }],
+        oilDepot: [{ required: true, message: "油库面积不能为空", trigger: "blur" }],
+        refrigeratory: [{ required: true, message: "冷库面积不能为空", trigger: "blur" }],
+        workshop: [{ required: true, message: "厂房面积不能为空", trigger: "blur" }],
+        approvalTime: [{ required: true, message: "批复时间不能为空", trigger: "blur" }],
       },
     };
   },