SOURCE

let userAndOrderIds = [
    1011376804,
    7179958504,
    1094372904,
    1011344704
]

let data = {
    "1011376804_0": {
        "height": 0,
        "orderId": 1011376804,
        "dataInd": 0,
        "list": [
            {
                "trClass": "userName",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-center hide"
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"huanHang icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>liweiwei_ywy",
                        "itemData": {
                            "userId": 1011376804,
                            "openFlag": false
                        },
                        "class": "text-left pointer saleResult"
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right"
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right"
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right"
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right"
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right "
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "222.00",
                        "class": "text-right addcol"
                    }
                ],
                "userId": 1011376804,
                "openFlag": true,
                "mapInd": 0
            }
        ],
        "indArr": [
            0,
            0
        ],
        "dataLen": 1,
        "childLen": 2
    },
    "1011344704_1": {
        "height": 0,
        "orderId": 1011344704,
        "dataInd": 1,
        "list": [
            {
                "trClass": "userName",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-center hide"
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"huanHang icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>liweiwei",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false
                        },
                        "class": "text-left pointer saleResult"
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "-22000.00",
                        "class": "text-right"
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right"
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "-11084437.00",
                        "class": "text-right"
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "5555.00",
                        "class": "text-right"
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "-11089992.00",
                        "class": "text-right "
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "1334.00",
                        "class": "text-right addcol"
                    }
                ],
                "userId": 1011344704,
                "openFlag": false,
                "mapInd": 3
            }
        ],
        "indArr": [
            3,
            3
        ],
        "dataLen": 1,
        "childLen": 25
    },
    "1093166104_1": {
        "height": 0,
        "orderId": 1093166104,
        "dataInd": 1,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "SR202406060002",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "filingFlag": false,
                            "orderId": 1093166104,
                            "biztype": "feeIncome"
                        },
                        "class": "text-center pointer saleResult hoverspan color-1193C5 pl55 viewCostIncome",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "class": "text-right",
                        "colspan": 1,
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "class": "text-right",
                        "value": "24231.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "class": "text-right",
                        "value": "0.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "class": "text-right ",
                        "colspan": 1,
                        "value": "24231.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "class": "text-right addcol",
                        "colspan": 2,
                        "value": "0.00",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1093166104,
                "pid": 1011344704,
                "mapInd": 4
            }
        ],
        "indArr": [
            4,
            4
        ],
        "dataLen": 1
    },
    "7179958404_2": {
        "height": 0,
        "orderId": 7179958404,
        "dataInd": 2,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202404060001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179958404
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "2222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "2222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "2222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "2222.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179958404,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 5
            }
        ],
        "indArr": [
            5,
            5
        ],
        "dataLen": 1
    },
    "7179991904_3": {
        "height": 0,
        "orderId": 7179991904,
        "dataInd": 3,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406110027",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179991904
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-888.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179991904,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 6
            }
        ],
        "indArr": [
            6,
            6
        ],
        "dataLen": 1
    },
    "7183384604_4": {
        "height": 0,
        "orderId": 7183384604,
        "dataInd": 4,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202411120001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7183384604
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7183384604,
                "pid": 1011344704,
                "openFlag": true,
                "mapInd": 7
            },
            {
                "trClass": "prodThList",
                "list": [
                    {
                        "name": "branchName",
                        "dataField": "branchName",
                        "class": "text-center hide",
                        "value": "分店名称",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "customerName",
                        "dataField": "customerName",
                        "class": "text-center",
                        "value": "客户名称",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "productName",
                        "dataField": "productName",
                        "class": "text-center",
                        "value": "产品名称",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "productionDate",
                        "dataField": "productionDate",
                        "class": "text-center priseInfoFlag",
                        "value": "生产日期",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "batchNumber",
                        "dataField": "batchNumber",
                        "class": "text-center priseInfoFlag",
                        "value": "批次号",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "expiryDate",
                        "dataField": "expiryDate",
                        "class": "text-right priseInfoFlag",
                        "value": "保质期(天)",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "invBatchNumber",
                        "dataField": "invBatchNumber",
                        "class": "text-center priseInfoFlag",
                        "value": "缸号",
                        "hidden": false,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "SNcode",
                        "dataField": "SNcode",
                        "class": "text-center priseInfoFlag hide",
                        "value": "SN码",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "displayQty",
                        "dataField": "displayQty",
                        "class": "text-center",
                        "value": "销售数量",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "unitPrice",
                        "dataField": "unitPrice",
                        "class": "text-center",
                        "value": "售价",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "purchasePrice",
                        "dataField": "purchasePrice",
                        "class": "text-center",
                        "value": "进价",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "amount",
                        "dataField": "amount",
                        "class": "text-center",
                        "value": "金额",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "grossProfit",
                        "dataField": "grossProfit",
                        "class": "text-center ",
                        "value": "毛利",
                        "pid": 7183384604,
                        "show": true
                    }
                ],
                "orderId": 7183384604,
                "pid": 7183384604,
                "type": "trChild",
                "mapInd": 8
            },
            {
                "trClass": "prodTrList",
                "list": [
                    {
                        "name": "branchName",
                        "dataField": "branchName",
                        "rowspan": 1,
                        "class": "text-right huanHang hide",
                        "value": "总店",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "customerName",
                        "dataField": "customerName",
                        "class": "text-center huanHang",
                        "rowspan": 1,
                        "value": "123",
                        "hidden": 0,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "productName",
                        "dataField": "productName",
                        "class": "text-center huanHang ",
                        "rowspan": 1,
                        "value": "&nbsp222 222222 222222 222222 222222 222222 222222 222222 222222 222222 222222 222222 222222 222&nbsp&nbsp<span class=\"saleResult-colornumber-btn \"></span><span class=\"saleResult-colorname-btn \"></span>&nbsp10kg",
                        "itemData": {
                            "orderId": 7183384604,
                            "reportName": "saleResult",
                            "orderDetailId": 22942289104,
                            "from": "report",
                            "fromType": "saleResult",
                            "bizType": "salesOrder",
                            "salesData": "2024-11-12",
                            "isOldData": true,
                            "parallUnitFlag": false,
                            "filingFlag": false
                        },
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "batchNumber",
                        "dataField": "batchNumber",
                        "rowspan": 1,
                        "class": "text-center priseInfoFlag",
                        "value": "-",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "productionDate",
                        "dataField": "productionDate",
                        "rowspan": 1,
                        "class": "text-center priseInfoFlag hideDateColums",
                        "value": "-",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "expiryDate",
                        "dataField": "expiryDate",
                        "rowspan": 1,
                        "class": "text-right priseInfoFlag hideDateColums",
                        "value": "<div class=\"\">-</div>",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "invBatchNumber",
                        "dataField": "invBatchNumber",
                        "rowspan": 1,
                        "class": "text-center huanHang priseInfoFlag",
                        "value": "-",
                        "hidden": false,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "SNcode",
                        "dataField": "SNcode",
                        "class": "text-right priseInfoFlag hide",
                        "value": "-",
                        "hidden": true,
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "displayQty",
                        "dataField": "displayQty",
                        "class": "text-right",
                        "value": "5码(1匹)",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "salesPrice",
                        "dataField": "unitPrice",
                        "rowspan": 1,
                        "class": "text-right",
                        "value": "0",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "purchasePrice",
                        "dataField": "purchasePrice",
                        "rowspan": 1,
                        "class": "text-right",
                        "value": "0",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "amount",
                        "dataField": "amount",
                        "rowspan": 1,
                        "class": "text-center",
                        "value": "0.00",
                        "pid": 7183384604,
                        "show": true
                    },
                    {
                        "name": "grossProfit",
                        "dataField": "grossProfit",
                        "rowspan": 1,
                        "class": "text-right",
                        "value": "0.00",
                        "pid": 7183384604,
                        "show": true
                    }
                ],
                "orderId": 7183384604,
                "type": "trChild",
                "mapInd": 9
            }
        ],
        "indArr": [
            7,
            9
        ],
        "dataLen": 3
    },
    "7183378904_5": {
        "height": 0,
        "orderId": 7183378904,
        "dataInd": 5,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202411100001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7183378904
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7183378904,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 10
            }
        ],
        "indArr": [
            10,
            10
        ],
        "dataLen": 1
    },
    "7183345804_6": {
        "height": 0,
        "orderId": 7183345804,
        "dataInd": 6,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202410280004",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7183345804
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7183345804,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 11
            }
        ],
        "indArr": [
            11,
            11
        ],
        "dataLen": 1
    },
    "1094391404_7": {
        "height": 0,
        "orderId": 1094391404,
        "dataInd": 7,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XT202410220002",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 1094391404
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1094391404,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 12
            }
        ],
        "indArr": [
            12,
            12
        ],
        "dataLen": 1
    },
    "7183318204_8": {
        "height": 0,
        "orderId": 7183318204,
        "dataInd": 8,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202407310003",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7183318204
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7183318204,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 13
            }
        ],
        "indArr": [
            13,
            13
        ],
        "dataLen": 1
    },
    "7181087604_9": {
        "height": 0,
        "orderId": 7181087604,
        "dataInd": 9,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202407110001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7181087604
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7181087604,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 14
            }
        ],
        "indArr": [
            14,
            14
        ],
        "dataLen": 1
    },
    "7180961104_10": {
        "height": 0,
        "orderId": 7180961104,
        "dataInd": 10,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202407040045",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7180961104
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7180961104,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 15
            }
        ],
        "indArr": [
            15,
            15
        ],
        "dataLen": 1
    },
    "7180953104_11": {
        "height": 0,
        "orderId": 7180953104,
        "dataInd": 11,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406260014",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7180953104
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7180953104,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 16
            }
        ],
        "indArr": [
            16,
            16
        ],
        "dataLen": 1
    },
    "7179997504_12": {
        "height": 0,
        "orderId": 7179997504,
        "dataInd": 12,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406120017",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179997504
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179997504,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 17
            }
        ],
        "indArr": [
            17,
            17
        ],
        "dataLen": 1
    },
    "7179996904_13": {
        "height": 0,
        "orderId": 7179996904,
        "dataInd": 13,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406120013",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179996904
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179996904,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 18
            }
        ],
        "indArr": [
            18,
            18
        ],
        "dataLen": 1
    },
    "7179991704_14": {
        "height": 0,
        "orderId": 7179991704,
        "dataInd": 14,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406110025",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179991704
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179991704,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 19
            }
        ],
        "indArr": [
            19,
            19
        ],
        "dataLen": 1
    },
    "7179989904_15": {
        "height": 0,
        "orderId": 7179989904,
        "dataInd": 15,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202406060003",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179989904
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179989904,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 20
            }
        ],
        "indArr": [
            20,
            20
        ],
        "dataLen": 1
    },
    "7179985704_16": {
        "height": 0,
        "orderId": 7179985704,
        "dataInd": 16,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202405260006",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179985704
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179985704,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 21
            }
        ],
        "indArr": [
            21,
            21
        ],
        "dataLen": 1
    },
    "7179985604_17": {
        "height": 0,
        "orderId": 7179985604,
        "dataInd": 17,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202405260005",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179985604
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179985604,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 22
            }
        ],
        "indArr": [
            22,
            22
        ],
        "dataLen": 1
    },
    "7179985504_18": {
        "height": 0,
        "orderId": 7179985504,
        "dataInd": 18,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202405260004",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179985504
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179985504,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 23
            }
        ],
        "indArr": [
            23,
            23
        ],
        "dataLen": 1
    },
    "7179958604_19": {
        "height": 0,
        "orderId": 7179958604,
        "dataInd": 19,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202404070006",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179958604
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179958604,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 24
            }
        ],
        "indArr": [
            24,
            24
        ],
        "dataLen": 1
    },
    "1094372804_20": {
        "height": 0,
        "orderId": 1094372804,
        "dataInd": 20,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XT202404010001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 1094372804
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1094372804,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 25
            }
        ],
        "indArr": [
            25,
            25
        ],
        "dataLen": 1
    },
    "7179885504_21": {
        "height": 0,
        "orderId": 7179885504,
        "dataInd": 21,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202401030001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179885504
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179885504,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 26
            }
        ],
        "indArr": [
            26,
            26
        ],
        "dataLen": 1
    },
    "7179268304_22": {
        "height": 0,
        "orderId": 7179268304,
        "dataInd": 22,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202308220002",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 7179268304
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "0.00",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 7179268304,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 27
            }
        ],
        "indArr": [
            27,
            27
        ],
        "dataLen": 1
    },
    "1094376604_23": {
        "height": 0,
        "orderId": 1094376604,
        "dataInd": 23,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XT202406120001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 1094376604
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "-2222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "-1.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "-1.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1094376604,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 28
            }
        ],
        "indArr": [
            28,
            28
        ],
        "dataLen": 1
    },
    "1093166004_24": {
        "height": 0,
        "orderId": 1093166004,
        "dataInd": 24,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "ZC202406060001",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "filingFlag": false,
                            "orderId": 1093166004,
                            "biztype": "expensePayment"
                        },
                        "class": "text-center pointer saleResult hoverspan color-1193C5 pl55 viewCostIncome",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "class": "text-right",
                        "colspan": 1,
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "class": "text-right",
                        "value": "0.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "class": "text-right",
                        "value": "5555.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "class": "text-right ",
                        "colspan": 1,
                        "value": "-5555.00",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "class": "text-right addcol",
                        "colspan": 2,
                        "value": "0.00",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1093166004,
                "pid": 1011344704,
                "mapInd": 29
            }
        ],
        "indArr": [
            29,
            29
        ],
        "dataLen": 1
    },
    "1094376504_25": {
        "height": 0,
        "orderId": 1094376504,
        "dataInd": 25,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XT202406110008",
                        "itemData": {
                            "userId": 1011344704,
                            "openFlag": false,
                            "orderId": 1094376504
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "-22222.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "0.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "-11111111.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "-11111111.00",
                        "class": "text-right",
                        "pid": 1011344704,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-",
                        "class": "text-right addcol",
                        "pid": 1011344704,
                        "show": true
                    }
                ],
                "orderId": 1094376504,
                "pid": 1011344704,
                "openFlag": false,
                "mapInd": 30
            }
        ],
        "indArr": [
            30,
            30
        ],
        "dataLen": 1
    },
    "7179958504_1": {
        "height": 0,
        "orderId": 7179958504,
        "dataInd": 1,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XS202404060002",
                        "itemData": {
                            "userId": 1011376804,
                            "openFlag": false,
                            "orderId": 7179958504
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "222.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "222.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "222.00",
                        "class": "text-right addcol",
                        "pid": 1011376804,
                        "show": true
                    }
                ],
                "orderId": 7179958504,
                "pid": 1011376804,
                "openFlag": false,
                "mapInd": 1
            }
        ],
        "indArr": [
            1,
            1
        ],
        "dataLen": 1
    },
    "1094372904_2": {
        "height": 0,
        "orderId": 1094372904,
        "dataInd": 2,
        "list": [
            {
                "trClass": "saleList",
                "list": [
                    {
                        "name": "分店名称",
                        "dataField": "branchName",
                        "value": "总店",
                        "class": "text-right hide",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "制单人",
                        "dataField": "orderCreatedBy",
                        "value": "<i class=\"icon-jiantou-solid-right\" style=\"color:gray;margin-left:30px;margin-right:10px;\"></i>XT202404060002",
                        "itemData": {
                            "userId": 1011376804,
                            "openFlag": false,
                            "orderId": 1094372904
                        },
                        "class": "text-left relative huanHang pointer saleResult",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "合同金额",
                        "dataField": "contractAmount",
                        "value": "-222.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "未收款项",
                        "dataField": "receivables",
                        "value": "-222.00",
                        "colspan": 1,
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "已收款项",
                        "dataField": "paymentReceived",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "费用",
                        "dataField": "cost",
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "业绩净额",
                        "dataField": "performance",
                        "colspan": 1,
                        "value": "0.00",
                        "class": "text-right",
                        "pid": 1011376804,
                        "show": true
                    },
                    {
                        "name": "毛利",
                        "dataField": "grossProfit",
                        "colspan": 2,
                        "value": "-",
                        "class": "text-right addcol",
                        "pid": 1011376804,
                        "show": true
                    }
                ],
                "orderId": 1094372904,
                "pid": 1011376804,
                "openFlag": false,
                "mapInd": 2
            }
        ],
        "indArr": [
            2,
            2
        ],
        "dataLen": 1
    }
}


// function assembleData(userAndOrderIds, dataObj) {
//     const result = [];

//      userAndOrderIds.forEach(orderId => {
//         const orderedKey = Object.keys(dataObj).find(v => v.includes(orderId));
//         const currentData = dataObj[orderedKey];

//         // 只处理trClass为userName的对象
//         if (currentData.list[0].trClass === 'userName') {
//             const topLevelData = {
//                 openFlag: currentData.list[0].openFlag,
//                 orderVOs: []
//             };

//             // 查找pid匹配的子集数据
//             const childData = userAndOrderIds.map((id, index) => {
//                 const childKey = Object.keys(dataObj).find(v => v.includes(id));
//                 return {
//                     id: id,
//                     data: dataObj[childKey],
//                     isChild: dataObj[childKey].list[0].pid === orderId && dataObj[childKey].list[0].trClass === 'saleList'
//                 };
//             }).filter(item => item.isChild);
//             debugger

//             // 根据子集的openFlag属性添加到orderVOs中
//             childData.forEach(child => {
//                 if (child.data.list[0].openFlag) {
//                     topLevelData.orderVOs.push({ openFlag: 'true' });
//                 } else {
//                     topLevelData.orderVOs.push({ openFlag: 'false' });
//                 }
//             });

//             result.push(topLevelData);
//         }
//     });

//     return result;
// }

function assembleData(userAndOrderIds, dataObj) {
    const result = [];

    userAndOrderIds.forEach(orderId => {
        // 构建正确的键名
        const orderedKey = Object.keys(dataObj).find(key => key.startsWith(orderId.toString()));
        const currentData = dataObj[orderedKey];

        // 只处理trClass为userName的对象
        if (currentData.list[0].trClass === 'userName') {
            const topLevelData = {
                openFlag: currentData.list[0].openFlag?.toString(),
                orderVOs: []
            };

            // 查找pid匹配的子集数据
            userAndOrderIds.forEach(childOrderId => {
                // 构建子订单的正确键名
                const childKey = Object.keys(dataObj).find(key => key.startsWith(childOrderId.toString()));

                if (childKey) {
                    const childData = dataObj[childKey];
                    const isChild = childData.list[0].pid === orderId && childData.list[0].trClass === 'saleList';

                    if (isChild) {
                        // 根据子集的openFlag属性添加到orderVOs中
                        topLevelData.orderVOs.push({
                            openFlag: childData.list[0].openFlag?.toString()
                        });
                    }
                }
            });

            result.push(topLevelData);
        }
    });

    return result;
}

const assembledData = assembleData(userAndOrderIds, data);
console.log(assembledData);
console 命令行工具 X clear

                    
>
console