From 9a991de2a0079a8f90ed0dfa26abf4d0f95a9bb5 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 28 九月 2023 10:01:29 +0800 Subject: [PATCH] bug修复(5089) --- src/views/productManage/productCategory/AddProductCategoryDialog.vue | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/productManage/productCategory/AddProductCategoryDialog.vue b/src/views/productManage/productCategory/AddProductCategoryDialog.vue index afa9934..ef39125 100644 --- a/src/views/productManage/productCategory/AddProductCategoryDialog.vue +++ b/src/views/productManage/productCategory/AddProductCategoryDialog.vue @@ -15,13 +15,15 @@ <span>鎵撳嵃</span> </span> --> <span class="btn" style="margin-left: 15px"> - <el-button + <i class="el-icon-s-tools"></i> + <span>鍔ㄤ綔</span> + <!-- <el-button plain size="mini" style="margin-left: 15px" @click="deleteClick" >鍒犻櫎</el-button - > + > --> </span> <el-button v-if="showEdit" @@ -324,10 +326,15 @@ delClick() {}, // 浜у搧 productClick() { - this.$router.push({ - path: "/productManage/productList", - query: { name: "浜у搧" }, - }); + this.$refs.form.validate((valid) => { + if (valid) { + this.$router.push({ + path: "/productManage/product", + query: { categoryName:this.editConfig.infomation.name, id: this.editConfig.title === "鏂板缓"?'':this.editConfig.infomation.id}, + }); + } + }) + }, }, }; -- Gitblit v1.8.0