zuozhengqing
2024-03-29 46d46b7159c3f97e3e4cb0bf00e90e27b5367325
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -72,7 +72,8 @@
          clientId: 0,
          isRequest: true,
          client_name: "",
          tableInfomation: []
          tableInfomation: [],
          supplierId:null,
        }
      }
    },
@@ -115,7 +116,7 @@
      tableColumn: [],
      selectArray: []
    }
  },
  },
  created() {
    this.setTable()
    this.getData()
@@ -175,10 +176,11 @@
    async getProductList() {
      let fn = this.sign == "purchase" ? getProductList : getProductListFromGrpc
      await fn({
        keyword: this.keyword,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
          keyword: this.keyword,
          page: this.pagerOptions.currPage,
          supplierId:this.editConfig.supplierId,
          pageSize: this.pagerOptions.pageSize,
        }).then((res) => {
        if (res.code === 200) {
          if (res.data.list && res.data.list.length > 0) {
            const list = res.data.list.map((item) => {