fix 库存余额

This commit is contained in:
Amjacks 2025-04-03 13:21:49 +08:00
parent a27f217e4d
commit 6396669db1

View File

@ -350,20 +350,13 @@ function handleQuery() {
// state.queryParams.params.TODATE = str2.withoutTime;
// console.log(state.queryParams.params);
state.pageList = []
getQueryPageList(state.queryParams)
.then((res: any) => {
if(res.data.list.length == 0){
ElMessageBox.alert('查无数据', '提醒框', {
confirmButtonText: 'OK',
})
} else {
state.pageList2 = [];
state.total1 = 0;
getQueryPageList(state.queryParams).then((res: any) => {
state.pageList = res.data.list;
state.total = res.data.total;
showCurrentTime();
}
})
.catch(() => { });
}
function resetQuery() {
queryFormRef.value.resetFields();