fix: 选择报价改为展示重点提示
收到报价弹窗中选择供应商时,不再显示服务费提示,改为重点提示。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+11
-15
@@ -339,7 +339,7 @@
|
|||||||
confirmColor="#A92924"
|
confirmColor="#A92924"
|
||||||
showCancelButton
|
showCancelButton
|
||||||
@confirm="confirmEnquiryModal"
|
@confirm="confirmEnquiryModal"
|
||||||
@cancel="isEnquiryTip = false"
|
@cancel="isEnquiryTip = false; pendingConfirmItem = null"
|
||||||
>
|
>
|
||||||
<view class="enquiry-tip-content">
|
<view class="enquiry-tip-content">
|
||||||
<view v-for="(item, index) in enquiryTipList" :key="index" class="enquiry-tip-item">
|
<view v-for="(item, index) in enquiryTipList" :key="index" class="enquiry-tip-item">
|
||||||
@@ -377,6 +377,7 @@ export default {
|
|||||||
isPrice: false,
|
isPrice: false,
|
||||||
isModal: false,
|
isModal: false,
|
||||||
isEnquiryTip: false,
|
isEnquiryTip: false,
|
||||||
|
pendingConfirmItem: null,
|
||||||
enquiryTipList: [
|
enquiryTipList: [
|
||||||
'1、请您谨慎点击"选择",选择供应商后,系统将自动关闭您此条询价信息,无法返回,只能再次发布询价信息;',
|
'1、请您谨慎点击"选择",选择供应商后,系统将自动关闭您此条询价信息,无法返回,只能再次发布询价信息;',
|
||||||
'2、点击"选择"前,您可通过供应商联系方式,仔细商讨:商品明细、数量、单价、执行标准、交货方式、交货期、验收方式、合同条款等细节关键题确认,各种交易细节无误后要求供应商进行最终报价;',
|
'2、点击"选择"前,您可通过供应商联系方式,仔细商讨:商品明细、数量、单价、执行标准、交货方式、交货期、验收方式、合同条款等细节关键题确认,各种交易细节无误后要求供应商进行最终报价;',
|
||||||
@@ -411,10 +412,17 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
showEnquiryModal() {
|
showEnquiryModal() {
|
||||||
|
this.pendingConfirmItem = null
|
||||||
this.isEnquiryTip = true
|
this.isEnquiryTip = true
|
||||||
},
|
},
|
||||||
confirmEnquiryModal() {
|
confirmEnquiryModal() {
|
||||||
this.isEnquiryTip = false
|
this.isEnquiryTip = false
|
||||||
|
if (this.pendingConfirmItem) {
|
||||||
|
const item = this.pendingConfirmItem
|
||||||
|
this.pendingConfirmItem = null
|
||||||
|
this.doConfirm(item)
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$refs.enquiryModal.open(this.sheet)
|
this.$refs.enquiryModal.open(this.sheet)
|
||||||
},
|
},
|
||||||
handConfirmModal() {
|
handConfirmModal() {
|
||||||
@@ -526,20 +534,8 @@ export default {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.sheet.tradeMethod === 1) {
|
this.pendingConfirmItem = item
|
||||||
const rate = this.sheet.notaryServiceRate || 0.1
|
this.isEnquiryTip = true
|
||||||
uni.showModal({
|
|
||||||
title: '温馨提示',
|
|
||||||
content: `提示若您成功签约交易,平台将收取总交易金额 x${rate}%服务费,如您存在利用系统漏洞恶意逃避支付服务费的情况。\n平台有将您的失信行为进行公布,情况严重的平台予以劝退。\n并有权依法追回平台服务费。您承诺此次交易为合法经营,如违反相关法律法规您将承担全部任与平台无关。您己经完全理解并知悉,您不同意请点击“取消”,取消报价,您同意以上约定请点击“同意并知悉”。`,
|
|
||||||
confirmText: '同意并知悉',
|
|
||||||
cancelText: '取消',
|
|
||||||
success: ({confirm}) => {
|
|
||||||
if (confirm) this.doConfirm(item)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.doConfirm(item)
|
|
||||||
},
|
},
|
||||||
doConfirm(item) {
|
doConfirm(item) {
|
||||||
vk.callFunction({
|
vk.callFunction({
|
||||||
|
|||||||
Reference in New Issue
Block a user