修复所在地打开选择框再关闭后数据丢失问题。

This commit is contained in:
Renpc-kilig 2022-02-08 11:49:05 +08:00
parent f82a8df3af
commit 5908f07d7d
4 changed files with 8 additions and 8 deletions

View File

@ -188,9 +188,9 @@
}
areaName += item.areaName;
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
initGridSelect(areaCode);
}
})

View File

@ -195,9 +195,9 @@
}
areaName += item.areaName;
}
$('#locationCode').val(areaCode);
$('#locationName').val(areaName);
}
$('#locationCode').val(areaCode);
$('#locationName').val(areaName);
initGridSelect(areaCode);
}
})

View File

@ -224,9 +224,9 @@
}
areaName += item.areaName;
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
initGridSelect(areaCode);
}
})

View File

@ -236,9 +236,9 @@
}
areaName += item.areaName;
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
}
$('#locationCode').val(areaCode);
$('#location').val(areaName);
initGridSelect(areaCode);
}
})