fix: 🐛 修复已知的bug

master
Yer 2023-09-19 09:25:57 +08:00
parent fff086a3a1
commit e13fc57ae7
2 changed files with 4 additions and 3 deletions

View File

@ -151,7 +151,7 @@
<img :src="complaintInfo.goodsImage" height="60px">
</dt>
<dd>
<a>{{complaintInfo.goodsName}}</a><br>
<a @click="linkTo(complaintInfo.goodsId, complaintInfo.skuId)">{{complaintInfo.goodsName}}</a><br>
<span>{{complaintInfo.goodsPrice}} * {{complaintInfo.num}}(数量)</span>
</dd>
</dl>

View File

@ -566,10 +566,11 @@ export default {
onOk: () => {
let ids = [];
this.selectedGoods.forEach(function (e) {
ids.push(e.id);
ids.push(e.skuId);
});
this.form.promotionGoodsList = this.form.promotionGoodsList.filter((item) => {
return !ids.includes(item.id);
return !ids.includes(item.skuId);
});
},
});