SOURCE

let data = {
    "00001": {
        "id": 63891,
        "mainMaterialId": null,
        "sn": "00001",
        "name": "1",
        "property": "整机",
        "unit": null,
        "snManage": "否",
        "forSale": null,
        "costPrice": null,
        "costPriceCurrency": "",
        "depositPrice": null,
        "depositPriceCurrency": "",
        "channelPrice": null,
        "channelPriceCurrency": "",
        "salePrice": null,
        "salePriceCurrency": "",
        "materialStatus": true,
        "deleted": false,
        "standard": "",
        "type": "",
        "description": null,
        "createUserId": "b60ff554-026e-11ed-8999-00163f00409a",
        "createUserName": "山茶",
        "createUser": {
            "userId": "b60ff554-026e-11ed-8999-00163f00409a",
            "displayName": "山茶",
            "staffId": null,
            "head": null
        },
        "createTime": 1715240211000,
        "updateUserId": "b60ff554-026e-11ed-8999-00163f00409a",
        "updateUserName": "山茶",
        "updateTime": 1715240211000,
        "attribute": {
            "fieldLktCHlMbpA1yG4Y618DBypOvVgyIcEvX": [
                {
                    "no": "1111",
                    "phone": "1111",
                    "company": {
                        "name": "顺丰",
                        "id": 42,
                        "type": "SFEXPRESS"
                    }
                }
            ],
            "fieldvPe8llPDMBLgXnxXn1w953yplval8ean": [
                {
                    "no": "",
                    "phone": ""
                }
            ],
            "returnType": [
                ""
            ],
            "fieldeBmp0yddmlsG7LpaKa0kOFF4dwudPHKQ": [
                {
                    "no": "",
                    "phone": ""
                }
            ]
        },
        "serialNumberList": null,
        "isSnManage": false,
        "num": null,
        "image": "[]",
        "images": [],
        "children": null,
        "sortId": null,
        "batchNumManage": 0,
        "isPeriodManage": 0,
        "shelfLife": null,
        "shelfLifeValue": null,
        "inWarehouseMaterialId": null,
        "machine": true
    }
}

for (const key in data) {
  console.log(key)
}
console 命令行工具 X clear

                    
>
console