JavaScripts 小脚本实现格式化打印
const text = String.raw`{"success":true,"code":0,"message":null,"body":{"items":[{"isNonStandard":false,"productId":1813,"skuNumber":"H00027","manufacturerPartNumber":"MHMF082L1V2M","attributesJson":{"产品名称":"A6 伺服电机","功率(W)":"750","惯量":"高惯量","是否带刹车":"带刹车","轴型":"带键带螺纹","适用驱动":"22A","线缆代号":"A2","描述":"轴径(mm):19;框架尺寸(mm):80;额定扭矩(N·M):2.39;额定转速(RPM):3000;最大转速(RPM):6500;电压规格(V):200240V"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":false,"blackCardPrice":0.0,"price":1696.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服电机/驱动器","appliedPrice":1696.00,"appliedPriceSub":"1696","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0014015-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0014015-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"广东省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":14015,"mimeType":"image/jpeg","seoFilename":"-a6","isNew":false,"isTransient":false,"updatedOnUtc":"2018-03-26 02:59:44","filename":"电机","pictureUrl":"0014015-0.jpg","thumbUrl":"/Media/Thumbs/320/0014015-0.jpg","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1813,"skuNumber":"H58007","manufacturerPartNumber":"MSMF012L1V2M","attributesJson":{"产品名称":"A6 伺服电机","功率(W)":"100","惯量":"低惯量","是否带刹车":"带刹车","轴型":"带键带螺纹","适用驱动":"6A","线缆代号":"A2","描述":"轴径(mm):8;框架尺寸(mm):38;额定扭矩(N·M):0.32;额定转速(RPM):3000;最大转速(RPM):6000;电压规格(V):200240V"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1303.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服电机/驱动器","appliedPrice":1303.00,"appliedPriceSub":"1303","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0014015-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0014015-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":14015,"mimeType":"image/jpeg","seoFilename":"-a6","isNew":false,"isTransient":false,"updatedOnUtc":"2018-03-26 02:59:44","filename":"电机","pictureUrl":"0014015-0.jpg","thumbUrl":"/Media/Thumbs/320/0014015-0.jpg","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":31979,"skuNumber":"H94917","manufacturerPartNumber":"FX-551-C2","attributesJson":{"种类":"电缆型","投光元件":"红色LED","输出类型":"NPN","输出动作":"入光时ON/非入光时ON 切换式","连接方式":"导线引出型","电缆":"2m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FX-550","orderCode":null,"isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":298.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":138.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 数字光纤传感器 FX-550","appliedPrice":138.00,"appliedPriceSub":"138","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":3,"dynamicDeliveryTimeName":"3日发货","defaultPictureUrl":"0038651-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038651-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38651,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 17:10:01","filename":null,"pictureUrl":"0038651-0.png","thumbUrl":"/Media/Thumbs/320/0038651-0.png","displayOrder":0},{"id":107565,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-09 18:23:46","filename":"FX-550.png","pictureUrl":"0107565-0.png","thumbUrl":"/Media/Thumbs/320/0107565-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":17697,"skuNumber":"H42573","manufacturerPartNumber":"PM-L25","attributesJson":{"种类":"L型","检测距离":"6mm","导线长度":"1m","输出类型":"NPN","动作模式":"NO/NC","描述":"标准型"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"PM","orderCode":null,"isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":86.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":false,"blackCardPrice":0.0,"price":49.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic PM-25系列 U型微型光电传感器","appliedPrice":49.00,"appliedPriceSub":"49","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038643-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038643-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38643,"mimeType":"image/png","seoFilename":"-pm-25-u","isNew":true,"isTransient":false,"updatedOnUtc":"2020-10-21 07:00:24","filename":null,"pictureUrl":"0038643-0.png","thumbUrl":"/Media/Thumbs/320/0038643-0.png","displayOrder":27}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32043,"skuNumber":"H56418","manufacturerPartNumber":"PM-Y45","attributesJson":{"描述":"小型・电缆型","种类":"Y型","输出":"NPN","检测距离":"6mm","输出动作":"入光时ON/遮光时ON 装备2种输出","电缆长度":"1m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"PM-45","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":86.0000,"isFixedPrice":false,"dropShip":false,"allowOutOfStockOrders":false,"blackCardPrice":0.0,"price":49.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 放大器内置 U型微型光电传感器PM-45","appliedPrice":49.00,"appliedPriceSub":"49","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0107822-0.png","defaultThumbUrl":"/Media/Thumbs/320/0107822-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":107822,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 15:44:39","filename":"image.png","pictureUrl":"0107822-0.png","thumbUrl":"/Media/Thumbs/320/0107822-0.png","displayOrder":0},{"id":113276,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-10-20 11:00:44","filename":"H56418.png","pictureUrl":"0113276-0.png","thumbUrl":"/Media/Thumbs/320/0113276-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1842,"skuNumber":"HA4649","manufacturerPartNumber":"AFPX0E40TD","attributesJson":{"产品名称":"扩展模块","输入点数":"24","输出点数":"16","输出类型":"晶体管"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FP-X0系列","orderCode":null,"isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":728.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic FP-X/FP-X0系列 扩展单元","appliedPrice":728.00,"appliedPriceSub":"728","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0043142-0.png","defaultThumbUrl":"/Media/Thumbs/320/0043142-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":43142,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-09-02 11:45:43","filename":".png","pictureUrl":"0043142-0.png","thumbUrl":"/Media/Thumbs/320/0043142-0.png","displayOrder":52}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1813,"skuNumber":"H06370","manufacturerPartNumber":"MHMF022L1V2M","attributesJson":{"产品名称":"A6 伺服电机","功率(W)":"200","惯量":"高惯量","是否带刹车":"带刹车","轴型":"带键带螺纹","适用驱动":"8A","线缆代号":"A2","描述":"轴径(mm):11;框架尺寸(mm):60;额定扭矩(N·M):0.64;额定转速(RPM):3000;最大转速(RPM):6500;电压规格(V):200240V"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1431.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服电机/驱动器","appliedPrice":1431.00,"appliedPriceSub":"1431","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0014015-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0014015-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":14015,"mimeType":"image/jpeg","seoFilename":"-a6","isNew":false,"isTransient":false,"updatedOnUtc":"2018-03-26 02:59:44","filename":"电机","pictureUrl":"0014015-0.jpg","thumbUrl":"/Media/Thumbs/320/0014015-0.jpg","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1813,"skuNumber":"H24485","manufacturerPartNumber":"MSMF082L1U2M","attributesJson":{"产品名称":"A6 伺服电机","功率(W)":"750","惯量":"低惯量","是否带刹车":"不带刹车","轴型":"带键带螺纹","适用驱动":"22A","线缆代号":"A1","描述":"轴径(mm):19;框架尺寸(mm):80;额定扭矩(N·M):2.39;额定转速(RPM):3000;最大转速(RPM):6000;电压规格(V):200240V"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1058.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服电机/驱动器","appliedPrice":1058.00,"appliedPriceSub":"1058","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0014015-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0014015-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"广东省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":14015,"mimeType":"image/jpeg","seoFilename":"-a6","isNew":false,"isTransient":false,"updatedOnUtc":"2018-03-26 02:59:44","filename":"电机","pictureUrl":"0014015-0.jpg","thumbUrl":"/Media/Thumbs/320/0014015-0.jpg","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":31978,"skuNumber":"H02981","manufacturerPartNumber":"FX-501-C2","attributesJson":{"种类":"电缆型","输出类型":"NPN","投光元件":"红色LED","输出动作":"可用L/D模式切换入光时ON或或非入光时ON","连接方式":"导线引出型","电缆长度":"2m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FX-500","orderCode":null,"isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":180.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":false,"blackCardPrice":0.0,"price":188.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 数字光纤传感器 FX-500 Ver.2","appliedPrice":188.00,"appliedPriceSub":"188","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038637-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038637-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38637,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 16:46:58","filename":null,"pictureUrl":"0038637-0.png","thumbUrl":"/Media/Thumbs/320/0038637-0.png","displayOrder":0},{"id":106298,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-08-29 15:18:34","filename":"光纤传感器FX-500.png","pictureUrl":"0106298-0.png","thumbUrl":"/Media/Thumbs/320/0106298-0.png","displayOrder":0},{"id":106310,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-08-29 18:17:07","filename":"光纤传感器FX-500带线.png","pictureUrl":"0106310-0.png","thumbUrl":"/Media/Thumbs/320/0106310-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":17220,"skuNumber":"H70110","manufacturerPartNumber":"MDDLN55SE","attributesJson":{"功率(W)":"1500W/1000W小惯量/900W大惯量","产品名称":"A6 伺服驱动器","外形型号":"D型","安全功能":"N【无安全功能】","额定电流":"40A","电源电压规格":"单相/三相 200V","I/F规格":"模拟/脉冲","功能区分":"通用型(脉冲列专用)"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":2115.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服驱动器","appliedPrice":2115.00,"appliedPriceSub":"2115","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0036295-0.png","defaultThumbUrl":"/Media/Thumbs/320/0036295-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":36295,"mimeType":"image/png","seoFilename":"-a6","isNew":true,"isTransient":false,"updatedOnUtc":"2020-03-30 09:25:07","filename":"SE.png","pictureUrl":"0036295-0.png","thumbUrl":"/Media/Thumbs/320/0036295-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":17220,"skuNumber":"H18476","manufacturerPartNumber":"MADLN05SG","attributesJson":{"功率(W)":"50/100","产品名称":"A6 伺服驱动器","外形型号":"A型","安全功能":"N【无安全功能】","额定电流":"6A","电源电压规格":"单相/三相 200V","I/F规格":"模拟/脉冲","功能区分":"通用通信型(脉冲列专用、RS232/RS485)"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1357.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服驱动器","appliedPrice":1357.00,"appliedPriceSub":"1357","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0036292-0.png","defaultThumbUrl":"/Media/Thumbs/320/0036292-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":36292,"mimeType":"image/png","seoFilename":"-a6","isNew":true,"isTransient":false,"updatedOnUtc":"2020-03-30 09:25:07","filename":"SG.png","pictureUrl":"0036292-0.png","thumbUrl":"/Media/Thumbs/320/0036292-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":17220,"skuNumber":"H60023","manufacturerPartNumber":"MADLN05BE","attributesJson":{"功率(W)":"50/100","产品名称":"A6 伺服驱动器","外形型号":"A型","安全功能":"N【无安全功能】","额定电流":"6A","电源电压规格":"单相/三相 200V","I/F规格":"EtherCAT","功能区分":"无安全功能"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1506.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服驱动器","appliedPrice":1506.00,"appliedPriceSub":"1506","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0036302-0.png","defaultThumbUrl":"/Media/Thumbs/320/0036302-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":36302,"mimeType":"image/png","seoFilename":"-a6","isNew":true,"isTransient":false,"updatedOnUtc":"2020-03-31 06:42:02","filename":"BF.png","pictureUrl":"0036302-0.png","thumbUrl":"/Media/Thumbs/320/0036302-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null}],"pager":{"pageIndex":3,"pageSize":12,"total":1000,"totalPage":84,"sorting":null,"sortType":0}}}>>>>>>>>>>>>>>>
{"success":true,"code":0,"message":null,"body":{"items":[{"isNonStandard":false,"productId":1813,"skuNumber":"H01167","manufacturerPartNumber":"MSMF022L1U2M","attributesJson":{"产品名称":"A6 伺服电机","功率(W)":"200","惯量":"低惯量","是否带刹车":"不带刹车","轴型":"带键带螺纹","适用驱动":"8A","线缆代号":"A1","描述":"轴径(mm):11;框架尺寸(mm):60;额定扭矩(N·M):0.64;额定转速(RPM):3000;最大转速(RPM):6000;电压规格(V):200240V"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"A6","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":864.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic A6系列 伺服电机/驱动器","appliedPrice":864.00,"appliedPriceSub":"864","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0014015-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0014015-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":14015,"mimeType":"image/jpeg","seoFilename":"-a6","isNew":false,"isTransient":false,"updatedOnUtc":"2018-03-26 02:59:44","filename":"电机","pictureUrl":"0014015-0.jpg","thumbUrl":"/Media/Thumbs/320/0014015-0.jpg","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32046,"skuNumber":"H88932","manufacturerPartNumber":"GX-F8A","attributesJson":{"种类":"GX-8型","形状":"方型","检测类型":"正面检测","输出类型":"NPN","检测距离":"0~2.1mm/2.5mmMAX","输出动作":"接近时ON","导线长度":"1m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"GX-F/H","orderCode":null,"isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":75.6250,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":60.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 方型接近传感器GX-F/H","appliedPrice":60.00,"appliedPriceSub":"60","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":3,"dynamicDeliveryTimeName":"3日发货","defaultPictureUrl":"0038697-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038697-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38697,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-27 15:10:54","filename":null,"pictureUrl":"0038697-0.png","thumbUrl":"/Media/Thumbs/320/0038697-0.png","displayOrder":0},{"id":107764,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 14:14:01","filename":"image.png","pictureUrl":"0107764-0.png","thumbUrl":"/Media/Thumbs/320/0107764-0.png","displayOrder":0},{"id":107766,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 14:15:42","filename":"image.png","pictureUrl":"0107766-0.png","thumbUrl":"/Media/Thumbs/320/0107766-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32020,"skuNumber":"H06248","manufacturerPartNumber":"CX-421","attributesJson":{"种类":"扩散反射型","输出":"NPN","检测距离":"300mm","输出动作":"入光时ON/非入光时ON","电缆":"2m","描述":""},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"CX-400","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":true,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":99.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 小型光电传感器(放大器内置)CX-400","appliedPrice":99.00,"appliedPriceSub":"99","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038623-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038623-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38623,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 15:46:18","filename":null,"pictureUrl":"0038623-0.png","thumbUrl":"/Media/Thumbs/320/0038623-0.png","displayOrder":0},{"id":106656,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:45","filename":"CX-414 2.png","pictureUrl":"0106656-0.png","thumbUrl":"/Media/Thumbs/320/0106656-0.png","displayOrder":0},{"id":106657,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:52","filename":"CX-441 2.png","pictureUrl":"0106657-0.png","thumbUrl":"/Media/Thumbs/320/0106657-0.png","displayOrder":0},{"id":106659,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:52","filename":"CX-440 1.png","pictureUrl":"0106659-0.png","thumbUrl":"/Media/Thumbs/320/0106659-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32020,"skuNumber":"H62369","manufacturerPartNumber":"CX-411-P","attributesJson":{"种类":"透过型","输出":"PNP","检测距离":"10m","输出动作":"入光时ON/非入光时ON","电缆":"2m","描述":""},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"CX-400","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"对","packUom":"对","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":141.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 小型光电传感器(放大器内置)CX-400","appliedPrice":141.00,"appliedPriceSub":"141","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038622-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038622-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1对","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38622,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 15:44:37","filename":null,"pictureUrl":"0038622-0.png","thumbUrl":"/Media/Thumbs/320/0038622-0.png","displayOrder":0},{"id":106656,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:45","filename":"CX-414 2.png","pictureUrl":"0106656-0.png","thumbUrl":"/Media/Thumbs/320/0106656-0.png","displayOrder":0},{"id":106657,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:52","filename":"CX-441 2.png","pictureUrl":"0106657-0.png","thumbUrl":"/Media/Thumbs/320/0106657-0.png","displayOrder":0},{"id":106659,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-02 17:47:52","filename":"CX-440 1.png","pictureUrl":"0106659-0.png","thumbUrl":"/Media/Thumbs/320/0106659-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32023,"skuNumber":"H50376","manufacturerPartNumber":"EX-14A","attributesJson":{"种类":"正面检测","输出":"NPN","检测距离":"2~25mm","输出动作":"入光时ON","电缆":"2m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"EX-10","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":true,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":175.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":116.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 超薄型光电传感器(放大器内置)EX-10","appliedPrice":116.00,"appliedPriceSub":"116","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038599-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038599-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38599,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 13:50:24","filename":null,"pictureUrl":"0038599-0.png","thumbUrl":"/Media/Thumbs/320/0038599-0.png","displayOrder":0},{"id":38599,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 13:50:24","filename":null,"pictureUrl":"0038599-0.png","thumbUrl":"/Media/Thumbs/320/0038599-0.png","displayOrder":0},{"id":38599,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 13:50:24","filename":null,"pictureUrl":"0038599-0.png","thumbUrl":"/Media/Thumbs/320/0038599-0.png","displayOrder":0},{"id":38599,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 13:50:24","filename":null,"pictureUrl":"0038599-0.png","thumbUrl":"/Media/Thumbs/320/0038599-0.png","displayOrder":0},{"id":106853,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-06 00:57:34","filename":"EX-10-1.png","pictureUrl":"0106853-0.png","thumbUrl":"/Media/Thumbs/320/0106853-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32023,"skuNumber":"H92830","manufacturerPartNumber":"EX-11A","attributesJson":{"种类":"正面检测","输出":"NPN","检测距离":"150mm","输出动作":"入光时ON","电缆":"2m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"EX-10","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"对","packUom":"对","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":165.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":143.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 超薄型光电传感器(放大器内置)EX-10","appliedPrice":143.00,"appliedPriceSub":"143","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0038602-0.png","defaultThumbUrl":"/Media/Thumbs/320/0038602-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1对","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":38602,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 14:01:36","filename":null,"pictureUrl":"0038602-0.png","thumbUrl":"/Media/Thumbs/320/0038602-0.png","displayOrder":0},{"id":38602,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 14:01:36","filename":null,"pictureUrl":"0038602-0.png","thumbUrl":"/Media/Thumbs/320/0038602-0.png","displayOrder":0},{"id":38602,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 14:01:36","filename":null,"pictureUrl":"0038602-0.png","thumbUrl":"/Media/Thumbs/320/0038602-0.png","displayOrder":0},{"id":38602,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-05-25 14:01:36","filename":null,"pictureUrl":"0038602-0.png","thumbUrl":"/Media/Thumbs/320/0038602-0.png","displayOrder":0},{"id":106853,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-06 00:57:34","filename":"EX-10-1.png","pictureUrl":"0106853-0.png","thumbUrl":"/Media/Thumbs/320/0106853-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32042,"skuNumber":"H04408","manufacturerPartNumber":"PM-Y65","attributesJson":{"描述":"小型・连接器内置型","种类":"Y型","输出":"NPN","检测距离":"6mm","输出动作":"入光时ON/遮光时ON 装备2种输出","连接方式":"接插件型"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"PM-65","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":48.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":49.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 放大器内置 U型微型光电传感器PM-65","appliedPrice":49.00,"appliedPriceSub":"49","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0107748-0.png","defaultThumbUrl":"/Media/Thumbs/320/0107748-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"上海市","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":107748,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 13:53:51","filename":"image.png","pictureUrl":"0107748-0.png","thumbUrl":"/Media/Thumbs/320/0107748-0.png","displayOrder":0},{"id":107840,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 17:16:23","filename":"image.png","pictureUrl":"0107840-0.png","thumbUrl":"/Media/Thumbs/320/0107840-0.png","displayOrder":0},{"id":107841,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 17:16:54","filename":"image.png","pictureUrl":"0107841-0.png","thumbUrl":"/Media/Thumbs/320/0107841-0.png","displayOrder":0},{"id":107842,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 17:17:30","filename":"image.png","pictureUrl":"0107842-0.png","thumbUrl":"/Media/Thumbs/320/0107842-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":2162,"skuNumber":"HU9238","manufacturerPartNumber":"FD-35G","attributesJson":{"弯曲半径(mm)":"R15","光纤长度":"1m","检测类型":"反射型","螺纹外径":"M3","FX-100检测距离":"50","FX-500检测距离":"140","光纤形状":"螺纹型","适配放大器":"FX-101-CC2或FX-101P-CC2","产品名称":"光纤头"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FD","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":63.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic FT/FD系列 光纤传感器","appliedPrice":63.00,"appliedPriceSub":"63","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0036080-0.png","defaultThumbUrl":"/Media/Thumbs/320/0036080-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":36080,"mimeType":"image/png","seoFilename":"-ft/fd-","isNew":true,"isTransient":false,"updatedOnUtc":"2020-04-21 08:40:43","filename":null,"pictureUrl":"0036080-0.png","thumbUrl":"/Media/Thumbs/320/0036080-0.png","displayOrder":24}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1544,"skuNumber":"H20645","manufacturerPartNumber":"AFPXHC30T","attributesJson":{"输入点数":"14","输出点数":"16","输出类型":"晶体管NPN","产品名称":"CPU单元"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FP-XH系列","orderCode":"AFPXHC30T-F","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":1150.0000,"isFixedPrice":false,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":1206.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic FP-X/FP-XH系列 可编程控制器 基本CPU单元","appliedPrice":1206.00,"appliedPriceSub":"1206","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0006391-0.png","defaultThumbUrl":"/Media/Thumbs/320/0006391-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":6391,"mimeType":"image/png","seoFilename":"-fp-x/fp-xh-cpu","isNew":false,"isTransient":false,"updatedOnUtc":"2018-05-12 07:03:46","filename":null,"pictureUrl":"0006391-0.png","thumbUrl":"/Media/Thumbs/320/0006391-0.png","displayOrder":2}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1844,"skuNumber":"H83329","manufacturerPartNumber":"AFPXHBATT","attributesJson":{"产品名称":"电池","描述":"FP-XH电池AFPXHBATT"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FP-XH系列","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":100.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":65.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic FP-X/FP-XH系列 扩展插件","appliedPrice":65.00,"appliedPriceSub":"65","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0036334-0.png","defaultThumbUrl":"/Media/Thumbs/320/0036334-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":36334,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2020-04-01 13:07:14","filename":null,"pictureUrl":"0036334-0.png","thumbUrl":"/Media/Thumbs/320/0036334-0.png","displayOrder":24}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":1844,"skuNumber":"H40507","manufacturerPartNumber":"AFPX-TR8","attributesJson":{"产品名称":"FP-X功能插件","描述":"-"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"FP-X系列","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":false,"basePriceAmount":0.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":true,"blackCardPrice":0.0,"price":200.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic FP-X/FP-XH系列 扩展插件","appliedPrice":200.00,"appliedPriceSub":"200","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0008305-0.jpg","defaultThumbUrl":"/Media/Thumbs/320/0008305-0.jpg","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":8305,"mimeType":"image/jpeg","seoFilename":"-fp-x/fp-xh-","isNew":false,"isTransient":false,"updatedOnUtc":"2018-05-12 06:46:42","filename":null,"pictureUrl":"0008305-0.jpg","thumbUrl":"/Media/Thumbs/320/0008305-0.jpg","displayOrder":1}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null},{"isNonStandard":false,"productId":32043,"skuNumber":"H62685","manufacturerPartNumber":"PM-L45","attributesJson":{"描述":"小型・电缆型","种类":"L型","输出":"NPN","检测距离":"6mm","输出动作":"入光时ON/遮光时ON 装备2种输出","电缆长度":"1m"},"manufacturer":{"id":80,"name":"松下 Panasonic"},"isActive":true,"series":"PM-45","orderCode":"","isBlackCardProduct":true,"clearance":true,"outofStock":false,"packQty":1,"salesPackUom":"个","packUom":"个","hasTierPrices":false,"inquiryPrice":false,"returnPolicy":null,"shortSupply":true,"basePriceAmount":80.0000,"isFixedPrice":true,"dropShip":false,"allowOutOfStockOrders":false,"blackCardPrice":0.0,"price":47.0000,"manufacturerId":80,"manufacturerName":"松下 Panasonic","categoryId":0,"categoryName":"","itemNo":null,"isStoreUp":false,"isCustomerProductUp":false,"isComparison":false,"productName":"松下 Panasonic 放大器内置 U型微型光电传感器PM-45","appliedPrice":47.00,"appliedPriceSub":"47","appliedPriceDecimal":"00","appliedPriceTag":"易买价","initialPrice":null,"initialPriceSub":null,"initialPriceDecimal":null,"dynamicDeliveryTimeId":1,"dynamicDeliveryTimeName":"当日发货","defaultPictureUrl":"0107744-0.png","defaultThumbUrl":"/Media/Thumbs/320/0107744-0.png","showCart":true,"showInquiry":false,"campaigns":[],"defaultDiscountOnSkuUnitPriceCampaign":null,"defaultFreeSampleCampaign":null,"defaultDiscountOrReductionCampaign":null,"defaultDiscountOrReductionCampaignWithoutAllSku":null,"couponPackages":[],"defaultCouponPackage":null,"defaultCouponPackageWithoutAllSku":null,"packUomInfo":"1个","minOrderQty":0,"stepValue":0,"purchaseCount":null,"selected":false,"warehouseProvince":"安徽省","canUseCouponPackages":[],"skuBundleItems":[],"skuRelations":[],"productPictures":[{"id":107744,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 13:28:10","filename":"0037563-0.png","pictureUrl":"0107744-0.png","thumbUrl":"/Media/Thumbs/320/0107744-0.png","displayOrder":0},{"id":107745,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 13:28:44","filename":"0037569-0.png","pictureUrl":"0107745-0.png","thumbUrl":"/Media/Thumbs/320/0107745-0.png","displayOrder":0},{"id":107746,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 13:31:43","filename":"0038571-0.png","pictureUrl":"0107746-0.png","thumbUrl":"/Media/Thumbs/320/0107746-0.png","displayOrder":0},{"id":107756,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 14:08:19","filename":"image.png","pictureUrl":"0107756-0.png","thumbUrl":"/Media/Thumbs/320/0107756-0.png","displayOrder":0},{"id":107821,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 15:43:54","filename":"image.png","pictureUrl":"0107821-0.png","thumbUrl":"/Media/Thumbs/320/0107821-0.png","displayOrder":0},{"id":107822,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 15:44:39","filename":"image.png","pictureUrl":"0107822-0.png","thumbUrl":"/Media/Thumbs/320/0107822-0.png","displayOrder":0},{"id":107823,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 15:45:21","filename":"image.png","pictureUrl":"0107823-0.png","thumbUrl":"/Media/Thumbs/320/0107823-0.png","displayOrder":0},{"id":107824,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 15:45:51","filename":"image.png","pictureUrl":"0107824-0.png","thumbUrl":"/Media/Thumbs/320/0107824-0.png","displayOrder":0},{"id":107833,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 17:10:58","filename":"image.png","pictureUrl":"0107833-0.png","thumbUrl":"/Media/Thumbs/320/0107833-0.png","displayOrder":0},{"id":107834,"mimeType":"image/png","seoFilename":null,"isNew":true,"isTransient":false,"updatedOnUtc":"2022-09-14 17:11:35","filename":"image.png","pictureUrl":"0107834-0.png","thumbUrl":"/Media/Thumbs/320/0107834-0.png","displayOrder":0}],"tierPriceTemplates":[],"relatedSkuGroupByProducts":[],"ownerBrandRecommendSku":null}],"pager":{"pageIndex":4,"pageSize":12,"total":1000,"totalPage":84,"sorting":null,"sortType":0}}}`;
const textLines = text.split('>>>>>>>>>>>>>>>').map(s => s.trim());
//console.log(textLines);
const objList = textLines.map(s => JSON.parse(s));
//console.log(objList);
const dataList = objList.filter(jsonObj => jsonObj && jsonObj.body && jsonObj.body.items && jsonObj.body.items.length).map(jsonObj => {
return jsonObj.body.items.map(item => {
let productName = '-';
let productModel = '-';
let productSerialName= '-';
let productCount = 0;
let productPrice = 0;
if (item && item.attributesJson){
productName = item.attributesJson['产品名称'] || productName;
};
productModel = item.manufacturerPartNumber || productModel;
productSerialName = item.productName || productSerialName;
productCount = item.packQty || productCount;
productPrice = item.price || productPrice;
return `${productName},${productModel},${productSerialName},${productCount}${item.salesPackUom || ''},${productPrice}`;
});
});//.flatMap(lines => lines);
console.log(dataList)
flatMap 有什么用?
不用flatMap的效果:
D:\Users\win10\Desktop>node y.js
[
[
'A6 伺服电机,MHMF082L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1696',
'A6 伺服电机,MSMF012L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1303',
'-,FX-551-C2,松下 Panasonic 数字光纤传感器 FX-550,1个,138',
'-,PM-L25,松下 Panasonic PM-25系列 U型微型光电传感器,1个,49',
'-,PM-Y45,松下 Panasonic 放大器内置 U型微型光电传感器PM-45,1个,49',
'扩展模块,AFPX0E40TD,松下 Panasonic FP-X/FP-X0系列 扩展单元,1个,728',
'A6 伺服电机,MHMF022L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1431',
'A6 伺服电机,MSMF082L1U2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1058',
'-,FX-501-C2,松下 Panasonic 数字光纤传感器 FX-500 Ver.2,1个,188',
'A6 伺服驱动器,MDDLN55SE,松下 Panasonic A6系列 伺服驱动器,1个,2115',
'A6 伺服驱动器,MADLN05SG,松下 Panasonic A6系列 伺服驱动器,1个,1357',
'A6 伺服驱动器,MADLN05BE,松下 Panasonic A6系列 伺服驱动器,1个,1506'
],
[
'A6 伺服电机,MSMF022L1U2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,864',
'-,GX-F8A,松下 Panasonic 方型接近传感器GX-F/H,1个,60',
'-,CX-421,松下 Panasonic 小型光电传感器(放大器内置)CX-400,1个,99',
'-,CX-411-P,松下 Panasonic 小型光电传感器(放大器内置)CX-400,1对,141',
'-,EX-14A,松下 Panasonic 超薄型光电传感器(放大器内置)EX-10,1个,116',
'-,EX-11A,松下 Panasonic 超薄型光电传感器(放大器内置)EX-10,1对,143',
'-,PM-Y65,松下 Panasonic 放大器内置 U型微型光电传感器PM-65,1个,49',
'光纤头,FD-35G,松下 Panasonic FT/FD系列 光纤传感器,1个,63',
'CPU单元,AFPXHC30T,松下 Panasonic FP-X/FP-XH系列 可编程控制器 基本CPU单元,1个,1206',
'电池,AFPXHBATT,松下 Panasonic FP-X/FP-XH系列 扩展插件,1个,65',
'FP-X功能插件,AFPX-TR8,松下 Panasonic FP-X/FP-XH系列 扩展插件,1个,200',
'-,PM-L45,松下 Panasonic 放大器内置 U型微型光电传感器PM-45,1个,47'
]
]
使用后的效果:
D:\Users\win10\Desktop>node y.js
[
'A6 伺服电机,MHMF082L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1696',
'A6 伺服电机,MSMF012L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1303',
'-,FX-551-C2,松下 Panasonic 数字光纤传感器 FX-550,1个,138',
'-,PM-L25,松下 Panasonic PM-25系列 U型微型光电传感器,1个,49',
'-,PM-Y45,松下 Panasonic 放大器内置 U型微型光电传感器PM-45,1个,49',
'扩展模块,AFPX0E40TD,松下 Panasonic FP-X/FP-X0系列 扩展单元,1个,728',
'A6 伺服电机,MHMF022L1V2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1431',
'A6 伺服电机,MSMF082L1U2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,1058',
'-,FX-501-C2,松下 Panasonic 数字光纤传感器 FX-500 Ver.2,1个,188',
'A6 伺服驱动器,MDDLN55SE,松下 Panasonic A6系列 伺服驱动器,1个,2115',
'A6 伺服驱动器,MADLN05SG,松下 Panasonic A6系列 伺服驱动器,1个,1357',
'A6 伺服驱动器,MADLN05BE,松下 Panasonic A6系列 伺服驱动器,1个,1506',
'A6 伺服电机,MSMF022L1U2M,松下 Panasonic A6系列 伺服电机/驱动器,1个,864',
'-,GX-F8A,松下 Panasonic 方型接近传感器GX-F/H,1个,60',
'-,CX-421,松下 Panasonic 小型光电传感器(放大器内置)CX-400,1个,99',
'-,CX-411-P,松下 Panasonic 小型光电传感器(放大器内置)CX-400,1对,141',
'-,EX-14A,松下 Panasonic 超薄型光电传感器(放大器内置)EX-10,1个,116',
'-,EX-11A,松下 Panasonic 超薄型光电传感器(放大器内置)EX-10,1对,143',
'-,PM-Y65,松下 Panasonic 放大器内置 U型微型光电传感器PM-65,1个,49',
'光纤头,FD-35G,松下 Panasonic FT/FD系列 光纤传感器,1个,63',
'CPU单元,AFPXHC30T,松下 Panasonic FP-X/FP-XH系列 可编程控制器 基本CPU单元,1个,1206',
'电池,AFPXHBATT,松下 Panasonic FP-X/FP-XH系列 扩展插件,1个,65',
'FP-X功能插件,AFPX-TR8,松下 Panasonic FP-X/FP-XH系列 扩展插件,1个,200',
'-,PM-L45,松下 Panasonic 放大器内置 U型微型光电传感器PM-45,1个,47'
]
总结:将一个数组中嵌套的多个数组合并为一个数组
本文来自博客园,作者:chuangzhou,转载请注明原文链接:https://www.cnblogs.com/czzz/p/16828299.html