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
520a3376
Commit
520a3376
authored
Sep 21, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、已到箱数/总箱数、送货日期、填单货物属性、入库货物属性/体积/重量、货物状态为空;2、顶部文案要改为调拨到仓;3、出货渠道目测写死了 bug修复
parent
bac454a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
28 deletions
+37
-28
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+37
-28
No files found.
src/views/ecw/order/transferWarehousing.vue
View file @
520a3376
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-divider
content-position=
"left"
>
<el-divider
content-position=
"left"
>
货物信息
货物信息
</el-divider>
</el-divider>
<el-table
:show-summary=
"true"
:summary-method=
"totalFn"
:data=
"
orderDetails.orderItemVOList && orderDetails.orderItemVOList.length > 0 ? orderDetails.orderItemVOList : []
"
>
<el-table
:show-summary=
"true"
:summary-method=
"totalFn"
:data=
"
orderItemVOList
"
>
<el-table-column
width=
"80"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
width=
"80"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
label=
"品名"
>
<el-table-column
label=
"品名"
>
<template
v-slot=
"
{row}">
<template
v-slot=
"
{row}">
...
@@ -18,32 +18,30 @@
...
@@ -18,32 +18,30 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"填单货物属性"
>
<el-table-column
label=
"填单货物属性"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"2"
>
<div>
品牌:
{{
row
.
brand
}}
</div><div>
箱数:
{{
row
.
num
}}
</div><div>
体积:
{{
row
.
volume
}}
m³
</div><div>
重量
{{
row
.
weight
}}
Kg
</div>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
num
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
volume
}}
m³
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
weight
}}
Kg
</el-descriptions-item>
</el-descriptions>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"入库货物属性"
>
<el-table-column
label=
"入库货物属性"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"2"
>
<div
v-for=
"(item,index) in row.orderWarehouseInBackItemDoList"
:key=
"index"
>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<div>
规格:
{{
item
.
boxGauge
}}
</div>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
''
}}
</el-descriptions-item>
<div
style=
"display: flex;justify-content: space-between;"
>
<el-descriptions-item
label=
"体积"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
''
}}
m³
</el-descriptions-item>
<div>
品牌:
{{
row
.
brand
}}
</div>
<el-descriptions-item
label=
"重量"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
''
}}
Kg
</el-descriptions-item>
<div>
箱数:
{{
item
.
cartonsNum
}}
</div>
</el-descriptions>
<div>
体积:
{{
item
.
volume
}}
CMB
</div>
<div>
重量:
{{
item
.
weight
}}
KG
</div>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"最后操作时间"
>
<el-table-column
label=
"最后操作时间"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
cre
ateTime
)
}}
{{
parseTime
(
row
.
upd
ateTime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"状态"
>
<el-table-column
label=
"状态"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:value=
" row.warehouseInInfoVO ? row.warehouseInInfoVO.diffType :''"
:type=
"DICT_TYPE.ORDER_WAREHOUSE_IN_STATUS"
/>
{{
calculationStatus
(
row
.
cartonsNumDiff
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -65,10 +63,6 @@
...
@@ -65,10 +63,6 @@
{{
STATUS
[
row
.
status
]
}}
{{
STATUS
[
row
.
status
]
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
v-slot=
"{row}"
>
</
template
>
</el-table-column>
</el-table>
</el-table>
<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>
...
@@ -149,7 +143,7 @@ import ordeDetailsForm from "@/views/ecw/order/components/ordeDetailsForm";
...
@@ -149,7 +143,7 @@ import ordeDetailsForm from "@/views/ecw/order/components/ordeDetailsForm";
import
{
import
{
cancelAdjust
,
cancelAdjust
,
getAdjustInfo
,
getAdjustInfo
,
getOrder
,
listByOrderId
,
getOrder
,
getOrderWarehouseIn
,
listByOrderId
,
orderWarehouseInGetAdjustInfo
,
orderWarehouseInGetAdjustInfo
,
orderWarehousePicturePage
,
warehouseAdjustArrived
,
orderWarehousePicturePage
,
warehouseAdjustArrived
,
warehouseAdjustSendOut
warehouseAdjustSendOut
...
@@ -202,7 +196,8 @@ export default {
...
@@ -202,7 +196,8 @@ export default {
warehouseInShi
:
0
,
warehouseInShi
:
0
,
expressList
:[],
expressList
:[],
storageSpaceList
:[],
storageSpaceList
:[],
applyStatus
:{}
applyStatus
:{},
orderItemVOList
:[]
}
}
},
},
...
@@ -239,6 +234,17 @@ export default {
...
@@ -239,6 +234,17 @@ export default {
urls
:
this
.
params
.
urls
,
urls
:
this
.
params
.
urls
,
}
}
},
calculationStatus
(){
return
(
val
)
=>
{
if
(
val
>
0
){
return
`多
${
val
}
箱`
}
else
if
(
val
<
0
){
return
`少
${
Math
.
abs
(
val
)}
箱`
}
else
{
return
'
准确到齐
'
}
}
}
}
},
},
created
()
{
created
()
{
...
@@ -295,6 +301,11 @@ export default {
...
@@ -295,6 +301,11 @@ export default {
}
}
})
})
})
})
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
orderItemVOList
=
r
.
data
;
}
})
},
},
methods
:{
methods
:{
submit
(){
submit
(){
...
@@ -323,9 +334,11 @@ export default {
...
@@ -323,9 +334,11 @@ export default {
volume
+=
Number
(
i
.
volume
)
volume
+=
Number
(
i
.
volume
)
num
+=
Number
(
i
.
num
)
num
+=
Number
(
i
.
num
)
weight
+=
Number
(
i
.
weight
)
weight
+=
Number
(
i
.
weight
)
Wvolume
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
volume
:
0
);
i
.
orderWarehouseInBackItemDoList
.
forEach
(
m
=>
{
Wnum
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
cartonsNum
:
0
)
Wvolume
+=
Number
(
m
.
volume
||
0
)
Wweight
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
weight
:
0
)
Wnum
+=
Number
(
m
.
cartonsNum
||
0
)
Wweight
+=
Number
(
m
.
weight
||
0
)
})
})
})
let
text
=
`下单统计:
${
num
}
箱
${
volume
}
m³
${
weight
}
Kg`
let
text
=
`下单统计:
${
num
}
箱
${
volume
}
m³
${
weight
}
Kg`
let
text2
=
` 入仓统计:
${
Wnum
}
箱
${
Wvolume
}
m³
${
Wweight
}
Kg`
let
text2
=
` 入仓统计:
${
Wnum
}
箱
${
Wvolume
}
m³
${
Wweight
}
Kg`
...
@@ -350,10 +363,6 @@ export default {
...
@@ -350,10 +363,6 @@ export default {
}
}
})
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
info
'
,
message
:
'
取消成功
'
});
});
});
},
},
},
},
...
...
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