修改字符串格式的数字为“”的时候接口报错的问题和装表的时候未过滤已装电表的问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user