|
@@ -60,7 +60,14 @@ export default {
|
|
|
},
|
|
|
// 新增
|
|
|
async toAdd({ data }) {
|
|
|
- let form = { platform_act: this.platform_act, shop: this.shop, goods: this.goods, platform_act_type: this.platform_act_type, spec: data._id };
|
|
|
+ let form = {
|
|
|
+ platform_act: this.platform_act,
|
|
|
+ shop: this.shop,
|
|
|
+ goods: this.goods,
|
|
|
+ platform_act_type: this.platform_act_type,
|
|
|
+ spec: data._id,
|
|
|
+ status: this.status,
|
|
|
+ };
|
|
|
if (this.platform_act_type == '4') {
|
|
|
let config = { goods_type: this.goods_type };
|
|
|
form.config = config;
|
|
@@ -99,6 +106,9 @@ export default {
|
|
|
goods_type() {
|
|
|
return this.$route.query.goods_type;
|
|
|
},
|
|
|
+ status() {
|
|
|
+ return this.$route.query.status;
|
|
|
+ },
|
|
|
},
|
|
|
metaInfo() {
|
|
|
return { title: this.$route.meta.title };
|