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 81c27dae
authored
Mar 20, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能开发
1 parent
3d41c6f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
config.js
tabWorkOrder/pages/staffDaily/staffDaily.js
config.js
View file @
81c27da
...
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let
index
=
1
;
let
index
=
0
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
...
tabWorkOrder/pages/staffDaily/staffDaily.js
View file @
81c27da
...
...
@@ -711,7 +711,10 @@ Page({
let
{
name
,
}
=
e
.
currentTarget
.
dataset
let
{
staffCountValue
,
orderObj
,
userInfo
}
=
this
.
data
//
if
(
name
==
'staffCount'
&&
staffCountValue
&&
value
!=
staffCountValue
&&
userInfo
.
uuid
!=
orderObj
.
lastStaffUuid
)
{
if
([
''
].
in
)
{
}
if
(
name
==
'staffCount'
&&
staffCountValue
&&
value
!=
staffCountValue
&&
orderObj
.
lastStaffUuid
&&
userInfo
.
uuid
!=
orderObj
.
lastStaffUuid
)
{
wx
.
showModal
({
title
:
'预警提示'
,
content
:
`今日驻店人数与
${
orderObj
.
lastStaffName
}
提交不一致,再次确认!不一致提交日报时,今日驻店人数将被清空。`
,
...
...
@@ -958,11 +961,9 @@ Page({
item
=
{
...
item
,
...
carBand
,
}
if
(
item
.
brandType
==
0
)
{
this
.
setData
({
staffCountValue
:
item
.
staffCount
})
recordStaffCount
:
carBand
.
staffCount
,
recordDeliveryCount
:
carBand
.
deliveryCount
,
recordNotDeliveryCount
:
carBand
.
notDeliveryCount
}
}
else
{
if
(
item
.
brandType
==
0
)
{
...
...
@@ -1001,7 +1002,7 @@ Page({
util
.
isDateWithin60Days
(
reportDate
),
[
'orderObj.remark'
]:
remark
,
[
'orderObj.lastStaffName'
]:
data
.
lastStaffName
,
[
'orderObj.lastStaffUuid'
]:
remark
.
lastStaffUuid
,
[
'orderObj.lastStaffUuid'
]:
data
.
lastStaffUuid
,
approvalList
:
data
.
approvalList
||
[],
currentWordNumber
:
data
?.
remark
?.
length
})
...
...
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