alert('Chose a product'); return false; } if (!$('#core_id').val()) { alert('Chose a core'); return false; } if (!$('#cable_id').val()) { alert('Chose a cable'); return false; } if (!$('#length').val()) { alert('Chose a length'); return false; } //生成PDF预览 var formData = $(this).serialize(); // 先显示弹窗和 loading $('#pdfPreviewModal').fadeIn(200); $('#pdfLoadingOverlay').addClass('active'); $('#pdfPreviewFrame').attr('src', ''); $.ajax({ url: '/CableOrder/previewPdf', type: 'POST', data: formData, dataType: 'json', success: function (result) { $('#pdfLoadingOverlay').removeClass('active'); if (result.success && result.pdf_url) { var previewUrl = '/CableOrder/viewPdf?path=' + encodeURIComponent(result.pdf_url); $('#pdfPreviewFrame').attr('src', previewUrl + '#zoom=60'); $('#pdfDownloadLink').attr('href', previewUrl + '#zoom=60'); } else { alert(result.msg || '预览生成失败,请稍后重试'); } }, error: function () { $('#pdfLoadingOverlay').removeClass('active'); alert('预览生成失败,请稍后重试'); } }); }); }); // 显示PDF预览弹窗 function showPdfModal(pdfUrl) { var previewUrl = '/CableOrder/viewPdf?path=' + encodeURIComponent(pdfUrl); $('#pdfPreviewFrame').attr('src', previewUrl + '#zoom=60'); $('#pdfDownloadLink').attr('href', previewUrl + '#zoom=60'); $('#pdfPreviewModal').fadeIn(200); } // 关闭PDF预览弹窗 function closePdfModal() { $('#pdfPreviewModal').fadeOut(200, function () { $('#pdfPreviewFrame').attr('src', ''); }); } // 弹窗中提交订单 function submitOrderFromModal() { var customerName = $('#modal_customer_name').val().trim(); var phone = $('#modal_phone').val().trim(); var company = $('#modal_company').val().trim(); var email = $('#modal_email').val().trim(); var remark = $('#modal_remark').val().trim(); if (!customerName) { alert('Please enter customer name'); return false; } if (!phone) { alert('Please enter customer phone number'); return false; } if (!company) { alert('Please enter company name'); return false; } if (!email) { alert('Please enter email address'); return false; } var formData = new FormData(); formData.append('product_id', $('#product_id').val()); formData.append('core_id', $('#core_id').val()); formData.append('cable_id', $('#cable_id').val()); formData.append('length', $('#length').val()); formData.append('strip_length', $('#strip_length').val()); formData.append('customer_name', customerName); formData.append('phone', phone); formData.append('company', company); formData.append('email', email); formData.append('remark', remark); var drawingFile = $('#modal_customer_drawing')[0].files[0]; if (drawingFile) { formData.append('customer_drawing', drawingFile); } var pdfUrl = $('#pdfDownloadLink').attr('href'); if (pdfUrl) { // 从URL中提取pdf路径 var match = pdfUrl.match(/path=([^&]+)/); if (match) { formData.append('generate_drawing', decodeURIComponent(match[1])); } } $.ajax({ url: '/CableOrder/submitOrder', type: 'POST', data: formData, processData: false, contentType: false, dataType: 'json', success: function (result) { if (result.success) { alert('提交成功!我们会尽快与您联系。'); closePdfModal(); $('#cableOrderForm')[0].reset(); $('#core_id').html(''); $('#cable_id').html(''); $('#modal_customer_name').val(''); $('#modal_phone').val(''); $('#modal_company').val(''); $('#modal_email').val(''); $('#modal_remark').val(''); $('#modal_customer_drawing').val(''); } else { alert(result.msg || '提交失败,请稍后重试'); } }, error: function () { alert('提交失败,请稍后重试'); } }); } // 点击弹窗背景不关闭,仅通过关闭按钮或右上角X关闭

News

Honghe Technology: In the first quarter of 2025, the company’s LED and commercial display business in the US market achieved significant revenue breakthroughs

April 28th, Honghe Technology stated in a conference call on April 27th that the first quarter of 2025 will be affected by overseas markets, resulting in a decline in gross profit margin and net profit. The main reason is that the market size of educational interactive tablet products in North America has declined, and the major bids in hand in Europe have not yet begun delivery in the first quarter, and will gradually enter delivery in the second quarter. In the U.S. market, based on the high share and high recognition of the company's global commercial brand newline, the company continues to develop new products and technologies, including LED and commercial display hardware products, as well as new AI technology applications, information release business software, etc. In the first quarter of 2025, the LED and commercial display business achieved significant revenue breakthroughs, and at the same time successfully completed the first high-value sales of application software in the US market. It is expected that the proportion of revenue from new products and new businesses will further increase by the end of the year.

CONTACT US

Contact: James Zhang

Phone: +86 13823393905

E-mail: jnjdz@jnjdz.com

Add: 2nd Floor, Building 4.Qiangrong East hdustrial Zone, JuweiCommunity,HangchengStreet, Eao'an District, ShenZhen

WhatsApp