lanxin 1 gün önce
ebeveyn
işleme
47de0f8397
1 değiştirilmiş dosya ile 10 ekleme ve 70 silme
  1. 10 70
      src/pages/Cledger/C1ledger/index.tsx

+ 10 - 70
src/pages/Cledger/C1ledger/index.tsx

@@ -15,69 +15,6 @@ import { exportExcelFile } from '@/utils/xlsxExport'
 import { CaretDownOutlined } from '@ant-design/icons'
 import C1Import from './C1Import'
 
-const C1topSearch = [
-  {
-    type: 'input',
-    key: 'searchKey',
-    placeholder: '搜索藏品登记号、藏品名称'
-  },
-  {
-    type: 'cascaderSS',
-    key: 'artDictId',
-    placeholder: `文创标签`
-    // options: getDictFu('藏品标签')
-  },
-  {
-    type: 'select',
-    key: 'level',
-    placeholder: '级别',
-    options: selectObj['藏品级别']
-  },
-  // 待完善sg
-  // {
-  //   type: 'cascaderSS',
-  //   key: 'tagDictId',
-  //   placeholder: '藏品标签',
-  //   options: getDictFu('藏品标签')
-  // },
-  {
-    type: 'cascader',
-    key: 'ageDictId',
-    placeholder: '年代',
-    options: getDictFu('藏品年代')
-  },
-  {
-    type: 'cascader',
-    key: 'textureDictId',
-    placeholder: '质地',
-    options: getDictFu('质地')
-  },
-  {
-    type: 'select',
-    key: 'tornLevel',
-    placeholder: '完残程度',
-    options: selectObj['完残程度']
-  },
-  // TODO
-  {
-    type: 'select',
-    key: 'status',
-    placeholder: '入藏状态',
-    options: selectObj['藏品入藏状态']
-  },
-  {
-    type: 'select',
-    key: 'siteStatus',
-    placeholder: '库存状态',
-    options: selectObj['藏品库存状态']
-  },
-  {
-    type: 'select',
-    key: 'siteLoc',
-    placeholder: `搜索库房位置`
-  }
-]
-
 const C1baseFormData = {
   ...baseFormData,
   typeDictId: '',
@@ -179,9 +116,10 @@ function C1ledger() {
         placeholder: '搜索藏品登记号、藏品名称'
       },
       {
-        type: 'input',
-        key: 'searchTagName',
-        placeholder: `搜索藏品标签`
+        type: 'cascaderSS',
+        key: 'artDictId',
+        placeholder: `文创标签`
+        // options: getDictFu('藏品标签')
       },
       {
         type: 'select',
@@ -189,11 +127,12 @@ function C1ledger() {
         placeholder: '级别',
         options: selectObj['藏品级别']
       },
+      // 待完善sg
       // {
-      //   type: 'cascader',
-      //   key: 'typeDictId',
-      //   placeholder: '类别',
-      //   options: getDictFu('藏品类别')
+      //   type: 'cascaderSS',
+      //   key: 'tagDictId',
+      //   placeholder: '藏品标签',
+      //   options: getDictFu('藏品标签')
       // },
       {
         type: 'cascader',
@@ -213,6 +152,7 @@ function C1ledger() {
         placeholder: '完残程度',
         options: selectObj['完残程度']
       },
+      // TODO
       {
         type: 'select',
         key: 'status',