Commit e684e88b authored by jingnan's avatar jingnan 👀

移库入库库位搜索下拉加载更多修改

parent 8c45aa1a
......@@ -169,6 +169,11 @@ export default {
},
// 远程搜索物料类别
remoteMethod(query) {
this.stopLoading = false
this.pageData = {// 懒加载相关参数,这里代表从第一条数据开始加载,一次加载二十项
pageNumber: 1,
pageSize: 10
}
if (sessionStorage.getItem('InStorageMoveform-InStorageMoveTable')) {
this.linkageValue = sessionStorage.getItem('InStorageMoveform-InStorageMoveTable')
}
......@@ -189,14 +194,15 @@ export default {
// 有内容则搜索
if (query !== '') {
querys.searchItems.items.push({ 'fieldName': 'extcode', operator: 'LIKE', value: query })
} else {
// 重置懒加载
this.stopLoading = false
this.pageData = {// 懒加载相关参数,这里代表从第一条数据开始加载,一次加载二十项
pageNumber: 1,
pageSize: 10
}
}
// else {
// // 重置懒加载
// this.stopLoading = false
// this.pageData = {// 懒加载相关参数,这里代表从第一条数据开始加载,一次加载二十项
// pageNumber: 1,
// pageSize: 10
// }
// }
// 调用接口
this.selectLoading = true
this.getdata(querys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment