| | |
| | | title: '', |
| | | isAdd: false, |
| | | }) |
| | | |
| | | const dialogConfigForQuery = reactive({ |
| | | visible: false, |
| | | title: '', |
| | | isAdd: false, |
| | | }) |
| | | const dialogSettingConfig = reactive({ |
| | | visible: false, |
| | | 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 onConfirmWmsContainer = async () => { |
| | | dialogConfig.visible = false |
| | | if (dialogConfig.isAdd) { |
| | |
| | | } |
| | | } |
| | | /** |
| | | |
| | | * 导出 |
| | | */ |
| | | const onExport = () => { |
| | | const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsContainer/export', params, 'wmsContainer') |
| | | const onExport = (data = {}) => { |
| | | //const params = tableRef.value?.getParams() |
| | | exportFile('/api/v1/HIAWms/wmsContainer/export', data, '托盘管理') |
| | | } |
| | | |
| | | /** |
| | |
| | | current, |
| | | search, |
| | | sort, |
| | | dialogConfigForQuery, |
| | | wmsContainerColumns, |
| | | paginationParams, |
| | | headers, |
| | |
| | | onRowClick, |
| | | onConfirmWmsContainer, |
| | | onCheck, |
| | | onAdvancedQuery, |
| | | onAddWmsContainer, |
| | | } |
| | | } |