From 34c0a1639e47721720370f3fe0a129b1fa63c833 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 19 Oct 2026 14:16:14 +0800 Subject: [PATCH] =?UTF-8?q?2026-10-19=20=E9=94=80=E5=94=AE=E6=8A=A5?= =?UTF-8?q?=E4=BB=B7=E5=A2=9E=E5=8A=A0=E2=80=9C=E9=94=80=E5=94=AE=E2=80=9D?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/quote/index.vue | 21 +- .../modules/quote/primary/quoteSearch.vue | 378 +++++++++++++----- 2 files changed, 295 insertions(+), 104 deletions(-) diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue index fc823a5..d7d847c 100644 --- a/src/views/modules/quote/index.vue +++ b/src/views/modules/quote/index.vue @@ -107,6 +107,10 @@ export default { nodeId: '', annualSales: undefined, vpApproval: 'N', + inquiryCreateBy: '', + searchPartNo: '', + startDate: '', + endDate: '', }, quoteForm:{ }, @@ -719,12 +723,23 @@ export default { }).catch(() => {}) }, + handleResetSearch(){ + this.quoteForm = { + ...this.quote, + site: this.$store.state.user.site + } + this.no = 1 + this.handleSearch() + }, handleSearch(index){ let params = { ...this.quoteForm, no: this.no, size: this.size, } + if (params.inquiryCreateBy) { + params.inquiryCreateBy = '%' + params.inquiryCreateBy + '%' + } if (params.ids != null && params.ids !== '') { params.ids = this.parseQuoteIds(params.ids) if (!params.ids.length) { @@ -1823,7 +1838,7 @@ export default { {{ '导出' }} - + - + - + diff --git a/src/views/modules/quote/primary/quoteSearch.vue b/src/views/modules/quote/primary/quoteSearch.vue index aef9135..be7d0bd 100644 --- a/src/views/modules/quote/primary/quoteSearch.vue +++ b/src/views/modules/quote/primary/quoteSearch.vue @@ -18,118 +18,294 @@ export default { type: Array, default: () => [] } + }, + data () { + return { + searchExpanded: true + } + }, + methods: { + toggleSearchExpand () { + this.searchExpanded = !this.searchExpanded + }, + resetHandle () { + this.$emit('reset') + } } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 查 询 - 新 增 + + + + + 销售报价 + + + + {{ searchExpanded ? '收起' : '展开' }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + 新增 搜索 流程关闭 - - - - + + + +