zuozhengqing
2023-11-21 d897e9aac7689926551ae413a22430540f765846
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() {