From 6f4b991d855d1e09e21fab7e8a1217f685b9b96d Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期六, 28 十月 2023 16:07:50 +0800
Subject: [PATCH] 上架规则编辑位置不可点击问题
---
src/views/overview/OverviewListView.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue
index bb94c95..1da054c 100644
--- a/src/views/overview/OverviewListView.vue
+++ b/src/views/overview/OverviewListView.vue
@@ -40,7 +40,7 @@
v-if="editConfig.visible"
:work-type="workType"
:edit-common-config="editConfig"
- :add-name="this.$route.params.name"
+ :add-name="addName"
:display-edit="displayEdit"
/>
</div>
@@ -78,7 +78,8 @@
params: {},
displayEdit: false,
formLabel: "",
- toLabel: ""
+ toLabel: "",
+ addName: ""
}
},
created() {
@@ -259,15 +260,18 @@
console.log(row)
this.editConfig.visible = true
this.editConfig.title = val
- this.editConfig.operationTypeId = this.$route.params.id
+ this.editConfig.operationTypeId = this.params.id
this.editConfig.infomation = { ...row }
},
// 鏂板缓
addBtnClick() {
- this.editConfig.visible = true
this.editConfig.title = "鏂板缓"
- this.editConfig.operationTypeId = this.$route.params.id
+ this.addName = this.params.name
+ console.log(this.params, "ss鍒锋柊")
+ this.editConfig.operationTypeId = this.params.id
+ this.editConfig.code = this.params.code
this.editConfig.infomation = {}
+ this.editConfig.visible = true
},
// 鐘舵��
getStatus(val) {
--
Gitblit v1.8.0