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>
<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() //
}

Loading…
Cancel
Save