下拉搜索

小咪咪 2023-06-10 14:30 4阅读 0赞

-————————————————————————————-后台————————————————————————————————————

  1. List<DeliveryStore> deliveryStoreList = deliveryStoreService.getAll(getCurrentUser().getTenantId());
  2. model.addAttribute("deliveryStoreList", deliveryStoreList);

-————————————————————————————-页面————————————————————————————————————

$(function(){
//初始化下拉多选搜索框
$(“#shopId”).select2({
allowClear:true
})

})

var shopId = $(“#shopId”).val();
if(shopId == null || shopId == ‘’){
layer.alert(“请选择参与的门店”,{icon:0});
}

发表评论

表情:
评论列表 (有 0 条评论,4人围观)

还没有评论,来说两句吧...

相关阅读

    相关 搜索

    今天一上就做出来这么个玩意,真的伤。。。 不过总算是做出来,样式勉强能看。有需要的可以参考一下 代码没有提炼 比较乱就是,先看下具体样式吧 ![70][] css