|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<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> |
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
@ -117,6 +117,7 @@ const updataTableColumns = (val) => { |
|
|
|
} |
|
|
|
|
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
|
defaultParams:{'business_type':'Move'}, |
|
|
|
getListApi: InventorymoveRecordDetailApi.getInventorymoveRecordDetailPage // 分页接口 |
|
|
|
}) |
|
|
|
|
|
|
@ -407,7 +408,11 @@ const importSuccess = () => { |
|
|
|
const searchFormClick = (searchData) => { |
|
|
|
tableObject.params = { |
|
|
|
isSearch: true, |
|
|
|
filters: searchData.filters |
|
|
|
filters: [...searchData.filters,{ |
|
|
|
action: "==", |
|
|
|
column: "business_type", |
|
|
|
value: "Move" |
|
|
|
}] |
|
|
|
} |
|
|
|
getList() // 刷新当前列表 |
|
|
|
} |
|
|
|