From 1d8b0e05ae2ff956dcf1271db51ea994c4f135f0 Mon Sep 17 00:00:00 2001 From: dengxiongfei Date: Tue, 25 Jan 2022 10:33:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=8E=88=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/client-detail/index.vue | 21 +++++++++------------ pages/client/index.nvue | 10 +++++++++- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/pages/client-detail/index.vue b/pages/client-detail/index.vue index 43e7e9d..f2eb3d8 100644 --- a/pages/client-detail/index.vue +++ b/pages/client-detail/index.vue @@ -103,7 +103,15 @@ export default { this.dialogType = 3 this.$refs.popup.open() } else { - go2('client-credit') + let info = this.$refs.basicInformationRef.getCompanyInfo() + if (info.id) { + go2('client-credit', { enterpriseId: info.id, name: info.name }) + } else { + uni.showToast({ + title: '该企业基础信息不完善', + icon: 'error' + }) + } } }, cancelTap() { @@ -131,17 +139,6 @@ export default { default: break } - }, - makeCredit() { - let info = this.$refs.basicInformationRef.getCompanyInfo() - if (info.id) { - go2('client-credit', { enterpriseId: info.id, name: info.name }) - } else { - uni.showToast({ - title: '该企业基础信息不完善', - icon: 'error' - }) - } } } } diff --git a/pages/client/index.nvue b/pages/client/index.nvue index 260f947..f521398 100644 --- a/pages/client/index.nvue +++ b/pages/client/index.nvue @@ -35,7 +35,7 @@ - + 去报价 @@ -80,6 +80,7 @@ export default { } }, methods: { + go2, mapChange(data) { let params = { cooperationState: 0, @@ -170,6 +171,13 @@ export default { clearInterval(this.transitionTimer) this.transitionTimer = null } + }, + // 前往询价详情 + jumpEnquiryDetail() { + let target = this.enquiryList[this.curIndex] + if(target) { + go2('submit-quotation',{title:'提交报价',id:target.id}) + } } }, computed: { From d3433f0df75220ae1fa32ca876603098b441e008 Mon Sep 17 00:00:00 2001 From: dengxiongfei Date: Tue, 25 Jan 2022 14:33:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/client-credit/index.vue | 7 + pages/follow-up-records/index.vue | 484 +++++++++++++++--------------- pages/mine/index.vue | 4 +- 3 files changed, 251 insertions(+), 244 deletions(-) diff --git a/pages/client-credit/index.vue b/pages/client-credit/index.vue index 873c48d..05f4460 100644 --- a/pages/client-credit/index.vue +++ b/pages/client-credit/index.vue @@ -95,6 +95,13 @@ export default { if (option.enterpriseId) { this.form.name = option.name this.form.enterpriseId = option.enterpriseId + if (option.name) { + getCompanyList({ enterpriseName: option.name }).then((res) => { + if (res) { + this.searchList = res.records + } + }) + } } }, methods: { diff --git a/pages/follow-up-records/index.vue b/pages/follow-up-records/index.vue index 8fe2f22..5946918 100644 --- a/pages/follow-up-records/index.vue +++ b/pages/follow-up-records/index.vue @@ -1,260 +1,260 @@ + diff --git a/pages/mine/index.vue b/pages/mine/index.vue index a3ac149..ac4482d 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -112,10 +112,10 @@ 合同管理 - + 授信记录