Browse Source

辅料管理。

jiaxiaoqiang 4 months ago
parent
commit
2f1fd73ee4
1 changed files with 26 additions and 0 deletions
  1. 26 0
      src/views/base/accessories/index.vue

+ 26 - 0
src/views/base/accessories/index.vue

@@ -164,6 +164,32 @@ option.value = Object.assign(option.value, {
         },
       ],
     },
+    {
+      label: "辅料属性",
+      prop: "accessoriesProperty",
+      type: "select",
+      dicData: [
+        {
+          dictLabel: "耗材",
+          dictValue: "1",
+        },
+        {
+          dictLabel: "部件",
+          dictValue: "2",
+        },
+      ],
+      props: {
+        label: "dictLabel",
+        value: "dictValue",
+      },
+      rules: [
+        {
+          required: true,
+          message: "辅料属性不能为空",
+          trigger: "blur",
+        },
+      ],
+    },
   ],
 });