商品券商品ID字段修改

This commit is contained in:
GaoHao 2024-11-13 13:46:40 +08:00
parent 42c2d6891d
commit 266674272d
1 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ export default {
res.map(async item => { res.map(async item => {
if (!await this.checkShop(item.id)) { if (!await this.checkShop(item.id)) {
this.form.products.push({ this.form.products.push({
id: item.id, productId: item.id,
name: item.name, name: item.name,
num: null num: null
}) })
@ -332,7 +332,7 @@ export default {
}) })
} else { } else {
this.form.products.push({ this.form.products.push({
id: res[0].id, productId: res[0].id,
name: res[0].name, name: res[0].name,
num: null num: null
}) })