chore(version): upgrade rental
This commit is contained in:
parent
2c1aec83d6
commit
95452630b3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hera/plugin-rental",
|
||||
"version": "1.4.0-alpha.9",
|
||||
"version": "1.4.0-alpha.10",
|
||||
"main": "dist/server/index.js",
|
||||
"displayName": "professional construction materials rental system - customized based on hera",
|
||||
"displayName.zh-CN": "专业建材租赁系统 - 基于赫拉定制",
|
||||
|
@ -140,7 +140,7 @@ const subtotal = (rule: any, itemData: any, productCategory: any, reqWeightRules
|
||||
unit = '吨';
|
||||
} else {
|
||||
// 查询重量规则
|
||||
const weightRule = reqWeightRules.data.data.find(
|
||||
const weightRule = reqWeightRules?.data?.data?.find(
|
||||
(weight_item) =>
|
||||
weight_item.logic_id === rule?.conversion_logic_id &&
|
||||
(weight_item.product_id === itemData.product?.id ||
|
||||
|
Loading…
Reference in New Issue
Block a user