<% let urlParams = new URLSearchParams(window.location.search); if(urlParams.has('id')) { %> 食材符合中文統一名稱:黑色字體, 不符合:橘色字體, 俗名:黑色中空字體 <% } %> <% if(urlParams.has('id')) { %> <% } %>
食材產品名稱製造商 驗證章Q或
原料產地(國)
供應商
<% _.each(data, function(ingredient) { %> <% if(ingredient.StockDate) { %> <% if(urlParams.has('id')) { %> <% } %>
<% if(!urlParams.has('id')) { %> <%- ingredient.IngredientName %> <% } else if (ingredient.standardIngredientName != '' && ingredient.IngredientName != ingredient.standardIngredientName) { %> <%- ingredient.IngredientName %>
(<%- ingredient.standardIngredientName%>) <% } else if (ingredient.standardIngredientName == '') { %> <%- ingredient.IngredientName %> <% } else if (ingredient.IngredientName == ingredient.standardIngredientName) { %> <%- ingredient.IngredientName %> <% } %> <% if(ingredient.IngredientAttr == "6" || ingredient.IngredientAttr == "4" || ingredient.IngredientAttr == "2"){ %> 基改 <% }; %>
<%- ingredient.ProductName || '一'%><%- ingredient.Manufacturer || '一' %> <% if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification.toUpperCase()=='SN' || ingredient.Certification[0].SourceCertification == '神農履歷' )){ %> 神農履歷 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification.toUpperCase()=='CAS' || ingredient.Certification[0].SourceCertification.toUpperCase() == '臺灣優良農產品(CAS)' ) ) { %> 臺灣優良農產品(CAS) <% } else if(ingredient.Certification[0].CertificationId && (ingredient.Certification[0].SourceCertification.toUpperCase()=='TGAP' || ingredient.Certification[0].SourceCertification.toUpperCase()=='TAP' || ingredient.Certification[0].SourceCertification.toUpperCase()=='TAFT' || ingredient.Certification[0].SourceCertification == '產銷履歷' )){ %> 產銷履歷 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='有機' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'ORGANIC' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'CAS有機農產品' || ingredient.Certification[0].SourceCertification.toUpperCase() == '臺灣有機農產品' ) ){ %> 臺灣有機農產品 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='吉園圃' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'GAPS' ) ) { %> 吉園圃 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='生產追溯' || ingredient.Certification[0].SourceCertification=='溯源農糧產品' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS' ) ) { %> 溯源農糧產品 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='溯源水產品' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_AQUATIC' ) ) { %> 溯源水產品 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='溯源畜禽產品-牛肉' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_BEEF' ) ) { %> 溯源畜禽產品-牛肉 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='雞蛋溯源標籤' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_EGG' || ingredient.Certification[0].SourceCertification=='溯源畜禽產品-洗選蛋' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_WASHEGG' ) ) { %> <% if( ingredient.Certification[0].SourceCertification=='雞蛋溯源標籤' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_EGG' ) { %> 雞蛋溯源標籤 <% } else { %> 溯源畜禽產品-洗選蛋 <% } %> <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='國產生鮮豬肉追溯碼' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_PORK' ) ) { %> 國產生鮮豬肉追溯碼 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='禽肉屠宰衛生檢查合格標誌追溯條碼' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_POULTRY' ) ) { %> 禽肉屠宰衛生檢查合格標誌追溯條碼 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='國產鵪鶉蛋溯源標籤' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_QUAILEGG' ) ) { %> 國產鵪鶉蛋溯源標籤 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='洗選鮮蛋噴印溯源' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'JETPRT_EGG' ) ) { %> 洗選鮮蛋噴印溯源 <% } else if(ingredient.Certification[0].CertificationId && ( ingredient.Certification[0].SourceCertification=='溯源畜禽產品-鴨蛋' || ingredient.Certification[0].SourceCertification.toUpperCase() == 'PTS_DUCKEGG' ) ) { %> 溯源畜禽產品-鴨蛋 <% } else if(ingredient.Certification[0].SourceCertification){ %> <%- ingredient.Certification[0].SourceCertification %> <% } %>

<%- ingredient.IngredientSourceNameList || "一" %>

<% if( ingredient.fdaInfo && ingredient.fdaInfo.length > 0 ){ %> FDA <% }; %> <%- ingredient.SupplierName %>
<% } %> <% }); %>