fix: 提现排除处理中金额,选择报价改为重点提示
可提现额度扣除处理中提现,避免重复提现超总额;收到报价选择供应商时展示重点提示而非服务费提示。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+33
-24
@@ -258,8 +258,7 @@
|
||||
</view>
|
||||
<view class="mt-15">项目名称:{{ sheet.projectName ? sheet.projectName : '' }}</view>
|
||||
<view class="mt-15">项目地址:{{ sheet.fullAddress }}</view>
|
||||
<template
|
||||
v-if="isLoggedIn && (sheet.isMine || sheet.hasQuote || userInfo.userLevel > 0)">
|
||||
<template v-if="canViewBuyerInfo">
|
||||
<view class="mt-15" v-if="sheet.companyName">公司信息:{{
|
||||
sheet.companyName ? sheet.companyName : ''
|
||||
}}
|
||||
@@ -564,6 +563,18 @@ export default {
|
||||
isLoggedIn() {
|
||||
return !!vk.getVuex('$user.userInfo._id')
|
||||
},
|
||||
canViewBuyerInfo() {
|
||||
const remainQuoteNum = Number(this.userInfo && this.userInfo.remainQuoteNum) || 0
|
||||
const quoteExpiredAt = this.userInfo && this.userInfo.quoteExpiredAt
|
||||
const monthlyQuoteActive = !!(quoteExpiredAt && dayjs(quoteExpiredAt).isAfter(dayjs()))
|
||||
return this.isLoggedIn && (
|
||||
this.sheet.isMine ||
|
||||
this.sheet.hasQuote ||
|
||||
Number(this.userInfo.userLevel) > 0 ||
|
||||
remainQuoteNum > 0 ||
|
||||
monthlyQuoteActive
|
||||
)
|
||||
},
|
||||
batchProductNames() {
|
||||
if (this.sheet.otherCate) return this.sheet.otherCate
|
||||
return this.sheet.productList.map(item => item.goodsName + `${item.materialQuality ? `(${item.materialQuality})` : ''}`).join(',')
|
||||
@@ -603,18 +614,18 @@ export default {
|
||||
* 打开报价窗口
|
||||
*/
|
||||
openQuoteDialog() {
|
||||
const h = this.$createElement
|
||||
this.$confirm(h('div', {class: 'dialog-confirm-content'}, [
|
||||
h('p', '1、请您谨慎点击"选择",选择供应商后,系统将自动关闭您此条询价信息,无法返回,只能再次发布询价信息;'),
|
||||
h('p', '2、点击"选择"前,您可通过供应商联系方式,仔细商讨:商品明细、数量、单价、执行标准、交货方式、交货期、验收方式、合同条款等细节关键题确认,各种交易细节无误后要求供应商进行最终报价;'),
|
||||
h('p', '3、您承诺对此次交易的内容用途已经完全了解并知悉经过严格仔细审核后实施,此次交易为合法经营,如违反相关法律规定,您将承担全部责任,与平台无关。您确认以上描述无误后请点击"选择"。')
|
||||
]), '重点提示', {
|
||||
confirmButtonText: '同意悉知',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
// const h = this.$createElement
|
||||
// this.$confirm(h('div', {class: 'dialog-confirm-content'}, [
|
||||
// h('p', '1、请您谨慎点击"选择",选择供应商后,系统将自动关闭您此条询价信息,无法返回,只能再次发布询价信息;'),
|
||||
// h('p', '2、点击"选择"前,您可通过供应商联系方式,仔细商讨:商品明细、数量、单价、执行标准、交货方式、交货期、验收方式、合同条款等细节关键题确认,各种交易细节无误后要求供应商进行最终报价;'),
|
||||
// h('p', '3、您承诺对此次交易的内容用途已经完全了解并知悉经过严格仔细审核后实施,此次交易为合法经营,如违反相关法律规定,您将承担全部责任,与平台无关。您确认以上描述无误后请点击"选择"。')
|
||||
// ]), '重点提示', {
|
||||
// confirmButtonText: '同意悉知',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
this.showDialog = true
|
||||
}).catch(() => {})
|
||||
// }).catch(() => {})
|
||||
},
|
||||
openQuoteServiceFeeDialog() {
|
||||
const rate = this.sheet.notaryServiceRate || 0.1
|
||||
@@ -731,12 +742,14 @@ export default {
|
||||
confirmButtonText: '确定'
|
||||
})
|
||||
},
|
||||
showNotaryServiceFeeTip(item) {
|
||||
const rate = this.sheet.notaryServiceRate || 0.1
|
||||
this.$confirm(`提示若您成功签约交易,平台将收取总交易金额 x${rate}%服务费,如您存在利用系统漏洞恶意逃避支付服务费的情况。
|
||||
平台有将您的失信行为进行公布,情况严重的平台予以劝退。
|
||||
并有权依法追回平台服务费。您承诺此次交易为合法经营,如违反相关法律法规您将承担全部任与平台无关。您己经完全理解并知悉,您不同意请点击“取消”,取消报价,您同意以上约定请点击“同意并知悉”。`, '温馨提示', {
|
||||
confirmButtonText: '同意并知悉',
|
||||
showSelectQuoteTip(item) {
|
||||
const h = this.$createElement
|
||||
this.$confirm(h('div', {class: 'dialog-confirm-content'}, [
|
||||
h('p', '1、请您谨慎点击"选择",选择供应商后,系统将自动关闭您此条询价信息,无法返回,只能再次发布询价信息;'),
|
||||
h('p', '2、点击"选择"前,您可通过供应商联系方式,仔细商讨:商品明细、数量、单价、执行标准、交货方式、交货期、验收方式、合同条款等细节问题确认,各种交易细节无误后要求供应商进行最终报价;'),
|
||||
h('p', '3、您承诺对此次交易的内容用途已经完全了解并知悉经过严格仔细审核后实施,此次交易为合法经营,如违反相关法律规定,您将承担全部责任,与平台无关。您确认以上描述无误后请点击"选择"。')
|
||||
]), '重点提示', {
|
||||
confirmButtonText: '同意悉知',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
@@ -769,11 +782,7 @@ export default {
|
||||
this.showNotaryBusinessTip()
|
||||
return
|
||||
}
|
||||
if (this.sheet.tradeMethod === 1) {
|
||||
this.showNotaryServiceFeeTip(item)
|
||||
return
|
||||
}
|
||||
this.doConfirm(item)
|
||||
this.showSelectQuoteTip(item)
|
||||
},
|
||||
getFileExt(url = "") {
|
||||
const cleanUrl = String(url).split("?")[0].split("#")[0]
|
||||
|
||||
Reference in New Issue
Block a user