Parcourir la source

客户要求:物料都是需要采集的

huhao@jgai.com il y a 1 mois
Parent
commit
be4a382d76
1 fichiers modifiés avec 46 ajouts et 46 suppressions
  1. 46 46
      src/views/base/craftManagement/route/components/configs.ts

+ 46 - 46
src/views/base/craftManagement/route/components/configs.ts

@@ -86,29 +86,29 @@ export const getTableConfig = (id: string) => {
           dicData: dicts.danwei_type,
           props: { label: "dictLabel", value: "dictValue" },
         },
-        {
-          label: "是否需要",
-          prop: "isTrace",
-          type: "radio", //类型为单选框
-          dicData: [
-            {
-              label: "需采集物料",
-              value: 1,
-            },
-            {
-              label: "非必须采集物料",
-              value: 0,
-            },
-          ],
-          value: 1,
-          rules: [
-            {
-              required: true,
-              message: "是否需要",
-              trigger: "blur",
-            },
-          ],
-        },
+        // {
+        //   label: "是否需要",
+        //   prop: "isTrace",
+        //   type: "radio", //类型为单选框
+        //   dicData: [
+        //     {
+        //       label: "需采集物料",
+        //       value: 1,
+        //     },
+        //     {
+        //       label: "非必须采集物料",
+        //       value: 0,
+        //     },
+        //   ],
+        //   value: 1,
+        //   rules: [
+        //     {
+        //       required: true,
+        //       message: "是否需要",
+        //       trigger: "blur",
+        //     },
+        //   ],
+        // },
       ],
     },
     // 辅料采集
@@ -146,29 +146,29 @@ export const getTableConfig = (id: string) => {
           addDisabled: true,
           editDisabled: true,
         },
-        {
-          label: "是否需要",
-          prop: "isTrace",
-          type: "radio", //类型为单选框
-          dicData: [
-            {
-              label: "需采集物料",
-              value: 1,
-            },
-            {
-              label: "非必须采集物料",
-              value: 0,
-            },
-          ],
-          value: 1,
-          rules: [
-            {
-              required: true,
-              message: "是否需要",
-              trigger: "blur",
-            },
-          ],
-        },
+        // {
+        //   label: "是否需要",
+        //   prop: "isTrace",
+        //   type: "radio", //类型为单选框
+        //   dicData: [
+        //     {
+        //       label: "需采集物料",
+        //       value: 1,
+        //     },
+        //     {
+        //       label: "非必须采集物料",
+        //       value: 0,
+        //     },
+        //   ],
+        //   value: 1,
+        //   rules: [
+        //     {
+        //       required: true,
+        //       message: "是否需要",
+        //       trigger: "blur",
+        //     },
+        //   ],
+        // },
       ],
     },
     dianjian: {