|
@@ -4,16 +4,18 @@
|
|
|
<Filter @search="updateColumn" />
|
|
<Filter @search="updateColumn" />
|
|
|
<contextMenu :contextMenuList="firstBtn">
|
|
<contextMenu :contextMenuList="firstBtn">
|
|
|
<a-table :columns="columns"
|
|
<a-table :columns="columns"
|
|
|
- class="topTable hiddenFirstCol"
|
|
|
|
|
|
|
+ class="srcollYTable"
|
|
|
|
|
+ :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
|
|
|
:pagination="false"
|
|
:pagination="false"
|
|
|
|
|
+ :loading="loading"
|
|
|
:expandedRowKeys="expandedRowKeys"
|
|
:expandedRowKeys="expandedRowKeys"
|
|
|
:customRow="Rowclick"
|
|
:customRow="Rowclick"
|
|
|
rowKey="key"
|
|
rowKey="key"
|
|
|
:data-source="tableList">
|
|
:data-source="tableList">
|
|
|
- <!-- 商品名称 - 商品代码-->
|
|
|
|
|
- <template #goodsid="{ record }">
|
|
|
|
|
- <a>{{ record.goodsname + "-" + record.goodscode }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <!-- 商品名称 - 商品代码-->
|
|
|
|
|
+ <template #goodsid="{ record }">
|
|
|
|
|
+ <a>{{ record.goodsname + "-" + record.goodscode }}</a>
|
|
|
|
|
+ </template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</contextMenu>
|
|
</contextMenu>
|
|
|
<!-- <ControlModal :selectedRow="selectedRow" /> -->
|
|
<!-- <ControlModal :selectedRow="selectedRow" /> -->
|
|
@@ -22,10 +24,10 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
-import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
|
|
|
|
|
+import { defineComponent, initData, getTableColumns, getTableEvent, queryTableList, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
|
|
|
+import { queryReckonPriceLog } from '@/services/go/ermcp/qhj';
|
|
|
import { QhjReckonPriceLog } from '@/services/go/ermcp/qhj/interface';
|
|
import { QhjReckonPriceLog } from '@/services/go/ermcp/qhj/interface';
|
|
|
import Filter from '../../compoments/filter/index.vue';
|
|
import Filter from '../../compoments/filter/index.vue';
|
|
|
-import { queryTableList } from './setup';
|
|
|
|
|
// import ControlModal from './compoments/controlModal/index.vue';
|
|
// import ControlModal from './compoments/controlModal/index.vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -39,10 +41,10 @@ export default defineComponent({
|
|
|
// 表格操作按钮列表
|
|
// 表格操作按钮列表
|
|
|
const [firstBtn] = _getBtnList('platinum_fixed_investment_price_query_tab', false).value;
|
|
const [firstBtn] = _getBtnList('platinum_fixed_investment_price_query_tab', false).value;
|
|
|
// 表格列表数据
|
|
// 表格列表数据
|
|
|
- const { loading, tableList, queryTable } = queryTableList(1001, '');
|
|
|
|
|
|
|
+ const { loading, tableList, queryTable } = queryTableList<QhjReckonPriceLog>();
|
|
|
initData(() => {
|
|
initData(() => {
|
|
|
// 获取列表数据
|
|
// 获取列表数据
|
|
|
- queryTable();
|
|
|
|
|
|
|
+ queryTable(queryReckonPriceLog);
|
|
|
// 注册表头信息 过滤
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_qhj_fixed_investment_price_query', ['tradedate', 'goodsid']);
|
|
registerColumn('table_pcweb_qhj_fixed_investment_price_query', ['tradedate', 'goodsid']);
|
|
|
});
|
|
});
|