fix 库存余额
This commit is contained in:
parent
a27f217e4d
commit
6396669db1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user