|
|
@@ -120,7 +120,7 @@
|
|
|
<el-form-item label="BANNER图" prop="images">
|
|
|
<Material v-model="photoArr" type="image" :num="10" :width="150" :height="150" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="活动疗法" prop="packageIds" >
|
|
|
+ <el-form-item label="活动疗法" prop="productIds" >
|
|
|
<el-row >
|
|
|
<el-col >
|
|
|
<el-button plain type="primary" icon="el-icon-plus" @click="handleAddPackage">添加疗法</el-button>
|
|
|
@@ -242,7 +242,7 @@ export default {
|
|
|
descs: null,
|
|
|
logoUrl: null,
|
|
|
images: null,
|
|
|
- packageIds: null,
|
|
|
+ productIds: null,
|
|
|
content: null,
|
|
|
status: null
|
|
|
},
|
|
|
@@ -307,6 +307,7 @@ export default {
|
|
|
logoUrl: null,
|
|
|
images: null,
|
|
|
packageIds: null,
|
|
|
+ productIds: null,
|
|
|
content: null,
|
|
|
createTime: null,
|
|
|
status: "1"
|
|
|
@@ -377,7 +378,10 @@ export default {
|
|
|
this.packages.forEach(element => {
|
|
|
packageIds.push(element.packageId);
|
|
|
});
|
|
|
- this.form.packageIds=packageIds.toString();
|
|
|
+ // this.form.packageIds=packageIds.toString();
|
|
|
+ this.form.productIds = packageIds.toString();
|
|
|
+ } else {
|
|
|
+ this.form.productIds = "";
|
|
|
}
|
|
|
if (this.form.activityId != null) {
|
|
|
updateStoreActivity(this.form).then(response => {
|