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 675fe89a
authored
Oct 30, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 驻店日报 查询场景传参错误
1 parent
5bd584cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
31 deletions
tabWorkOrder/pages/upgradeStaffDaily/upgradeStaffDaily.js
tabWorkOrder/pages/upgradeStaffDaily/upgradeStaffDaily.js
View file @
675fe89
...
@@ -393,23 +393,23 @@ Page({
...
@@ -393,23 +393,23 @@ Page({
},
},
showStorePicker
()
{
showStorePicker
()
{
let
{
userInfo
}
=
this
.
data
let
{
userInfo
}
=
this
.
data
;
(
userInfo
?.
isSuper
||
;
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
5
)
&&
userInfo
?.
loginRole
==
5
)
&&
this
.
setData
({
this
.
setData
({
showPicker
:
true
,
showPicker
:
true
,
pickerType
:
'merchant'
pickerType
:
'merchant'
})
})
},
},
showStaffPicker
()
{
showStaffPicker
()
{
let
{
userInfo
}
=
this
.
data
let
{
userInfo
}
=
this
.
data
;
(
userInfo
?.
isSuper
||
;
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
5
)
&&
userInfo
?.
loginRole
==
5
)
&&
this
.
setData
({
this
.
setData
({
showPicker
:
true
,
showPicker
:
true
,
pickerType
:
'staff'
pickerType
:
'staff'
})
})
},
},
navbarReady
(
e
)
{
navbarReady
(
e
)
{
let
navBarHeight
=
e
.
detail
.
height
let
navBarHeight
=
e
.
detail
.
height
...
@@ -534,7 +534,7 @@ Page({
...
@@ -534,7 +534,7 @@ Page({
showCancel
:
false
,
showCancel
:
false
,
confirmText
:
'确定'
,
confirmText
:
'确定'
,
confirmColor
:
'#347BFF'
,
confirmColor
:
'#347BFF'
,
success
(
res
)
{
}
success
(
res
)
{}
})
})
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
@@ -663,7 +663,7 @@ Page({
...
@@ -663,7 +663,7 @@ Page({
showCancel
:
false
,
showCancel
:
false
,
confirmText
:
'确定'
,
confirmText
:
'确定'
,
confirmColor
:
'#347BFF'
,
confirmColor
:
'#347BFF'
,
success
(
res
)
{
}
success
(
res
)
{}
})
})
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
@@ -770,9 +770,11 @@ Page({
...
@@ -770,9 +770,11 @@ Page({
0
:
'问界'
,
0
:
'问界'
,
1
:
'鸿蒙'
1
:
'鸿蒙'
}
}
context
+=
`【
${
bandType
[
el
.
brandType
]
||
item
.
firstBrandName
context
+=
`【
${
}
】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值
${
item
.
differenceValue
bandType
[
el
.
brandType
]
||
item
.
firstBrandName
}
,请相关驻店销售对齐核销再次提交\t\n`
}
】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值
${
item
.
differenceValue
}
,请相关驻店销售对齐核销再次提交\t\n`
el
.
deliveryCountinputError
=
true
el
.
deliveryCountinputError
=
true
el
.
equityToShopCountinputError
=
true
el
.
equityToShopCountinputError
=
true
el
.
notDeliveryCountinputError
=
true
el
.
notDeliveryCountinputError
=
true
...
@@ -830,7 +832,7 @@ Page({
...
@@ -830,7 +832,7 @@ Page({
'equityToShopCount'
,
'equityToShopCount'
,
'waitInviteCount'
,
'waitInviteCount'
,
'customerLossCount'
,
'customerLossCount'
,
'issueCouponCount'
,
'issueCouponCount'
].
includes
(
name
)
&&
].
includes
(
name
)
&&
orderObj
.
onBreak
==
'N'
orderObj
.
onBreak
==
'N'
)
{
)
{
...
@@ -841,12 +843,12 @@ Page({
...
@@ -841,12 +843,12 @@ Page({
otherObjArray
[
otherIndex
]?.
label
||
otherObjArray
[
otherIndex
]?.
label
||
hwOhterObjArray
[
hwohterIndex
]?.
label
hwOhterObjArray
[
hwohterIndex
]?.
label
console
.
log
(
this
.
isNotEmpty
(
carBandList
[
index
][
name
])
,);
console
.
log
(
this
.
isNotEmpty
(
carBandList
[
index
][
name
])
)
console
.
log
(
this
.
isNotEmpty
(
carBandList
[
index
][
checkName
]))
;
console
.
log
(
this
.
isNotEmpty
(
carBandList
[
index
][
checkName
]))
console
.
log
(
checkValue
!=
carBandList
[
index
][
name
])
;
console
.
log
(
checkValue
!=
carBandList
[
index
][
name
])
console
.
log
(
orderObj
.
lastStaffUuid
)
;
console
.
log
(
orderObj
.
lastStaffUuid
)
console
.
log
(
userInfo
.
uuid
!=
orderObj
.
lastStaffUuid
)
;
console
.
log
(
userInfo
.
uuid
!=
orderObj
.
lastStaffUuid
)
console
.
log
(
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
))
;
console
.
log
(
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
))
if
(
if
(
this
.
isNotEmpty
(
carBandList
[
index
][
name
])
&&
this
.
isNotEmpty
(
carBandList
[
index
][
name
])
&&
this
.
isNotEmpty
(
carBandList
[
index
][
checkName
])
&&
this
.
isNotEmpty
(
carBandList
[
index
][
checkName
])
&&
...
@@ -1183,7 +1185,7 @@ Page({
...
@@ -1183,7 +1185,7 @@ Page({
customerLossCount
,
customerLossCount
,
waitInviteCount
,
waitInviteCount
,
recordWaitInviteCount
,
recordWaitInviteCount
,
reocedIssueCouponCount
,
reocedIssueCouponCount
}
=
item
}
=
item
item
=
{
item
=
{
...
carBand
,
...
carBand
,
...
@@ -1304,7 +1306,7 @@ Page({
...
@@ -1304,7 +1306,7 @@ Page({
let
{
orderObj
,
staffCurrent
}
=
this
.
data
let
{
orderObj
,
staffCurrent
}
=
this
.
data
// 先查4s店对应的园区店,再用园区店查员工
// 先查4s店对应的园区店,再用园区店查员工
api
api
.
querySceneRefByShop
({
scene
:
0
,
merchantId
:
orderObj
.
merchantId
})
.
querySceneRefByShop
({
scene
:
1
,
merchantId
:
orderObj
.
merchantId
})
.
then
(
result
=>
{
.
then
(
result
=>
{
// console.log(result, 'result')
// console.log(result, 'result')
let
{
code
,
data
,
message
}
=
result
let
{
code
,
data
,
message
}
=
result
...
@@ -1376,7 +1378,7 @@ Page({
...
@@ -1376,7 +1378,7 @@ Page({
wx
.
$util
.
message
(
message
)
wx
.
$util
.
message
(
message
)
}
}
})
})
.
catch
(
err
=>
{
})
.
catch
(
err
=>
{})
},
},
inputSearch
(
e
)
{
inputSearch
(
e
)
{
let
{
pickerType
}
=
this
.
data
let
{
pickerType
}
=
this
.
data
...
@@ -1581,7 +1583,7 @@ Page({
...
@@ -1581,7 +1583,7 @@ Page({
}
}
// }
// }
})
})
.
catch
(
err
=>
{
})
.
catch
(
err
=>
{})
},
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
...
@@ -1694,5 +1696,5 @@ Page({
...
@@ -1694,5 +1696,5 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
()
{
}
onReady
:
function
()
{}
})
})
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