From 04489cc3864aa38fde8b539aee6c4c9eed6ab1d4 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 28 九月 2023 14:35:35 +0800 Subject: [PATCH] 解决产品列表报错 --- src/views/productManage/product/AddProductDialog.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/productManage/product/AddProductDialog.vue b/src/views/productManage/product/AddProductDialog.vue index 56214dd..b939663 100644 --- a/src/views/productManage/product/AddProductDialog.vue +++ b/src/views/productManage/product/AddProductDialog.vue @@ -538,7 +538,7 @@ showButton: true, activeName: "first", productTableList: {}, - tableData: [{ name: "ssss" }], + tableData: [], isNoProduct: false, // 娣诲姞鏄庣粏琛屾椂鏄惁鏈変骇鍝佹湭閫夋嫨 showEdit: false, // 鏄惁鏄剧ず缂栬緫鎸夐挳 isDelClick: false, // 鍒犻櫎鎸夐挳鏄惁鍙偣鍑� @@ -748,7 +748,11 @@ // 杩涘嚭鐐瑰嚮 inOutBoundClick() { if (this.editConfig.title !== "鏂板缓") { - this.$router.push({ path: "/reportForm/inOutboundDetail", query: { name: "浜у搧鍚嶇О/鍑哄叆搴撴槑缁�" } }) + console.log(this.editConfig.infomation) + this.$router.push({ + name: "inOutboundDetail", + params: { name: this.editConfig.infomation.name, id: this.editConfig.infomation.id } + }) } }, // 鍙攢鍞�/鍙噰璐� -- Gitblit v1.8.0