From 9f63a217c6a60fb530508fbec494567aaa9eb74f Mon Sep 17 00:00:00 2001 From: buffeyu Date: Mon, 24 Jan 2022 16:48:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A2=E4=BB=B7=E5=8D=95=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/account-management/index.vue | 3 ++- pages/enquiry-list/index.vue | 2 +- pages/for-comparison/index.vue | 7 +++++-- pages/paper-details/index.vue | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/account-management/index.vue b/pages/account-management/index.vue index b63c50b..320c480 100644 --- a/pages/account-management/index.vue +++ b/pages/account-management/index.vue @@ -40,7 +40,8 @@ export default { auto: true, emptyText: '暂无用户~', background: '#F7F8FA', - fontSize: '40rpx' + fontSize: '40rpx', + emptyImage: '/static/imgs/order/order-empty.png' }, params: { asc: '', diff --git a/pages/enquiry-list/index.vue b/pages/enquiry-list/index.vue index 48ed8a1..6475ec5 100644 --- a/pages/enquiry-list/index.vue +++ b/pages/enquiry-list/index.vue @@ -16,7 +16,7 @@ {{ item.status | statusName }} - + diff --git a/pages/for-comparison/index.vue b/pages/for-comparison/index.vue index 0358d9f..c02a2a4 100644 --- a/pages/for-comparison/index.vue +++ b/pages/for-comparison/index.vue @@ -212,7 +212,8 @@ export default { paperName: '', quantity: '', remark: '', - width: '787' + width: '787', + productImg: '', }, searchList: [], hasSelected: false, @@ -228,6 +229,7 @@ export default { }, onLoad(option) { this.form.offerEnterprise = option.id + this.form.productImg = option.productImg this.getCategoryList() }, methods: { @@ -238,7 +240,7 @@ export default { paperSupplierId: this.$store.state.supplierId } getCategoryList(params).then(res => { - console.log('纸种列表', res) + // console.log('纸种列表', res) if (res) { this.categoryNameList = res.categoryNameList this.brandNameList = res.brandNameList @@ -365,6 +367,7 @@ export default { offerEnterprise: this.form.offerEnterprise, remark: this.form.remark, enterpriseId: this.$store.state.companyInfo.id, + productImg: this.form.productImg, userId: this.$store.state.userInfo.userId } createEnquiryOrder(params).then(res => { diff --git a/pages/paper-details/index.vue b/pages/paper-details/index.vue index bf14f91..f8200e2 100644 --- a/pages/paper-details/index.vue +++ b/pages/paper-details/index.vue @@ -243,7 +243,7 @@ export default { // 路由到实单询比价 inquiryTap() { - go2('for-comparison', { id: this.info.supplierId }) + go2('for-comparison', { id: this.info.supplierId, productImg: this.info.imgList[0] }) }, closeTap() { this.$refs.popup.close()