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