Authored by 王水玲

有货分期

... ... @@ -14,17 +14,17 @@ const logger = global.yoho.logger;
const camelCase = global.yoho.camelCase;
// 处理还款列表数据
const _processAmtList = (list, queryDays) => {
const _processAmtList = (listData, queryDays) => {
let overduecount = 0;
let formartData = {
currAmtCount: 0,
currFeeCount: 0
};
list = list || {};
let list = listData.amtList;
if (list.length > 0) {
_.forEach(list.amtList, (data, key) => {
if (list) {
_.forEach(list, (data, key) => {
// 第一条选中
if (key === 0) {
data.isChecked = true;
... ... @@ -105,7 +105,7 @@ const _processAmtList = (list, queryDays) => {
const _processRepayList = (list) => {
list = list || {};
if (list.length > 0) {
if (list.rePayList.length > 0) {
_.forEach(list.rePayList, (data) => {
// 组装分期的显示格式
if (data.terms === 1) {
... ...