fix: 修改订单查询显示的理论重量逻辑 (#420)
Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
d3c3322fd4
commit
60a37c58c4
@ -71,7 +71,8 @@ export const RecordDetails: CustomFunctionComponent = () => {
|
|||||||
const unit = item.product.category.convertible
|
const unit = item.product.category.convertible
|
||||||
? item.product.category.conversion_unit
|
? item.product.category.conversion_unit
|
||||||
: item.product.category.unit;
|
: item.product.category.unit;
|
||||||
const weight = count * item.product.weight;
|
|
||||||
|
const weight = item.count * item.product.weight;
|
||||||
if (productItem[key]) {
|
if (productItem[key]) {
|
||||||
productItem[key].count += count;
|
productItem[key].count += count;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user