CASH-1292: Check if zipcodes are still different
This commit is contained in:
parent
a367858a91
commit
0d2327b30f
1 changed files with 13 additions and 8 deletions
|
|
@ -214,14 +214,19 @@ export default {
|
|||
);
|
||||
|
||||
// update content related to service zip code
|
||||
this.$emit("updated-mobile-fee-part", mobileFeePart);
|
||||
this.$emit("updated-recycle-fee-part", recycleFeePart);
|
||||
this.$emit("updated-serviceability", serviceabilityDetails.data);
|
||||
this.$emit("updated-contains-military-base", zipCodeData.containsMilitaryBase);
|
||||
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);
|
||||
if (this.internalModel.zipCode !== this.modelValue.zipCode) {
|
||||
this.$emit("updated-mobile-fee-part", mobileFeePart);
|
||||
this.$emit("updated-recycle-fee-part", recycleFeePart);
|
||||
this.$emit("updated-serviceability", serviceabilityDetails.data);
|
||||
this.$emit(
|
||||
"updated-contains-military-base",
|
||||
zipCodeData.containsMilitaryBase
|
||||
);
|
||||
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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue