The invention discloses a pharmaceutical composition, a preparation method and a quality control method. The pharmaceutical composition of the invention is composed of pharmaceutical raw materials such as costustoot, villous amomum fruit, largehead atractylodes rhizome, tangerine peel, Indian buead, pinellia tuber (prepared), nutgrass galingale rhizome, immature bitter orange, jave amonum fruit, officinal magnolia bark, cablin potchouli herb and liquoric root; the prepration method is that: the pinellia tuber and fresh ginger take ethanol as solvent for immersion, and colation is used as standby; the costustoot, the villous amomum fruit, the largehead atractylodes rhizome, the tangerine peel, the immature bitter orange, the jave amonum fruit, the officinal magnolia bark and the cablin potchouli herb use the distillation method for extracting volatile oil, water solution after the distillation is collected in an another container; the medicine residues and other three medicines of Indian buead and the like, as well as Chinese date are decocted by adding water, the filtration is carried out, filtrate and the water solution are merged and concentrated to the relative density of 1.10, the mixture is cooled, ethanol is added, supernatant liquid is poured and taken, the filtration is carried out, the filtrate is merged with the filtrate, the ethanol is recycled, clear paste is obtained by concentration, the clear paste is taken for preparing granules, the volatile oil is added, and the pharmaceutical composition can be obtained by even mixing. The preparation method adopts high performance liquid chromatography to carry out the content measurement of costunolide. The pharmaceutical composition of the invention has significant effects of warming spleen and stomach and regulating stomach.