|
@@ -36,7 +36,7 @@ export default {
|
|
|
opera: [{ label: '选择规格', method: 'add' }],
|
|
|
fields: [
|
|
|
{ label: '商品名称', model: 'name', showTip: false },
|
|
|
- { label: '店铺名称', model: 'shop.name' },
|
|
|
+ // { label: '店铺名称', model: 'shop.name' },
|
|
|
{ label: '浏览量', model: 'view_num' },
|
|
|
{ label: '来源', model: 'source' },
|
|
|
{ label: '发货时间', model: 'send_time' },
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
},
|
|
|
// 新增
|
|
|
async toAdd({ data }) {
|
|
|
- let query = { platform_act: this.id, shop: data.shop._id, goods: data._id, platform_act_type: this.type };
|
|
|
+ let query = { platform_act: this.id, shop: data.shop, goods: data._id, platform_act_type: this.type };
|
|
|
if (this.type == '4') query.goods_type = this.goods_type;
|
|
|
this.$router.push({ path: './goodsSpec', query: query });
|
|
|
},
|