Commit 103b67a7 by 李伟康

修复BUG

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