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 caeca750
authored
Jun 09, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
施工单bug修复。屏蔽驻店管理入口
1 parent
8c5b18c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
35 deletions
packageEquity/pages/index/index.js
tabIndex/pages/index/index.js
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
packageEquity/pages/index/index.js
View file @
caeca75
...
...
@@ -660,22 +660,22 @@ Component({
})
}
// 超管/区域运营/广联销售/飞行督导
if
(
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
)
&&
menuList
.
every
((
item
)
=>
item
.
menuText
!=
"驻店管理"
))
{
menuList
.
push
({
menuText
:
"驻店管理"
,
path
:
"tabWorkOrder.residentManage"
,
recordId
:
13
,
icon
:
"residentManage"
,
});
}
// 飞行督导展示带教管理入口(超管/飞行督导)
if
(
wx
.
$hasPermission
?.
canViewMentorship
?.(
userInfo
)
&&
menuList
.
every
((
item
)
=>
item
.
menuText
!=
"带教管理"
))
{
menuList
.
push
({
menuText
:
"带教管理"
,
path
:
"tabWorkOrder.mentorshipManage"
,
icon
:
"mentorship-manage"
,
});
}
//
if (wx.$hasPermission?.canSelectMultiStoreForStaffDaily?.(userInfo) && menuList.every((item) => item.menuText != "驻店管理")) {
//
menuList.push({
//
menuText: "驻店管理",
//
path: "tabWorkOrder.residentManage",
//
recordId: 13,
//
icon: "residentManage",
//
});
//
}
// 飞行督导展示带教管理入口(超管/飞行督导)
- 已屏蔽
//
if (wx.$hasPermission?.canViewMentorship?.(userInfo) && menuList.every((item) => item.menuText != "带教管理")) {
//
menuList.push({
//
menuText: "带教管理",
//
path: "tabWorkOrder.mentorshipManage",
//
icon: "mentorship-manage",
//
});
//
}
if
(
isStaff
||
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
))
{
if
(
this
.
merchantDirectSales
)
{
let
{
uuid
,
merchantId
,
shopMerchantId
}
=
userInfo
;
...
...
tabIndex/pages/index/index.js
View file @
caeca75
...
...
@@ -1759,18 +1759,18 @@ Page({
path
:
''
})
}
if
(
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
)
&&
menu
.
every
(
item
=>
item
.
name
!=
'驻店管理'
)
)
{
menu
.
push
({
name
:
'驻店管理'
,
url
:
'tabWorkOrder.residentManage'
,
recordId
:
13
,
icon
:
'residentManage'
,
noCheckdailyReport
:
true
})
}
//
if (
//
wx.$hasPermission?.canSelectMultiStoreForStaffDaily?.(userInfo) &&
//
menu.every(item => item.name != '驻店管理')
//
) {
//
menu.push({
//
name: '驻店管理',
//
url: 'tabWorkOrder.residentManage',
//
recordId: 13,
//
icon: 'residentManage',
//
noCheckdailyReport: true
//
})
//
}
// 超管/飞行督导
if
(
wx
.
$hasPermission
?.
canViewMentorship
?.(
userInfo
)
&&
...
...
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
View file @
caeca75
...
...
@@ -226,7 +226,7 @@ Page({
data
.
customer
.
merchantName
||
data
.
customer
.
shopMerchantName
||
''
const
serviceCount
=
this
.
_calcServiceCount
(
data
.
serviceItemsList
||
[])
const
serviceCount
=
this
.
_calcServiceCount
(
data
.
serviceItemsList
||
[])
if
(
data
.
createdDate
)
{
data
.
createdDate
=
new
Date
(
data
.
createdDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
}
...
...
@@ -237,7 +237,7 @@ Page({
this
.
setData
({
mainSelected
,
deputySelected
,
confirmInfo
:
data
||
{},
confirmInfo
:
data
||
{},
serviceCount
},
()
=>
{
this
.
updateTechnicianEditable
()
...
...
@@ -492,7 +492,7 @@ Page({
// 将修改后的商品数据赋值给confirmInfo
this
.
setData
({
[
'confirmInfo.serviceItemsList'
]:
editServicesList
,
editServiceFlag
:
false
,
editServiceFlag
:
false
,
serviceCount
:
this
.
_calcServiceCount
(
editServicesList
)
})
},
...
...
@@ -503,8 +503,7 @@ Page({
// 选择服务项目弹窗确定
handleSelectServiceConfirm
(
e
)
{
this
.
setData
({
editServicesList
:
e
.
detail
,
serviceCount
:
this
.
_calcServiceCount
(
e
.
detail
)
editServicesList
:
e
.
detail
,
})
this
.
handleSelectServiceCancel
()
},
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
View file @
caeca75
...
...
@@ -94,8 +94,8 @@
</view>
<view class="tabs">
<view class="tab-item {{ currentTab === 'goods' ? 'active' : '' }}" bindtap="switchTab" data-tab="goods">施工商品
({{detailInfo.subOrderList.length}})
</view>
<view class="tab-item {{ currentTab === 'service' ? 'active' : '' }}" bindtap="switchTab" data-tab="service">服务项目
({{serviceCount}})
</view>
<view class="tab-item {{ currentTab === 'goods' ? 'active' : '' }}" bindtap="switchTab" data-tab="goods">施工商品
<text style="font-size: 20rpx;">({{detailInfo.subOrderList.length}})</text>
</view>
<view class="tab-item {{ currentTab === 'service' ? 'active' : '' }}" bindtap="switchTab" data-tab="service">服务项目
<text style="font-size: 20rpx;">({{serviceCount}})</text>
</view>
</view>
<view class="card tab-card">
...
...
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