作者:黄皮-_985 | 来源:互联网 | 2023-09-23 23:36
{{ item.branchName }}queryBranchSearch(queryString, cb) {var results = queryString ? this.bankBr
<el-form-item label&#61;"开户支行:" prop&#61;"branchName"><el-autocompletev-model&#61;"form.branchName"popper-class&#61;"my-autocomplete":fetch-suggestions&#61;"queryBranchSearch"value-key&#61;"branchName"placeholder&#61;"请输入内容"style&#61;"width: 100%;"clearable:disabled&#61;"reviewFlag"&#64;select&#61;"handleBranchSelect"><template slot-scope&#61;"{ item }"><div class&#61;"name" :title&#61;"item.branchName">{{ item.branchName }}</div></template></el-autocomplete></el-form-item>queryBranchSearch(queryString, cb) {var results &#61; queryString ? this.bankBranchList.filter((provinceCity) &#61;> provinceCity.branchName.toLowerCase().match(queryString.toLowerCase()) !&#61;&#61; null) : this.bankBranchList;clearTimeout(this.timeout);this.timeout &#61; setTimeout(() &#61;> {cb(results);}, 600);},handleBranchSelect(item) {this.form.branchNo &#61; item.branchId || &#39;&#39;;},