扫码后清空搜索条件

This commit is contained in:
hehaibing-1996
2025-03-04 20:41:44 +08:00
parent 4ce1396642
commit 976f883642
3 changed files with 5 additions and 0 deletions

View File

@ -272,6 +272,8 @@
if (res.statusCode === 200) {
//接口返回数据为200 表示获取成功!
if (res.data.code == 200) {
this.matCodeCondition = '';
this.locationId = res.data.data.locationId;
this.locationCode = res.data.data.locationCode;
this.shelfId = res.data.data.shelfId;
@ -662,6 +664,7 @@
this.matCode = '';
this.matName = '';
this.matSpec = '';
this.matBatch = '';
this.matQty = 0;
},
handlePopupClose() {

View File

@ -466,6 +466,7 @@
return;
}
//绑定货架等信息
this.matCodeCondition = '';
this.shelfId = res.data.data.shelfId;
this.shelfCode = res.data.data.shelfCode;

View File

@ -410,6 +410,7 @@
return;
}
//有物料信息
this.matCodeCondition = '';
this.cardData = res.data.data.lists;
this.recordCount = res.data.data.count;
uni.showToast({