jjj = [
    {
        "calMethod": "当0<Di≤3%时，每高1%扣1分；\n当3%<Di≤6%时，每高1%扣2分；\n当6%<Di，每高1%扣3分；\n当-3%<Di≤0时，不扣分；\n当-6%<Di≤-3%时，每低1%扣1分；\n当-9%<Di≤-6%时，每低1%扣2分；\n当Di≤-9%时，每低1%扣3分；\n满分为100分，最低得60分。\n上述计分按分段累进计算，当入围报价人评审价与评审价基准值B比例值（偏差率）处于分段计算区间内时，分段计算按内插法等比例计扣分。",
        "scoreWeight": "30%",
        "quoteRes": [
            {
                "proNum": "一",
                "projectName": "设备1",
                "unit": "m2",
                "quantity": "14.76",
                "suppliers": [
                    {
                        "name": "供应商A",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "875.00",
                            "totalPrice": "12915.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "12915.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "774.34",
                            "totalPrice": "11429.20"
                        }
                    },
                    {
                        "name": "供应商B",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "672.00",
                            "totalPrice": "9918.72"
                        },
                        "taxCompareRes": {
                            "theoryValue": "9918.72",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "594.69",
                            "totalPrice": "8777.63"
                        }
                    },
                    {
                        "name": "供应商C",
                        "taxRate": "9%",
                        "finalQuote": {
                            "unitPrice": "800.00",
                            "totalPrice": "11808.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "11808.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "733.94",
                            "totalPrice": "10833.03"
                        }
                    },
                    {
                        "name": "供应商D",
                        "taxRate": "9%",
                        "finalQuote": {
                            "unitPrice": "850.00",
                            "totalPrice": "12546.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "12546.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "773.50",
                            "totalPrice": "11416.86"
                        }
                    },
                    {
                        "name": "供应商E",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "672.00",
                            "totalPrice": "9918.72"
                        },
                        "taxCompareRes": {
                            "theoryValue": "9918.72",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "594.69",
                            "totalPrice": "8777.63"
                        }
                    }
                ]
            },
            {
                "proNum": "二",
                "projectName": "设备2",
                "unit": "套",
                "quantity": "2",
                "suppliers": [
                    {
                        "name": "供应商A",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "10000.00",
                            "totalPrice": "20000.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "20000.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "8700.00",
                            "totalPrice": "17400.00"
                        }
                    },
                    {
                        "name": "供应商B",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "11000.00",
                            "totalPrice": "22000.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "22000.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "9570.00",
                            "totalPrice": "19140.00"
                        }
                    },
                    {
                        "name": "供应商C",
                        "taxRate": "9%",
                        "finalQuote": {
                            "unitPrice": "10000.00",
                            "totalPrice": "20000.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "20000.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "9100.00",
                            "totalPrice": "18200.00"
                        }
                    },
                    {
                        "name": "供应商D",
                        "taxRate": "9%",
                        "finalQuote": {
                            "unitPrice": "9000.00",
                            "totalPrice": "18000.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "18000.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "8190.00",
                            "totalPrice": "16380.00"
                        }
                    },
                    {
                        "name": "供应商E",
                        "taxRate": "13%",
                        "finalQuote": {
                            "unitPrice": "11000.00",
                            "totalPrice": "22000.00"
                        },
                        "taxCompareRes": {
                            "theoryValue": "22000.00",
                            "deviation": "0.00"
                        },
                        "finalExcludeTaxPrice": {
                            "unitPrice": "9570.00",
                            "totalPrice": "19140.00"
                        }
                    }
                ]
            }
        ],
        "calQuoteRes": {
            "avgPrice": "28393.96",
            "benchmarkPrice": "28393.96",
            "suppliers": [
                {
                    "name": "供应商A",
                    "taxIncludedTotal": "32915.00",
                    "taxExcludedTotal": "28829.20",
                    "deviationRate": "0.01533",
                    "score": "90.333",
                    "finalScore": "28.00"
                },
                {
                    "name": "供应商B",
                    "taxIncludedTotal": "31918.72",
                    "taxExcludedTotal": "27917.63",
                    "deviationRate": "-0.01677",
                    "score": "80.333",
                    "finalScore": "24.10"
                },
                {
                    "name": "供应商C",
                    "taxIncludedTotal": "31808.00",
                    "taxExcludedTotal": "29033.03",
                    "deviationRate": "0.0225",
                    "score": "70.667",
                    "finalScore": "21.10"
                },
                {
                    "name": "供应商D",
                    "taxIncludedTotal": "30546.00",
                    "taxExcludedTotal": "27796.00",
                    "deviationRate": "0.02105",
                    "score": "75.00",
                    "finalScore": "22.50"
                },
                {
                    "name": "供应商E",
                    "taxIncludedTotal": "31918.72",
                    "taxExcludedTotal": "27917.63",
                    "deviationRate": "-0.01677",
                    "score": "80.333",
                    "finalScore": "24.10"
                }
            ]
        }
    }
]

url = 'http://192.168.1.208:13888/quote_review_result'
import requests
_json = {}
_json['projectId']=''
_json['projectName']=''
_json['bidderUnit']=''
_json['quoteCheck'] = jjj

req = requests.post(url, json=_json)
print(req.json())



url = 'http://192.168.1.208:13888/quote_check_score'
import requests
_json = {}
_json['projectId']=''
_json['projectName']=''
_json['bidderUnit']=''
_json['quoteCheck'] = ''
_json['scoreFile'] = ''

req = requests.post(url, json=_json)
print(req.json())


