Commit 14f3cb60 by 李伟康

提交

1 parent 9b73fae7
......@@ -1159,7 +1159,7 @@ export default {
relateStoreVisible: false, // 选择门店
limitPurchaseDisabled:false,//多商品禁用限购
limitPurchaseDisabled: false,//多商品禁用限购
selectedList: [],
selectedProInfo: [],
......@@ -1971,7 +1971,8 @@ export default {
{
label: '常态化模式',
name: 'normalModel',
addHtml: 'normalModel'
addHtml: 'normalModel',
tips: '活动结束后是否作为常态化活动自动上架'
}
],
//直播配置
......@@ -2644,18 +2645,19 @@ export default {
.getActivityDetailApi({ id: this.routeInfo.id })
.then(res => {
var info = res
/**商品 */
info.goodsList && info.goodsList.map(e => {
e.activityPrice = (e.activityPrice / 100).toFixed(2)
e.crowdFundingPrice = (e.crowdFundingPrice / 100).toFixed(2)
})
this.editForm = this.$common.utils.deepClone(res)
this.activityInfo = info
this.$set(this.editForm, 'activityTime', [info.startTime, info.endTime])
//改 this.routeInfo.addOrEdit == 'edit' && this.getGoodInfo(info.goodsId)
if (info.activityPrice != null && info.goodsStock != null) {
this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2)
this.editForm.goodsStock = info.goodsStock + ''
}
if (info.crowdFundingPrice != null) {
// 改
this.editForm.crowdFundingPrice = (info.crowdFundingPrice / 100).toFixed(2)
}
this.selectedProInfo = info.goodsList
// if () {
// this.editForm.activityPrice = (info.activityPrice / 100).toFixed(2)
// this.editForm.goodsStock = info.goodsStock + ''
// }
// 预估销量
if (info.predictVolume) {
this.editForm.predictVolume = (info.predictVolume / 100).toFixed(2)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!