修改
This commit is contained in:
parent
6394c0f4bd
commit
c5a4275067
@ -389,6 +389,7 @@ export default {
|
||||
this.form.parentId = data.id;
|
||||
this.form.parentName = data.goodsCategoryName;
|
||||
// this.categoryLevel = data.categoryLevel;
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
getStationCategoryList(data.id).then((res) => {
|
||||
res.data.forEach((e) => {
|
||||
@ -426,7 +427,6 @@ export default {
|
||||
},
|
||||
getList() {
|
||||
this.loading = true;
|
||||
this.queryParams.pageNum = 1;
|
||||
listGoodsCategory(this.queryParams).then((response) => {
|
||||
this.goodsCategoryList = response.rows;
|
||||
this.total = response.total;
|
||||
@ -511,7 +511,6 @@ export default {
|
||||
this.imgone = this.form.goodsCategoryPicture;
|
||||
this.open = true;
|
||||
this.title = "修改商品分类信息";
|
||||
console.log(this.form);
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
@ -530,6 +529,7 @@ export default {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
++this.isResouceShow;
|
||||
this.open = false;
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
this.info();
|
||||
});
|
||||
@ -538,6 +538,7 @@ export default {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
++this.isResouceShow;
|
||||
this.open = false;
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
this.info();
|
||||
});
|
||||
@ -547,7 +548,6 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row);
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal
|
||||
.confirm("是否确认删除?")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user