SOURCE

let QUOTE_INFO = [
    {
                "QUOTE_NAME": "张三的报价方案",      //  报价名称
                "LEASE_MODE": "回租",               //  租赁方式
                "DEPOSIT_CASH": '0.00',             //  风险金
                "SRVFEE_CASH_IN": '0.00',           //  手续费
                "FINAL_RATE": "3.400000%",          //  报价利率
                "PROJECT_IRR": "6.43600%",          //  收益IRR
                "RENT_IRR": "6.515500%",            //  租金IRR
                "DIRECT_TO_LEASE": ''               //  0 否  1 是 ; 是否直转回
            },
            {
                "QUOTE_NAME": "李四的报价方案",
                "LEASE_MODE": "直租",
                "DEPOSIT_CASH": '0.00',
                "SRVFEE_CASH_IN": '0.00',
                "FINAL_RATE": "3.400000%",
                "PROJECT_IRR": "6.43600%",
                "RENT_IRR": "6.515500%"
            },
]

QUOTE_INFO = QUOTE_INFO.map( item => {
     return {
              "DIRECT_TO_LEASE":
                item.DIRECT_TO_LEASE == ""
                  ? "请选择是否直转回"
                  : item.DIRECT_TO_LEASE == "0"
                  ? "否"
                  : "是",
                  QUOTE_NAME:item.QUOTE_NAME,
                  LEASE_MODE:item.LEASE_MODE,
                  DEPOSIT_CASH:item.DEPOSIT_CASH,
                  SRVFEE_CASH_IN:item.SRVFEE_CASH_IN,
                  FINAL_RATE:item.FINAL_RATE,
                  PROJECT_IRR:item.PROJECT_IRR,
                  RENT_IRR:item.RENT_IRR
            };         
})
console.log(QUOTE_INFO)
console 命令行工具 X clear

                    
>
console