Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-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-app-operator-master
Commits
1d816b9e
Commit
1d816b9e
authored
Aug 29, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善订单转异
parent
d63c0790
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
TurnException.vue
src/views/ecw/order/components/TurnException.vue
+16
-3
index.vue
src/views/ecw/order/index.vue
+1
-0
No files found.
src/views/ecw/order/components/TurnException.vue
View file @
1d816b9e
<
script
>
import
imageUpload
from
'
@/components/ImageUpload/index.vue
'
import
{
batchException
}
from
'
@/api/ecw/order
'
export
default
{
name
:
'
TurnException
'
,
...
...
@@ -9,13 +10,17 @@ export default {
type
:
String
,
default
:
''
},
orderId
:
{
type
:
[
String
,
Number
],
default
:
''
}
},
data
(){
return
{
showDialog
:
false
,
form
:
{
manualExceptionType
:
[],
exceptionUrls
:
[]
,
exceptionUrls
:
""
,
descZh
:
''
}
}
...
...
@@ -46,8 +51,16 @@ export default {
}
});
},
handleSubmit
(){
async
handleSubmit
(){
this
.
showDialog
=
false
await
batchException
({
orderNo
:
this
.
orderNo
,
manualExceptionType
:
this
.
form
.
manualExceptionType
.
join
(
'
,
'
),
exceptionUrls
:
this
.
form
.
exceptionUrls
?.
split
(
"
,
"
)
||
[],
descZh
:
this
.
form
.
descZh
,
orderIds
:
[
this
.
orderId
]
})
this
.
$message
.
success
(
this
.
$t
(
'
操作成功
'
))
this
.
$emit
(
'
done
'
)
},
handleCancel
(){
...
...
@@ -96,7 +109,7 @@ export default {
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleException"
>
{{
$t
(
"
确认
并完成入仓
"
)
$t
(
"
确认
转异
"
)
}}
</el-button>
<el-button
@
click=
"handleCancel"
>
{{
$t
(
"
取消
"
)
}}
</el-button>
</span>
...
...
src/views/ecw/order/index.vue
View file @
1d816b9e
...
...
@@ -1217,6 +1217,7 @@
v-if=
"!!tureExceptionOrder"
ref=
"turnException"
:order-no=
"tureExceptionOrder.orderNo"
:order-id=
"tureExceptionOrder.orderId"
@
done=
"handleTurnExceptionDone"
@
cancel=
"handleExceptionClose"
></turn-exception>
</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