| | |
| | | title: '', |
| | | isAdd: false, |
| | | }) |
| | | |
| | | const dialogConfigForQuery = reactive({ |
| | | visible: false, |
| | | title: '', |
| | | isAdd: false, |
| | | }) |
| | | const dialogSettingConfig = reactive({ |
| | | visible: false, |
| | | title: '', |
| | |
| | | dialogConfig.title = '添加' |
| | | sort.value = params.totalCount + 1 |
| | | } |
| | | //点击按钮【高级查询】 |
| | | const onAdvancedQuery = () => { |
| | | const params = tableRef.value?.getPaginationParams() |
| | | current.value = null |
| | | dialogConfigForQuery.visible = true |
| | | dialogConfigForQuery.isAdd = true |
| | | dialogConfigForQuery.title = '高级查询' |
| | | } |
| | | |
| | | const onConfirmWmsStore = async () => { |
| | | dialogConfig.visible = false |
| | |
| | | /** |
| | | * 导出 |
| | | */ |
| | | const onExport = () => { |
| | | const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsStore/export', params, 'wmsStoreInfo') |
| | | // const onExport = () => { |
| | | // const params = tableRef.value?.getParams() |
| | | // exportFile('/api/v1/HIAWms/wmsStore/export', params, 'wmsStoreInfo') |
| | | // } |
| | | const onExport = (data = {}) => { |
| | | //const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsStore/export', data, '仓库信息') |
| | | } |
| | | |
| | | /** |
| | | * 关键字搜索 |
| | | */ |
| | |
| | | current, |
| | | search, |
| | | sort, |
| | | dialogConfigForQuery, |
| | | wmsStoreColumns, |
| | | paginationParams, |
| | | headers, |
| | |
| | | onConfirmWmsStore, |
| | | onCheck, |
| | | onAddWmsStore, |
| | | onAdvancedQuery, |
| | | } |
| | | } |