修改活动商品页面报错

This commit is contained in:
赵毅 2025-11-10 16:14:56 +08:00
parent 876e54a416
commit e596011106

View File

@ -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()