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
0e7fbddf
Commit
0e7fbddf
authored
Apr 18, 2023
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台订单转异,类型不填,可以提交,但异常未生产成功
https://zentao.test.jdshangmen.com/bug-view-3074.html
parent
aa613ad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
index.vue
src/views/ecw/order/warehousing/index.vue
+24
-4
No files found.
src/views/ecw/order/warehousing/index.vue
View file @
0e7fbddf
...
...
@@ -196,8 +196,8 @@
</div>
</el-dialog>
<el-dialog
:title=
"order.orderNo + $t('订单转异')"
center
:visible.sync=
"escapeBol"
>
<el-form
label-position=
"top"
label-width=
"200"
>
<el-form-item
:label=
"$t('原因类型')"
>
<el-form
label-position=
"top"
label-width=
"200"
ref=
"exceptionForm"
:model=
"form"
:rules=
"exceptionRules"
>
<el-form-item
:label=
"$t('原因类型')"
prop=
"manualExceptionType"
>
<dict-selector
v-model=
"form.manualExceptionType"
form-type=
"checkbox"
:type=
"DICT_TYPE.MANUAL_EXCEPTION_TYPE"
multiple
></dict-selector>
</el-form-item>
<el-form-item
:label=
"$t('附件')"
>
...
...
@@ -208,7 +208,7 @@
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handle
Submit
"
>
{{$t('确认并完成入仓')}}
</el-button>
<el-button
type=
"primary"
@
click=
"handle
Exception
"
>
{{$t('确认并完成入仓')}}
</el-button>
<el-button
@
click=
"escapeBol = false"
>
{{$t('取消')}}
</el-button>
</span>
</el-dialog>
...
...
@@ -286,7 +286,7 @@ export default {
orderLocationCreateReqVOList
:
[],
exceptionUrls
:[],
descZh
:
''
,
manualExceptionType
:
''
,
manualExceptionType
:
[]
,
urls
:
[],
sumVolume
:
''
,
sumWeight
:
''
,
...
...
@@ -309,6 +309,19 @@ export default {
"
start
"
:
0
}
]
},
exceptionRules
:
{
manualExceptionType
:
[
{
required
:
true
,
message
:
'
请勾选原因类型
'
,
trigger
:
'
change
'
},
{
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
value
.
length
<=
0
)
{
callback
(
new
Error
(
'
请勾选原因类型
'
))
}
callback
()
},
trigger
:
'
change
'
}
]
}
}
},
...
...
@@ -401,6 +414,13 @@ export default {
})
return
result
},
handleException
()
{
this
.
$refs
.
exceptionForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
handleSubmit
()
}
})
},
async
handleSubmit
()
{
if
(
this
.
specialHas0
())
{
const
confirm
=
await
this
.
$confirm
(
this
.
$t
(
'
有特需费用为0或未填写,请问是否继续?
'
),
this
.
$t
(
'
注意
'
),
{
...
...
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