As the sales volume and time of vegetable commodities tend to have a certain correlation, in order to explore the distribution law of the sales volume of each category and single product of vegetables, this paper firstly handles the data to get the monthly sales volume of each vegetable category and single product of time series data, then uses Matlab's Wavelet Toolbox to carry out wavelet analysis,drawing wavelet variance diagrams, the main cycle trend graph to judge the cyclical pattern of each vegetable category and single product,and then use Origin to make wavelet coefficients real part contour graph to verify the law, and finally get the distribution law. This study can help superstores better grasp the sales situation and development trend of each vegetable category and single product.