Commit 734eb8c4 by 前端

fixed

1 parent ceac9bda
...@@ -518,6 +518,7 @@ export default { ...@@ -518,6 +518,7 @@ export default {
nameToValSpecsList: [], nameToValSpecsList: [],
activityInfo: {}, activityInfo: {},
editForm: { editForm: {
activityPrice: 0,
goodsList: null, goodsList: null,
pageStyle: null, pageStyle: null,
merchantId: null, merchantId: null,
...@@ -1875,6 +1876,7 @@ export default { ...@@ -1875,6 +1876,7 @@ export default {
this.handleMusicChange(this.musicList.length - 1) this.handleMusicChange(this.musicList.length - 1)
} }
} }
if (this.editForm.couponList && this.editForm.couponList.length) {
this.editForm.couponList.forEach(item => { this.editForm.couponList.forEach(item => {
item.id = item.couponId item.id = item.couponId
item.anticipatedCost = item.couponAnticipatedCost item.anticipatedCost = item.couponAnticipatedCost
...@@ -1884,6 +1886,10 @@ export default { ...@@ -1884,6 +1886,10 @@ export default {
this.editForm.couponList = this.editForm.couponList.filter(i => i.discountType != 8) this.editForm.couponList = this.editForm.couponList.filter(i => i.discountType != 8)
this.recoveryCoupon() this.recoveryCoupon()
this.recoveryTotalPrice() this.recoveryTotalPrice()
} else {
this.editForm.couponList = []
}
// 表单设置 // 表单设置
this.editForm.formDescribeCheck = [] this.editForm.formDescribeCheck = []
this.editForm.selectCarNumberFlag = this.editForm.selectCarNumberFlag || 1 this.editForm.selectCarNumberFlag = this.editForm.selectCarNumberFlag || 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!