|
|
|
@ -2006,7 +2006,7 @@ const handleComputed = (row: any, onlyComputedTrunline = false) => {
|
|
|
|
|
? computeNumber(row.price, '*', row[_trunklineKey]).result |
|
|
|
|
: 0; |
|
|
|
|
|
|
|
|
|
if (onlyComputedTrunline) { |
|
|
|
|
if (!onlyComputedTrunline) { |
|
|
|
|
// 计算提货价格 -- 行 |
|
|
|
|
if (_pickupKey) |
|
|
|
|
row.subtotalPickup = _pickupKey |
|
|
|
@ -2219,9 +2219,9 @@ const handlePickUpPrice = (pickup, template) => {
|
|
|
|
|
if ( |
|
|
|
|
(pickup || template) && |
|
|
|
|
template.pickupIsMinCost && |
|
|
|
|
Number(template.pickupMinCostMode) === 1 |
|
|
|
|
Number(details.query.pickupCompleteOrNot) === 0 |
|
|
|
|
) { |
|
|
|
|
switch (Number(template.dispatchMinCostType)) { |
|
|
|
|
switch (Number(template.pickupMinCostType)) { |
|
|
|
|
// 价格 |
|
|
|
|
case 1: |
|
|
|
|
details.query.pickupFee = pickup.minCost > _total ? pickup.minCost : _total; |
|
|
|
@ -3026,7 +3026,7 @@ const handleAssignmentItemPriceWarehouseManagementPrice = (
|
|
|
|
|
// 不区分品类 -- 暂时默认为按件 |
|
|
|
|
value.warehouseManagementPrice = |
|
|
|
|
getObjType(additionalCategory) === 'array' && additionalCategory.length > 0 |
|
|
|
|
? additionalCategory[0].price || 0 |
|
|
|
|
? additionalCategory[0].warehouseManagementPrice || 0 |
|
|
|
|
: 0; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|