diff --git a/src/views/base/customer/ReceiveCouponForm.vue b/src/views/base/customer/ReceiveCouponForm.vue index c7a6041..83d160b 100644 --- a/src/views/base/customer/ReceiveCouponForm.vue +++ b/src/views/base/customer/ReceiveCouponForm.vue @@ -2,6 +2,11 @@
+ 请选择充值类型: + + + @@ -105,6 +110,7 @@ export default { formLoading: false, //折叠面板默认展开 activeNames: ['1', '2'], + accountType: '01', // 表单参数 formData: { id: undefined, @@ -193,10 +199,15 @@ export default { const data = { cusId:this.cusRow.id, activeId:this.formData.id, - selectCoupon:this.multipleSelection + selectCoupon:this.multipleSelection, + accountType: this.accountType } await ActiveMainApi.attendActive(data); - this.$modal.msgSuccess("参与成功"); + if (this.formData.isPack == '0'){ + this.$modal.msgSuccess("已生成订单,请客户尽快支付"); + } else { + this.$modal.msgSuccess("参与成功"); + } this.dialogVisible = false this.$emit('success'); } finally { @@ -207,6 +218,7 @@ export default { /** 表单重置 */ reset() { + this.accountType = '01' this.formData = { id: undefined, name: undefined, diff --git a/src/views/base/customer/RuchForm.vue b/src/views/base/customer/RuchForm.vue index c6c11ca..0b1953d 100644 --- a/src/views/base/customer/RuchForm.vue +++ b/src/views/base/customer/RuchForm.vue @@ -142,7 +142,7 @@ export default { accountType: this.accountType } await ActiveMainApi.attendActive(data); - this.$modal.msgSuccess("参与成功"); + this.$modal.msgSuccess("已生成订单,请客户尽快支付"); this.dialogVisible = false this.$emit('success'); } finally { @@ -153,6 +153,8 @@ export default { /** 表单重置 */ reset() { + this.topUpAmount = 0.00 + this.accountType = '01' this.formData = { id: undefined, name: undefined, @@ -160,8 +162,7 @@ export default { beginTime: undefined, endTime: undefined, remark: undefined, - topUpAmount: 0.00, - accountType: '01', + ruleList: [{ name: '', rechAmount: '', diff --git a/src/views/repair/orderinfo/index.vue b/src/views/repair/orderinfo/index.vue index 0b02bef..9fd5140 100644 --- a/src/views/repair/orderinfo/index.vue +++ b/src/views/repair/orderinfo/index.vue @@ -45,6 +45,7 @@