Showing
1 changed file
with
2 additions
and
8 deletions
| @@ -96,7 +96,7 @@ | @@ -96,7 +96,7 @@ | ||
| 96 | s3: null, | 96 | s3: null, |
| 97 | v1: null, | 97 | v1: null, |
| 98 | v2: null, | 98 | v2: null, |
| 99 | - v3: null | 99 | + v3: 'areaid' |
| 100 | }; | 100 | }; |
| 101 | </script> | 101 | </script> |
| 102 | 102 | ||
| @@ -120,13 +120,7 @@ | @@ -120,13 +120,7 @@ | ||
| 120 | <script> | 120 | <script> |
| 121 | layui.use(['table','form'], function() { | 121 | layui.use(['table','form'], function() { |
| 122 | var table = layui.table,laydate = layui.laydate,form = layui.form,$ = layui.jquery,layer = layui.layer; | 122 | var table = layui.table,laydate = layui.laydate,form = layui.form,$ = layui.jquery,layer = layui.layer; |
| 123 | - // 监听第一个下拉框的选择 | ||
| 124 | - form.on('select(cityid)', function(data){ | ||
| 125 | - alert(1); | ||
| 126 | - $('#areaid').html(''); // 清空区域下拉框 | ||
| 127 | - //$('#areaid').append('<option value="' + city + '区">' + city + '区</option>'); | ||
| 128 | - form.render('select'); // 更新区域下拉框 | ||
| 129 | - }); | 123 | + |
| 130 | var tableIn = table.render({ | 124 | var tableIn = table.render({ |
| 131 | elem: '#list', | 125 | elem: '#list', |
| 132 | url: '{:url("sellerList")}', | 126 | url: '{:url("sellerList")}', |
-
Please register or login to post a comment