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
90604b81
Commit
90604b81
authored
Nov 21, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制订单
parent
bf7e83a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
order.js
src/api/order.js
+8
-0
delivery.vue
src/views/jiedao/profile/delivery.vue
+5
-4
postorder.vue
src/views/jiedao/profile/postorder.vue
+7
-1
No files found.
src/api/order.js
View file @
90604b81
...
...
@@ -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/views/jiedao/profile/delivery.vue
View file @
90604b81
...
...
@@ -580,7 +580,7 @@
>
<!-- eslint-disable-next-line vue/no-unused-vars -->
<
template
slot=
"header"
slot-scope=
"scope"
>
<span
class=
"red"
>
*
</span>
{{
$t
(
"
delivery.worth
"
)
}}
<span
class=
"red"
>
*
</span>
{{
$t
(
"
delivery.worth
"
)
}}
(RMB)
</
template
>
<
template
slot-scope=
"scope"
>
<el-form-item
...
...
@@ -722,10 +722,11 @@
</el-descriptions-item>
<!--报价费币种 lanbm 2024-05-14 修改BUG-->
<el-descriptions-item
:label=
"$t('delivery.insuranceFee')"
>
{{ fee.insuranceFee || 0 }}
<div
v-if=
"fee.insuranceCurrencyId == 1"
>
{{ fee.insuranceFee || 0 }}
<
template
v-if=
"fee.insuranceCurrencyId == 1"
>
{{
$t
(
"
delivery.dollar
"
)
}}
</
div
>
<
div
v-else
>
(RMB)
</div
>
</
template
>
<
template
v-else
>
(RMB)
</
template
>
</el-descriptions-item>
</el-descriptions>
</el-card>
...
...
src/views/jiedao/profile/postorder.vue
View file @
90604b81
...
...
@@ -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
(
'
复制
'
)
}}
</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