| | |
| | | console.log(this.filterList,'fis') |
| | | this.totalLength = this.filterList.reduce((x, y) => x + y.carNum,0); |
| | | this.totalTon = this.filterList.reduce((x, y) => new BigNumber(x).plus( y.weight),0).toFixed(2); |
| | | this.tmNum = this.filterList.reduce((x, y) => x + y.number,0); |
| | | this.tmNum = this.filterList.reduce((x, y) =>new BigNumber(x).plus(new BigNumber(y.number)),0); |
| | | let coalTemp,customerTemp,bunnkerTemp = []; |
| | | coalTemp = res.data.map(item=>item.tmTaskCoalList.map(val=>{ |
| | | return { |
| | |
| | | return uni.getStorageSync('userId') |
| | | }, |
| | | bunkerIds(){ |
| | | return uni.getStorageSync('bunkerIds') |
| | | return Array.from(new Set(uni.getStorageSync('bunkerIds').split(',') || [])).join(",") |
| | | }, |
| | | // totalLength(){ |
| | | // console.log(this.filterList,'filterList') |