From b3dd88bc7b9b465bbd697af9421718ea315d62e7 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Fri, 15 Mar 2024 09:52:11 +0800 Subject: [PATCH] bug --- fuintAdmin/src/views/member/fixingLevel.vue | 6 +++--- fuintAdmin/src/views/staffCommission/staffCommission.vue | 7 +++---- fuintAdmin/src/views/userGrade/index.vue | 6 +++--- .../src/views/cashier/NewComponents/homeindex.vue | 6 +++--- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/fuintAdmin/src/views/member/fixingLevel.vue b/fuintAdmin/src/views/member/fixingLevel.vue index 8bedaa3a5..93ad722ac 100644 --- a/fuintAdmin/src/views/member/fixingLevel.vue +++ b/fuintAdmin/src/views/member/fixingLevel.vue @@ -1376,7 +1376,7 @@ export default { this.gasolinePreferential.push(temp); }, subGasOline(idx){ - this.gasolinePreferential.splice(idx-1,1); + this.gasolinePreferential.splice(idx,1); }, addDiesel(){ let temp= { @@ -1387,7 +1387,7 @@ export default { this.dieselPreferential.push(temp); }, subDiesel(idx){ - this.dieselPreferential.splice(idx-1,1); + this.dieselPreferential.splice(idx,1); }, addNaturalGas(){ let temp= { @@ -1398,7 +1398,7 @@ export default { this.naturalGasPreferential.push(temp); }, subNaturalGas(idx){ - this.naturalGasPreferential.splice(idx-1,1); + this.naturalGasPreferential.splice(idx,1); }, } } diff --git a/fuintAdmin/src/views/staffCommission/staffCommission.vue b/fuintAdmin/src/views/staffCommission/staffCommission.vue index 9d30d7adc..c861cb3f6 100644 --- a/fuintAdmin/src/views/staffCommission/staffCommission.vue +++ b/fuintAdmin/src/views/staffCommission/staffCommission.vue @@ -157,7 +157,7 @@ - + @@ -285,9 +285,8 @@ - - + + diff --git a/fuintAdmin/src/views/userGrade/index.vue b/fuintAdmin/src/views/userGrade/index.vue index f27b7b996..05efc3a46 100644 --- a/fuintAdmin/src/views/userGrade/index.vue +++ b/fuintAdmin/src/views/userGrade/index.vue @@ -1079,7 +1079,7 @@ export default { this.gasolinePreferential.push(temp); }, subGasOline(idx){ - this.gasolinePreferential.splice(idx-1,1); + this.gasolinePreferential.splice(idx,1); }, addDiesel(){ let temp= { @@ -1090,7 +1090,7 @@ export default { this.dieselPreferential.push(temp); }, subDiesel(idx){ - this.dieselPreferential.splice(idx-1,1); + this.dieselPreferential.splice(idx,1); }, addNaturalGas(){ let temp= { @@ -1101,7 +1101,7 @@ export default { this.naturalGasPreferential.push(temp); }, subNaturalGas(idx){ - this.naturalGasPreferential.splice(idx-1,1); + this.naturalGasPreferential.splice(idx,1); }, // 获取规则信息 getRule(){ diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue index cf47d3d33..7551e0f40 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue @@ -186,9 +186,9 @@
找零
{{ seekZero.toFixed(2) }}
-
-
加油员
-
{{ staff ? staff.realName : "--" }}
+
+
加油员
+
{{ staff ? staff.realName : "--" }}