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
2de82d37
Commit
2de82d37
authored
Apr 18, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调仓转异优化
parent
7ea0ee19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+15
-10
No files found.
src/views/ecw/order/transferWarehousing.vue
View file @
2de82d37
...
...
@@ -141,11 +141,11 @@
<
/div
>
<
warehouse
-
location
ref
=
"
area
"
:
visible
.
sync
=
"
areaVisible
"
v
-
model
=
"
params.orderLocationCreateReqVOList
"
:
warehouse
-
id
=
"
Number(this.type) === 1 ? warehouseDetails.warehouseOutId : warehouseDetails.warehouseInId
"
:
order
-
id
=
"
Number(orderId)
"
><
/warehouse-location
>
<
el
-
dialog
:
title
=
"
$t('订单转异')
"
center
:
visible
.
sync
=
"
escapeBol
"
>
<
el
-
form
label
-
position
=
"
top
"
label
-
width
=
"
200
"
>
<
el
-
form
-
item
:
label
=
"
$t('原因类型')
"
>
<
el
-
form
ref
=
"
form2
"
:
model
=
"
params
"
label
-
position
=
"
top
"
label
-
width
=
"
200
"
>
<
el
-
form
-
item
prop
=
"
manualExceptionType
"
:
rules
=
"
{ required:true,message:'至少选择一个转异原因'
}
"
:
label
=
"
$t('原因类型')
"
>
<
dict
-
selector
v
-
model
=
"
params.manualExceptionType
"
form
-
type
=
"
checkbox
"
:
type
=
"
DICT_TYPE.MANUAL_EXCEPTION_TYPE
"
multiple
><
/dict-selector
>
<
/el-form-item
>
<
el
-
form
-
item
required
:
label
=
"
$t('附件')
"
>
<
el
-
form
-
item
:
label
=
"
$t('附件')
"
>
<
image
-
upload
v
-
model
=
"
params.exceptionUrls
"
><
/image-upload
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('详细信息')
"
>
...
...
@@ -241,6 +241,7 @@ export default {
}
}
,
toWarehouseAbnormal
(){
let
exceptionUrls
=
this
.
params
.
exceptionUrls
return
{
arrivalDate
:
this
.
params
.
arrivalDate
,
arrivalRemark
:
this
.
params
.
deliveryRemark
,
...
...
@@ -249,8 +250,7 @@ export default {
manualExceptionType
:
this
.
params
.
manualExceptionType
.
join
(
'
,
'
),
orderLocationCreateReqVOList
:
this
.
params
.
orderLocationCreateReqVOList
,
urls
:
this
.
params
.
urls
,
exceptionUrls
:
this
.
params
.
exceptionUrls
.
split
(
'
,
'
),
exceptionUrls
:
exceptionUrls
.
length
?
exceptionUrls
.
split
(
'
,
'
)
:[],
}
}
,
toWarehouse
(){
...
...
@@ -345,12 +345,17 @@ export default {
)
}
,
submit2
(
val
){
warehouseAdjustArrived
(
val
?
this
.
toWarehouse
:
this
.
toWarehouseAbnormal
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
this
.
$t
(
'
调拨到仓成功!
'
));
this
.
$tab
.
closeOpenPage
({
path
:
'
/order/order
'
}
)
this
.
$refs
.
form2
.
validate
(
validate
=>
{
if
(
validate
){
warehouseAdjustArrived
(
val
?
this
.
toWarehouse
:
this
.
toWarehouseAbnormal
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
this
.
$t
(
'
调拨到仓成功!
'
));
this
.
$tab
.
closeOpenPage
({
path
:
'
/order/order
'
}
)
}
}
)
}
}
)
}
)
}
,
totalFn
({
columns
,
data
}
){
// 体积,数量,重量 W:入仓
...
...
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