Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
918a48d4
Commit
918a48d4
authored
Sep 14, 2024
by
xiami
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户藏品换藏订单
parent
654875f2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
247 additions
and
364 deletions
+247
-364
src/views/order/ChangeOrderDetail.vue
src/views/order/ChangeOrderDetail.vue
+239
-356
src/views/order/ChangeOrderDetailnew.vue
src/views/order/ChangeOrderDetailnew.vue
+6
-6
src/views/order/ChangeOrderView.vue
src/views/order/ChangeOrderView.vue
+2
-2
No files found.
src/views/order/ChangeOrderDetail.vue
View file @
918a48d4
<
template
>
<
template
>
<div
class=
"page_itemDetail"
>
<el-card
class=
"box-card"
style=
"margin:16px"
>
<div
class=
"title"
>
<div
class=
"title_content"
>
交换单信息
</div>
<el-button
v-if=
"itemContent.transferStateName"
type=
"warning"
plain
size=
"mini"
>
{{
itemContent
.
transferStateName
}}
</el-button>
</div>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"120px"
style=
"width: 30%"
>
<el-form-item
label=
"交换单号:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
</el-form-item>
</el-form>
<el-form
ref=
"addInviteRef"
label-width=
"140px"
style=
"width: 30%"
>
<el-form-item
label=
"交换单号状态:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
</el-form-item>
</el-form>
<el-form
ref=
"addInviteRef"
label-width=
"140px"
style=
"width: 30%"
>
<el-form-item
label=
"交换单号申请时间:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
</el-form-item>
</el-form>
</div>
</el-card>
<!--
<el-card
class=
"box-card"
style=
"margin: 16px"
>
<div
class=
"page_transferDetail"
>
<h3>
申请者用户信息
</h3>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"140px"
>
<el-form-item
label=
"申请者用户ID:"
>
<div>
{{
itemContent
&&
itemContent
.
id
||
'
-
'
}}
</div>
</el-form-item>
<el-form-item
label=
"申请者用户昵称:"
>
<div>
{{
itemContent
&&
itemContent
.
id
||
'
-
'
}}
</div>
</el-form-item>
<el-form-item
label=
"商品名称:"
>
<div>
{{
itemContent
&&
itemContent
.
name
||
'
-
'
}}
</div>
</el-form-item>
<el-form-item
label=
"价格:"
>
<div>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
官方估价:
"
>
<
div
>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
<
div
v
-
for
=
"
item in itemContent.imagelist
"
:
key
=
"
item.url
"
class
=
"
image_item
"
@
click
=
"
handleShowLargeDialog(item.type, item.url, item.videoUrl)
"
>
<
img
:
src
=
"
item.url
"
class
=
"
image_item_content
"
>
<
img
v
-
if
=
"
item.type === 1
"
class
=
"
image_content_video_icon
"
src
=
"
https://cdn.wanwudezhi.com/static/web-static/image/10651432d8c28651da81753c260d81b3_120x120.png
"
>
<
/div
>
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单状态:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
收货地址:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出物流公司:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出快递单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
平台寄出物流公司:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
平台寄出快递单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
/div
>
<
/el-card
>
<
el
-
card
class
=
"
box-card
"
style
=
"
margin: 16px
"
>
<
h3
>
受理用户信息
<
/h3
>
<
div
class
=
"
user_info flex
"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
140px
"
>
<
el
-
form
-
item
label
=
"
受理者用户ID:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
id
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
申请者用户昵称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
id
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品名称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
name
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
价格:
"
>
<
div
>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
官方估价:
"
>
<
div
>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
<
div
v
-
for
=
"
item in itemContent.imagelist
"
:
key
=
"
item.url
"
class
=
"
image_item
"
@
click
=
"
handleShowLargeDialog(item.type, item.url, item.videoUrl)
"
>
<
img
:
src
=
"
item.url
"
class
=
"
image_item_content
"
>
<
img
v
-
if
=
"
item.type === 1
"
class
=
"
image_content_video_icon
"
src
=
"
https://cdn.wanwudezhi.com/static/web-static/image/10651432d8c28651da81753c260d81b3_120x120.png
"
>
<
/div
>
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单状态:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
收货地址:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出物流公司:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出快递单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
平台寄出物流公司:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
平台寄出快递单号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
/div
>
<
/el-card> --
>
<
el
-
card
class
=
"
box-card
"
style
=
"
margin:16px
"
>
<
div
class
=
"
title
"
>
<
div
class
=
"
title_content
"
>
申请者用户相关信息
<
/div
>
<
el
-
button
v
-
if
=
"
itemContent.transferStateName
"
type
=
"
warning
"
plain
size
=
"
mini
"
>
{{
itemContent
.
transferStateName
}}
<
/el-button
>
<
/div
>
<
div
class
=
"
user_info flex
"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
style
=
"
width: 30%
"
>
<
el
-
form
-
item
label
=
"
用户ID:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品名称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单编号:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单生成时间:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
140px
"
style
=
"
width: 30%
"
>
<
el
-
form
-
item
label
=
"
用户昵称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品价格:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
distributionPrice
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单状态:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出物流信息:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
140px
"
style
=
"
width: 30%
"
>
<
el
-
form
-
item
label
=
"
商品名称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
官方估价:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
收货地址:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
平台寄出物流信息:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
/div
>
<div
v-if=
"itemContent && itemContent.distributionOrderId"
class=
"detail_button"
>
<div
v-if=
"itemContent && itemContent.distributionOrderId"
class=
"detail_button"
>
<el-button
v-if=
"(itemContent && itemContent.transferState === 12)"
type=
"primary"
size=
"mini"
@
click=
"handleReceive()"
>
确认收货
</el-button>
<el-button
<el-button
v-if=
"(itemContent.transferState === 13)"
v-if=
"(itemContent.transferState === 13)"
type=
"primary"
type=
"primary"
...
@@ -207,225 +33,277 @@
...
@@ -207,225 +33,277 @@
@
click=
"handleSend(2)"
>
退回藏品
@
click=
"handleSend(2)"
>
退回藏品
</el-button>
</el-button>
</div>
</div>
<
div
class
=
"
user_info flex
"
>
<el-card
class=
"box-card"
style=
"margin: 0 16px"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
<
div
v
-
for
=
"
item in itemContent.imagelist
"
:
key
=
"
item.url
"
class
=
"
image_item
"
@
click
=
"
handleShowLargeDialog(item.type, item.url, item.videoUrl)
"
>
<
img
:
src
=
"
item.url
"
class
=
"
image_item_content
"
>
<
img
v
-
if
=
"
item.type === 1
"
class
=
"
image_content_video_icon
"
src
=
"
https://cdn.wanwudezhi.com/static/web-static/image/10651432d8c28651da81753c260d81b3_120x120.png
"
>
<
/div
>
<
/div
>
<
/el-form-item
>
<
/el-form
>
<
/div
>
<
/el-card
>
<
el
-
card
class
=
"
box-card
"
style
=
"
margin: 16px
"
>
<div
class=
"title"
>
<div
class=
"title"
>
<
div
class
=
"
title_content
"
>
受理者用户
相关信息
<
/div
>
<div
class=
"title_content"
>
申请者
相关信息
</div>
<el-button
v-if=
"itemContent.transferStateName"
type=
"warning"
plain
size=
"mini"
>
{{
itemContent
.
transferStateName
}}
</el-button>
<el-button
v-if=
"itemContent.transferStateName"
type=
"warning"
plain
size=
"mini"
>
{{
itemContent
.
transferStateName
}}
</el-button>
</div>
</div>
<div
class=
"user_info flex"
>
<div
class=
"user_info flex"
>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
style
=
"
width: 30%
"
>
<el-form
ref=
"addInviteRef"
label-width=
"100px"
style=
"width: 30%"
>
<
el
-
form
-
item
label
=
"
用户ID:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品名称:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<el-form-item
label=
"订单编号:"
>
<el-form-item
label=
"订单编号:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
distributionOrderId
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<
el
-
form
-
item
label
=
"
订单生成
时间:
"
>
<el-form-item
label=
"
下单
时间:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
createTime
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
1
4
0px
"
style
=
"
width: 30%
"
>
<el-form
ref=
"addInviteRef"
label-width=
"1
0
0px"
style=
"width: 30%"
>
<
el
-
form
-
item
label
=
"
用户昵
称:
"
>
<el-form-item
label=
"
藏家名
称:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
sellerName
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<
el
-
form
-
item
label
=
"
商品价格:
"
>
<el-form-item
label=
"下单用户:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
buyerName
||
'
-
'
}}
</div>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
订单状态:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
用户寄出物流信息:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
140px
"
style
=
"
width: 30%
"
>
<el-form
ref=
"addInviteRef"
label-width=
"100px"
style=
"width: 40%"
>
<
el
-
form
-
item
label
=
"
商品名称:
"
>
<el-form-item
label=
"藏家地址:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
returnName
+
'
,
'
+
itemContent
.
returnPhone
+
'
,
'
+
itemContent
.
returnAddress
}}
</div>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
官方估价:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
</el-form-item>
</el-form-item>
<
el
-
form
-
item
label
=
"
收货
地址
:
"
>
<el-form-item
label=
"收货
信息
:"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div>
{{
itemContent
.
receiverName
+
'
,
'
+
itemContent
.
receiverPhone
+
'
,
'
+
itemContent
.
receiverAddress
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<
el
-
form
-
item
label
=
"
平台寄出物流信息:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
</el-form>
</el-form>
</div>
</div>
<
div
class
=
"
user_info flex
"
>
</el-card>
<
el
-
form
ref
=
"
addInviteRef
"
label
-
width
=
"
120px
"
>
<el-card
class=
"box-card"
style=
"margin: 16px 16px 0"
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<div
class=
"title"
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<div
class=
"title_content"
>
平台鉴定信息
</div>
</div>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"100px"
style=
"width: 30%"
>
<el-form-item
label=
"鉴定结果:"
>
<div>
{{
itemContent
.
approved
===
1
?
'
通过
'
:
itemContent
.
approved
===
0
?
'
不通过
'
:
'
-
'
}}
</div>
</el-form-item>
</el-form>
<el-form
ref=
"addInviteRef"
label-width=
"100px"
style=
"width: 70%"
>
<el-form-item
label=
"原因:"
>
<div>
{{
itemContent
.
approvedRemark
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
</el-form>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
<
div
v
-
for
=
"
item in itemContent.imagelist
"
:
key
=
"
item.url
"
class
=
"
image_item
"
@
click
=
"
handleShowLargeDialog(item.type, item.url, item.videoUrl)
"
>
<
img
:
src
=
"
item.url
"
class
=
"
image_item_content
"
>
<
img
v
-
if
=
"
item.type === 1
"
class
=
"
image_content_video_icon
"
src
=
"
https://cdn.wanwudezhi.com/static/web-static/image/10651432d8c28651da81753c260d81b3_120x120.png
"
>
</div>
</div>
</el-card>
<el-card
class=
"box-card"
style=
"margin: 16px 16px 0"
>
<div
class=
"title"
>
<div
class=
"title_content"
>
物流信息
</div>
</div>
</div>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"200px"
style=
"width: 100%"
>
<el-form-item
label=
"藏家>平台 物流信息:"
>
<div>
{{
fromLogisticsInfo
||
'
-
'
}}
</div>
</el-form-item>
<el-form-item
label=
"平台>买家 物流信息:"
>
<div>
{{
deliveryLogisticsInfo
||
'
-
'
}}
</div>
</el-form-item>
<el-form-item
label=
"平台>藏家 物流信息:"
>
<div>
{{
returnLogisticsInfo
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
</el-card>
</el-card>
<el-card
class=
"box-card"
style=
"margin: 16px 16px 0"
>
<div
class=
"title"
>
<div
class=
"title_content"
>
藏品信息
</div>
</div>
<div
v-if=
"list && list.length > 0"
class=
"user_info flex"
>
<el-table
:data=
"list"
size=
"small"
element-loading-text=
"正在查询中..."
border
fit
highlight-current-row
>
<
CheckLargeImageDialog
<el-table-column
align=
"center"
label=
"藏品图片"
prop=
"homePageImage"
>
:
show
-
large
-
dialog
=
"
showLargeDialog
"
<template
slot-scope=
"scope"
>
:
image
-
url
=
"
imageUrl
"
<img
v-if=
"scope.row.homePageImage && scope.row.homePageImage.url"
:src=
"scope.row.homePageImage.url"
width=
"60px"
height=
"60px"
>
@
closeLargeDialog
=
"
showLargeDialog = false
"
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"名称"
min-width=
"150px"
prop=
"itemName"
>
<
template
slot-scope=
"scope"
>
<Line2Hidden
:text=
"scope.row.itemName || ''"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"数量"
prop=
"itemNum"
/>
<el-table-column
align=
"center"
label=
"金额"
prop=
"itemPrice"
/>
</el-table>
</div>
</el-card>
<NoPassIdentifyDialog
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:distribution-order-id=
"itemContent.distributionOrderId"
:identify-order-id=
"itemContent.identifyOrderId"
@
refreshItem=
"handleRefreshItem"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
/>
/>
<
CheckVideoDialog
<ReturnLogisticIdentifyDialog
:
show
-
video
-
dialog
=
"
showVideoDialog
"
v-if=
"logisticDialogShow"
:
video
-
url
=
"
videosUrl
"
:logistic-dialog-show=
"logisticDialogShow"
@
closeLargeDialog
=
"
showVideoDialog = false
"
/>
:distribution-order-id=
"itemContent.distributionOrderId"
:identify-order-id=
"itemContent.identifyOrderId"
:type=
"logisticType"
@
cancelDialog=
"handleCancelLogisticDialog"
@
refreshDelivery=
"handleRefreshLogisticItem"
@
refreshSendBack=
"handleRefreshLogisticItem"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
findSaleDetail
}
from
'
../../api/business/sale
'
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
CheckLargeImageDialog
from
'
../goods/components/CheckLargeImage
Dialog
'
import
NoPassIdentifyDialog
from
'
./components/NoPassIdentify
Dialog
'
import
CheckVideoDialog
from
'
../goods/components/CheckVideo
Dialog
'
import
ReturnLogisticIdentifyDialog
from
'
./components/ReturnLogisticIdentify
Dialog
'
import
{
requestSigned
,
requestIdentify
,
requestTransferDetail
}
from
'
@/api/business/order
'
export
default
{
export
default
{
name
:
'
Item
Detail
'
,
name
:
'
TransferOrder
Detail
'
,
components
:
{
CheckVideoDialog
,
CheckLargeImageDialog
}
,
components
:
{
ReturnLogisticIdentifyDialog
,
NoPassIdentifyDialog
,
Line2Hidden
},
data
()
{
data
()
{
return
{
return
{
id
:
''
,
itemContent
:
{},
itemContent
:
{},
imageUrl
:
''
,
distributionOrderId
:
''
,
showLargeDialog
:
false
,
showNoPassIdentifyDialog
:
false
,
showVideoDialog
:
false
,
logisticDialogShow
:
false
,
videosUrl
:
''
logisticType
:
1
,
deliveryLogisticsInfo
:
''
,
fromLogisticsInfo
:
''
,
returnLogisticsInfo
:
''
,
list
:
[]
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
id
==
null
)
{
const
id
=
this
.
$route
.
query
.
distributionOrderId
if
(
!
id
)
{
return
return
}
}
this
.
id
=
this
.
$route
.
query
.
id
this
.
distributionOrderId
=
id
const
loading
=
this
.
$loading
({
this
.
handleGetDetail
()
lock
:
true
,
text
:
'
Loading
'
,
spinner
:
'
el-icon-loading
'
,
background
:
'
rgba(0, 0, 0, 0.7)
'
}
)
this
.
handleGetDetail
(
loading
)
},
},
methods
:
{
methods
:
{
handleGetDetail
()
{
const
params
=
{
distributionOrderId
:
this
.
distributionOrderId
}
requestTransferDetail
(
params
).
then
(
response
=>
{
console
.
log
(
'
===response=
'
,
response
)
this
.
itemContent
=
response
.
data
.
data
.
data
||
{}
this
.
fromLogisticsInfo
=
response
.
data
.
data
.
fromLogisticsInfo
||
'
-
'
this
.
returnLogisticsInfo
=
response
.
data
.
data
.
returnLogisticsInfo
||
''
this
.
deliveryLogisticsInfo
=
response
.
data
.
data
.
deliveryLogisticsInfo
||
''
const
model
=
{
itemName
:
this
.
itemContent
.
itemName
,
homePageImage
:
this
.
itemContent
.
homePageImage
,
itemNum
:
this
.
itemContent
.
itemNum
,
itemPrice
:
this
.
itemContent
.
itemPrice
?
`¥
${
this
.
itemContent
.
itemPrice
}
`
:
'
-
'
}
this
.
list
=
[
model
]
}).
catch
((
e
)
=>
{
console
.
log
(
'
===报错=
'
,
e
)
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
})
},
/**
/**
*
获取详情
*
收货
* @param
loading
* @param
item
*/
*/
handleGetDetail
(
loading
)
{
handleReceive
()
{
findSaleDetail
({
id
:
this
.
id
}
)
this
.
$confirm
(
'
请确认包裹的物流信息是否正确?
'
,
'
确认收货
'
,
{
.
then
(
response
=>
{
confirmButtonText
:
'
确定
'
,
if
(
loading
)
{
cancelButtonText
:
'
取消
'
,
loading
.
close
()
type
:
'
message
'
}).
then
(()
=>
{
const
params
=
{
identifyOrderId
:
this
.
itemContent
.
identifyOrderId
}
}
console
.
log
(
'
====
'
,
response
.
data
.
data
)
requestSigned
(
params
).
then
(
response
=>
{
if
(
response
.
data
.
data
)
{
this
.
handleGetDetail
()
this
.
itemContent
=
response
.
data
.
data
this
.
$notify
.
success
({
this
.
itemContent
.
images
=
response
.
data
.
data
.
images
?
response
.
data
.
data
.
images
.
split
(
'
;
'
)
:
[]
message
:
'
确认收货成功
'
const
imageList
=
[]
if
(
this
.
itemContent
.
videos
)
{
const
videoList
=
this
.
itemContent
.
videos
.
split
(
'
,
'
)
if
(
videoList
.
length
===
2
)
{
imageList
.
push
({
url
:
videoList
[
1
],
type
:
1
,
videoUrl
:
videoList
[
0
]
})
})
}
}).
catch
((
e
)
=>
{
}
console
.
log
(
'
===报错=
'
,
e
)
if
(
this
.
itemContent
.
images
&&
this
.
itemContent
.
images
.
length
>
0
)
{
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
for
(
var
i
=
0
;
i
<
this
.
itemContent
.
images
.
length
;
i
++
)
{
imageList
.
push
({
url
:
this
.
itemContent
.
images
[
i
],
videoUrl
:
''
,
type
:
2
})
})
}
}
this
.
itemContent
.
imagelist
=
imageList
}
})
})
.
catch
(
response
=>
{
},
console
.
log
(
'
====erro
'
,
response
)
/**
if
(
loading
)
{
* 通过
loading
.
close
()
* @param item
*/
handlePass
()
{
this
.
$confirm
(
'
该藏品确定通过平台鉴定?
'
,
'
平台鉴定结果
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
message
'
}).
then
(()
=>
{
const
params
=
{
identifyOrderId
:
this
.
itemContent
.
identifyOrderId
,
distributionOrderId
:
this
.
itemContent
.
distributionOrderId
,
approved
:
1
}
}
requestIdentify
(
params
).
then
(
response
=>
{
this
.
handleGetDetail
()
this
.
$notify
.
success
({
message
:
'
操作成功
'
})
}).
catch
((
e
)
=>
{
console
.
log
(
'
===报错=
'
,
e
)
this
.
$message
.
error
(
e
.
data
&&
e
.
data
.
errmsg
||
'
请求失败, 请重试
'
)
})
})
})
},
},
/**
/**
* 展示大图
* 不通过
* @param imageUrl
*/
*/
handleShowLargeDialog
(
type
,
imageUrl
,
videoUrl
)
{
handleNoPass
()
{
if
(
type
===
1
)
{
this
.
showNoPassIdentifyDialog
=
true
this
.
videosUrl
=
videoUrl
},
this
.
showVideoDialog
=
true
/**
}
else
{
* 不通过操作成功,刷新列表
this
.
imageUrl
=
imageUrl
*/
this
.
showLargeDialog
=
true
handleRefreshItem
()
{
}
this
.
handleGetDetail
()
this
.
showNoPassIdentifyDialog
=
false
},
/**
* 不通过
* @param row type: 1平台发货 2退回藏品
*/
handleSend
(
type
)
{
this
.
logisticDialogShow
=
true
this
.
logisticType
=
type
},
/**
* 不通过操作成功,刷新列表
*/
handleRefreshLogisticItem
()
{
this
.
logisticDialogShow
=
false
this
.
handleGetDetail
()
},
/**
* 发货 or 退回操作
*/
handleCancelLogisticDialog
()
{
this
.
logisticDialogShow
=
false
},
/**
* 不通过操作取消
*/
handleCancelNoPassDialog
()
{
this
.
handleGetDetail
()
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.
page_itemDetail
{
.page_transferDetail
{
padding
:
20
px
;
height
:
100%
;
.
image
{
width
:
100
%
;
display
:
flex
;
display
:
flex
;
flex
-
direction
:
row
;
flex-direction
:
column
;
}
padding
:
0
10px
10px
;
.
image_item
{
.detail_button
{
width
:
100
px
;
text-align
:
end
;
height
:
100
px
;
margin
:
16px
;
margin
-
right
:
10
px
;
margin
-
top
:
16
px
;
position
:
relative
;
.
image_item_content
{
width
:
100
px
;
height
:
100
px
;
}
.
image_content_video_icon
{
position
:
absolute
;
width
:
30
px
;
height
:
30
px
;
top
:
10
px
;
left
:
10
px
;
}
}
}
}
.title
{
.
title
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
@@ -435,11 +313,16 @@ export default {
...
@@ -435,11 +313,16 @@ export default {
margin-right
:
16px
;
margin-right
:
16px
;
}
}
}
}
}
/
deep
/
.el-card__body
{
padding
:
12px
;
}
/
deep
/
.el-form-item
{
/
deep
/
.el-form-item
{
margin
-
bottom
:
0
margin-bottom
:
0
;
}
/
deep
/
.el-switch
{
height
:
30px
;
}
}
.
detail_button
{
text
-
align
:
end
;
margin
:
16
px
;
}
</
style
>
</
style
>
src/views/order/ChangeOrderDetailnew.vue
View file @
918a48d4
...
@@ -86,10 +86,10 @@
...
@@ -86,10 +86,10 @@
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
createTime
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
createTime
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"收货地址:"
>
<el-form-item
label=
"收货地址:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
receiverAddress
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"平台寄出物流信息:"
>
<el-form-item
label=
"平台寄出物流信息:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
waybill
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"官方估价:"
>
<el-form-item
label=
"官方估价:"
>
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
itemVoList
[
0
].
officialEstimatedPrice
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
userCommitOrderInfo
.
itemVoList
[
0
].
officialEstimatedPrice
||
'
-
'
}}
</div>
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
<div
class=
"user_info flex"
>
<div
class=
"user_info flex"
>
<el-form
ref=
"addInviteRef"
label-width=
"120px"
style=
"width: 30%"
>
<el-form
ref=
"addInviteRef"
label-width=
"120px"
style=
"width: 30%"
>
<el-form-item
label=
"用户ID:"
>
<el-form-item
label=
"用户ID:"
>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
sell
erId
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
buy
erId
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单编号:"
>
<el-form-item
label=
"订单编号:"
>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
distributionOrderId
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
distributionOrderId
||
'
-
'
}}
</div>
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
</el-form>
</el-form>
<el-form
ref=
"addInviteRef"
label-width=
"140px"
style=
"width: 30%"
>
<el-form
ref=
"addInviteRef"
label-width=
"140px"
style=
"width: 30%"
>
<el-form-item
label=
"用户昵称:"
>
<el-form-item
label=
"用户昵称:"
>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
sell
erName
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
buy
erName
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"订单状态:"
>
<el-form-item
label=
"订单状态:"
>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
stateName
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
stateName
||
'
-
'
}}
</div>
...
@@ -162,10 +162,10 @@
...
@@ -162,10 +162,10 @@
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
createTime
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
createTime
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"收货地址:"
>
<el-form-item
label=
"收货地址:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
receiverAddress
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"平台寄出物流信息:"
>
<el-form-item
label=
"平台寄出物流信息:"
>
<div>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
waybill
||
'
-
'
}}
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"官方估价:"
>
<el-form-item
label=
"官方估价:"
>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
itemVoList
[
0
].
officialEstimatedPrice
||
'
-
'
}}
</div>
<div>
{{
itemContent
&&
itemContent
.
receiveTargetOrderInfo
.
itemVoList
[
0
].
officialEstimatedPrice
||
'
-
'
}}
</div>
...
...
src/views/order/ChangeOrderView.vue
View file @
918a48d4
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<!--
中转单状态
(
12
,
"
待平台收货
"
),
(
13
,
"
平台鉴定中
"
),
(
14
,
"
待平台发货
"
),
(
15
,
"
待平台退回
"
),
(
16
,
"
平台已发货
"
),
(
17
,
"
退回待收货
"
),
(
18
,
"
退回已收货
"
),
-->
<!--
中转单状态
(
12
,
"
待平台收货
"
),
(
13
,
"
平台鉴定中
"
),
(
14
,
"
待平台发货
"
),
(
15
,
"
待平台退回
"
),
(
16
,
"
平台已发货
"
),
(
17
,
"
退回待收货
"
),
(
18
,
"
退回已收货
"
),
-->
<
el
-
table
-
column
align
=
"
center
"
label
=
"
操作
"
width
=
"
300
"
>
<
!--
<
el
-
table
-
column
align
=
"
center
"
label
=
"
操作
"
width
=
"
300
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
<
el
-
button
type
=
"
primary
"
type
=
"
primary
"
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
@
click
=
"
handleToOrderDetail(scope.row)
"
>
订单
@
click
=
"
handleToOrderDetail(scope.row)
"
>
订单
<
/el-button
>
<
/el-button
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column>
--
>
...
...
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