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 0061e546
authored
Sep 29, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.0.0-1014' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.0.0-1014
2 parents
c87c18b9
1b287369
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
11 deletions
pages/usedCar/tool/components/DailyReport.vue
pages/usedCar/tool/index.vue
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
pages/usedCar/tool/components/DailyReport.vue
View file @
0061e54
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</view>
</view>
</template>
</template>
</view>
</view>
<
template
v-if=
"!isDateWithin7Days && !
isFille
d"
>
<
template
v-if=
"!isDateWithin7Days && !
orderObj.i
d"
>
<view
class=
"nothing flex"
>
<view
class=
"nothing flex"
>
<image
<image
src=
"../../../../assets/images/common/report-no-data.webp"
src=
"../../../../assets/images/common/report-no-data.webp"
...
...
pages/usedCar/tool/index.vue
View file @
0061e54
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
:endDate=
"endDate"
:endDate=
"endDate"
:showMonth=
"false"
:showMonth=
"false"
@
monthSwitch=
"currentMonth = `$
{$event.year}-${$event.month}`"
@
monthSwitch=
"currentMonth = `$
{$event.year}-${$event.month}`"
@change="changeDate"
openBeforeChange
@beforeChange="changeDate"
@change="currentDate = $event.fulldate"
backgroundColor="transparent"
backgroundColor="transparent"
:selected="selectedDays"
:selected="selectedDays"
:date="currentDate"
:date="currentDate"
...
@@ -119,7 +121,7 @@ export default {
...
@@ -119,7 +121,7 @@ export default {
this
.
openNotice
(
selectedItem
)
this
.
openNotice
(
selectedItem
)
},
},
openNotice
(
selectedItem
)
{
openNotice
(
selectedItem
,
back
=
true
,
callBack
)
{
// 配置弹窗按钮
// 配置弹窗按钮
this
.
$refs
.
notice
.
buttonsList
=
[
this
.
$refs
.
notice
.
buttonsList
=
[
{
{
...
@@ -132,7 +134,8 @@ export default {
...
@@ -132,7 +134,8 @@ export default {
this
.
transmissionOfData
=
null
this
.
transmissionOfData
=
null
}
}
this
.
$refs
.
notice
.
close
()
this
.
$refs
.
notice
.
close
()
uni
.
navigateBack
()
if
(
back
)
uni
.
navigateBack
()
if
(
callBack
&&
typeof
callBack
===
'function'
)
callBack
()
}
}
},
},
{
{
...
@@ -157,8 +160,10 @@ export default {
...
@@ -157,8 +160,10 @@ export default {
this
.
transmissionOfData
=
val
this
.
transmissionOfData
=
val
}
}
},
},
changeDate
(
e
){
changeDate
(
e
)
{
this
.
currentDate
=
e
.
fulldate
this
.
openNotice
(
null
,
false
,
_
=>
{
this
.
$refs
.
calendar
.
manualChangeDate
(
e
)
})
}
}
}
}
}
}
...
...
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
View file @
0061e54
...
@@ -201,6 +201,10 @@ export default {
...
@@ -201,6 +201,10 @@ export default {
hideTodayBtn
:
{
hideTodayBtn
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
openBeforeChange
:
{
type
:
Boolean
,
default
:
false
}
}
},
},
data
()
{
data
()
{
...
@@ -248,7 +252,7 @@ export default {
...
@@ -248,7 +252,7 @@ export default {
return
t
(
"uni-calender.SUN"
)
return
t
(
"uni-calender.SUN"
)
},
},
showNextBtn
()
{
showNextBtn
()
{
let
{
cale
,
endDate
,
nowDate
}
=
this
,
let
{
cale
,
endDate
,
nowDate
}
=
this
,
maxDate
=
cale
.
getDate
(
endDate
,
-
1
,
'month'
)
maxDate
=
cale
.
getDate
(
endDate
,
-
1
,
'month'
)
return
cale
.
dateCompare
(
`
${
nowDate
.
year
}
/
${
nowDate
.
month
}
`
,
`
${
maxDate
.
year
}
/
${
maxDate
.
month
}
`
)
return
cale
.
dateCompare
(
`
${
nowDate
.
year
}
/
${
nowDate
.
month
}
`
,
`
${
maxDate
.
year
}
/
${
maxDate
.
month
}
`
)
}
}
...
@@ -416,12 +420,24 @@ export default {
...
@@ -416,12 +420,24 @@ export default {
*/
*/
choiceDate
(
weeks
)
{
choiceDate
(
weeks
)
{
if
(
weeks
.
disable
)
return
if
(
weeks
.
disable
)
return
if
(
this
.
openBeforeChange
)
{
// return this.setEmit('beforeChange', weeks)
return
this
.
$emit
(
'beforeChange'
,
weeks
)
}
this
.
calendar
=
weeks
this
.
calendar
=
weeks
// 设置多选
// 设置多选
this
.
cale
.
setMultiple
(
this
.
calendar
.
fullDate
)
this
.
cale
.
setMultiple
(
this
.
calendar
.
fullDate
)
this
.
weeks
=
this
.
cale
.
weeks
this
.
weeks
=
this
.
cale
.
weeks
this
.
change
()
this
.
change
()
},
},
/**手动触发选择天 */
manualChangeDate
(
weeks
)
{
this
.
calendar
=
weeks
this
.
cale
.
setMultiple
(
this
.
calendar
.
fullDate
)
this
.
weeks
=
this
.
cale
.
weeks
this
.
change
()
},
/**
/**
* 回到今天
* 回到今天
*/
*/
...
@@ -451,8 +467,8 @@ export default {
...
@@ -451,8 +467,8 @@ export default {
* 下个月
* 下个月
*/
*/
next
()
{
next
()
{
let
{
showNextBtn
}
=
this
let
{
showNextBtn
}
=
this
if
(
!
showNextBtn
)
return
if
(
!
showNextBtn
)
return
const
nextDate
=
this
.
cale
.
getDate
(
this
.
nowDate
.
fullDate
,
+
1
,
'month'
).
fullDate
const
nextDate
=
this
.
cale
.
getDate
(
this
.
nowDate
.
fullDate
,
+
1
,
'month'
).
fullDate
this
.
setDate
(
nextDate
)
this
.
setDate
(
nextDate
)
this
.
monthSwitch
()
this
.
monthSwitch
()
...
@@ -593,10 +609,10 @@ $uni-text-color-grey: #999;
...
@@ -593,10 +609,10 @@ $uni-text-color-grey: #999;
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
}
}
.next-btn
{
.next-btn
{
opacity
:
0
;
opacity
:
0
;
}
}
.show-next-btn
{
.show-next-btn
{
opacity
:
1
;
opacity
:
1
;
}
}
.uni-calendar__header-btn
{
.uni-calendar__header-btn
{
...
...
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