|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<!-- 提货查询 -->
|
|
|
<div class="platinum_pick_query_tab">
|
|
|
- <Filter />
|
|
|
+ <Filter @search="updateColumn" />
|
|
|
<contextMenu :contextMenuList="firstBtn">
|
|
|
<a-table :columns="columns"
|
|
|
class="topTable hiddenFirstCol"
|
|
|
@@ -22,11 +22,11 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
|
-import { ErmcpWareHouseInfo } from '@/views/information/warehouse-info/list';
|
|
|
+import { defineComponent, initData, getTableColumns, getTableEvent, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
|
import Filter from '../../compoments/filter/index.vue';
|
|
|
import { queryTableList } from './setup';
|
|
|
import ControlModal from './compoments/controlModal/index.vue';
|
|
|
+import { QhjTradeGoodsPickup } from '@/services/go/ermcp/qhj/interface';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'platinum_pick_query_tab',
|
|
|
@@ -35,7 +35,7 @@ export default defineComponent({
|
|
|
// 表头数据
|
|
|
const { columns, registerColumn, updateColumn } = getTableColumns();
|
|
|
// 表格事件
|
|
|
- const { expandedRowKeys, selectedRow, Rowclick, btnClick } = getTableEvent<ErmcpWareHouseInfo>({});
|
|
|
+ const { expandedRowKeys, selectedRow, Rowclick, btnClick } = getTableEvent<QhjTradeGoodsPickup>({});
|
|
|
// 表格操作按钮列表
|
|
|
const [firstBtn] = _getBtnList('platinum_pick_query_tab', true).value;
|
|
|
// 表格列表数据
|
|
|
@@ -44,12 +44,12 @@ export default defineComponent({
|
|
|
// 获取列表数据
|
|
|
queryTable();
|
|
|
// 注册表头信息 过滤
|
|
|
- registerColumn('table_pcweb_qhj_pickup_query', ['warehousetype', 'warehousename', 'address']);
|
|
|
+ registerColumn('table_pcweb_qhj_pickup_query', ['reqtime', 'pickupgoodsname', 'takeorderstatus', 'goodsname']);
|
|
|
});
|
|
|
|
|
|
return {
|
|
|
columns,
|
|
|
-
|
|
|
+ updateColumn,
|
|
|
expandedRowKeys,
|
|
|
selectedRow,
|
|
|
Rowclick,
|