Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
上
上药订单生命周期升级
Project overview
Project overview
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
sph
上药订单生命周期升级
Commits
8004e817
Commit
8004e817
authored
Mar 03, 2021
by
xiejb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高级搜索 修改为输入框
parent
eeae9183
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
6 deletions
+87
-6
src/views/myOrder/components/HighSearch.vue
src/views/myOrder/components/HighSearch.vue
+86
-6
src/views/myOrder/index.vue
src/views/myOrder/index.vue
+1
-0
No files found.
src/views/myOrder/components/HighSearch.vue
View file @
8004e817
...
@@ -7,7 +7,31 @@
...
@@ -7,7 +7,31 @@
:style=
"
{ width: '75%',height: '100%', overflow: 'hidden' }">
:style=
"
{ width: '75%',height: '100%', overflow: 'hidden' }">
<div
class=
"title font-bold font-16"
>
下单时间
</div>
<div
class=
"title font-bold font-16"
>
下单时间
</div>
<time-choose
:startTime=
"moreSearchInfo.time.start"
:endTime=
"moreSearchInfo.time.end"
@
confirm=
"timeConfirm"
></time-choose>
<time-choose
:startTime=
"moreSearchInfo.time.start"
:endTime=
"moreSearchInfo.time.end"
@
confirm=
"timeConfirm"
></time-choose>
<van-cell-group
class=
"high-info"
>
<div
class=
"high-info-list"
>
<div
class=
"high-info"
@
click=
"showPost('consignor')"
>
<div
class=
"title font-bold font-16"
>
货主
</div>
<!--
<textarea
:value=
"consignor"
class=
"inputInfo"
type=
"text"
></textarea>
-->
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
consignor
}}
</div>
</div>
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
请输入订单号
</div>
<!--
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
orderNo
}}
</div>
-->
<textarea
:value=
"orderNo"
class=
"input"
type=
"text"
></textarea>
</div>
<div
class=
"high-info"
@
click=
"showPost('supplier')"
>
<div
class=
"title font-bold font-16"
>
供应商
</div>
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
supplier
}}
</div>
</div>
<div
class=
"high-info"
@
click=
"showPost('goods')"
>
<div
class=
"title font-bold font-16"
>
商品
</div>
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
goods
}}
</div>
</div>
<div
class=
"high-info"
@
click=
"showPost('client')"
>
<div
class=
"title font-bold font-16"
>
客户
</div>
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
client
}}
</div>
</div>
</div>
<!--
<van-cell-group
class=
"high-info"
>
<van-cell
class=
"flex4"
is-link
<van-cell
class=
"flex4"
is-link
:value=
"consignor"
:value=
"consignor"
@
click=
"showPost('consignor')"
>
@
click=
"showPost('consignor')"
>
...
@@ -41,7 +65,7 @@
...
@@ -41,7 +65,7 @@
<span
type=
"danger"
class=
"font-bold"
>
客户
</span>
<span
type=
"danger"
class=
"font-bold"
>
客户
</span>
</
template
>
</
template
>
</van-cell>
</van-cell>
</van-cell-group>
</van-cell-group>
-->
<div
class=
"action-bottom"
>
<div
class=
"action-bottom"
>
<van-button
type=
"default"
@
click=
"onCleanClick"
>
重置
</van-button>
<van-button
type=
"default"
@
click=
"onCleanClick"
>
重置
</van-button>
<van-button
type=
"info"
class=
"submit"
@
click=
"onSearchClick"
>
查询
</van-button>
<van-button
type=
"info"
class=
"submit"
@
click=
"onSearchClick"
>
查询
</van-button>
...
@@ -112,6 +136,7 @@ export default {
...
@@ -112,6 +136,7 @@ export default {
consignor
:
''
,
// 货主
consignor
:
''
,
// 货主
goods
:
''
,
// 商品
goods
:
''
,
// 商品
client
:
''
,
// 客户
client
:
''
,
// 客户
orderNo
:
''
,
// 订单号
time
:
{
time
:
{
start
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
),
start
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
),
end
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
)
end
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
)
...
@@ -155,6 +180,14 @@ export default {
...
@@ -155,6 +180,14 @@ export default {
}
else
{
}
else
{
return
''
return
''
}
}
},
// 订单号
orderNo
()
{
if
(
this
.
moreSearchInfo
.
orderNo
)
{
return
!
this
.
moreSearchInfo
.
orderNo
?
''
:
this
.
moreSearchInfo
.
orderNo
}
else
{
return
''
}
}
}
},
},
props
:
{
props
:
{
...
@@ -191,13 +224,15 @@ export default {
...
@@ -191,13 +224,15 @@ export default {
consignor
:
''
,
// 货主
consignor
:
''
,
// 货主
goods
:
''
,
// 商品
goods
:
''
,
// 商品
client
:
''
,
// 客户
client
:
''
,
// 客户
orderNo
:
''
,
time
:
{
time
:
{
start
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
),
start
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
),
end
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
)
end
:
getFormateDate
(
new
Date
(),
'
yyyy-MM-dd
'
)
},
},
}
}
this
.
moreSearchShow
=
false
console
.
log
(
this
.
moreSearchInfo
)
this
.
$emit
(
'
onsearch
'
,
this
.
moreSearchInfo
)
// this.moreSearchShow = false
// this.$emit('onsearch', this.moreSearchInfo)
},
},
showPost
(
type
)
{
showPost
(
type
)
{
...
@@ -246,10 +281,55 @@ export default {
...
@@ -246,10 +281,55 @@ export default {
}
}
.more-search
{
.more-search
{
.title
{
.title
{
margin
:
30px
0
0
15px
margin
:
30
PX
0
0
15
PX
}
.high-info-list
{
height
:
calc
(
100vh
-
156px
);
overflow-x
:
hidden
;
overflow-y
:
auto
;
.high-info
{
margin
:
0
PX
15
PX
;
font-size
:
14
PX
;
.title
{
margin
:
auto
}
.inputInfo
{
color
:
#666666
;
width
:
100%
;
max-height
:
100%
;
// height: 40PX;
margin
:
10
PX
auto
;
border-radius
:
5
PX
;
border
:
0
.5px
solid
#bbbbbb
;
min-height
:
40
PX
;
line-height
:
24px
;
outline
:
0
;
word-wrap
:
break-word
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
padding
:
5
PX
;
}
}
.input
{
color
:
#666666
;
width
:
100%
;
max-height
:
100%
;
// height: 40PX;
margin
:
10
PX
auto
;
border-radius
:
5
PX
;
border
:
0
.5px
solid
#bbbbbb
;
min-height
:
40
PX
;
line-height
:
16
PX
;
outline
:
0
;
word-wrap
:
break-word
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
padding
:
5
PX
;
}
}
}
.search-value
{
.search-value
{
margin-top
:
45
px
;
margin-top
:
45
PX
;
}
}
.flex4
{
.flex4
{
/
deep
/
.van-cell__title
{
/
deep
/
.van-cell__title
{
...
...
src/views/myOrder/index.vue
View file @
8004e817
...
@@ -82,6 +82,7 @@ export default {
...
@@ -82,6 +82,7 @@ export default {
leftArrow
:
true
,
leftArrow
:
true
,
rightIcon
:
true
,
rightIcon
:
true
,
title
:
'
我的订单
'
,
title
:
'
我的订单
'
,
leftText
:
''
,
leftClick
:
this
.
closeAppPage
,
leftClick
:
this
.
closeAppPage
,
rightClick
:
this
.
onMoreSearch
rightClick
:
this
.
onMoreSearch
})
})
...
...
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