The invention relates to a fee calculation method and device,
computer equipment and a storage medium, and relates to the technical field of
order management. The method comprises the following steps: receiving a fee calculation request of a target fee calculation item sent by an order business
system; the fee calculation request comprises order information of a target fee calculation item; reading a target fee calculation rule corresponding to the target fee calculation item from a
system memory based on the fee calculation request; the target fee calculation rule is obtained by performing rule configuration based on a visual rule configuration interface; performing rule analysis on the target fee calculation rule to obtain a rule file which can be executed by the
rule engine; and performing fee calculation based on the rule file and the order information of the target fee calculation item through the
rule engine to obtain a fee calculation result of the target fee calculation item. According to the method, the
cost calculation of the
cost calculation item can be realized in the
cost calculation service system which is decoupled with the order
service system, so that the cost calculation logic of the
system is simplified, the cost calculation
processing time is reduced, and the cost calculation efficiency is improved.