From 46d46b7159c3f97e3e4cb0bf00e90e27b5367325 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期五, 29 三月 2024 18:08:22 +0800 Subject: [PATCH] 采购管理产品名称列表绑定供应商列表 --- src/views/other/commonDialog/SelectCommonDialog.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index 74d664a..8b0fedd 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/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) => { -- Gitblit v1.8.0