| | |
| | | $("#classes").trigger("change"); |
| | | |
| | | //选择路由类型下拉框,控制相关输入项显示 |
| | | $("#RouterType").on("change", function () { |
| | | $("#routerType").on("change", function () { |
| | | $(".router-type-span").hide(); |
| | | $(".router-type-span-" + $(this).val()).show(); |
| | | }); |
| | | |
| | | $("#RouterType").trigger("change"); |
| | | $("#routerType").trigger("change"); |
| | | |
| | | $(document).on("click", ".action-modal-edit", function() { |
| | | var id = $(this).data("id"); |
| | |
| | | |
| | | //设置类别 |
| | | $("#classes").trigger("change"); |
| | | |
| | | //设置路由 |
| | | $("#routerType").trigger("change"); |
| | | |
| | | //设置图标 |
| | | $("#icon").trigger("change"); |
| | |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label"> |
| | | 所属产品类别</label> |
| | | 所属产品类别 <span style="color:red">*</span></label> |
| | | <div class="col-sm-4 "> |
| | | <select name="parentId" id="parentId" class="form-control"> |
| | | <%=GetProductClassOptions("0")%> |
| | |
| | | <label class="col-sm-2 control-label"> |
| | | 通道路由</label> |
| | | <div class="col-sm-4"> |
| | | <select name="RouterType" id="RouterType" class="form-control"> |
| | | <select name="routerType" id="routerType" class="form-control"> |
| | | <option value="1" >指定通道路由</option> |
| | | <option value="3" >通道组路由模式</option> |
| | | </select> |