赖奇 1 год назад
Родитель
Сommit
891af85c96
2 измененных файлов с 11 добавлено и 11 удалено
  1. 10 10
      apps/web-ele/src/views/product-manage/form.vue
  2. 1 1
      apps/web-ele/src/views/product-manage/index.vue

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

@@ -102,16 +102,16 @@ const [BaseForm, baseFormApi] = useVbenForm({
       },
       },
       rules: z.string().min(1, { message: '请输入产品型号' }),
       rules: z.string().min(1, { message: '请输入产品型号' }),
     },
     },
-    {
-      component: 'Input',
-      fieldName: 'productssn',
-      label: '产品SN号',
-      componentProps: {
-        placeholder: '请输入产品SN号',
-        allowClear: true,
-      },
-      rules: z.string().min(1, { message: '请输入产品SN号' }),
-    },
+    // {
+    //   component: 'Input',
+    //   fieldName: 'productssn',
+    //   label: '产品SN号',
+    //   componentProps: {
+    //     placeholder: '请输入产品SN号',
+    //     allowClear: true,
+    //   },
+    //   rules: z.string().min(1, { message: '请输入产品SN号' }),
+    // },
     {
     {
       component: 'Input',
       component: 'Input',
       fieldName: 'productspm',
       fieldName: 'productspm',

+ 1 - 1
apps/web-ele/src/views/product-manage/index.vue

@@ -70,7 +70,7 @@ const gridOptions: VxeGridProps<any> = {
     { title: '产品名称', field: 'productsname' },
     { title: '产品名称', field: 'productsname' },
     { title: '产品类别', field: 'productscategory' },
     { title: '产品类别', field: 'productscategory' },
     { title: '产品型号', field: 'productsmodel' },
     { title: '产品型号', field: 'productsmodel' },
-    { title: '产品sn号', field: 'productssn' },
+    // { title: '产品sn号', field: 'productssn' },
     { title: '品目', field: 'productspm' },
     { title: '品目', field: 'productspm' },
     { title: '一级分类', field: 'productsfl1' },
     { title: '一级分类', field: 'productsfl1' },
     { title: '二级分类', field: 'productsfl2' },
     { title: '二级分类', field: 'productsfl2' },