Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
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
lanbaoming
jiedao-web-master
Commits
de30c9e0
Commit
de30c9e0
authored
Nov 23, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'jd_dev'
Release最新代码合并入捷道研发分支20241123 See merge request
!39
parents
3a8b0a9a
0a21e094
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
186 additions
and
98 deletions
+186
-98
order.js
src/api/order.js
+8
-0
en.js
src/lang/en.js
+31
-6
zh.js
src/lang/zh.js
+27
-2
index.vue
src/layout/components/JdSidebar/index.vue
+1
-1
coupons.vue
src/views/jiedao/profile/coupons.vue
+7
-1
delivery.vue
src/views/jiedao/profile/delivery.vue
+51
-34
orderdetail.vue
src/views/jiedao/profile/orderdetail.vue
+53
-52
postorder.vue
src/views/jiedao/profile/postorder.vue
+8
-2
No files found.
src/api/order.js
View file @
de30c9e0
...
...
@@ -265,3 +265,11 @@ export function getOfferCheck(params) {
params
})
}
// 复制订单/my/order/copy/{copyOrderId}
export
function
copyOrder
(
copyOrderId
)
{
return
request
({
url
:
'
/app-api/my/order/copy/
'
+
copyOrderId
,
method
:
'
post
'
})
}
src/lang/en.js
View file @
de30c9e0
...
...
@@ -54,6 +54,7 @@ export default {
route
:
{
dashboard
:
"
home page
"
,
profile
:
"
profile
"
,
personalCenter
:
"
Personal Center
"
,
setting
:
"
setting
"
,
advice
:
"
advice
"
,
help
:
"
help
"
,
...
...
@@ -148,7 +149,7 @@ export default {
Id1
:
"
Please upload frontal photo of ID
"
,
Id2
:
"
Please upload back side photo of ID
"
,
success
:
"
Submitted successfully
"
,
loading
:
"
Uploading..
"
,
up
loading
:
"
Uploading..
"
,
newPhone
:
"
new phone
"
,
edited
:
"
Edited Success
"
,
company
:
"
company name
"
,
...
...
@@ -603,7 +604,7 @@ export default {
no
:
"
no
"
,
warehouseNum
:
"
warehouseNum
"
,
entry
:
"
receipt data
"
,
warehouseType
:
"
warehouseType
"
,
warehouseType
:
"
Type of warehouse entry
"
,
customsType
:
"
Customs declaration
"
,
isCollection
:
"
collection
"
,
activeFirst
:
"
Details of the goods
"
,
...
...
@@ -626,6 +627,8 @@ export default {
hiddenText
:
"
Show
"
,
showText
:
"
Hide
"
,
transInfo
:
"
Transportation information
"
,
packageType
:
'
special requirements
'
,
packageRemarks
:
'
Special Requirements Remarks
'
,
own
:
"
selp pickup
"
,
toRoom
:
"
to door
"
,
typeName
:
"
value-added services
"
,
...
...
@@ -639,15 +642,21 @@ export default {
tiedanPrice
:
"
Does the bill of lading display the price
"
,
warehouseName
:
"
Warehouse
"
,
externalWarehouse
:
"
External warehouse
"
,
ownWarehouse
:
"
Own warehouse
"
,
estLoading
:
"
Loading time
"
,
loadingAddress
:
"
Loading address
"
,
creator
:
"
c
reator
"
,
creator
:
"
C
reator
"
,
customerManage
:
"
Customer Manager
"
,
prodTitle
:
"
item name
"
,
inWarehouseInfo
:
"
Warehouse entry information
"
,
packing
:
"
packing
"
,
expressNO
:
"
express no
"
,
tiandanExpressNO
:
"
prefill express tracking number
"
,
feeData
:
"
Fee data
"
,
member
:
"
Member
"
,
admin
:
"
Admin
"
,
createTime
:
"
Create Time
"
,
customerService
:
"
Customer service
"
,
},
customer
:
{
none
:
"
none
"
,
...
...
@@ -692,9 +701,9 @@ export default {
addGroup
:
"
add the group
"
,
updateGroup
:
"
update the group
"
,
deleteGroup
:
"
Delete the group?
"
,
default
:
"
默认
"
,
yes
:
"
是
"
,
no
:
"
否
"
,
default
:
"
default
"
,
yes
:
"
Yes
"
,
no
:
"
No
"
,
},
ecash
:
{
time
:
"
time
"
,
...
...
@@ -736,6 +745,8 @@ export default {
refundWarehouse
:
"
Return warehouse
"
,
abnormal
:
"
abnormal
"
,
edit
:
"
edit
"
,
copy
:
"
copy
"
,
delete
:
"
delete
"
,
cancel
:
"
cancel
"
,
refundOrderNo
:
"
Return OrderNo
"
,
refundReason
:
"
Return Reason
"
,
...
...
@@ -1068,6 +1079,9 @@ export default {
orderType1
:
'
Cargo service
'
,
orderType2
:
'
Overseas warehouse
'
,
consigneeName
:
'
consigneeName
'
,
yes
:
'
Yes
'
,
no
:
'
No
'
,
name
:
'
Name
'
,
consigneeNameNotice
:
'
Please enter the name of the consignee
'
,
consigneeNameNoticeEn
:
'
Please enter the name of the consignee in English
'
,
openConsignee
:
'
Select the consignee
'
,
...
...
@@ -1078,12 +1092,15 @@ export default {
consigneeCompanyNoticeEn
:
'
Please enter the company name in English
'
,
consignorConfirm
:
'
Please confirm the freight be paid by sender?
'
,
emailNotice
:
'
Please enter email address
'
,
transportTitle
:
'
transport info
'
,
transport
:
'
*transport
'
,
transportNotice
:
'
Please select the mode of transportation
'
,
channel
:
'
channel
'
,
channelNotice
:
'
Please select the shipping channel
'
,
departure
:
'
*departure
'
,
destCountry
:
'
Destination country
'
,
destCountryRules
:
'
destination country must be chosen
'
,
destCountryNotice
:
'
Please select the destination country
'
,
departureRules
:
'
The place of origin is mandatory
'
,
departureNotice
:
'
Please select the place of departure
'
,
objective
:
'
*objective
'
,
...
...
@@ -1091,6 +1108,7 @@ export default {
objectiveNotice
:
'
Please select a destination
'
,
router
:
'
*Please select a line
'
,
routerNotice
:
'
Select a line on the right
'
,
addServices
:
'
value-added services
'
,
goods
:
'
goods info
'
,
addPro
:
'
addPro
'
,
addPros
:
'
addPros
'
,
...
...
@@ -1128,14 +1146,21 @@ export default {
issuingMethod
:
'
*issuingMethod
'
,
deliveryDate
:
'
*deliveryDate
'
,
deliveryDateRules
:
'
The delivery date cannot be empty
'
,
displayBillLading
:
'
Does the bill of lading display the price
'
,
display
:
'
display
'
,
notDisplay
:
'
Do not display
'
,
warehouseType
:
'
*warehouseType
'
,
externalWarehouse
:
'
External warehouse
'
,
harvestMethod
:
'
*harvestMethod
'
,
loadingTime
:
'
loading time
'
,
loadingAddress
:
'
Loading address
'
,
deliveryaddress
:
'
deliveryaddress
'
,
deliveryaddressRules
:
'
The receiving area cannot be empty
'
,
addressdetail
:
'
addressdetail
'
,
addressdetailRules
:
'
The shipping address cannot be blank
'
,
drawee
:
'
*drawee
'
,
customDraweeList
:
'
customDraweeList
'
,
other
:
"
Other
"
,
number
:
'
number
'
,
numberNotice
:
'
Please enter the tracking number of your purchase
'
,
getNumber
:
'
getNumber
'
,
...
...
src/lang/zh.js
View file @
de30c9e0
...
...
@@ -25,6 +25,7 @@ export default {
route
:
{
dashboard
:
"
首页
"
,
profile
:
"
个人中心
"
,
personalCenter
:
"
个人中心
"
,
setting
:
"
个人设置
"
,
advice
:
"
咨询建议
"
,
help
:
"
帮助
"
,
...
...
@@ -115,7 +116,7 @@ export default {
Id1
:
"
请上传证件正面照
"
,
Id2
:
"
请上传证件反面照
"
,
success
:
"
提交成功
"
,
loading
:
"
上传中..
"
,
up
loading
:
"
上传中..
"
,
newPhone
:
"
请输入您的新手机号
"
,
edited
:
"
修改成功
"
,
company
:
"
请输入公司名称
"
,
...
...
@@ -606,6 +607,8 @@ export default {
hiddenText
:
"
隐藏
"
,
showText
:
"
展示
"
,
transInfo
:
"
运输信息
"
,
packageType
:
'
特殊要求
'
,
packageRemarks
:
'
特殊要求备注
'
,
own
:
"
自提
"
,
toRoom
:
"
送货上门
"
,
typeName
:
"
增值服务
"
,
...
...
@@ -618,7 +621,8 @@ export default {
customerUndertakes
:
"
客户承接
"
,
tiedanPrice
:
"
提单是否显示价格
"
,
warehouseName
:
"
仓库
"
,
externalWarehouse
:
"
外部仓
"
,
externalWarehouse
:
"
外部仓库
"
,
ownWarehouse
:
"
自有仓
"
,
estLoading
:
"
装柜时间
"
,
loadingAddress
:
"
装柜地址
"
,
creator
:
"
创建人
"
,
...
...
@@ -626,8 +630,13 @@ export default {
prodTitle
:
"
品名
"
,
inWarehouseInfo
:
"
入仓信息
"
,
packing
:
"
包装
"
,
expressNO
:
"
快递单号
"
,
tiandanExpressNO
:
"
填单快递单号
"
,
feeData
:
"
收费数据
"
,
member
:
"
会员
"
,
admin
:
"
后台用户
"
,
createTime
:
"
创建时间
"
,
customerService
:
"
客户经理
"
,
},
customer
:
{
none
:
"
无
"
,
...
...
@@ -716,6 +725,8 @@ export default {
refundWarehouse
:
"
申请退仓
"
,
abnormal
:
"
处理
"
,
edit
:
"
编辑
"
,
copy
:
"
复制
"
,
delete
:
"
删除
"
,
cancel
:
"
取消订单
"
,
refundOrderNo
:
"
退仓订单号
"
,
refundReason
:
"
退仓原因
"
,
...
...
@@ -992,6 +1003,9 @@ export default {
orderType1
:
'
集运服务
'
,
orderType2
:
'
海外仓
'
,
consigneeName
:
'
收货人
'
,
yes
:
"
是
"
,
no
:
"
否
"
,
name
:
'
名称
'
,
consigneeNameNotice
:
'
请输入收货人姓名
'
,
consigneeNameNoticeEn
:
'
请输入收货人英文名称
'
,
openConsignee
:
'
选择收货人
'
,
...
...
@@ -1001,12 +1015,15 @@ export default {
consigneeCompanyNotice
:
'
请输入公司名称
'
,
consigneeCompanyNoticeEn
:
'
请输入公司英文名称
'
,
emailNotice
:
'
请输入邮箱
'
,
transportTitle
:
'
运输
'
,
transport
:
'
运输方式
'
,
transportNotice
:
'
请选择运输方式
'
,
channel
:
'
出货渠道
'
,
channelNotice
:
'
请选择出货渠道
'
,
departure
:
'
始发城市
'
,
destCountry
:
'
目的国
'
,
destCountryRules
:
'
目的国必选
'
,
destCountryNotice
:
'
请选择目的国
'
,
departureRules
:
'
始发城市必选
'
,
departureNotice
:
'
请选择始发地
'
,
objective
:
'
目的城市
'
,
...
...
@@ -1014,6 +1031,7 @@ export default {
objectiveNotice
:
'
请选择目的地
'
,
router
:
'
请选择线路
'
,
routerNotice
:
'
请在右侧选择线路
'
,
addServices
:
'
增值服务
'
,
goods
:
'
商品
'
,
addPro
:
'
添加货物
'
,
addPros
:
'
批量添加货物
'
,
...
...
@@ -1051,14 +1069,21 @@ export default {
issuingMethod
:
'
出单方式
'
,
deliveryDate
:
'
预计送货日期
'
,
deliveryDateRules
:
'
预计送货日期不能为空
'
,
displayBillLading
:
'
提单是否显示价格
'
,
display
:
'
显示
'
,
notDisplay
:
'
不显示
'
,
warehouseType
:
'
入仓类型
'
,
externalWarehouse
:
'
外部仓库
'
,
harvestMethod
:
'
收货方式
'
,
loadingTime
:
'
装货时间
'
,
loadingAddress
:
'
装货地址
'
,
deliveryaddress
:
'
收货地区
'
,
deliveryaddressRules
:
'
收货地区不能为空
'
,
addressdetail
:
'
收货详细地址
'
,
addressdetailRules
:
'
收货详细地址不能为空
'
,
drawee
:
'
付款人
'
,
customDraweeList
:
'
费用类型
'
,
other
:
"
其他
"
,
number
:
'
快递单号
'
,
numberNotice
:
'
请输入购买商品的快递单号
'
,
getNumber
:
'
生成单号
'
,
...
...
src/layout/components/JdSidebar/index.vue
View file @
de30c9e0
...
...
@@ -130,7 +130,7 @@
line-height: 42px;
margin-left: 5px;
"
>
{{
$t
(
"
个人中心
"
)
}}
</span
>
{{
$t
(
"
route.personalCenter
"
)
}}
</span
>
</div>
</div>
...
...
src/views/jiedao/profile/coupons.vue
View file @
de30c9e0
...
...
@@ -6,7 +6,7 @@
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"
item.label
"
:label=
"
isChinese ? item.labelZh : item.labelEn
"
:value=
"item.value"
/>
</el-select>
...
...
@@ -77,6 +77,12 @@ export default {
]
}
},
computed
:
{
isChinese
()
{
this
.
getCode
=
this
.
$t
(
"
login.getCode
"
);
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
},
},
created
()
{
this
.
getList
()
},
...
...
src/views/jiedao/profile/delivery.vue
View file @
de30c9e0
This diff is collapsed.
Click to expand it.
src/views/jiedao/profile/orderdetail.vue
View file @
de30c9e0
...
...
@@ -120,66 +120,67 @@
<el-descriptions-item
v-else
label=
""
>
<!--占位-->
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('
特殊要求
')"
>
<el-descriptions-item
:label=
"$t('
orderdetail.packageType
')"
>
<
template
v-if=
"order.packageType"
>
<dict-tag
v-for=
"packageType in order.packageType.split(',').filter(item => !!item)"
:key=
"packageType"
class=
"mr-10"
:type=
"DICT_TYPE.ORDER_SPECIAL_NEEDS"
:value=
"packageType"
/>
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('
特殊要求备注
')"
>
<el-descriptions-item
:label=
"$t('
orderdetail.packageRemarks
')"
>
{{ order.packageRemarks }}
</el-descriptions-item>
<
template
v-if=
"showMore"
>
<el-descriptions-item
:label=
"$t('orderdetail.deliveryDate')"
>
{{
order
.
deliveryDate
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.warehouseType')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('送货时间')"
>
{{ order.deliveryDate }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
</el-descriptions-item>
<!--下面几个是空运特有字段-->
<!--清关证书-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.customsClearCert')"
>
{{ order.isSingleTicketTransport?$t('orderdetail.is'):$t('orderdetail.no') }}
</el-descriptions-item>
<!--清关证书备注-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.clearCertRemark')"
>
{{ order.clearCertRemark }}
</el-descriptions-item>
<!--是否拆包-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.isUnpack')"
>
{{ order.isUnpack?$t('orderdetail.is'):$t('orderdetail.no') }}
</el-descriptions-item>
<!--单票立刻转运-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.isSingleTicketTransport')"
>
{{ order.isSingleTicketTransport?$t('orderdetail.is'):$t('orderdetail.no') }}
</el-descriptions-item>
<!--下面几个是空运特有字段-->
<!--清关证书-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.customsClearCert')"
>
{{
order
.
isSingleTicketTransport
?
$t
(
'
orderdetail.is
'
):
$t
(
'
orderdetail.no
'
)
}}
</el-descriptions-item>
<!--清关证书备注-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.clearCertRemark')"
>
{{
order
.
clearCertRemark
}}
</el-descriptions-item>
<!--是否拆包-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.isUnpack')"
>
{{
order
.
isUnpack
?
$t
(
'
orderdetail.is
'
):
$t
(
'
orderdetail.no
'
)
}}
</el-descriptions-item>
<!--单票立刻转运-->
<el-descriptions-item
v-if=
"[3, 4].indexOf(+order.transportId) > -1"
:label=
"$t('delivery.isSingleTicketTransport')"
>
{{
order
.
isSingleTicketTransport
?
$t
(
'
orderdetail.is
'
):
$t
(
'
orderdetail.no
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('代收货款')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
<
template
v-if=
"order.isCollection == 1"
>
(
{{
order
.
collectionProxy
}}{{
currencyMap
[
order
.
collectionProxyCurrency
]
}}
)
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('提单是否显示价格')"
>
{{order.displayBillLadingPrice ? $t('是') : $t('否')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('仓库')"
>
{{order.isExternalWarehouse ? $t('外部仓库') : $t('自有仓') }}
<
template
v-if=
"order.isExternalWarehouse"
v-for=
"(item, index) in order.externalWarehouseDtoList"
>
<div
v-if=
"item.estLoadingTime || item.loadingAddress"
:key=
"index"
>
{{
$t
(
'
装柜时间
'
)
}}
:
{{
item
.
estLoadingTime
}}
{{
$t
(
'
装柜地址
'
)
}}
:
{{
item
.
loadingAddress
}}
</div>
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('快递单号')"
>
{{order.number}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('创建人')"
>
{{order.creatorName}} ({{order.userType == 1 ? $t('会员') : $t('后台用户')}})
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('创建时间')"
>
{{order.createTime|parseTime}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户经理')"
>
{{order.salesmanName}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.isCollection')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
<template
v-if=
"order.isCollection == 1"
>
(
{{
order
.
collectionProxy
}}{{
currencyMap
[
order
.
collectionProxyCurrency
]
}}
)
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.displayBillLading')"
>
{{order.displayBillLadingPrice ? $t('orderdetail.is'):$t('orderdetail.no')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.warehouseName')"
>
{{order.isExternalWarehouse ? $t('orderdetail.externalWarehouse') : $t('orderdetail.ownWarehouse') }}
<
template
v-if=
"order.isExternalWarehouse"
v-for=
"(item, index) in order.externalWarehouseDtoList"
>
<div
v-if=
"item.estLoadingTime || item.loadingAddress"
:key=
"index"
>
{{
$t
(
'
orderdetail.estLoading
'
)
}}
:
{{
item
.
estLoadingTime
}}
{{
$t
(
'
orderdetail.loadingAddress
'
)
}}
:
{{
item
.
loadingAddress
}}
</div>
</
template
>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.expressNO')"
>
{{order.number}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.creator')"
>
{{order.creatorName}} ({{order.userType == 1 ? $t('orderdetail.member') : $t('orderdetail.admin')}})
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.createTime')"
>
{{order.createTime|parseTime}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.customerService')"
>
{{order.salesmanName}}
</el-descriptions-item>
</template>
</el-descriptions>
<!--<div v-if="[3, 4].indexOf(+order.transportId) > -1" style="display: flex;margin-top: 20px;">
...
...
src/views/jiedao/profile/postorder.vue
View file @
de30c9e0
...
...
@@ -137,7 +137,7 @@
<el-button
v-if=
"scope.row.status == 2"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"oprateOrder(scope.row.orderId)"
>
{{
$t
(
'
postorder.cancel
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 5"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"refundWarehouse(scope.row)"
>
{{
$t
(
'
postorder.refundWarehouse
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.abnormalState>1&&scope.row.status!=88"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleAbnormal(scope.row.orderId)"
>
{{
$t
(
'
postorder.abnormal
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 0"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row.orderId)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.status == 0"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row.orderId)"
>
{{
$t
(
'
postorder.delete
'
)
}}
</el-button>
<el-button
v-if=
"scope.row.customsType == 2"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click.native=
"declarationOrderId=scope.row.orderId;declarationOrderNo=scope.row.orderNo"
>
{{
$t
(
'
common.uploadDeclaration
'
)
}}
</el-button>
<el-button
v-if=
"
...
...
@@ -150,6 +150,7 @@
@
click.native=
"printTagOrderId=scope.row.orderId"
>
{{
$t
(
'
打印标签
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleCopy(scope.row)"
>
{{
$t
(
'
postorder.copy
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -207,7 +208,7 @@
</template>
<
script
>
import
{
getIssued
,
cancelOrder
,
deleteOrder
,
refundWarehouseApply
}
from
'
@/api/order
'
import
{
getIssued
,
cancelOrder
,
deleteOrder
,
refundWarehouseApply
,
copyOrder
}
from
'
@/api/order
'
import
{
parseTime
}
from
'
@/utils
'
import
RightToolbar
from
'
@/components/RightToolbar
'
import
Pagination
from
'
@/components/Pagination
'
...
...
@@ -317,6 +318,11 @@ export default {
})
}).
catch
(()
=>
{})
},
handleCopy
(
row
){
copyOrder
(
row
.
orderId
).
then
((
res
)
=>
{
this
.
handleUpdate
({
orderId
:
res
.
data
})
})
},
oprateOrder
(
orderId
)
{
this
.
$confirm
(
this
.
$t
(
'
postorder.confirm
'
))
.
then
(()
=>
{
...
...
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