|
...
|
...
|
@@ -24,7 +24,7 @@ function treeSelect(config) { |
|
|
|
});
|
|
|
|
form.render();
|
|
|
|
cityEvent(config);
|
|
|
|
areaEvent(config);
|
|
|
|
//areaEvent(config);
|
|
|
|
form.on('select(' + config.s1 + ')', function (data) {
|
|
|
|
cityEvent(data);
|
|
|
|
//form.on('select(' + config.s2 + ')', function (data) {
|
|
...
|
...
|
@@ -47,7 +47,7 @@ function treeSelect(config) { |
|
|
|
});
|
|
|
|
form.render();
|
|
|
|
config.v2 = $('select[name=' + config.s2 + ']').val();
|
|
|
|
areaEvent(config);
|
|
|
|
//areaEvent(config);
|
|
|
|
}
|
|
|
|
function areaEvent(data) {
|
|
|
|
$form.find('select[name=' + config.s3 + ']').html("");
|
...
|
...
|
|