{"id":205,"date":"2026-03-28T19:05:01","date_gmt":"2026-03-28T11:05:01","guid":{"rendered":"http:\/\/8.148.213.13\/?page_id=205"},"modified":"2026-03-29T19:30:18","modified_gmt":"2026-03-29T11:30:18","slug":"onlineorder","status":"publish","type":"page","link":"https:\/\/pulselogistics.cn\/index.php\/onlineorder\/","title":{"rendered":"onlineorder"},"content":{"rendered":"\n<div class=\"logistics-declaration-form\" style=\"max-width:800px;margin:0 auto;padding:30px;background:#fff;border-radius:12px;box-shadow:0 2px 15px rgba(0,0,0,0.05);\">\n    <h2 style=\"text-align:center;color:#333;margin-bottom:10px;border-bottom:2px solid #07c160;padding-bottom:15px;\">\u957f\u6c99\u8fc8\u535a\u56fd\u9645\u7269\u6d41 &#8211; \u8d27\u7269\u7533\u62a5\u5355<\/h2>\n\n    <!-- \u551b\u5934\u60ac\u6d6e\u663e\u793a\u533a\u57df -->\n    <div id=\"markNoBar\" style=\"text-align:center;background:#E6F7EE;color:#07c160;padding:12px 20px;border-radius:8px;margin-bottom:25px; font-size:17px; font-weight:bold; display:none;\">\n        \u8ba2\u5355\u551b\u5934(\u552f\u4e00)\uff1a<span id=\"showMarkNo\">MBTHA260328123<\/span>\n    <\/div>\n\n    <form method=\"post\" action=\"\" enctype=\"multipart\/form-data\" style=\"display:grid;gap:20px;\" id=\"mainForm\">\n        <?php wp_nonce_field('submit_order_action', 'order_nonce'); ?>\n        <input type=\"hidden\" name=\"order_mark_no\" id=\"order_mark_no\" value=\"\">\n        \n        <!-- \u56fd\u5bb6 + \u7ebf\u8def\u9009\u62e9\uff08\u9876\u90e8\uff09 -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u9009\u62e9\u76ee\u7684\u5730\u4e0e\u8fd0\u8f93\u7ebf\u8def<\/h3>\n            <div style=\"display:grid;grid-template-columns:1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u76ee\u7684\u56fd\u5bb6 <span style=\"color:red;\">*<\/span><\/label>\n                    <select id=\"destination_country\" name=\"destination_country\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"\">\u8bf7\u9009\u62e9\u56fd\u5bb6<\/option>\n                        <option value=\"THA\">\u6cf0\u56fd\uff08THA\uff09<\/option>\n                        <option value=\"MYS\">\u9a6c\u6765\u897f\u4e9a\uff08MYS\uff09<\/option>\n                        <option value=\"SGP\">\u65b0\u52a0\u5761\uff08SGP\uff09<\/option>\n                        <option value=\"VNM\">\u8d8a\u5357\uff08VNM\uff09<\/option>\n                        <option value=\"KHM\">\u67ec\u57d4\u5be8\uff08KHM\uff09<\/option>\n                        <option value=\"LAO\">\u8001\u631d\uff08LAO\uff09<\/option>\n                        <option value=\"MMR\">\u7f05\u7538\uff08MMR\uff09<\/option>\n                        <option value=\"IDN\">\u5370\u5ea6\u5c3c\u897f\u4e9a\uff08IDN\uff09<\/option>\n                        <option value=\"PHL\">\u83f2\u5f8b\u5bbe\uff08PHL\uff09<\/option>\n                        <option value=\"BRN\">\u6587\u83b1\uff08BRN\uff09<\/option>\n                        <option value=\"OTH\">\u5176\u4ed6\u56fd\u5bb6\uff08OTH\uff09<\/option>\n                    <\/select>\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8fd0\u8f93\u7ebf\u8def <span style=\"color:red;\">*<\/span><\/label>\n                    <select id=\"transport_line\" name=\"transport_line\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"\">\u8bf7\u9009\u62e9\u7ebf\u8def<\/option>\n                        <option value=\"\u6d77\u8fd0\">\u6d77\u8fd0<\/option>\n                        <option value=\"\u9646\u8fd0\">\u9646\u8fd0<\/option>\n                        <option value=\"\u7a7a\u8fd0\">\u7a7a\u8fd0<\/option>\n                    <\/select>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- \u56fd\u5185\u7269\u6d41\u5355\u53f7 -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u56fd\u5185\u7269\u6d41\u4fe1\u606f<\/h3>\n            <div>\n                <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u56fd\u5185\u7269\u6d41\u5355\u53f7<\/label>\n                <input type=\"text\" name=\"domestic_tracking\" placeholder=\"\u8bf7\u8f93\u5165\u56fd\u5185\u5feb\u9012\u5355\u53f7\" style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n            <\/div>\n        <\/div>\n\n        <!-- 1. \u6536\u4ef6\u4eba\u4fe1\u606f\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u4e00\u3001\u6536\u4ef6\u4eba\u4fe1\u606f<\/h3>\n            <div style=\"display:grid;grid-template-columns:1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6536\u4ef6\u4eba\u59d3\u540d <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"text\" name=\"recipient_name\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6536\u4ef6\u4eba\u7535\u8bdd <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"tel\" name=\"recipient_phone\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div style=\"grid-column:1\/-1;\">\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6536\u4ef6\u4eba\u5730\u5740\uff08\u5f53\u5730\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <textarea name=\"recipient_address\" rows=\"2\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\"><\/textarea>\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6536\u4ef6\u4eba\u90ae\u7bb1<\/label>\n                    <input type=\"email\" name=\"recipient_email\" style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6536\u4ef6\u4eba\u516c\u53f8\uff08\u5982\u6709\uff09<\/label>\n                    <input type=\"text\" name=\"recipient_company\" style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- 2. \u53d1\u4ef6\u4eba\u4fe1\u606f\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u4e8c\u3001\u53d1\u4ef6\u4eba\u4fe1\u606f<\/h3>\n            <div style=\"display:grid;grid-template-columns:1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u53d1\u4ef6\u4eba\u59d3\u540d <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"text\" name=\"sender_name\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u53d1\u4ef6\u4eba\u7535\u8bdd <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"tel\" name=\"sender_phone\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- 3. \u8d27\u7269\u57fa\u7840\u4fe1\u606f\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u4e09\u3001\u8d27\u7269\u57fa\u7840\u4fe1\u606f<\/h3>\n            <div style=\"display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u603b\u4ef6\u6570\uff08\u4ef6\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"number\" name=\"goods_total_quantity\" min=\"1\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u603b\u91cd\u91cf\uff08KG\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"number\" step=\"0.01\" name=\"goods_total_weight\" min=\"0.01\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u603b\u4f53\u79ef\uff08CBM\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"number\" step=\"0.001\" name=\"goods_total_volume\" min=\"0.001\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- 4. \u8d27\u7269\u660e\u7ec6\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u56db\u3001\u8d27\u7269\u660e\u7ec6\uff08\u8bf7\u9010\u9879\u586b\u5199\uff09 <span style=\"color:red;\">*<\/span><\/h3>\n            <div id=\"goods-details-container\" style=\"margin-bottom:15px;\">\n                <!-- \u8d27\u7269\u660e\u7ec61\uff08\u9ed8\u8ba4\u663e\u793a\uff09 -->\n                <div class=\"goods-detail-item\" style=\"padding:15px;border:1px dashed #ddd;border-radius:6px;margin-bottom:15px;\">\n                    <div style=\"display:grid;grid-template-columns:2fr 2fr 1fr 1fr 1fr;gap:15px;margin-bottom:15px;\">\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u540d\u79f0\uff08\u4e2d\u6587\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"text\" name=\"goods_name_cn[]\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u540d\u79f0\uff08\u82f1\u6587\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"text\" name=\"goods_name_en[]\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">HS\u7f16\u7801 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"text\" name=\"goods_hs_code[]\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u6570\u91cf <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"number\" min=\"1\" name=\"goods_quantity[]\" class=\"goods-quantity\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u5355\u4ef7\uff08\u5143\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"number\" step=\"0.01\" min=\"0.01\" name=\"goods_unit_price[]\" class=\"goods-unit-price\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                    <\/div>\n                    <div style=\"display:grid;grid-template-columns:3fr 2fr;gap:15px;margin-bottom:15px;\">\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u56fe\u7247 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"file\" name=\"goods_image[]\" accept=\"image\/jpg,image\/jpeg,image\/png,image\/gif\" required style=\"width:100%;padding:8px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <\/div>\n                        <div>\n                            <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u603b\u4ef7\uff08\u5143\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                            <input type=\"number\" step=\"0.01\" min=\"0.01\" name=\"goods_total_price[]\" class=\"goods-total-price\" readonly required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;background:#f9f9f9;\">\n                        <\/div>\n                    <\/div>\n                    <div>\n                        <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u7528\u9014 <span style=\"color:red;\">*<\/span><\/label>\n                        <select name=\"goods_purpose[]\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                            <option value=\"\">\u8bf7\u9009\u62e9<\/option>\n                            <option value=\"personal\">\u4e2a\u4eba\u81ea\u7528<\/option>\n                            <option value=\"commercial\">\u5546\u4e1a\u9500\u552e<\/option>\n                            <option value=\"sample\">\u6837\u54c1<\/option>\n                            <option value=\"other\">\u5176\u4ed6<\/option>\n                        <\/select>\n                    <\/div>\n                <\/div>\n            <\/div>\n            <!-- \u6dfb\u52a0\u8d27\u7269\u6309\u94ae -->\n            <button type=\"button\" id=\"add-goods-item\" style=\"padding:8px 16px;background:#f5f5f5;color:#333;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:14px;\">\n                + \u6dfb\u52a0\u66f4\u591a\u8d27\u7269\n            <\/button>\n        <\/div>\n\n        <!-- 5. \u8fd0\u8f93\u4e0e\u7533\u62a5\u4fe1\u606f\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u4e94\u3001\u8fd0\u8f93\u4e0e\u7533\u62a5\u4fe1\u606f<\/h3>\n            <div style=\"display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d38\u6613\u6761\u6b3e\uff08\u670d\u52a1\u7c7b\u578b\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <select name=\"trade_terms\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"\">\u8bf7\u9009\u62e9<\/option>\n                        <option value=\"DDP\">DDP\uff08\u53cc\u6e05\u5305\u7a0e\u5230\u95e8\uff09<\/option>\n                        <option value=\"DDU\">DDU\uff08\u53cc\u6e05\u4e0d\u5305\u7a0e\u5230\u95e8\uff09<\/option>\n                        <option value=\"FOB\">FOB\uff08\u79bb\u5cb8\u4ef7\uff09<\/option>\n                        <option value=\"CIF\">CIF\uff08\u5230\u5cb8\u4ef7\uff09<\/option>\n                        <option value=\"EXW\">EXW\uff08\u5de5\u5382\u4ea4\u8d27\uff09<\/option>\n                    <\/select>\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u9884\u8ba1\u53d1\u8d27\u65f6\u95f4<\/label>\n                    <input type=\"date\" name=\"estimated_ship_date\" style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u7533\u62a5\u603b\u4ef7\u503c\uff08\u5143\uff09 <span style=\"color:red;\">*<\/span><\/label>\n                    <input type=\"number\" step=\"0.01\" min=\"0.01\" name=\"declaration_total_value\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                <\/div>\n                <div style=\"grid-column:1\/4;\">\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u5e01\u522b <span style=\"color:red;\">*<\/span><\/label>\n                    <select name=\"currency\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"CNY\">\u4eba\u6c11\u5e01\uff08CNY\uff09<\/option>\n                        <option value=\"USD\">\u7f8e\u5143\uff08USD\uff09<\/option>\n                        <option value=\"THB\">\u6cf0\u94e2\uff08THB\uff09<\/option>\n                        <option value=\"MYR\">\u9a6c\u5e01\uff08MYR\uff09<\/option>\n                        <option value=\"SGD\">\u65b0\u5143\uff08SGD\uff09<\/option>\n                        <option value=\"BND\">\u6587\u83b1\u5143\uff08BND\uff09<\/option>\n                        <option value=\"VND\">\u8d8a\u5357\u76fe\uff08VND\uff09<\/option>\n                        <option value=\"IDR\">\u5370\u5c3c\u76fe\uff08IDR\uff09<\/option>\n                    <\/select>\n                <\/div>\n            <\/div>\n            <div style=\"margin-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:15px;\">\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u662f\u5426\u5e26\u7535 <span style=\"color:red;\">*<\/span><\/label>\n                    <select name=\"is_electric\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"\">\u8bf7\u9009\u62e9<\/option>\n                        <option value=\"yes\">\u662f<\/option>\n                        <option value=\"no\">\u5426<\/option>\n                    <\/select>\n                <\/div>\n                <div>\n                    <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u8d27\u7269\u662f\u5426\u5e26\u78c1 <span style=\"color:red;\">*<\/span><\/label>\n                    <select name=\"is_magnetic\" required style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\">\n                        <option value=\"\">\u8bf7\u9009\u62e9<\/option>\n                        <option value=\"yes\">\u662f<\/option>\n                        <option value=\"no\">\u5426<\/option>\n                    <\/select>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <!-- 6. \u7279\u6b8a\u8bf4\u660e\u533a\u57df -->\n        <div class=\"form-section\" style=\"border-left:4px solid #07c160;padding-left:15px;\">\n            <h3 style=\"color:#333;margin-top:0;\">\u516d\u3001\u7279\u6b8a\u8bf4\u660e<\/h3>\n            <div>\n                <label style=\"display:block;margin-bottom:8px;font-weight:500;color:#666;\">\u5176\u4ed6\u7279\u6b8a\u8981\u6c42\uff08\u5982\u5305\u88c5\u3001\u65f6\u6548\u7b49\uff09<\/label>\n                <textarea name=\"special_requirements\" rows=\"3\" style=\"width:100%;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;\"><\/textarea>\n            <\/div>\n        <\/div>\n\n        <!-- \u63d0\u4ea4\u6309\u94ae -->\n        <div style=\"text-align:center;margin-top:20px;\">\n            <button type=\"submit\" name=\"submit_declaration\" style=\"padding:14px 40px;background:#07c160;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:background 0.3s;\">\n                \u63d0\u4ea4\u8d27\u7269\u7533\u62a5\u5355\n            <\/button>\n        <\/div>\n    <\/form>\n<\/div>\n\n<!-- JS\uff1a\u6838\u5fc3\u529f\u80fd\uff08\u551b\u5934\u751f\u6210+\u8d27\u7269\u660e\u7ec6\u589e\u5220+\u603b\u4ef7\u81ea\u52a8\u8ba1\u7b97+\u56fe\u7247\u4e0a\u4f20\u517c\u5bb9\uff09 -->\n<script>\n\/\/ 1. \u551b\u5934\u751f\u6210\u89c4\u5219\uff1aMB+\u4e09\u4f4d\u56fd\u5bb6\u7b80\u79f0+\u4e24\u4f4d\u5e74+\u4e24\u4f4d\u6708+\u4e24\u4f4d\u65e5+\u4e09\u4f4d\u968f\u673a\u6570\nfunction generateMarkNo() {\n    let countryCode = document.getElementById('destination_country').value;\n    let line = document.getElementById('transport_line').value;\n    if (!countryCode || !line) return;\n\n    let now = new Date();\n    let year = String(now.getFullYear()).slice(-2);\n    let month = String(now.getMonth() + 1).padStart(2, '0');\n    let day = String(now.getDate()).padStart(2, '0');\n    let rand = Math.floor(100 + Math.random() * 900);\n    let markNo = \"MB\" + countryCode + year + month + day + rand;\n\n    document.getElementById('showMarkNo').innerText = markNo;\n    document.getElementById('order_mark_no').value = markNo;\n    document.getElementById('markNoBar').style.display = 'block';\n}\n\/\/ \u9009\u62e9\u56fd\u5bb6\/\u7ebf\u8def\u89e6\u53d1\u551b\u5934\u751f\u6210\ndocument.getElementById('destination_country').addEventListener('change', generateMarkNo);\ndocument.getElementById('transport_line').addEventListener('change', generateMarkNo);\n\n\/\/ 2. \u603b\u4ef7\u81ea\u52a8\u8ba1\u7b97\uff08\u6570\u91cf*\u5355\u4ef7\uff09\nfunction calcTotalPrice(el) {\n    let item = el.closest('.goods-detail-item');\n    let quantity = parseFloat(item.querySelector('.goods-quantity').value) || 0;\n    let unitPrice = parseFloat(item.querySelector('.goods-unit-price').value) || 0;\n    let totalPrice = (quantity * unitPrice).toFixed(2);\n    item.querySelector('.goods-total-price').value = totalPrice;\n}\n\/\/ \u7ed1\u5b9a\u8ba1\u7b97\u4e8b\u4ef6\ndocument.addEventListener('input', function(e) {\n    if (e.target.classList.contains('goods-quantity') || e.target.classList.contains('goods-unit-price')) {\n        calcTotalPrice(e.target);\n    }\n});\n\n\/\/ 3. \u8d27\u7269\u660e\u7ec6\u589e\u5220\uff08\u542b\u8ba1\u7b97\u4e8b\u4ef6\u7ed1\u5b9a+\u56fe\u7247\u4e0a\u4f20\u91cd\u7f6e\uff09\ndocument.getElementById('add-goods-item').addEventListener('click', function() {\n    const container = document.getElementById('goods-details-container');\n    const itemTemplate = container.querySelector('.goods-detail-item').cloneNode(true);\n    \n    \/\/ \u6e05\u7a7a\u6240\u6709\u8f93\u5165\u503c\n    const inputs = itemTemplate.querySelectorAll('input, select');\n    inputs.forEach(input => {\n        input.value = '';\n        if (input.type === 'file') input.value = '';\n    });\n    \n    \/\/ \u6dfb\u52a0\u5220\u9664\u6309\u94ae\n    const deleteBtn = document.createElement('button');\n    deleteBtn.type = 'button';\n    deleteBtn.style = 'margin-top:15px;padding:6px 12px;background:#ff4d4f;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;';\n    deleteBtn.textContent = '\u00d7 \u5220\u9664\u6b64\u8d27\u7269';\n    deleteBtn.addEventListener('click', function() {\n        container.removeChild(itemTemplate);\n    });\n    \n    itemTemplate.appendChild(deleteBtn);\n    container.appendChild(itemTemplate);\n});\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u957f\u6c99\u8fc8\u535a\u56fd\u9645\u7269\u6d41 &#8211; \u8d27\u7269\u7533\u62a5\u5355 \u8ba2\u5355\u551b\u5934(\u552f\u4e00)\uff1aMBTHA260328123 \u9009\u62e9\u76ee\u7684\u5730\u4e0e\u8fd0\u8f93 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-205","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/pages\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":4,"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/pages\/205\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/pages\/205\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/pulselogistics.cn\/index.php\/wp-json\/wp\/v2\/media?parent=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}