Merge remote-tracking branch 'origin/upgrade' into upgrade
This commit is contained in:
commit
aeb1dc7f65
@ -481,6 +481,8 @@
|
||||
|
||||
// 初始化单元/列数下拉列表
|
||||
function initAffiliationUnit(num) {
|
||||
var html = '<option></option>';
|
||||
$('#affiliationUnitDiv').find('select').html(html);
|
||||
if(num > 0) {
|
||||
for(var i=1; i<=num; i++) {
|
||||
var html = '<option value="' + i + '">' + i + '</option>';
|
||||
@ -495,6 +497,8 @@
|
||||
|
||||
// 初始化所在层/院数下拉列表
|
||||
function initAffiliationFloors(num) {
|
||||
var html = '<option></option>';
|
||||
$('#affiliationFloorsDiv').find('select').html(html);
|
||||
if(num > 0) {
|
||||
for(var i=1; i<=num; i++) {
|
||||
var html = '<option value="' + i + '">' + i + '</option>';
|
||||
|
Loading…
Reference in New Issue
Block a user