|
@@ -134,11 +134,10 @@ export default {
|
|
|
if (this.input == "") {
|
|
|
newarr = this.tableData;
|
|
|
} else {
|
|
|
-
|
|
|
- for (var i = 0; i < this.tableData.length; i++) {
|
|
|
- if (this.tableData[i].clientName.indexOf(this.input) != -1) {
|
|
|
+ for (var i = 0; i < this.tableData.length; i++) {
|
|
|
+ if ((this.tableData[i].clientName).indexOf(this.input) != -1) {
|
|
|
newarr.push(this.tableData[i]);
|
|
|
- } else if (this.tableData[i].companyName.indexOf(this.input) != -1) {
|
|
|
+ } else if ((this.tableData[i].companyFullName).indexOf(this.input) != -1) {
|
|
|
newarr.push(this.tableData[i]);
|
|
|
}
|
|
|
}
|