diff --git a/src/views/marketing_center/cashback/index.vue b/src/views/marketing_center/cashback/index.vue
index bd739e9..c72cd70 100644
--- a/src/views/marketing_center/cashback/index.vue
+++ b/src/views/marketing_center/cashback/index.vue
@@ -17,7 +17,7 @@
-
+
@@ -134,13 +134,13 @@ const rules = ref({
let errStr = ''
form.value.cashbackStepList.map(item => {
if (form.value.cashbackType == 'percentage') {
- if (item.cashbackAmount > 100) {
+ if (+item.cashbackAmount > 100) {
flag = false
errStr = '输入有误,请检查返现比例是不是大于100'
}
}
if (form.value.cashbackType == 'fix') {
- if (!item.amount || !item.cashbackAmount || item.cashbackAmount > item.amount) {
+ if (!+item.amount || !+item.cashbackAmount || +item.cashbackAmount > +item.amount) {
flag = false
errStr = '输入有误,请检查返现金额是不是大于返现门槛'
}