优化入库管理的查询

This commit is contained in:
2026-01-21 18:57:02 +08:00
parent cf0cb72aa5
commit a83b0c2589
2 changed files with 4 additions and 3 deletions

View File

@@ -1,11 +1,11 @@
import request from '@/utils/request' import request from '@/utils/request'
// 查询库存单据列表 // 查询库存单据列表
export function listBill(query) { export function listBill(data) {
return request({ return request({
url: '/wisdom/bill/list', url: '/wisdom/bill/list',
method: 'get', method: 'POST',
params: query data: data
}) })
} }

View File

@@ -1367,6 +1367,7 @@ const total = ref(0); //单据
/** 查询库存单据主列表 */ /** 查询库存单据主列表 */
function getList() { function getList() {
loading.value = true; loading.value = true;
queryParams.value.bizTypeList = [0, 3];
listBill(queryParams.value).then((response) => { listBill(queryParams.value).then((response) => {
billList.value = response.rows; billList.value = response.rows;
total.value = response.total; total.value = response.total;