Commit 2383320b by Nattana Chaiyamat

ข้อมูลบริษัท

parent 4bbdbad5
...@@ -130,7 +130,7 @@ export class CompanyRegistrationPageComponent { ...@@ -130,7 +130,7 @@ export class CompanyRegistrationPageComponent {
const data = x.data const data = x.data
const match = data.code.toLowerCase().includes(this.search.toLowerCase()) || data.tdesc.toLowerCase().includes(this.search.toLowerCase()) || data.edesc.toLowerCase().includes(this.search.toLowerCase()); const match = data.code.toLowerCase().includes(this.search.toLowerCase()) || data.tdesc.toLowerCase().includes(this.search.toLowerCase()) || data.edesc.toLowerCase().includes(this.search.toLowerCase());
return match; return match;
}).forEach(x => x.check = selectAll); }).forEach(x => (x.check = x.data.code != '100' ? selectAll : false));
this.dataListCheck(); this.dataListCheck();
} }
dataListCheck() { dataListCheck() {
......
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