In the context of the development of the new period, the pharmaceutical supply chain market is gradually changing from a seller's market to a buyer's market. The closer the pharmaceutical supply chain market is to the consumer, the greater the market's pricing power, so the market power of the pharmaceutical manufacturer and the retailer has changed, and the change in output and demand has increased accordingly. Since the supply chain is uncertain, there are internal and external risks. Retailers and suppliers can operate and coordinate effectively based on their core strengths, improve their ability to avoid internal and external risks and repair flexibly so that the supply chain is relatively balanced and stable.This paper studies the coordination problem of pharmaceutical supply chain stability from the uncertainty of pharmaceutical supply and market demand, establishes a revenue function, and proposes a collaborative decision-making optimization model of "revenue-sharing + margin" according to the revenue function, and further The optimal value interval is given through numerical analysis to realize the Pareto improvement of both parties. The impacts on the expected returns of suppliers and retailers are investigated through the revenue sharing coefficients and margins, which are numerically verified and discussed through examples. The analysis results show that under the collaborative decision-making of "revenue sharing + margin" in the pharmaceutical supply chain, the coordination of revenue sharing between retailers and suppliers can be optimized by adjusting the revenue sharing coefficient and margin.INDEX TERMS pharmaceutical supply chain, supply chain decision-making, output and demand fluctuations, revenue sharing, margins