原材料发生短缺和溢余的核算