修改字符串格式的数字为“”的时候接口报错的问题和装表的时候未过滤已装电表的问题

This commit is contained in:
2025-11-18 10:52:02 +08:00
parent 3a1b7f5a2a
commit c03d70b221
6 changed files with 30 additions and 24 deletions

View File

@@ -222,7 +222,7 @@ Component({
},
async onSearchInventoryMeter() {
const { searchText = "", park, filterBind } = this.data;
const { code, message, data: parks = [] } = await getInventoryMeter({keyword: searchText, park, isNeedBind: !filterBind, a : 1});
const { code, message, data: parks = [] } = await getInventoryMeter({keyword: searchText, park, isNeedBind: !filterBind, status: 1});
if (code !== OK) {
alertInfo(message)
return