Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf52f6b9
authored
Apr 10, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'bugfix_V4.51.2' into 'develop'
上线合并 See merge request
!373
2 parents
fe00424a
ca8d4294
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
21 deletions
packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.js
packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/index/index.js
packageEquity/pages/index/index.js
tabIndex/pages/index/index.js
packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.js
View file @
cf52f6b
...
...
@@ -59,12 +59,19 @@ Page({
},
// 合同协议上传确定
zyPayConfirm
(
e
)
{
wx
.
$util
.
showLoading
()
let
{
zyPayOrderInfo
}
=
this
.
data
wx
.
showLoading
()
let
{
zyPayOrderInfo
,
zyConfirmFlag
}
=
this
.
data
if
(
zyConfirmFlag
)
return
false
this
.
setData
({
zyConfirmFlag
:
true
});
// 更新客户信息
updateCustomerInfo
({
...
zyPayOrderInfo
,
zyPayUrl
:
e
.
detail
?.
zyPayUrl
?.
join
(
','
)
}).
then
(
result
=>
{
wx
.
$util
.
hideLoading
()
wx
.
hideLoading
()
let
{
code
,
message
}
=
result
this
.
setData
({
showZyPopup
:
false
})
if
(
code
==
0
)
{
// 返回到报价单列表
wx
.
$router
.
reLaunch
(
"packageEquity.equityPage"
,
{
...
...
@@ -73,6 +80,11 @@ Page({
}
else
{
wx
.
$util
.
showToast
(
message
)
}
setTimeout
(()
=>
{
this
.
setData
({
zyConfirmFlag
:
false
,
})
})
})
},
getInsurance
(
res
)
{
...
...
packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.wxml
View file @
cf52f6b
<!-- packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.wxml -->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view class="payInfo">
<view class="payCom">
<view class="title">支付成功</view>
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
cf52f6b
...
...
@@ -264,7 +264,12 @@ Page({
},
// 补录订单上传合同协议点击确定
zyPayConfirm
(
e
)
{
let
{
supplementaryOrderId
}
=
this
.
data
// 补录订单id
let
{
supplementaryOrderId
,
zyConfirmFlag
}
=
this
.
data
// 补录订单id
wx
.
showLoading
()
if
(
zyConfirmFlag
)
return
false
this
.
setData
({
zyConfirmFlag
:
true
});
getQuotationInfoById
({
id
:
supplementaryOrderId
}).
then
(
res
=>
{
...
...
@@ -281,6 +286,7 @@ Page({
orderInfo
.
referrerId
=
obj
.
referrerId
// 更新客户信息
updateCustomerInfo
({
...
orderInfo
,
zyPayUrl
:
e
.
detail
?.
zyPayUrl
?.
join
(
','
)
}).
then
(
result
=>
{
wx
.
hideLoading
()
this
.
setData
({
showZyPopup
:
false
},
()
=>
{
...
...
@@ -293,11 +299,25 @@ Page({
tabIndex
:
1
,
});
},
1000
);
setTimeout
(()
=>
{
this
.
setData
({
zyConfirmFlag
:
false
,
});
});
})
})
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
hideLoading
()
this
.
setData
({
zyConfirmFlag
:
false
})
}
}).
catch
(()
=>
{
wx
.
hideLoading
()
this
.
setData
({
zyConfirmFlag
:
false
})
})
},
staffDailyReportMerchantValid
(
userInfo
)
{
...
...
packageEquity/pages/carQuotation/index/index.js
View file @
cf52f6b
...
...
@@ -586,7 +586,12 @@ Component({
},
// 合同协议上传确定
zyPayConfirm
(
e
)
{
let
{
showZyTarget
}
=
this
.
data
let
{
showZyTarget
,
zyConfirmFlag
}
=
this
.
data
wx
.
showLoading
()
if
(
zyConfirmFlag
)
return
false
this
.
setData
({
zyConfirmFlag
:
true
});
getQuotationInfoById
({
id
:
showZyTarget
?.
id
}).
then
(
res
=>
{
...
...
@@ -595,15 +600,28 @@ Component({
let
orderInfo
=
this
.
getInsurance
(
data
)
// 更新客户信息
updateCustomerInfo
({
...
orderInfo
,
zyPayUrl
:
e
.
detail
?.
zyPayUrl
?.
join
(
','
)
}).
then
(
result
=>
{
wx
.
hideLoading
()
this
.
setData
({
showZyPayPopup
:
false
},
()
=>
{
this
.
setData
({
zyConfirmFlag
:
false
});
this
.
search
()
})
})
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
hideLoading
()
this
.
setData
({
zyConfirmFlag
:
false
})
}
}).
catch
(()
=>
{
this
.
setData
({
zyConfirmFlag
:
false
})
wx
.
hideLoading
()
})
},
remarkCancel
()
{
...
...
packageEquity/pages/index/index.js
View file @
cf52f6b
...
...
@@ -484,14 +484,14 @@ Component({
sortVal
:
11
})
}
if
((
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
)
&&
menuList
.
every
((
item
)
=>
item
.
menuText
!=
'积分审批'
))
{
menuList
.
unshift
({
menuText
:
"积分审批"
,
path
:
"pages.pointsReview"
,
icon
:
"points_review"
,
sortVal
:
12
})
}
//
if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != '积分审批')) {
//
menuList.unshift({
//
menuText: "积分审批",
//
path: "pages.pointsReview",
//
icon: "points_review",
//
sortVal: 12
//
})
//
}
// if (
// userInfo.isSuper &&
// menuList.every((item) => item.menuText != "质检管理")
...
...
tabIndex/pages/index/index.js
View file @
cf52f6b
...
...
@@ -463,7 +463,7 @@ Page({
})
}
if
(
item
.
url
==
'packageEquity.clueList'
)
{
wx
.
$track
.
setTrackData
(
0
,
'leads_page'
,
{
},
''
,
1
)
wx
.
$track
.
setTrackData
(
0
,
'leads_page'
,
{},
''
,
1
)
}
// 判断是不是门店员工
if
(
userInfo
?.
merchantType
&&
!
userInfo
.
isSuper
&&
type
==
2
)
{
...
...
@@ -1255,13 +1255,13 @@ Page({
icon
:
'boutique-syzs'
})
}
if
((
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
)
&&
menu
.
every
((
item
)
=>
item
.
name
!=
'积分审批'
))
{
menu
.
push
({
name
:
'积分审批'
,
url
:
'pages.pointsReview'
,
icon
:
'points_review'
})
}
//
if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menu.every((item) => item.name != '积分审批')) {
//
menu.push({
//
name: '积分审批',
//
url: 'pages.pointsReview',
//
icon: 'points_review'
//
})
//
}
// 督导和销售
if
((
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
5
)
&&
menu
.
every
((
item
)
=>
item
.
name
!=
'工作日报'
))
{
menu
.
push
({
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment