From 8003ace3fff94312edeca29c0e1607b903b807e6 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 11 四月 2024 18:54:31 +0800 Subject: [PATCH] 获取产量登记详情的接口联调+2个数组重新排版成表格所需数据 --- src/views/productManage/silkRegisterForm/index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue index a82b23d..533285e 100644 --- a/src/views/productManage/silkRegisterForm/index.vue +++ b/src/views/productManage/silkRegisterForm/index.vue @@ -61,7 +61,7 @@ tableList: {}, loading: false, searchOptions: [], - search_map: {}, + keyword: '', tableColumn: [ { label: "缂栧彿", prop: "number", min: 120, default: true }, // 涓婚 { label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О @@ -86,7 +86,7 @@ }, created() { this.setTable() - this.getData(this.search_map) + this.getData(this.keyword) }, computed: { }, @@ -123,7 +123,7 @@ async getData() { this.loading = true await getRegisterList({ - search_map: this.search_map, + keyword: this.keyword, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }) @@ -160,7 +160,7 @@ }, // 鎼滅储 onFilterSearch(searchText) { - this.search_map.client_name = searchText ?? "" + this.keyword = searchText ?? "" this.pagerOptions.currPage = 1 this.getData() }, @@ -180,7 +180,8 @@ path:"/productManage/silkRegisterForm/addPage", query:{ id:row.ID, - activeName:'first' + activeName:'first', + inspectID:row.finenessCheckID, } }); }, -- Gitblit v1.8.0