This commit is contained in:
xuhe@fangjia.com
2018-05-07 17:17:30 +08:00
parent cf67081614
commit 76636f1122
2 changed files with 47 additions and 7 deletions
+12 -1
View File
@@ -1580,7 +1580,18 @@ $("#input_floor").picker({
textAlign: 'center',
values: getfloorHeight()
}
]
],onOpen:function(p){
//
var input_floor = $("#input_floor").val();
var num = input_floor.replace(/第/g,"").replace(/层/g,"").replace(/共/g,"").split(" ");
if(num[0]!=null &&num[0]!=undefined){
p.cols[0].setValue('第'+num[0]+'层')
}
if(num[1]!=null &&num[1]!=undefined){
p.cols[1].setValue('共'+num[1]+'层')
}
}
});
/* 选择-目前状态 */