From e2cb49cfe7845cfdd3784da7172a6b666f9fbf75 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:12:47 +0800 Subject: [PATCH] 销售明细单的产品交互功能改+报价单是否必填判断产品是否按报价单添加查询+根据报价单查询产品的接口联调 --- src/views/other/commonDialog/SelectCommonDialog.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/other/commonDialog/SelectCommonDialog.vue b/src/views/other/commonDialog/SelectCommonDialog.vue index 9f0f9e7..aad1584 100644 --- a/src/views/other/commonDialog/SelectCommonDialog.vue +++ b/src/views/other/commonDialog/SelectCommonDialog.vue @@ -72,7 +72,12 @@ tableInfomation: [] } } - } + }, + // 鏍规嵁鎶ヤ环鍗曟煡璇骇鍝� + quotationNumber:{ + type:[String,Number], + default:'' + }, }, components: {}, computed: {}, @@ -407,12 +412,17 @@ }, // 浜у搧鍚嶇О async getProductList() { - await getProductList({ + let params={ productName: this.keywordType === "浜у搧鍚嶇О" ? this.keyword : "", productNumber: this.keywordType === "浜у搧缂栧彿" ? this.keyword : "", page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize - }).then((res) => { + } + // 鏍规嵁鎶ヤ环鍗曟煡璇骇鍝� + if(this.quotationNumber){ + params.quotationNumber=this.quotationNumber + } + await getProductList(params).then((res) => { console.log(res.data) if (res.code === 200) { if (res.data.data && res.data.data.length > 0) { -- Gitblit v1.8.0