Commit f0470fbc1ceabaefaad090980a344ecf16d66c38

Authored by pengye
1 parent 81e51f6f

no message

Showing 1 changed file with 1 additions and 18 deletions
@@ -46,24 +46,7 @@ function treeSelect(config) { @@ -46,24 +46,7 @@ function treeSelect(config) {
46 }); 46 });
47 } 47 }
48 function areaEvent(data) { 48 function areaEvent(data) {
49 - $form.find('select[name=' + config.s3 + ']').html("");  
50 - config.v2 = data.value ? data.value : config.v2;  
51 - $.each(threeSelectData, function (k, v) {  
52 - if (v.val == config.v1) {  
53 - if (v.items) {  
54 - $.each(v.items, function (kt, vt) {  
55 - if (vt.val == config.v2) {  
56 - $.each(vt.items, function (ka, va) {  
57 -  
58 - appendOptionTo($form.find('select[name=' + config.s3 + ']'), ka, va, config.v3, ka);  
59 - });  
60 - }  
61 - });  
62 - }  
63 - }  
64 - });  
65 - form.render();  
66 - form.on('select(' + config.s3 + ')', function (data) { }); 49 +
67 } 50 }
68 function appendOptionTo($o, k, v, d,cks) { 51 function appendOptionTo($o, k, v, d,cks) {
69 var $opt = $("<option>").text(k).val(v); 52 var $opt = $("<option>").text(k).val(v);