From 22f9e1efd4c77a2c665d2e3e2c84c25e6ae775d4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:07:01 +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