CSR-1981 show mobile fee free alert if it is 0
CSR-1981 show mobile fee free alert if it is 0
This commit is contained in:
parent
7ff88162d7
commit
7fee462163
1 changed files with 5 additions and 2 deletions
|
|
@ -316,7 +316,11 @@ export default {
|
||||||
},
|
},
|
||||||
showMobileFreeAlert() {
|
showMobileFreeAlert() {
|
||||||
var hasMobileFee = true;
|
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;
|
hasMobileFee = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -411,7 +415,6 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mobileFeePart) {
|
if (mobileFeePart) {
|
||||||
console.log(JSON.stringify(mobileFeePart));
|
|
||||||
this.mobileFeePart = mobileFeePart;
|
this.mobileFeePart = mobileFeePart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue