Commit faca0f50a3b51a7971b75d907d450857405191f7
1 parent
adcc16b3
1.
Showing
1 changed file
with
4 additions
and
1 deletions
src/main/resources/static/pages/base/stationroute/edit_stationroute_step2.html
| @@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
| 61 | <span class="required"> * </span> 站点编码 : | 61 | <span class="required"> * </span> 站点编码 : |
| 62 | </label> | 62 | </label> |
| 63 | <div class="col-md-6"> | 63 | <div class="col-md-6"> |
| 64 | - <input type="text" class="form-control" name="station.stationCode" id="stationCodInput" placeholder="站点编码" readonly="readonly" /> | 64 | + <input type="text" class="form-control" name="station.stationCode" id="stationCodInput" placeholder="站点编码" /> |
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </div> | 67 | </div> |
| @@ -209,6 +209,9 @@ $('#edit_stationroute_step2_modal').on('modal.show', function(event){ | @@ -209,6 +209,9 @@ $('#edit_stationroute_step2_modal').on('modal.show', function(event){ | ||
| 209 | RoutesOperation.openStationRouteInfoWin(stationArray[editStationRoute.id]); | 209 | RoutesOperation.openStationRouteInfoWin(stationArray[editStationRoute.id]); |
| 210 | }, 1000); | 210 | }, 1000); |
| 211 | } | 211 | } |
| 212 | + $('#stationCodInput').on('change', function() { | ||
| 213 | + $('#stationIdInput').val($(this).val()) | ||
| 214 | + }) | ||
| 212 | // 编辑表单元素 | 215 | // 编辑表单元素 |
| 213 | var form = $('#edit_stationroute_form'); | 216 | var form = $('#edit_stationroute_form'); |
| 214 | // 获取错误提示元素 | 217 | // 获取错误提示元素 |