...
|
...
|
@@ -3,19 +3,22 @@ |
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Logo_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-logo_id" data-rule="required" data-field="logo" data-source="logo/index" class="form-control selectpage" name="row[logo_id]" type="text" value="">
|
|
|
<input id="c-logo_id" data-rule="required" data-field="logo" data-source="logo/index"
|
|
|
class="form-control selectpage" name="row[logo_id]" type="text" value="">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Class_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-class_id" data-rule="required" data-field="class" data-source="classa/index" class="form-control selectpage" name="row[class_id]" type="text" value="">
|
|
|
<input id="c-class_id" data-rule="required" data-field="class" onchange="set_next_input(this);"
|
|
|
data-source="classa/index" class="form-control selectpage" name="row[class_id]" type="text" value="">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Class_con_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-class_con_id" data-rule="required" data-field="class_con" data-source="class_con/index" class="form-control selectpage" name="row[class_con_id]" type="text" value="">
|
|
|
<input id="c-class_con_id" data-rule="required" data-field="class_con" data-source="class_con/index"
|
|
|
class="form-control selectpage" name="row[class_con_id]" type="text" value="">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group layer-footer">
|
...
|
...
|
@@ -26,3 +29,13 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</form>
|
|
|
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
|
|
<script>
|
|
|
|
|
|
function set_next_input(obj) {
|
|
|
var value_id = $('#c-class_id').val();
|
|
|
//改变下面这个框的数据源
|
|
|
$("#c-class_id_text").data("selectPageObject").option.data = 'class_con/index?pid=' + value_id;
|
|
|
|
|
|
}
|
|
|
</script> |
...
|
...
|
|