采购设计报表新增tab切换
This commit is contained in:
@ -86,13 +86,14 @@ const handleTabChange = (tab) => {
|
|||||||
activeTab.value = tab;
|
activeTab.value = tab;
|
||||||
data.queryParams.valueType = '1';
|
data.queryParams.valueType = '1';
|
||||||
// data.queryParams.month = '';
|
// data.queryParams.month = '';
|
||||||
|
getList();
|
||||||
};
|
};
|
||||||
|
|
||||||
/** 查询项目总产值分配列表 */
|
/** 查询项目总产值分配列表 */
|
||||||
const getList = async () => {
|
const getList = async () => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
|
|
||||||
const res = await listOutTable(queryParams.value);
|
const res = await listOutTable({ ...queryParams.value, type: activeTab.value });
|
||||||
valueAllocationList.value = res.rows;
|
valueAllocationList.value = res.rows;
|
||||||
total.value = res.total;
|
total.value = res.total;
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
Reference in New Issue
Block a user