Commit 734eb8c4 by 前端

fixed

1 parent ceac9bda
......@@ -518,6 +518,7 @@ export default {
nameToValSpecsList: [],
activityInfo: {},
editForm: {
activityPrice: 0,
goodsList: null,
pageStyle: null,
merchantId: null,
......@@ -1875,15 +1876,20 @@ export default {
this.handleMusicChange(this.musicList.length - 1)
}
}
this.editForm.couponList.forEach(item => {
item.id = item.couponId
item.anticipatedCost = item.couponAnticipatedCost
item.denomination = item.couponAnticipatedCost
})
this.selectedGoodsList = this.editForm.couponList.filter(i => i.discountType == 8)
this.editForm.couponList = this.editForm.couponList.filter(i => i.discountType != 8)
this.recoveryCoupon()
this.recoveryTotalPrice()
if (this.editForm.couponList && this.editForm.couponList.length) {
this.editForm.couponList.forEach(item => {
item.id = item.couponId
item.anticipatedCost = item.couponAnticipatedCost
item.denomination = item.couponAnticipatedCost
})
this.selectedGoodsList = this.editForm.couponList.filter(i => i.discountType == 8)
this.editForm.couponList = this.editForm.couponList.filter(i => i.discountType != 8)
this.recoveryCoupon()
this.recoveryTotalPrice()
} else {
this.editForm.couponList = []
}
// 表单设置
this.editForm.formDescribeCheck = []
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!