Commit b01ad239 authored by xioln's avatar xioln

移库查询extname>extcode

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