saleStatisticsInitialState.js 873 Bytes
/**
 * # guideInitialState.js
 *
 *
 */
'use strict';
/**
 * ## Import immutable record
 */
import {List, Record} from 'immutable';

/**
 * ## InitialState
 *
 * The fields we're concerned with
 */
let InitialState = Record({
	isFetching: false,
	error: null,

	type: 0,
	day: '',
	startDay: '',
	endDay: '',
	month: '',

	goodsAmount: 0,				//有效订单商品金额
	amountHasTrendData: false,	//金额是否有环比数据
	amountRise: true,			//金额环比是否上升
	amountRisePercent: '',		//金额环比上升百分比
	goodsCount: 0,				//有效订单商品件数
	countHasTrendData: false,	//件数是否有环比数据
	countRise: true,			//件数环比是否上升
	countRisePercent: '',		//件数环比上升百分比
	sevenDays: List(),			//7天交易趋势天数数组
	trendInSevenDays: List(),	//7天交易趋势数据
});

export default InitialState;