商品券商品ID字段修改
This commit is contained in:
parent
42c2d6891d
commit
266674272d
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue