-
+
@@ -561,7 +559,7 @@ export default {
{required: true, message: '请输入支付方式', trigger: 'blur'},
],
moneyMin: [
- {required: true, message: '请输入实收最低金额', trigger: 'blur'},
+ {required: true, message: '请输入订单最低金额', trigger: 'blur'},
],
literMin: [
{required: true, message: '请输入最低加油升数', trigger: 'blur'},
@@ -585,7 +583,7 @@ export default {
{required: true, message: '请选择消费类型', trigger: 'change'},
],
moneyMax: [
- {required: true, message: '请输入实收最高金额', trigger: 'blur'},
+ {required: true, message: '请输入订单最高金额', trigger: 'blur'},
],
literMax: [
{required: true, message: '请输入最高加油升数', trigger: 'blur'},
diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/userConsume.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/userConsume.vue
index 3e9651057..5779e5fae 100644
--- a/fuintAdmin/src/views/EventMarketing/openCardGift/userConsume.vue
+++ b/fuintAdmin/src/views/EventMarketing/openCardGift/userConsume.vue
@@ -105,16 +105,20 @@
赠送
-
+
-
- 张
-
+
+ 张
+
@@ -284,6 +288,17 @@ export default {
this.getOilList()
},
methods: {
+ updateMax(item) {
+ //先清空之前的值
+ item.giftCardTotal = 1;
+ // 更新最大值
+ const selectedOption = this.cardCouponList.find(option => option.id === item.vouchersId);
+ if (selectedOption) {
+ item.max = selectedOption.tfTotal - selectedOption.tfGetNum;
+ } else {
+ item.max = 0; // 默认值或处理未找到的情况
+ }
+ },
getOilList(){
getOilNameList().then(response => {
this.oilNameList = response.data;
@@ -315,7 +330,7 @@ export default {
})
},
getCardCoupon(){
- listCardCoupon({status:1,putType:1}).then(res => {
+ listCardCoupon({status:1}).then(res => {
this.cardCouponList = res.data.records
})
},
diff --git a/fuintAdmin/src/views/EventMarketing/openCardGift/userRecharge.vue b/fuintAdmin/src/views/EventMarketing/openCardGift/userRecharge.vue
index 388751037..d2dfdaac7 100644
--- a/fuintAdmin/src/views/EventMarketing/openCardGift/userRecharge.vue
+++ b/fuintAdmin/src/views/EventMarketing/openCardGift/userRecharge.vue
@@ -92,16 +92,20 @@
赠送
-
+
-
- 张
-
+
+ 张
+
@@ -260,6 +264,17 @@ export default {
this.listUserGrade()
},
methods: {
+ updateMax(item) {
+ //先清空之前的值
+ item.giftCardTotal = 1;
+ // 更新最大值
+ const selectedOption = this.cardCouponList.find(option => option.id === item.vouchersId);
+ if (selectedOption) {
+ item.max = selectedOption.tfTotal - selectedOption.tfGetNum;
+ } else {
+ item.max = 0; // 默认值或处理未找到的情况
+ }
+ },
listUserGrade() {
listUserGrade({page:1,pageSize:1000}).then(res => {
if (res.code == 200) {
@@ -268,7 +283,7 @@ export default {
})
},
getCardCoupon(){
- listCardCoupon({status:1,putType:1}).then(res => {
+ listCardCoupon({status:1}).then(res => {
this.cardCouponList = res.data.records
})
},
diff --git a/fuintAdmin/src/views/oilConfig/oilPrice/comp/addprice.vue b/fuintAdmin/src/views/oilConfig/oilPrice/comp/addprice.vue
index a88c3b4ab..c1d13b11c 100644
--- a/fuintAdmin/src/views/oilConfig/oilPrice/comp/addprice.vue
+++ b/fuintAdmin/src/views/oilConfig/oilPrice/comp/addprice.vue
@@ -164,7 +164,9 @@ export default {
预设油价记录