1、首先我们需要 文件--账套选项--允许0成本出入库 对勾取消

2、打开数据库执行脚本 :
Update Ptype
set CalcCost = 1,MonthCalcCost = 1
Where typeId in
(
Select PtypeID From DlySale where Draft = 2
union all
Select PtypeID From DlyBuy where Draft = 2
union all
Select PtypeID From DlyOther where Draft = 2
)
3、业务处理--成本计算,重新进行成本计算,这个时候提示输入成本价,输入就可以了