|
|
@ -552,7 +552,6 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
getprice(e) { |
|
|
|
getprice(e) { |
|
|
|
console.log(e) |
|
|
|
|
|
|
|
let that=this |
|
|
|
let that=this |
|
|
|
let params = { |
|
|
|
let params = { |
|
|
|
goods_id:that.goods.goods_id, |
|
|
|
goods_id:that.goods.goods_id, |
|
|
@ -565,11 +564,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
GoodsApi.editGoodsSeckillPrice(params).then(res => { |
|
|
|
GoodsApi.editGoodsSeckillPrice(params).then(res => { |
|
|
|
if (res.status == 200) { |
|
|
|
if (res.status == 200) { |
|
|
|
console.log(res) |
|
|
|
|
|
|
|
that.$toast("设置成功"); |
|
|
|
that.$toast("设置成功"); |
|
|
|
this.$refs.setRange.afterSale = false; |
|
|
|
this.$refs.setRange.afterSale = false; |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
// that.getGoodsDetail(1); |
|
|
|
that.getGoodsDetail(1); |
|
|
|
}, 500) |
|
|
|
}, 500) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|