Commit c35a4cc3 by 袁成

fix: 基础数据搜索

parent 31a133f4
......@@ -352,6 +352,12 @@ export default {
this.baseDataList = rows
}
this.originBaseDataList = JSON.parse(JSON.stringify(this.baseDataList))
if (this.selectValue) {
this.baseDataList = this.originBaseDataList.filter((item) => {
return (item.code.indexOf(this.selectValue) !== -1 || item.name.indexOf(this.selectValue) !== -1)
})
}
if (!this.showModal) {
this.dataListShow = true
}
......
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