|
|
|
@ -2161,7 +2161,7 @@ const handleFindGoods = async (goodsName, item, isClearId = 0) => {
|
|
|
|
|
const handleComputed = (row: any, onlyComputedTrunline = false) => { |
|
|
|
|
const { template, trunkLine } = details.priceTemplate; |
|
|
|
|
|
|
|
|
|
if (Boolean(isDisabled.value && template && trunkLine)) |
|
|
|
|
if (Boolean(isDisabled.value && template && trunkLine && !onlyComputedTrunline)) |
|
|
|
|
handleSpecialBrandPrice(row, trunkLine, template, !onlyComputedTrunline); |
|
|
|
|
|
|
|
|
|
details.query.goodsCode = '-' + details.totalObj.totalCount; |
|
|
|
@ -3648,7 +3648,8 @@ const handleAssignmentItemPrice = (value, isOnload = false, chargeType?: number
|
|
|
|
|
if (!isOnload) { |
|
|
|
|
if (trunkLine && template) { |
|
|
|
|
// 如果品牌为金牌, 切模板选择为特殊计费则特殊处理 |
|
|
|
|
if (isDisabled.value) handleSpecialBrandPrice(value, trunkLine, template, true); |
|
|
|
|
if (isDisabled.value && !chargeType) |
|
|
|
|
handleSpecialBrandPrice(value, trunkLine, template, true); |
|
|
|
|
else handleAssignmentItemPriceTrunkline(value, trunkLine, template, chargeType); |
|
|
|
|
|
|
|
|
|
// 是否为区分品类 |
|
|
|
@ -3683,7 +3684,7 @@ const handleAssignmentItemPrice = (value, isOnload = false, chargeType?: number
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 计算每行价格 |
|
|
|
|
if (!isOnload) handleComputed(value); |
|
|
|
|
if (!isOnload) handleComputed(value, !isOnload); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 获取价格 |
|
|
|
|