Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
repair_workers_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
石盼盼
repair_workers_h5
Commits
316a5a50
Commit
316a5a50
authored
Oct 15, 2021
by
石盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择日期修改
parent
c328a0b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
7 deletions
+32
-7
Home.vue
src/views/tabbar/Home.vue
+19
-4
admin_home.vue
src/views/tabbar/admin_home.vue
+13
-3
No files found.
src/views/tabbar/Home.vue
View file @
316a5a50
...
@@ -84,7 +84,11 @@
...
@@ -84,7 +84,11 @@
</div>
</div>
<div
class=
"material"
v-if=
"item.no_pay_order"
>
<div
class=
"material"
v-if=
"item.no_pay_order"
>
<div
class=
"item-title bz-title"
>
待支付耗材
</div>
<div
class=
"item-title bz-title"
>
待支付耗材
</div>
<div
class=
"no-pay ma-item flex-h flex-hb"
v-for=
"(child, index) in item.no_pay_order.goods"
:key=
"index"
>
<div
class=
"no-pay ma-item flex-h flex-hb"
v-for=
"(child, index) in item.no_pay_order.goods"
:key=
"index"
>
<div
class=
"one one1 text-line-one"
>
{{
child
.
parent_detail
.
goods_name
}}
</div>
<div
class=
"one one1 text-line-one"
>
{{
child
.
parent_detail
.
goods_name
}}
</div>
<div
class=
"one one2 flex-h"
>
<div
class=
"one one2 flex-h"
>
<div
class=
"_one text-line-one"
>
{{
child
.
good_detail
.
goods_name
}}
</div>
<div
class=
"_one text-line-one"
>
{{
child
.
good_detail
.
goods_name
}}
</div>
...
@@ -162,7 +166,7 @@
...
@@ -162,7 +166,7 @@
v-if=
"item.is_can_see_appraisal==1"
v-if=
"item.is_can_see_appraisal==1"
class=
"btn-item"
class=
"btn-item"
@
click=
"look_comment(item)"
@
click=
"look_comment(item)"
>
查看评价
</div>
-->
>
查看评价
</div>
-->
<div
<div
v-if=
"item.is_can_see_material==1"
v-if=
"item.is_can_see_material==1"
class=
"btn-item sf-btn"
class=
"btn-item sf-btn"
...
@@ -344,7 +348,7 @@ export default {
...
@@ -344,7 +348,7 @@ export default {
minDate
:
new
Date
(
2021
,
0
,
1
),
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
maxDate
:
new
Date
(),
},
},
currentDate
:
new
Date
(
2021
,
0
,
17
),
currentDate
:
new
Date
(),
showEnd
:
false
,
showEnd
:
false
,
endTime
:
"
请选择截止日期
"
,
endTime
:
"
请选择截止日期
"
,
backShow
:
false
,
//工人退回弹窗
backShow
:
false
,
//工人退回弹窗
...
@@ -553,8 +557,19 @@ export default {
...
@@ -553,8 +557,19 @@ export default {
if
(
item
.
type
!==
this
.
curSelect
.
type
)
{
if
(
item
.
type
!==
this
.
curSelect
.
type
)
{
this
.
curSelect
=
item
this
.
curSelect
=
item
this
.
tabShow
=
false
this
.
tabShow
=
false
if
(
this
.
curSelect
.
type
==
4
){
if
(
this
.
curSelect
.
type
==
4
){
return
this
.
startTime
=
'
请选择开始日期
'
this
.
endTime
=
'
请选择截止日期
'
this
.
startObj
=
{
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
}
this
.
endObj
=
{
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
}
return
}
}
this
.
initData
()
this
.
initData
()
this
.
getList
()
this
.
getList
()
...
...
src/views/tabbar/admin_home.vue
View file @
316a5a50
...
@@ -311,12 +311,12 @@ export default {
...
@@ -311,12 +311,12 @@ export default {
minDate
:
new
Date
(
2021
,
0
,
1
),
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
maxDate
:
new
Date
(),
},
},
currentDate
:
new
Date
(
2021
,
0
,
17
),
currentDate
:
new
Date
(),
showEnd
:
false
,
showEnd
:
false
,
endTime
:
"
请选择截止日期
"
,
endTime
:
"
请选择截止日期
"
,
// 头部日期范围筛选
// 头部日期范围筛选
tabShow
:
false
,
// tab范围选择框是否显示
tabShow
:
false
,
// tab范围选择框是否显示
curSelect
:
{
type
:
'
3
'
,
name
:
'
本月
'
},
// 当前选择的日期范围
curSelect
:
{
type
:
'
1
'
,
name
:
'
今日
'
},
// 当前选择的日期范围
optionList
:
[
optionList
:
[
{
type
:
'
1
'
,
name
:
'
今日
'
},
{
type
:
'
1
'
,
name
:
'
今日
'
},
{
type
:
'
2
'
,
name
:
'
本周
'
},
{
type
:
'
2
'
,
name
:
'
本周
'
},
...
@@ -623,7 +623,17 @@ export default {
...
@@ -623,7 +623,17 @@ export default {
if
(
item
.
type
!==
this
.
curSelect
.
type
)
{
if
(
item
.
type
!==
this
.
curSelect
.
type
)
{
this
.
curSelect
=
item
this
.
curSelect
=
item
this
.
tabShow
=
false
this
.
tabShow
=
false
if
(
this
.
curSelect
.
type
==
4
){
if
(
this
.
curSelect
.
type
==
4
){
this
.
startTime
=
'
请选择开始日期
'
this
.
endTime
=
'
请选择截止日期
'
this
.
startObj
=
{
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
}
this
.
endObj
=
{
minDate
:
new
Date
(
2021
,
0
,
1
),
maxDate
:
new
Date
(),
}
return
return
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment