Browse Source

分类档案-增加序号字段

jingbb 3 tháng trước cách đây
mục cha
commit
98fb02fa31

+ 9 - 0
src/views/BasicData/components/productCassificationModel.vue

@@ -120,6 +120,15 @@
         addonAfter:"%",
       },
     },
+    {
+      label: '序号(sort number)',
+      field: 'sortNumber',
+      component: 'Input',
+      dynamicDisabled:true,
+      componentProps:{
+        AutoComplete:'off',
+      },
+    },
     {
       label: '',
       field: 'id',

+ 8 - 0
src/views/BasicData/productCassification1.vue

@@ -80,6 +80,11 @@
         }
       },
     },
+    {
+        title: '序号(sort number)',
+        dataIndex: 'sortNumber',
+        key: 'sortNumber',
+      },
   ];
   //表单搜索字段
   const searchFormSchema: FormSchema[] = [
@@ -115,6 +120,9 @@
       actionColumn: {
         width: 120,
       },
+      scroll: {
+        y:'calc(100vh - 400px)',
+      },
       formConfig: {
         schemas: searchFormSchema,
       },