Explorar o código

feat: 注释掉产品管理表单中的部分输入字段

laiqi hai 11 meses
pai
achega
79bb58dfac
Modificáronse 1 ficheiros con 31 adicións e 31 borrados
  1. 31 31
      apps/web-ele/src/views/product-manage/form.vue

+ 31 - 31
apps/web-ele/src/views/product-manage/form.vue

@@ -175,16 +175,16 @@ const [BaseForm, baseFormApi] = useVbenForm({
     //   },
     //   rules: z.string().min(1, { message: '请输入产品SN号' }),
     // },
-    {
-      component: 'Input',
-      fieldName: 'productspm',
-      label: '品目',
-      componentProps: {
-        placeholder: '请输入品目',
-        allowClear: true,
-      },
-      rules: z.string().min(1, { message: '请输入品目' }),
-    },
+    // {
+    //   component: 'Input',
+    //   fieldName: 'productspm',
+    //   label: '品目',
+    //   componentProps: {
+    //     placeholder: '请输入品目',
+    //     allowClear: true,
+    //   },
+    //   rules: z.string().min(1, { message: '请输入品目' }),
+    // },
     {
       component: 'Select',
       fieldName: 'productsmerchantid',
@@ -241,28 +241,28 @@ const [BaseForm, baseFormApi] = useVbenForm({
         placeholder: '请输入二级分类',
         allowClear: true,
       },
-      rules: z.string().min(1, { message: '请输入二级分类' }),
-    },
-    {
-      component: 'Input',
-      fieldName: 'productsfdmc',
-      label: '分档名称',
-      componentProps: {
-        placeholder: '请输入分档名称',
-        allowClear: true,
-      },
-      rules: z.string().min(1, { message: '请输入分档名称' }),
-    },
-    {
-      component: 'Input',
-      fieldName: 'productsfdbh',
-      label: '分档编号',
-      componentProps: {
-        placeholder: '请输入分档编号',
-        allowClear: true,
-      },
-      rules: z.string().min(1, { message: '请输入分档编号' }),
+      // rules: z.string().min(1, { message: '请输入二级分类' }),
     },
+    // {
+    //   component: 'Input',
+    //   fieldName: 'productsfdmc',
+    //   label: '分档名称',
+    //   componentProps: {
+    //     placeholder: '请输入分档名称',
+    //     allowClear: true,
+    //   },
+    //   rules: z.string().min(1, { message: '请输入分档名称' }),
+    // },
+    // {
+    //   component: 'Input',
+    //   fieldName: 'productsfdbh',
+    //   label: '分档编号',
+    //   componentProps: {
+    //     placeholder: '请输入分档编号',
+    //     allowClear: true,
+    //   },
+    //   rules: z.string().min(1, { message: '请输入分档编号' }),
+    // },
     {
       component: 'InputNumber',
       fieldName: 'productsprice',