From b76f9d153dd40cef8864cecd168242850679047d Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 18 八月 2023 20:29:36 +0800 Subject: [PATCH] bug修复 --- src/views/other/commonDialog/SelectCommonDialog.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index fcc993e..3090ad6 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/src/views/other/commonDialog/SelectCommonDialog.vue @@ -145,12 +145,11 @@ this.tableList = { tableInfomation: [], tableColumn: [ - { label: "浜у搧鍚嶇О", prop: "Name", isClick: true }, - { label: "浜у搧缂栧彿", prop: "Number" }, - { label: "瑙勬牸鍨嬪彿", prop: "MaterialMode" } + { label: "浜у搧鍚嶇О", prop: "name", isClick: true }, + { label: "浜у搧缂栧彿", prop: "number" } ] } - this.searchSel = { value: "Name", label: "浜у搧鍚嶇О" } + this.searchSel = { value: "name", label: "浜у搧鍚嶇О" } } this.searchOptions = [] for (let i = 0; i < this.tableList.tableColumn.length; i++) { @@ -306,8 +305,8 @@ // 浜у搧鍚嶇О async getProductList() { await getProductList({ - productName: "", - productNumber: "", + productName: this.keywordType === "浜у搧鍚嶇О" ? this.keyword : "", + productNumber: this.keywordType === "浜у搧缂栧彿" ? this.keyword : "", page: 1, pageSize: 5 }).then((res) => { -- Gitblit v1.8.0