Commit b01ad239 authored by xioln's avatar xioln

移库查询extname>extcode

parent 09746d88
......@@ -141,7 +141,7 @@ export default {
pageSize: 10,
searchItems: {
items: [
{ 'fieldName': 'extname', operator: 'LIKE', value: this.querys },
{ 'fieldName': 'extcode', operator: 'LIKE', value: this.querys },
{ 'fieldName': 'extCenterId', operator: 'EQ', value: this.linkageValue }
],
operator: 'AND'
......@@ -171,7 +171,7 @@ export default {
}
// 有内容则搜索
if (query !== '') {
querys.searchItems.items.push({ 'fieldName': 'extname', operator: 'LIKE', value: query })
querys.searchItems.items.push({ 'fieldName': 'extcode', operator: 'LIKE', value: query })
} else {
// 重置懒加载
this.stopLoading = false
......@@ -190,7 +190,7 @@ export default {
this.options = res.items.content.map(row => {
return {
value: row.id,
label: row.extname
label: row.extcode
}
})
}).finally(() => {
......@@ -215,14 +215,14 @@ export default {
options = arr.map(row => {
return {
value: row.id,
label: row.extname
label: row.extcode
}
})
} else {
options = [...this.options, ...arr.map(row => {
return {
value: row.id,
label: row.extname
label: row.extcode
}
})]
}
......
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