From ef9674e9be8baa57b6abf7fb6ea7ab141ef4ac79 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:04:38 +0800 Subject: [PATCH] 增加销售单价,成本单价,毛利,毛利率之间的数据关系+增加产品选择列表的删除操作 --- src/views/other/commonDialog/SelectCommonDialog.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index 3df5f0c..9f0f9e7 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/src/views/other/commonDialog/SelectCommonDialog.vue @@ -68,6 +68,7 @@ editVisible: false, title: "", clientId: 0, + 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,8 +352,7 @@ // 閿�鍞槑缁嗗崟 async getSalesDetailsList() { await getSalesDetailsList({ - keyword: this.keyword, - keywordType: this.keywordType, + clientId:Number(this.editCommonConfig.clientId), page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { @@ -430,8 +432,7 @@ }, async getSalesReturnList() { await getSalesReturnList({ - keyword: this.keyword, - keywordType: this.keywordType, + clientId:Number(this.editCommonConfig.clientId), page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { -- Gitblit v1.8.0