import * as types from './mutation-types'; export default { [types.USER_INFO] (state, e) { state.userInfo = e; }, [types.DISCHARGE_PORT] (state, e) { state.dischargePort = e; }, [types.DISCHARGE_PORT_VAL] (state, e) { state.dischargePortVal = e; }, [types.AMSNOT_SENT] (state, e) { state.amsNotSent = e; }, [types.AMS_HASBEEN_SENT] (state, e) { state.amsHasBeenSent = e; }, [types.AMS_CURRENT_DETAIL] (state, e) { state.amsCurrentDetail = e; }, [types.AMS_CURRENT_HISTORY] (state, e) { state.amsCurrentHistory = e; }, [types.AMSCODE_PORT] (state, e) { state.amsCodePort = e; }, [types.COUNTRY_LIST] (state, e) { state.countryList = e; }, [types.PACKAGE_LIST] (state, e) { state.packageList = e; }, [types.CARRIER_LIST] (state, e) { state.carrierList = e; }, [types.CTNALL_LIST] (state, e) { state.ctnallList = e; }, [types.DANGEROUS_GOODS] (state, e) { state.dangerousGoods = e; }, [types.DECLARATION_LOG] (state, e) { state.declarationLog = e; }, }