$('.required:not(.final_price)').each(function() {
    if (!$(this).val()) {
        error_count ++;
        if ($(this).hasClass('sku')) {
            layer.tips('请填写规格',$(this));
        } else if($(this).hasClass('visit_price')) {
            layer.tips('请填写预付款',$(this));
        } else {
            layer.tips('请填写内容',$(this));
        }
        return false;
    }
});

相关文章:

  • 2021-10-05
  • 2021-07-15
  • 2021-12-09
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案