SOURCE


// let data = {
//     "shipmentNum": "ck1654313382466949121",
//     "pageNumber": "第1/1页",
//     "hab": "东莞市开景新材料科技有限公司",
//     "productCount": 0,
//     "operator": "admin",
//     "allPage": 1,
//     "planNum": null,
//     "allProductCount": 23,
//     "updateBy": null,
//     "companyPhone": "c",
//     "routeBz": null,
//     "newWarehouse": "委外加工仓",
//     "bz": null,
//     "allSquareNum": 9628.2,
//     "lines": 8,
//     "day": "2023-05-05",
//     "qq": null,
//     "address": "广东省东莞市南城街道广东省东莞市南城街道新农路 31 号 101 室",
//     "updateTime": "",
//     "list": [
//         {
//             "sizeLength": 1715,
//             "sizeWidth": 216,
//             "purpose": null,
//             "productBz": null,
//             "updateTime": null,
//             "unit2": "平方",
//             "units": "m²",
//             "productCount": 5,
//             "specifications": "216mm * 1715m * 5R",
//             "productName": "70g松炀热敏(客供)/50g黄格/15g胶水KJ-365-21",
//             "oldWarehouse": "生产车间仓 / 分切1号机旁",
//             "number": null,
//             "createBy": "admin",
//             "sizeWeight": null,
//             "sizeOther1": null,
//             "createTime": "2023-05-05",
//             "updateBy": null,
//             "bz": null,
//             "planId": "1654313382466949121",
//             "brand": null,
//             "squareNum": "1852.2"
//         },
//         {
//             "sizeLength": 2000,
//             "sizeWidth": 216,
//             "purpose": null,
//             "productBz": null,
//             "updateTime": null,
//             "unit2": "平方",
//             "units": "m²",
//             "productCount": 18,
//             "specifications": "216mm * 2000m * 18R",
//             "productName": "70g松炀热敏(客供)/50g黄格/15g胶水KJ-365-21",
//             "oldWarehouse": "生产车间仓 / 分切1号机旁",
//             "number": null,
//             "createBy": "admin",
//             "sizeWeight": null,
//             "sizeOther1": null,
//             "createTime": "2023-05-05",
//             "updateBy": null,
//             "bz": null,
//             "planId": "1654313382466949121",
//             "brand": null,
//             "squareNum": "7776"
//         }
//     ],
//     "createBy": "admin",
//     "createTime": "2023-05-05 10:33:41",
//     "customerTo": null,
//     "salesman": null,
//     "currentPage": 1,
//     "totalSquareNum": 0,
//     "customer": null
// }
// //你的代码,推荐在线编辑器https://jsrun.net/

// console.log("这是预处理");
// async function fetchData(productName) {
//     try {

//         // let Access = localStorage.getItem('pro__Access-Token');
//         // const token = JSON.parse(Access);
//         const token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2ODM2NjE1NjksInVzZXJuYW1lIjoiYWRtaW5pc3RyYXRvciJ9.id35iHDUOHoZSc5LTuAvQdwWHHdi1cvg8vWtV2F5LcU";
//         const response = await fetch(
//             `http://kj457320.bw-erp.com:8088/erp-boot/erp/order/getOrderListPage?pageNo=1&state=1&pageSize=1&total=0&brand=&companyName=&endTime=&preciseProductName=&customerProductName=&startTime=&showSizeChanger=true&bz=&sort=0&sizeWidthLittle=&sizeWidthBig=&sizeLengtLittle=&sizeLengtBig=&weightLittle=&weightBig=&isBigPlan=0&current=1&name=${productName}`, {
//                 headers: {
//                     'X-Access-Token': token
//                 }
//             }
//         );
//         const resData = await response.json();
//         console.log(resData.result.records[0].customerProductName);
//     } catch (error) {
//         console.error(error);
//     }
// }

// fetchData("70g松炀热敏(客供)/50g黄格/15g胶水KJ-365-21")


const header = ["08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30"]
 console.log(header.length)
console 命令行工具 X clear

                    
>
console