|
|
|
@ -2158,11 +2158,13 @@ const handleFindGoods = async (goodsName, item, isClearId = 0) => {
|
|
|
|
|
* row -- 行数据 |
|
|
|
|
* onlyComputedTrunline -- 是否只计算干线的价格 |
|
|
|
|
*/ |
|
|
|
|
const handleComputed = (row: any, onlyComputedTrunline = false) => { |
|
|
|
|
const handleComputed = (row: any, onlyComputedTrunline = false, chargeType = null) => { |
|
|
|
|
const { template, trunkLine } = details.priceTemplate; |
|
|
|
|
|
|
|
|
|
if (Boolean(isDisabled.value && template && trunkLine && !onlyComputedTrunline)) |
|
|
|
|
handleSpecialBrandPrice(row, trunkLine, template, !onlyComputedTrunline); |
|
|
|
|
if (Boolean(isDisabled.value && template && trunkLine)) { |
|
|
|
|
if (!chargeType && !onlyComputedTrunline) |
|
|
|
|
handleSpecialBrandPrice(row, trunkLine, template, onlyComputedTrunline); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
details.query.goodsCode = '-' + details.totalObj.totalCount; |
|
|
|
|
|
|
|
|
@ -3684,7 +3686,7 @@ const handleAssignmentItemPrice = (value, isOnload = false, chargeType?: number
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 计算每行价格 |
|
|
|
|
if (!isOnload) handleComputed(value, !isOnload); |
|
|
|
|
if (!isOnload) handleComputed(value, isOnload, chargeType); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 获取价格 |
|
|
|
|