master
赵鹏 4 years ago
parent ac15220dcb
commit 5a8b6d8578

@ -397,7 +397,7 @@ function autocomplete(inp, arr) {
inp.value = this.getElementsByTagName("input")[0].value; inp.value = this.getElementsByTagName("input")[0].value;
/* 站点三字码赋值 */ /* 站点三字码赋值 */
let CHid = "Code_"+inp.id; let CHid = "Code_"+inp.id;
console.log(arr[i][0]); // console.log(arr[i][0]);
let objectCH = document.getElementById(CHid); let objectCH = document.getElementById(CHid);
if (!objectCH){ if (!objectCH){
let strCH = '<input type="hidden" name="'+CHid+'" value="'+this.getAttribute('data')+'" id="'+CHid+'" />'; let strCH = '<input type="hidden" name="'+CHid+'" value="'+this.getAttribute('data')+'" id="'+CHid+'" />';

Loading…
Cancel
Save