From 7fee46216301eaf746df16c44f4d803af4f0d3a8 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Wed, 14 Aug 2024 10:39:41 -0400 Subject: [PATCH] CSR-1981 show mobile fee free alert if it is 0 CSR-1981 show mobile fee free alert if it is 0 --- src/layouts/service-location/service-location.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 28223d2bc..ed94e5413 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -316,7 +316,11 @@ export default { }, showMobileFreeAlert() { var hasMobileFee = true; - if (this.mobileFeePart?.laborAmount == 0 && this.mobileFeePart?.sellingPrice == 0 && this.mobileFeePart.kitPrice == 0) { + if ( + this.mobileFeePart?.laborAmount == 0 && + this.mobileFeePart?.sellingPrice == 0 && + this.mobileFeePart.kitPrice == 0 + ) { hasMobileFee = false; } @@ -411,7 +415,6 @@ export default { } if (mobileFeePart) { - console.log(JSON.stringify(mobileFeePart)); this.mobileFeePart = mobileFeePart; }