찾다

수색…
이 페이지에는 검색 결과가 표시됩니다
우리를 팔로우하세요:

회사 소개

친황다오 해양식품유한회사는 1960년에 설립되었으며 R&D, 생산, 판매를 통합한 종합 식품 가공 기업입니다.

빠른 링크

제품 카테고리

응용

기타 링크

저작권 © 2025 친황다오 해양식품유한회사, All Rights Reserved
' multipleHtml += '
    ' $(elMu).find("option").each(function (index,el) { var checkboxId = 'multiple_AiKPdUrRNuTI_' + thisId + '_' + index multipleHtml += '
  • ' multipleHtml += '' multipleHtml += '
  • ' }) multipleHtml += '
' $(elMu).parent().append(multipleHtml) $("#component_AiKPdUrRNuTI .multiple-select."+thisId+" ").on("click",function () { if ($("#component_AiKPdUrRNuTI .multiple-parent."+thisId+"").css("display") == "none") { $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+"").css("display", "block") } else { $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+"").css("display", "none") } }) $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+"").on("click", "li", function (e) { e.stopPropagation() e.preventDefault() var $label = $(this).children("label") var input = this.getElementsByTagName("input")[0] if (input.checked) { input.checked = false } else { input.checked = true } //获取所有选项的值 var contents = []; $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+" li").each(function (index, elem) { if (!$(elem).hasClass("group")) { var ck = $(elem).find("input")[0].checked if (ck) { var html = $(elem).children("label").html(); contents.push(html); } } }) if (contents.length > 0) { $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").empty(); for (var i = 0; i < contents.length; i++) { var span = ""+contents[i]+"×" $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").append(span) } } else { $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").empty(); var span = ""+"Please select"+"" $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").append(span) } contents = contents.map(function(item) { return item.replace(/&/g, '&'); }); $(elMu).val(contents) }); $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").on("click", ".select-delete", function (e) { e.stopPropagation() var value = $(this).parent().children(".select-value").html(); $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+" ul li").each(function (index, elem) { if ($(elem).children("label").html() == value) { elem.getElementsByTagName("input")[0].checked = false; } }) $(this).parent().remove(); var len = $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").children().length; if (len == 0) { var span = ""+"Please select"+"" $("#component_AiKPdUrRNuTI .multiple-select."+thisId+"").append(span) } var contents = []; $("#component_AiKPdUrRNuTI .multiple-parent."+thisId+" li").each(function (index, elem) { if (!$(elem).hasClass("group")) { var ck = $(elem).find("input")[0].checked if (ck) { var html = $(elem).children("label").html(); contents.push(html); } } }) contents = contents.map(function(item) { return item.replace(/&/g, '&'); }); $(elMu).val(contents) }) }) }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $);