Browse Source

工艺路线版本必填

qinhb 10 tháng trước cách đây
mục cha
commit
bf36fd11dd
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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: "创建人",