From d9abc7cc0df325a31c43fae4c994640aec1dcccb Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 26 十月 2023 11:09:32 +0800 Subject: [PATCH] 销售明细单和退货单产品选择修改 --- src/views/other/commonDialog/SelectCommonDialog.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index c983bd5..9f0f9e7 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/src/views/other/commonDialog/SelectCommonDialog.vue @@ -68,7 +68,8 @@ editVisible: false, title: "", clientId: 0, - tableInfomation: [], + client_name: "", + tableInfomation: [] } } } @@ -98,6 +99,8 @@ this.search_map = { client_id: this.editConfig.clientId } + this.keyword = this.editConfig.client_name + this.keywordType = "瀹㈡埛鍚嶇О" this.setTable() this.getData() }, @@ -349,9 +352,7 @@ // 閿�鍞槑缁嗗崟 async getSalesDetailsList() { await getSalesDetailsList({ - // keyword: this.keyword, - // keywordType: this.keywordType, - clientId:this.editCommonConfig.clientId, + clientId:Number(this.editCommonConfig.clientId), page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { @@ -431,9 +432,7 @@ }, async getSalesReturnList() { await getSalesReturnList({ - // keyword: this.keyword, - // keywordType: this.keywordType, - clientId:this.editCommonConfig.clientId, + clientId:Number(this.editCommonConfig.clientId), page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { -- Gitblit v1.8.0