修改活动商品页面报错
This commit is contained in:
parent
876e54a416
commit
e596011106
@ -297,6 +297,7 @@ export default {
|
|||||||
boxshadow1: false,
|
boxshadow1: false,
|
||||||
boxshadow2: false,
|
boxshadow2: false,
|
||||||
id: "",
|
id: "",
|
||||||
|
adver_id: "",//活动id
|
||||||
groupById: "",
|
groupById: "",
|
||||||
promotional_price: "", //活动价
|
promotional_price: "", //活动价
|
||||||
info: "",
|
info: "",
|
||||||
@ -541,6 +542,7 @@ export default {
|
|||||||
getGoodsInfo() {
|
getGoodsInfo() {
|
||||||
const params = {
|
const params = {
|
||||||
id: this.id,
|
id: this.id,
|
||||||
|
adver_id: this.adver_id,
|
||||||
}
|
}
|
||||||
request(apiArr.getGoodsInfo, "POST", params).then((res) => {
|
request(apiArr.getGoodsInfo, "POST", params).then((res) => {
|
||||||
// 分割图片
|
// 分割图片
|
||||||
@ -781,6 +783,7 @@ export default {
|
|||||||
this.top = meun.top;
|
this.top = meun.top;
|
||||||
this.localHeight = meun.height;
|
this.localHeight = meun.height;
|
||||||
this.id = this.itemObj.commodity_id ? this.itemObj.commodity_id : this.itemObj.id;
|
this.id = this.itemObj.commodity_id ? this.itemObj.commodity_id : this.itemObj.id;
|
||||||
|
this.adver_id = this.itemObj.adver_id
|
||||||
this.groupById = this.itemObj.groupById
|
this.groupById = this.itemObj.groupById
|
||||||
this.promotional_price = this.itemObj.promotional_price
|
this.promotional_price = this.itemObj.promotional_price
|
||||||
this.getBuyRecord()
|
this.getBuyRecord()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user