CASH-1292: Check if zipcodes are still different

This commit is contained in:
Chris Redelinghuys 2025-08-07 09:00:31 -04:00
parent a367858a91
commit 0d2327b30f

View file

@ -214,14 +214,19 @@ export default {
); );
// update content related to service zip code // update content related to service zip code
this.$emit("updated-mobile-fee-part", mobileFeePart); if (this.internalModel.zipCode !== this.modelValue.zipCode) {
this.$emit("updated-recycle-fee-part", recycleFeePart); this.$emit("updated-mobile-fee-part", mobileFeePart);
this.$emit("updated-serviceability", serviceabilityDetails.data); this.$emit("updated-recycle-fee-part", recycleFeePart);
this.$emit("updated-contains-military-base", zipCodeData.containsMilitaryBase); this.$emit("updated-serviceability", serviceabilityDetails.data);
this.$emit("updated-bill-to-account-number", billToAccountNumber); this.$emit(
this.$emit("service-zip-changed-from-modal"); "updated-contains-military-base",
// update the page level model zipCodeData.containsMilitaryBase
this.$emit("update:modelValue", this.internalModel); );
this.$emit("updated-bill-to-account-number", billToAccountNumber);
this.$emit("service-zip-changed-from-modal");
// update the page level model
this.$emit("update:modelValue", this.internalModel);
}
this.closeModal(); this.closeModal();
} }