Commit de160037 by 李伟康

修复活动&门店BUG

1 parent 88866e57
...@@ -904,7 +904,6 @@ export default { ...@@ -904,7 +904,6 @@ export default {
mounted () { mounted () {
this.getCrowdfundingOrderConfig() this.getCrowdfundingOrderConfig()
this.getCrowdfundingParams()
// this.getCount() // this.getCount()
}, },
...@@ -1367,6 +1366,7 @@ export default { ...@@ -1367,6 +1366,7 @@ export default {
this.showTable = true this.showTable = true
this.hideStatus = hideStatus this.hideStatus = hideStatus
this.getOptionsList('searchFormData') this.getOptionsList('searchFormData')
this.getCrowdfundingParams()
}, },
getParams () { getParams () {
var params = JSON.parse(JSON.stringify(this.searchForm)) var params = JSON.parse(JSON.stringify(this.searchForm))
...@@ -1737,7 +1737,8 @@ export default { ...@@ -1737,7 +1737,8 @@ export default {
}) })
}) })
} }
this.$set(this.searchFormData[11], 'optionList', this.$common.utils.deepClone(activityNameList)) const activityNamesIndex = this.searchFormData.findIndex(e => e.name == 'activityNames')
this.$set(this.searchFormData[activityNamesIndex], 'optionList', this.$common.utils.deepClone(activityNameList))
const merchant = await this.$apis.seckillActivity.getCrowdfundingParams({ const merchant = await this.$apis.seckillActivity.getCrowdfundingParams({
parameterType: 2 parameterType: 2
}) })
...@@ -1750,7 +1751,8 @@ export default { ...@@ -1750,7 +1751,8 @@ export default {
}) })
}) })
} }
this.$set(this.searchFormData[3], 'optionList', this.$common.utils.deepClone(merchantNameList)) const merchantNamesIndex = this.searchFormData.findIndex(e => e.name == 'merchantNames')
this.$set(this.searchFormData[merchantNamesIndex], 'optionList', this.$common.utils.deepClone(merchantNameList))
}, },
async batchRefundOrder () { async batchRefundOrder () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!