|
|
|
|
@ -97,12 +97,13 @@ function Newest() {
|
|
|
|
|
const [dataLoading, setDataLoading] = useState(false)
|
|
|
|
|
const [guideSelectOptions, setGuideSelectOptions] = useState([])
|
|
|
|
|
|
|
|
|
|
const { travelAgencyId } = usingStorage()
|
|
|
|
|
const { travelAgencyId: myAgencyId } = usingStorage()
|
|
|
|
|
const isPermitted = useAuthStore((state) => state.isPermitted)
|
|
|
|
|
const formValuesToSub = useFormStore((state) => state.formValuesToSub)
|
|
|
|
|
const [fetchAgencyGuideList, fetchReservationList, reservationList, reservationPage, cityList, selectReservation, getCityListByReservationId, setupCityGuide, updateReservationGuide] =
|
|
|
|
|
useReservationStore((state) =>
|
|
|
|
|
[state.fetchAgencyGuideList, state.fetchReservationList, state.reservationList, state.reservationPage, state.cityList, state.selectReservation, state.getCityListByReservationId, state.setupCityGuide, state.updateReservationGuide])
|
|
|
|
|
const travelAgencyId = formValuesToSub.agency || myAgencyId;
|
|
|
|
|
|
|
|
|
|
const { notification } = App.useApp()
|
|
|
|
|
|
|
|
|
|
|