<input >

 

====================

data-params='{"custom[group_id]":"1"}'  

条件查询只需加入上面这句代码

==============================

二级联动  :

$("#c-cp_trans_ids").data("params", function (obj) {
    return {custom: {type: $("#c-cp_trans_id").val()}};
});

第二种方法:

 $(document).on("change", "#c-category1", function () {
                $.post("mall/goods/brands/selectpage",{custom: {catId: $(this).val()},},function(result){
                    var i = $('#c-brandId').val();
                    $('#c-brandId').selectPageData(result.list);
                    $('#c-brandId').val(i);
                    $('#c-brandId').selectPageRefresh();
                });                    
            });

=================
不成功,在研究.....

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2021-08-17
  • 2021-11-19
  • 2021-10-15
  • 2022-12-23
猜你喜欢
  • 2021-04-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-19
  • 2022-12-23
相关资源
相似解决方案