|
@@ -86,13 +86,7 @@ export default {
|
|
placeholder: "商品编号",
|
|
placeholder: "商品编号",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- formData: {
|
|
|
|
- status: "0,1",
|
|
|
|
- pageSize: 10,
|
|
|
|
- pageNum: 1,
|
|
|
|
- businessId: this.businessId,
|
|
|
|
- educationTypeId: this.educationTypeId,
|
|
|
|
- },
|
|
|
|
|
|
+ formData: {},
|
|
loading: false,
|
|
loading: false,
|
|
total: 0,
|
|
total: 0,
|
|
tableRadio: "",
|
|
tableRadio: "",
|
|
@@ -123,7 +117,9 @@ export default {
|
|
type: "success",
|
|
type: "success",
|
|
});
|
|
});
|
|
let obj = this.courseData.find((e) => e.goodsId == this.tableRadio);
|
|
let obj = this.courseData.find((e) => e.goodsId == this.tableRadio);
|
|
- this.activeData = Object.assign(this.activeData, obj);
|
|
|
|
|
|
+ this.activeData = Object.assign(this.activeData, obj, {
|
|
|
|
+ specTemplateId,
|
|
|
|
+ });
|
|
this.dialogTableVisible = false;
|
|
this.dialogTableVisible = false;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -150,6 +146,7 @@ export default {
|
|
businessId: this.businessId,
|
|
businessId: this.businessId,
|
|
educationTypeId: this.educationTypeId,
|
|
educationTypeId: this.educationTypeId,
|
|
status: "0,1",
|
|
status: "0,1",
|
|
|
|
+ goodsTypes: [1, 2, 6],
|
|
};
|
|
};
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
@@ -168,7 +165,7 @@ export default {
|
|
this.tableRadio = "";
|
|
this.tableRadio = "";
|
|
this.activeData = row;
|
|
this.activeData = row;
|
|
this.dialogTableVisible = true;
|
|
this.dialogTableVisible = true;
|
|
- this.search();
|
|
|
|
|
|
+ this.init();
|
|
},
|
|
},
|
|
handleSizeChange(v) {
|
|
handleSizeChange(v) {
|
|
this.formData.pageSize = v;
|
|
this.formData.pageSize = v;
|