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
de1964d1
Commit
de1964d1
authored
Mar 19, 2021
by
xiejb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单高级搜索调整
parent
8afb34bd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
9 deletions
+50
-9
src/router/index.js
src/router/index.js
+1
-1
src/views/myOrder/components/HighSearch.vue
src/views/myOrder/components/HighSearch.vue
+4
-4
src/views/myOrder/components/goodsHighSearch.vue
src/views/myOrder/components/goodsHighSearch.vue
+36
-0
src/views/myOrder/detail/goodsInfo.vue
src/views/myOrder/detail/goodsInfo.vue
+7
-2
src/views/myOrder/orderListItem.vue
src/views/myOrder/orderListItem.vue
+2
-2
No files found.
src/router/index.js
View file @
de1964d1
...
@@ -70,7 +70,7 @@ router.beforeEach((to, from, next) => {
...
@@ -70,7 +70,7 @@ router.beforeEach((to, from, next) => {
msgId
:
GetQueryString
(
'
msgId
'
)
// 安卓消息id
msgId
:
GetQueryString
(
'
msgId
'
)
// 安卓消息id
}
}
store
.
commit
(
'
setLinkInfo
'
,
linkInfo
)
store
.
commit
(
'
setLinkInfo
'
,
linkInfo
)
console
.
log
(
linkInfo
)
//
console.log(linkInfo)
}
else
{
}
else
{
let
linkInfo
=
{
let
linkInfo
=
{
userId
:
GetQueryString
(
'
userId
'
),
// APP用户的登录ID
userId
:
GetQueryString
(
'
userId
'
),
// APP用户的登录ID
...
...
src/views/myOrder/components/HighSearch.vue
View file @
de1964d1
...
@@ -13,15 +13,15 @@
...
@@ -13,15 +13,15 @@
<!--
<textarea
:value=
"consignor"
class=
"inputInfo"
type=
"text"
></textarea>
-->
<!--
<textarea
:value=
"consignor"
class=
"inputInfo"
type=
"text"
></textarea>
-->
<div
contenteditable=
"false"
placeholder=
"请选择货主"
class=
"inputInfo"
>
{{
consignor
}}
</div>
<div
contenteditable=
"false"
placeholder=
"请选择货主"
class=
"inputInfo"
>
{{
consignor
}}
</div>
</div>
</div>
<div
class=
"high-info"
@
click=
"showPost('supplier')"
>
<div
class=
"title font-bold font-16"
>
供应商
</div>
<div
contenteditable=
"false"
placeholder=
"请选择供应商"
class=
"inputInfo"
>
{{
supplier
}}
</div>
</div>
<div
class=
"high-info"
>
<div
class=
"high-info"
>
<div
class=
"title font-bold font-16"
>
请输入订单号
</div>
<div
class=
"title font-bold font-16"
>
请输入订单号
</div>
<!--
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
orderNo
}}
</div>
-->
<!--
<div
contenteditable=
"true"
class=
"inputInfo"
>
{{
orderNo
}}
</div>
-->
<input
v-model=
"moreSearchInfo.orderNo"
placeholder=
"请输入订单号"
class=
"input"
type=
"text"
>
<input
v-model=
"moreSearchInfo.orderNo"
placeholder=
"请输入订单号"
class=
"input"
type=
"text"
>
</div>
</div>
<div
class=
"high-info"
@
click=
"showPost('supplier')"
>
<div
class=
"title font-bold font-16"
>
供应商
</div>
<div
contenteditable=
"false"
placeholder=
"请选择供应商"
class=
"inputInfo"
>
{{
supplier
}}
</div>
</div>
<div
class=
"high-info"
@
click=
"showPost('goods')"
>
<div
class=
"high-info"
@
click=
"showPost('goods')"
>
<div
class=
"title font-bold font-16"
>
商品
</div>
<div
class=
"title font-bold font-16"
>
商品
</div>
<div
contenteditable=
"false"
placeholder=
"请选择商品"
class=
"inputInfo"
>
{{
goods
}}
</div>
<div
contenteditable=
"false"
placeholder=
"请选择商品"
class=
"inputInfo"
>
{{
goods
}}
</div>
...
...
src/views/myOrder/components/goodsHighSearch.vue
View file @
de1964d1
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
<input
type=
"text"
placeholder=
"请输入生产企业"
class=
"search-input"
>
<input
type=
"text"
placeholder=
"请输入生产企业"
class=
"search-input"
>
</div>
</div>
</div>
</div>
<div
class=
"action-bottom"
>
<van-button
type=
"default"
@
click=
"onCleanClick"
>
重置
</van-button>
<van-button
type=
"info"
class=
"submit"
@
click=
"onSearchClick"
>
查询
</van-button>
</div>
</van-popup>
</van-popup>
</div>
</div>
</
template
>
</
template
>
...
@@ -57,6 +61,28 @@ export default {
...
@@ -57,6 +61,28 @@ export default {
searchShow
(
val
)
{
searchShow
(
val
)
{
this
.
$emit
(
'
input
'
,
val
)
this
.
$emit
(
'
input
'
,
val
)
}
}
},
methods
:
{
onSearchClick
()
{
// this.moreSearchShow = false
// this.$emit('onsearch', this.moreSearchInfo)
},
onCleanClick
()
{
// this.moreSearchInfo = {
// supplier: '', // 供应商
// consignor: [], // 货主
// goods: '', // 商品
// client: '', // 客户
// orderNo: '',
// time: {
// start: getFormateDate(new Date(), 'yyyy-MM-dd'),
// end: getFormateDate(new Date(), 'yyyy-MM-dd')
// },
// }
// console.log(this.moreSearchInfo)
// this.moreSearchShow = false
// this.$emit('onsearch', this.moreSearchInfo)
},
}
}
}
}
</
script
>
</
script
>
...
@@ -81,5 +107,15 @@ export default {
...
@@ -81,5 +107,15 @@ export default {
border
:
none
;
border
:
none
;
}
}
}
}
.action-bottom
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
display
:
flex
;
button
{
flex
:
1
;
}
}
}
}
</
style
>
</
style
>
src/views/myOrder/detail/goodsInfo.vue
View file @
de1964d1
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
class=
"sum-amount"
>
金额总计:
<span
style=
"font-size: 16PX;"
>
¥
{{
orderTotalAmount
}}
</span></div>
<div
class=
"sum-amount"
>
金额总计:
<span
style=
"font-size: 16PX;"
>
¥
{{
orderTotalAmount
}}
</span></div>
</div>
</div>
<
!--
<goods-high-search
v-model=
"showHighSearch"
/>
--
>
<
goods-high-search
v-model=
"showHighSearch"
/
>
</div>
</div>
</
template
>
</
template
>
...
@@ -162,7 +162,12 @@ export default {
...
@@ -162,7 +162,12 @@ export default {
if
(
res
.
code
===
200
&&
res
.
data
&&
res
.
data
.
code
===
'
00000
'
&&
if
(
res
.
code
===
200
&&
res
.
data
&&
res
.
data
.
code
===
'
00000
'
&&
res
.
data
.
entity
&&
res
.
data
.
entity
.
orderList
&&
res
.
data
.
entity
.
orderList
.
length
>
0
)
{
res
.
data
.
entity
&&
res
.
data
.
entity
.
orderList
&&
res
.
data
.
entity
.
orderList
.
length
>
0
)
{
this
.
detailData
=
res
.
data
.
entity
.
orderList
[
0
]
this
.
detailData
=
res
.
data
.
entity
.
orderList
[
0
]
console
.
log
(
this
.
detailData
)
// let array = []
// for (var i = 0; i
<
10
;
i
++
)
{
// array.push(this.detailData.goodsInfos[0])
// array.push(this.detailData.goodsInfos[1])
// }
// this.detailData.goodsInfos = array
}
else
{
}
else
{
console
.
log
(
'
订单详情
'
,
'
请求失败
'
)
console
.
log
(
'
订单详情
'
,
'
请求失败
'
)
}
}
...
...
src/views/myOrder/orderListItem.vue
View file @
de1964d1
...
@@ -42,11 +42,11 @@
...
@@ -42,11 +42,11 @@
<div
class=
"price"
>
总计:¥
<span
style=
"color:red;"
>
{{
item
.
orderTotalAmount
}}
</span></div>
<div
class=
"price"
>
总计:¥
<span
style=
"color:red;"
>
{{
item
.
orderTotalAmount
}}
</span></div>
</div>
</div>
<van-divider
:style=
"
{ color: '#999999', borderColor: '#999999', margin: '10PX 0 10PX 0'}"/>
<van-divider
:style=
"
{ color: '#999999', borderColor: '#999999', margin: '10PX 0 10PX 0'}"/>
<div
class=
"btnInfo"
style=
"text-align: right;"
>
<
!--
<
div
class=
"btnInfo"
style=
"text-align: right;"
>
<van-button
v-if=
"item.isInvoice === 'TRUE'"
@
click=
"btnAction('invoice')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
查看发票
</van-button>
<van-button
v-if=
"item.isInvoice === 'TRUE'"
@
click=
"btnAction('invoice')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
查看发票
</van-button>
<van-button
v-if=
"item.isDelivered === 'TRUE'"
@
click=
"btnAction('logistics')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
查看物流
</van-button>
<van-button
v-if=
"item.isDelivered === 'TRUE'"
@
click=
"btnAction('logistics')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
查看物流
</van-button>
<van-button
v-if=
"item.isWeb === 'TRUE'"
@
click=
"btnAction('clearance')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
清货单
</van-button>
<van-button
v-if=
"item.isWeb === 'TRUE'"
@
click=
"btnAction('clearance')"
style=
"border-radius: 5PX;height: 25PX; line-height: 25PX"
plain
size=
"small"
type=
"info"
>
清货单
</van-button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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