Nonlinear integrodifferential equations describing the propagation of disturbances in a thin layer of viscous liquid with free surface are studied. These equations admit solutions with weak discontinuities, which are located on the characteristics. The possibility of an unbounded increase in the amplitude of the weak discontinuity and the formation of the shock in the process of flow evolution is established. Differential balance laws approximating the integrodifferential model are proposed. These laws are used to perform numerical simulation of wave propagation in a fluid.