Browse Source

加参数

linshi20240813
wangyufei 3 months ago
parent
commit
07233b60b6
  1. 9
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

9
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="[...InventorymoveRecordMainNew.allSchemas.searchSchema,...InventorymoveRecordDetailNew.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...InventorymoveRecordMainNew.allSchemas.searchSchema,...InventorymoveRecordDetailNew.allSchemas.searchSchema]" @search="setSearchParams({'business_type':'Move'})" @reset="setSearchParams({'business_type':'Move'})" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -117,6 +117,7 @@ const updataTableColumns = (val) => {
} }
const { tableObject, tableMethods } = useTable({ const { tableObject, tableMethods } = useTable({
defaultParams:{'business_type':'Move'},
getListApi: InventorymoveRecordDetailApi.getInventorymoveRecordDetailPage // getListApi: InventorymoveRecordDetailApi.getInventorymoveRecordDetailPage //
}) })
@ -407,7 +408,11 @@ const importSuccess = () => {
const searchFormClick = (searchData) => { const searchFormClick = (searchData) => {
tableObject.params = { tableObject.params = {
isSearch: true, isSearch: true,
filters: searchData.filters filters: [...searchData.filters,{
action: "==",
column: "business_type",
value: "Move"
}]
} }
getList() // getList() //
} }

Loading…
Cancel
Save