diff --git a/src/views/distribution/inventory/CreateOrder.vue b/src/views/distribution/inventory/CreateOrder.vue index b0488bc0..202a39f9 100644 --- a/src/views/distribution/inventory/CreateOrder.vue +++ b/src/views/distribution/inventory/CreateOrder.vue @@ -4078,6 +4078,8 @@ const handleSpecialBrandPrice = (value, trunkLine, template) => { const { totalCount, totalVolume } = details.totalObj; if (totalCount < 15 && totalVolume < 0.8 && totalVolume / (totalCount || 1) < 0.11) { + if (value.chargeType === 1) return; + value.chargeType = 1; value.systemChargeType = 1; @@ -4124,6 +4126,8 @@ const handleSpecialBrandPrice = (value, trunkLine, template) => { value.freightPrice = _price; } } else { + if (value.chargeType === 2) return; + value.chargeType = 2; value.systemChargeType = 2; diff --git a/src/views/waybill/CreateZeroOrder.vue b/src/views/waybill/CreateZeroOrder.vue index fdfb0ef8..269c0032 100644 --- a/src/views/waybill/CreateZeroOrder.vue +++ b/src/views/waybill/CreateZeroOrder.vue @@ -3200,6 +3200,8 @@ const handleSpecialBrandPrice = (value, trunkLine, template) => { const { totalCount, totalVolume } = details.totalObj; if (totalCount < 15 && totalVolume < 0.8 && totalVolume / (totalCount || 1) < 0.11) { + if (value.chargeType === 1) return; + value.chargeType = 1; value.systemChargeType = 1; @@ -3249,6 +3251,8 @@ const handleSpecialBrandPrice = (value, trunkLine, template) => { value.freightPrice = _price; } } else { + if (value.chargeType === 2) return; + value.chargeType = 2; value.systemChargeType = 2;