Frequent extreme disasters inflict severe damages upon distribution and transportation networks. Load restoration leveraging distributed energy storage systems forms a crucial approach to bolstering distribution network resilience. Yet, justifying the economic viability of installing energy storage devices based solely on their resilience contribution proves challenging. To balance system economics with resilience requirements, this paper proposes a two-stage stochastic optimization method for allocating stationary and mobile energy storage, based on multiple scenarios, and introduces retired batteries into stationary storage. The first stage determines optimal location and sizing decisions for the hybrid energy storage system. The second stage focuses on minimizing operational costs under normal conditions while drastically reducing load losses during seismic events. Additionally, accounting for the uncertainty of seismic hazard intensity and occurrence time, a two-layer Monte Carlo simulation and a scenario generation method based on stratified sampling and distance reduction are introduced. The model is solved using the progressive hedging algorithm. Comparative analysis of four scenarios using IEEE 33-bus and 12-bus transportation networks validates the strategy’s effectiveness in enhancing both the economic efficiency and resilience of distribution networks.