| | |
| | | // 表单数据 |
| | | form: { |
| | | categoryId: '', |
| | | categoryId1: '', |
| | | type: 0, |
| | | rate: '', |
| | | name: '', |
| | |
| | | // 调用新建接口 |
| | | this.isWorking = true |
| | | createPlat({ |
| | | categoryId: this.form.categoryId, |
| | | categoryId: this.form.categoryId1, |
| | | goodsParamList: this.form.goodsParamList, |
| | | rate: this.form.rate, |
| | | type: this.form.type |
| | |
| | | open(title, target) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.form.categoryId = target.categoryId |
| | | this.form.categoryId = Number(target.categoryId.split(',')[0]) |
| | | this.form.categoryId1 = Number(target.categoryId.split(',')[1]) |
| | | this.form.rate = Number(target.rate) |
| | | this.form.type = target.type |
| | | // 获取分类列表 |