定义一个变量接收拿到的数据,一个数组准备接收
PMScoutArr: [],
PMScout: null,
前端转换操作:
getBalance(this.getBalanceTotal).then(response => {
this.balance = response.data
this.PMScout = response.data.billInfo
console.log(this.PMScout)
this.PMScoutArr = JSON.parse(this.PMScout)
console.log(this.PMScoutArr.billProjectCode)
})