Browse Source

bug:去掉非必要查询条件

lupeng 10 months ago
parent
commit
ca285b1789
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/components/CommonTable/configs/tableConfig.ts

+ 3 - 4
src/components/CommonTable/configs/tableConfig.ts

@@ -7,9 +7,9 @@ export const tableConfig = {
     column: [
       { label: "物料编码", prop: "materialCode", search: true },
       { label: "物料名称", prop: "materialName", search: true },
-      { label: "保质期", prop: "qualityGuaranteePeriod", search: true },
+      { label: "保质期", prop: "qualityGuaranteePeriod" },
 
-      { label: "物料规格", prop: "spec", search: true },
+      { label: "物料规格", prop: "spec" },
 
       {
         label: "物料属性",
@@ -24,7 +24,6 @@ export const tableConfig = {
       {
         label: "是否工装",
         prop: "frock",
-        search: true,
         filterable: true,
         type: "radio", //类型为单选框
         dicData: [
@@ -109,7 +108,7 @@ export const tableConfig = {
         dicData: dicts.danwei_type,
         props: { label: "dictLabel", value: "dictValue" },
       },
-      { label: "备注", prop: "remark", type: "textarea", search: true },
+      { label: "备注", prop: "remark", type: "textarea" },
     ],
   },