| | |
| | | visible: false, |
| | | title: '', |
| | | }) |
| | | const dialogConfigForQuery = reactive({ |
| | | visible: false, |
| | | title: '', |
| | | isAdd: false, |
| | | }) |
| | | |
| | | /** |
| | | * 分页数据 |
| | |
| | | await tableRef.value?.getList() |
| | | } |
| | | } |
| | | |
| | | //点击按钮【高级查询】 |
| | | const onAdvancedQuery = () => { |
| | | const params = tableRef.value?.getPaginationParams() |
| | | current.value = null |
| | | dialogConfigForQuery.visible = true |
| | | dialogConfigForQuery.isAdd = true |
| | | dialogConfigForQuery.title = '高级查询' |
| | | } |
| | | /** |
| | | * 行点击时更新current |
| | | */ |
| | |
| | | /** |
| | | * 导出 |
| | | */ |
| | | const onExport = () => { |
| | | const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsPlace/export', params, 'wmsStoreInfo') |
| | | // const onExport = () => { |
| | | // const params = tableRef.value?.getParams() |
| | | // exportFile('/api/v1/HIAWms/wmsPlace/export', params, 'wmsStoreInfo') |
| | | // } |
| | | const onExport = (data = {}) => { |
| | | //const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsPlace/export', data, '库位信息') |
| | | } |
| | | |
| | | /** |
| | | * 关键字搜索 |
| | | */ |
| | |
| | | dataSource, |
| | | contextMenu, |
| | | dialogConfig, |
| | | dialogConfigForQuery, |
| | | dialogSettingConfig, |
| | | tableRef, |
| | | current, |
| | |
| | | onRowClick, |
| | | onConfirmWmsPlace, |
| | | onCheck, |
| | | onAdvancedQuery, |
| | | onAddWmsPlace, |
| | | } |
| | | } |