Commit 103b67a7 by 李伟康

修复BUG

1 parent 9b9e1af6
...@@ -192,12 +192,12 @@ ...@@ -192,12 +192,12 @@
:with-header="false" :with-header="false"
class="drawer-panel" class="drawer-panel"
size="880px" size="880px"
title="新建权益卡" :title="dialogTitle"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
:before-close="closeDialog" :before-close="closeDialog"
> >
<div class="drawer-header flex_scb"> <div class="drawer-header flex_scb">
<span class="title">新建权益卡</span> <span class="title">{{dialogTitle}}</span>
<i class="el-icon-close"></i> <i class="el-icon-close"></i>
</div> </div>
<div class="drawer-wrapper gl-form-page gl-form-min"> <div class="drawer-wrapper gl-form-page gl-form-min">
...@@ -745,7 +745,8 @@ export default { ...@@ -745,7 +745,8 @@ export default {
] ]
}, },
activityRedEnvelopeList: [], activityRedEnvelopeList: [],
activityRedEnvelopeKey: Date.now() activityRedEnvelopeKey: Date.now(),
dialogTitle:'新建权益卡'
} }
}, },
components: { components: {
...@@ -849,6 +850,8 @@ export default { ...@@ -849,6 +850,8 @@ export default {
this.isAdd = false this.isAdd = false
this.inputSwitch = true this.inputSwitch = true
this.disableSelect = false this.disableSelect = false
this.dialogTitle = '新建权益卡'
this.activityRedEnvelopeList = []
this.$refs.recordTable.refreshTable() this.$refs.recordTable.refreshTable()
}, },
extension (row) { extension (row) {
...@@ -948,6 +951,7 @@ export default { ...@@ -948,6 +951,7 @@ export default {
row.activityRedEnvelopeId = row.activityRedEnvelopeResponseList[0].activityRedEnvelopeId row.activityRedEnvelopeId = row.activityRedEnvelopeResponseList[0].activityRedEnvelopeId
delete row.activityRedEnvelopeResponseList delete row.activityRedEnvelopeResponseList
} }
this.dialogTitle = '编辑权益卡'
this.getActivityRedEnvelopeList(row.merchantId) this.getActivityRedEnvelopeList(row.merchantId)
this.ruleForm = row this.ruleForm = row
this.dialogVisible = true this.dialogVisible = true
...@@ -969,6 +973,7 @@ export default { ...@@ -969,6 +973,7 @@ export default {
this.disableSelect = false this.disableSelect = false
this.isAdd = true this.isAdd = true
this.dialogVisible = true this.dialogVisible = true
this.getActivityRedEnvelopeList(row.merchantId)
this.ruleForm = row this.ruleForm = row
this.ruleForm.effectiveType = row.effectiveType + '' this.ruleForm.effectiveType = row.effectiveType + ''
if (this.ruleForm.effectiveType == 2) { if (this.ruleForm.effectiveType == 2) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!