diff --git a/src/pages/eashier/service/service.vue b/src/pages/eashier/service/service.vue index b850254..e3172be 100644 --- a/src/pages/eashier/service/service.vue +++ b/src/pages/eashier/service/service.vue @@ -635,6 +635,7 @@ 收银列表 + {{ isAddition == 1 ? "收银" : "补单" }} @@ -680,6 +681,7 @@ import recash from "./recash"; import orders from "./detail/detail"; import { partten } from "@/utils/partten/index.js"; export default { + components: { member, reccard, @@ -1218,7 +1220,7 @@ export default { this.recForm.collectionIntegralAmount ).toFixed(2) * 1; console.log("🚀 ~ file: service.vue ~ line 1213 ~ sumNum ~ this.recForm", this.recForm) - this.recForm.collectionAmounts = spendMoney.toFixed(2) * 1; + this.recForm.collectionAmounts =spendMoney?spendMoney.toFixed(2) * 1:0;; this.recForm.rechargeAmount = spendNumber.toFixed(2) * 1; @@ -1858,7 +1860,8 @@ export default { adminList: [], payLists: this.payLists, rechargeAccountList: [], //卡付列表 - collectionCashAmounts: 0 + collectionCashAmounts: 0, + collectionAmounts:0, }; this.projectMomey = 0; this.recIndex = -1;