Browse Source

HL-5914库存余额高级筛选查找报错500

hella_online_20240911
yufei_wang 2 weeks ago
parent
commit
ac14d632b4
  1. 2
      README.md
  2. 2
      src/components/SearchHigh/src/SearchHigh.vue
  3. 1
      src/hooks/web/useCrudSchemas.ts
  4. 2
      src/views/wms/inventoryManage/balance/balance.data.ts

2
README.md

@ -5,6 +5,8 @@ dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
dictAllOption:true,// true 字典中--下拉框中展示全选按钮
dictAllValue:'全选', // 全选按钮的value值
hiddenSearchHigh?: boolean // 是否隐藏高级筛选
**form表单查询弹窗配置**
form: {
labelMessage: '信息提示说明!!!',

2
src/components/SearchHigh/src/SearchHigh.vue

@ -115,7 +115,7 @@ const props = defineProps({
const message = useMessage() //
const route = useRoute() //
const popoverVisible = ref(false)
const searchOption_high = ref(props.allSchemas?.tableColumns.filter(item => (item.field != "action")))
const searchOption_high = ref(props.allSchemas?.tableColumns.filter(item => (item.field != "action"&&!item.hiddenSearchHigh)))
const moreListData = ref({
filters:[]
})

1
src/hooks/web/useCrudSchemas.ts

@ -14,6 +14,7 @@ import { cloneDeep, merge } from 'lodash-es'
export type CrudSchema = Omit<TableColumn, 'children'> & {
isSearch?: boolean // 是否在查询显示
hiddenSearchHigh?: boolean // 是否隐藏高级筛选
search?: CrudSearchParams // 查询的详细配置
isTable?: boolean // 是否在列表显示
table?: CrudTableParams // 列表的详细配置

2
src/views/wms/inventoryManage/balance/balance.data.ts

@ -31,6 +31,7 @@ export const Balance = useCrudSchemas(
table: {
width: 150
},
hiddenSearchHigh: true,// 高级筛选中隐藏
isSearch: true
},
{
@ -40,6 +41,7 @@ export const Balance = useCrudSchemas(
table: {
width: 150
},
hiddenSearchHigh: true,// 高级筛选中隐藏
isSearch: true
},
{

Loading…
Cancel
Save