From 386878d3b2c54585c3d572ff34b3d5831d5175a1 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 22 十一月 2023 14:50:44 +0800
Subject: [PATCH] 供应商管理-请求头添加token

---
 src/views/other/commonDialog/SelectCommonDialog.vue |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue
index 2b2516f..2256300 100644
--- a/src/views/other/commonDialog/SelectCommonDialog.vue
+++ b/src/views/other/commonDialog/SelectCommonDialog.vue
@@ -155,8 +155,7 @@
     async getProductList() {
       let fn = this.sign == "purchase" ? getProductList : getProductListFromGrpc
       await fn({
-        productName: this.keywordType === "浜у搧鍚嶇О" ? this.keyword : "",
-        productNumber: this.keywordType === "浜у搧缂栧彿" ? this.keyword : "",
+        keyword:this.keyword,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       }).then((res) => {
@@ -187,13 +186,9 @@
       }
     },
     // 鎼滅储
-    searchClick(val, content) {
-      console.log(val, content)
-      this.search_map = {
-        [val.value]: content
-      }
+    searchClick(content) {
+      console.log( content)
       this.keyword = content
-      this.keywordType = val.label
       this.getData()
     },
     resetClick() {

--
Gitblit v1.8.0