detailInitialState.js
599 Bytes
'use strict';
import { Record, List, Map } from 'immutable';
/**
Note:
1. expressType
typedef NS_ENUM(NSInteger, OrderDetailExpressType) {
OrderDetailExpressTypeOnDeliver, 0
OrderDetailExpressTypeOnRecive, 1
OrderDetailExpressTypeNone, 2
};
2.firstProductSKN
For drill to express detail view controller...
*/
let InitialState = Record({
order_code: '',
detail: new (Record(
{
isFetching: false,
error: null,
data: null
})),
firstProductSKN: '',
expressType: 2,
expressName: '',
acceptTime: '',
accept_address: '',
});
export default InitialState;