Browse Source

工艺路线版本必填

qinhb 10 months ago
parent
commit
bf36fd11dd
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/base/craftManagement/route/index.vue

+ 8 - 0
src/views/base/craftManagement/route/index.vue

@@ -410,6 +410,14 @@ option.value = Object.assign(option.value, {
       prop: "processRouteVersion",
       addDisplay: true,
       editDisplay: true,
+      value: '1.0',
+      rules: [
+        {
+          required: true,
+          message: "版本不能为空",
+          trigger: "blur",
+        },
+      ],
     },
     {
       label: "创建人",