Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 354ef210
authored
Aug 26, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'V4.56.0' of
http://192.168.3.233:8090/glsx/gl_tape
into V4.56.0
2 parents
6576f7ac
effb91a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
pages/boutique/tool/components/DailyReport.vue
pages/boutique/tool/components/DailyReport.vue
View file @
354ef21
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
:value=
"orderObj[i.value]"
:value=
"orderObj[i.value]"
:range=
"i.range"
:range=
"i.range"
:range-key=
"i.rangeKey"
:range-key=
"i.rangeKey"
@
change=
"
orderObj[i.value] = $event.detail.value
"
@
change=
"
changePicker($event,i)
"
:disabled=
"filterDisabled(isEditReport)"
:disabled=
"filterDisabled(isEditReport)"
>
>
{{
i
.
range
[
orderObj
[
i
.
value
]][
i
.
rangeKey
]
||
''
}}
{{
i
.
range
[
orderObj
[
i
.
value
]][
i
.
rangeKey
]
||
''
}}
...
@@ -211,7 +211,8 @@ export default {
...
@@ -211,7 +211,8 @@ export default {
range
:
[
range
:
[
{
id
:
'N'
,
name
:
'否'
},
{
id
:
'N'
,
name
:
'否'
},
{
id
:
'Y'
,
name
:
'是'
}
{
id
:
'Y'
,
name
:
'是'
}
]
],
submitValue
:
'onBreak'
},
},
{
{
label
:
'个人成交总金额'
,
label
:
'个人成交总金额'
,
...
@@ -516,6 +517,10 @@ export default {
...
@@ -516,6 +517,10 @@ export default {
}
}
},
},
async
submit
()
{
async
submit
()
{
uni
.
showLoading
({
title
:
'提交中'
,
mask
:
true
})
try
{
try
{
let
{
orderObj
,
carBandList
}
=
this
let
{
orderObj
,
carBandList
}
=
this
orderObj
.
isAdmin
=
false
orderObj
.
isAdmin
=
false
...
@@ -541,11 +546,13 @@ export default {
...
@@ -541,11 +546,13 @@ export default {
}
}
const
data
=
await
uni
.
$api
.
boutiqueApi
.
saveStaffDailyReport
(
orderObj
)
const
data
=
await
uni
.
$api
.
boutiqueApi
.
saveStaffDailyReport
(
orderObj
)
uni
.
hideLoading
()
if
(
data
)
{
if
(
data
)
{
this
.
isEditReport
=
false
this
.
isEditReport
=
false
this
.
$refs
.
reportNotice
.
open
()
this
.
$refs
.
reportNotice
.
open
()
}
}
}
catch
(
errorObj
)
{
}
catch
(
errorObj
)
{
uni
.
hideLoading
()
console
.
log
(
errorObj
)
console
.
log
(
errorObj
)
if
(
errorObj
.
message
)
{
if
(
errorObj
.
message
)
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -563,6 +570,11 @@ export default {
...
@@ -563,6 +570,11 @@ export default {
filterDisabled
(
disabledStatus
)
{
filterDisabled
(
disabledStatus
)
{
let
{
weeklyList
,
currentDate
,
orderObj
:
{
isDateWithin7Days
}
}
=
this
let
{
weeklyList
,
currentDate
,
orderObj
:
{
isDateWithin7Days
}
}
=
this
return
weeklyList
.
includes
(
currentDate
)
&&
!
disabledStatus
||
!
isDateWithin7Days
return
weeklyList
.
includes
(
currentDate
)
&&
!
disabledStatus
||
!
isDateWithin7Days
},
changePicker
(
e
,
i
)
{
let
{
value
}
=
e
.
detail
this
.
orderObj
[
i
.
value
]
=
value
this
.
orderObj
[
i
.
submitValue
]
=
value
==
1
?
'Y'
:
'N'
}
}
}
}
}
}
...
...
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