From 46ed69e3b72658140a40127f4bae16bef9a02d56 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 21 八月 2023 11:23:34 +0800 Subject: [PATCH] bug修复 --- src/views/other/commonDialog/SelectCommonDialog.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index 60238cb..3090ad6 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/src/views/other/commonDialog/SelectCommonDialog.vue @@ -149,7 +149,7 @@ { 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++) { @@ -305,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