From 05159702c718d8661eb457f1362b115beeaa421d Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期五, 03 十一月 2023 09:51:26 +0800 Subject: [PATCH] 新增补货页面,库存报表列表状态修改 --- src/views/overview/OverviewListView.vue | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue index 9519c51..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() { @@ -230,7 +231,8 @@ number: this.keyword, operationTypeId: this.params.id, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize + pageSize: this.pagerOptions.pageSize, + status: this.params.status }).then((res) => { console.log(res.data) if (res.code === 200) { @@ -258,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