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
2e4e710d
Commit
2e4e710d
authored
Sep 22, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调仓按原型修改
parent
9bfaec6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
8 deletions
+57
-8
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+57
-8
No files found.
src/views/ecw/order/transferWarehousing.vue
View file @
2e4e710d
...
@@ -67,25 +67,26 @@
...
@@ -67,25 +67,26 @@
<el-descriptions
style=
"margin-top: 20px"
:column=
"4"
border
>
<el-descriptions
style=
"margin-top: 20px"
:column=
"4"
border
>
<el-descriptions-item
label=
"集运仓库"
>
{{ warehouseDetails
&&
warehouseDetails.warehouseOutName ? warehouseDetails.warehouseOutName : '' }}
</el-descriptions-item>
<el-descriptions-item
label=
"集运仓库"
>
{{ warehouseDetails
&&
warehouseDetails.warehouseOutName ? warehouseDetails.warehouseOutName : '' }}
</el-descriptions-item>
<el-descriptions-item
label=
"储位"
>
<el-descriptions-item
label=
"储位"
>
<div
v-for=
"item in storageSpaceList"
style=
"display: flex;"
><div>
{{item.warehouseName ? item.warehouseName : ''}}
</div><div>
{{item.warehouseName ? item.regionName :''}} 区
</div></div>
<div
v-for=
"item in storageSpaceList"
style=
"display: flex;"
><div>
{{item.warehouseName ? item.warehouseName : ''}}
</div><div>
{{item.warehouseName ? item.regionName :''}} 区
</div>
<div>
{{item.code}}
</div>
</div>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
v-if=
"type == 2"
label=
"选择储位"
>
<el-descriptions-item
v-if=
"type == 2"
label=
"选择储位"
>
<div
@
click=
"areaVisible = true"
style=
"color: #0a84ff;cursor: pointer;"
>
选择储位
</div>
<div
@
click=
"areaVisible = true"
style=
"color: #0a84ff;cursor: pointer;"
>
选择储位
</div>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"调拨目标仓"
>
{{ warehouseDetails
&&
warehouseDetails.warehouseInName ? warehouseDetails.warehouseInName : '' }}
</el-descriptions-item>
<el-descriptions-item
label=
"调拨目标仓"
>
{{ warehouseDetails
&&
warehouseDetails.warehouseInName ? warehouseDetails.warehouseInName : '' }}
</el-descriptions-item>
<el-descriptions-item
label=
"物流公司"
>
<el-descriptions-item
label=
"物流公司"
>
<el-select
v-model=
"params.logisticsCompany"
>
<el-select
:disabled=
"type == 2"
v-model=
"params.logisticsCompany"
>
<el-option
v-for=
"(item,index) in expressList "
:key=
"index"
:value=
"item.id"
:label=
"item.companyZh"
></el-option>
<el-option
v-for=
"(item,index) in expressList "
:key=
"index"
:value=
"item.id"
:label=
"item.companyZh"
></el-option>
</el-select>
</el-select>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"物流单号"
>
<el-descriptions-item
label=
"物流单号"
>
<el-input
v-model=
"params.logisticsNo"
></el-input>
<el-input
:disabled=
"type == 2"
v-model=
"params.logisticsNo"
></el-input>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"联系电话"
>
<el-descriptions-item
label=
"联系电话"
>
<el-input
v-model=
"params.phone"
></el-input>
<el-input
:disabled=
"type == 2"
v-model=
"params.phone"
></el-input>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"出仓日期"
>
<el-descriptions-item
label=
"出仓日期"
>
<el-date-picker
<el-date-picker
:disabled=
"type == 2"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"params.deliveryDate"
v-model=
"params.deliveryDate"
type=
"date"
type=
"date"
...
@@ -276,15 +277,27 @@ export default {
...
@@ -276,15 +277,27 @@ export default {
if
(
item
.
wareId
===
itemm
.
id
){
if
(
item
.
wareId
===
itemm
.
id
){
itemm
.
children
.
forEach
(
itemmm
=>
{
itemm
.
children
.
forEach
(
itemmm
=>
{
if
(
itemmm
.
id
===
item
.
areaId
){
if
(
itemmm
.
id
===
item
.
areaId
){
if
(
itemmm
.
positionList
.
length
>
0
){
itemmm
.
positionList
.
forEach
(
ic
=>
{
if
(
ic
.
children
.
length
>
0
){
ic
.
children
.
forEach
(
icc
=>
{
if
(
icc
.
id
===
item
.
locationId
){
obj
.
push
({
obj
.
push
({
warehouseName
:
itemm
.
name
,
warehouseName
:
itemm
.
name
,
regionName
:
itemmm
.
name
regionName
:
itemmm
.
name
,
code
:
icc
.
code
})
})
}
}
})
})
}
}
})
})
}
}
})
}
})
})
})
console
.
log
(
obj
)
this
.
storageSpaceList
=
obj
;
this
.
storageSpaceList
=
obj
;
})
})
}
}
...
@@ -366,6 +379,42 @@ export default {
...
@@ -366,6 +379,42 @@ export default {
});
});
},
},
},
},
watch
:{
'
params.orderLocationCreateReqVOList
'
(
val
){
console
.
log
(
val
,
'
123
'
)
getByWarehouseId
().
then
(
r
=>
{
console
.
log
(
r
,
'
仓库
'
)
let
obj
=
[];
val
.
forEach
(
item
=>
{
r
.
data
.
forEach
(
itemm
=>
{
if
(
item
.
wareId
===
itemm
.
id
){
itemm
.
children
.
forEach
(
itemmm
=>
{
if
(
itemmm
.
id
===
item
.
areaId
){
if
(
itemmm
.
positionList
.
length
>
0
){
itemmm
.
positionList
.
forEach
(
ic
=>
{
if
(
ic
.
children
.
length
>
0
){
ic
.
children
.
forEach
(
icc
=>
{
if
(
icc
.
id
===
item
.
locationId
){
obj
.
push
({
warehouseName
:
itemm
.
name
,
regionName
:
itemmm
.
name
,
code
:
icc
.
code
})
}
})
}
})
}
}
})
}
})
})
console
.
log
(
obj
,
'
obj
'
)
this
.
storageSpaceList
=
obj
;
})
}
}
}
}
</
script
>
</
script
>
...
...
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