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
91267635
Commit
91267635
authored
Oct 30, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
e500beee
b7e56c06
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
15 deletions
+53
-15
startUnloading.vue
...ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
+3
-3
PackHistoryDetail.vue
src/views/ecw/order/components/PackHistoryDetail.vue
+5
-3
WarehouseDetail.vue
src/views/ecw/order/components/WarehouseDetail.vue
+1
-1
index.vue
src/views/ecw/order/stocking/index.vue
+39
-7
WarehouseRecordDetail.vue
...cw/order/warehousing/components/WarehouseRecordDetail.vue
+5
-1
No files found.
src/views/ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
View file @
91267635
...
@@ -322,8 +322,8 @@ export default {
...
@@ -322,8 +322,8 @@ export default {
},
},
/** 取消 */
/** 取消 */
cancel
()
{
cancel
(
type
)
{
this
.
$emit
(
"
closeStart
"
,
"
submit
"
);
this
.
$emit
(
'
closeDialog
'
,
type
)
},
},
/* 关闭弹窗 */
/* 关闭弹窗 */
closeDialog
(
type
)
{
closeDialog
(
type
)
{
...
@@ -361,7 +361,7 @@ export default {
...
@@ -361,7 +361,7 @@ export default {
shipmentId
:
shipmentObj
.
id
,
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
cancel
();
this
.
cancel
(
"
submit
"
);
});
});
});
});
},
},
...
...
src/views/ecw/order/components/PackHistoryDetail.vue
View file @
91267635
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('入仓快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('入仓快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
min-width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('储位')"
prop=
"orderLocationBackVOList"
>
<el-table-column
:label=
"$t('储位')"
prop=
"orderLocationBackVOList"
>
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('入仓影像')"
prop=
"orderLocationBackVOList"
>
<el-table-column
:label=
"$t('入仓影像')"
prop=
"orderLocationBackVOList"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<el-button
type=
"primary"
@
click=
"seeMv(orderWarehouseInContent.pictures)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"seeMv(orderWarehouseInContent.picture
Url
s)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('重量') + '(kg)'"
prop=
"weight"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('数量(个)')"
prop=
"quantityAll"
/>
<el-table-column
:label=
"$t('入仓快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('入仓快递单号')"
prop=
"expressNo"
/>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
>
<el-table-column
:label=
"$t('入仓时间')"
prop=
"inTime"
min-width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
inTime
|
parseTime
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('储位')"
prop=
"orderLocationBackVOList"
>
<el-table-column
:label=
"$t('储位')"
prop=
"orderLocationBackVOList"
>
...
@@ -293,6 +293,8 @@ export default {
...
@@ -293,6 +293,8 @@ export default {
type
:
this
.
isImageFile
(
e
)
?
'
image
'
:
'
video
'
,
type
:
this
.
isImageFile
(
e
)
?
'
image
'
:
'
video
'
,
}
}
})
})
}
else
{
this
.
pictureUrls
=
[]
}
}
},
},
...
...
src/views/ecw/order/components/WarehouseDetail.vue
View file @
91267635
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
>
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
>
<template
slot-scope=
"
{row}">
<template
slot-scope=
"
{row}">
<template
v-if=
"row.orderWarehouseInDetailsVOList && row.orderWarehouseInDetailsVOList.length"
>
<template
v-if=
"row.orderWarehouseInDetailsVOList && row.orderWarehouseInDetailsVOList.length"
>
<WarehouseRecordDetail
v-model=
"row.orderWarehouseInDetailsVOList"
text
readonly
/>
<WarehouseRecordDetail
v-model=
"row.orderWarehouseInDetailsVOList"
:num=
"row.cartonsNum"
text
readonly
/>
</
template
>
</
template
>
<
template
v-else
>
{{
row
.
cartonsNum
}}
</
template
>
<
template
v-else
>
{{
row
.
cartonsNum
}}
</
template
>
</template>
</template>
...
...
src/views/ecw/order/stocking/index.vue
View file @
91267635
...
@@ -16,12 +16,12 @@
...
@@ -16,12 +16,12 @@
<template
slot-scope=
"props"
>
<template
slot-scope=
"props"
>
<div
style=
"padding-left: 80px"
>
<div
style=
"padding-left: 80px"
>
<el-table
v-if=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList"
:data=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList"
>
<el-table
v-if=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList"
:data=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList"
>
<el-table-column
:label=
"$t('序号')"
>
<el-table-column
:label=
"$t('序号')"
width=
"80px"
>
<template
slot-scope=
"
{row, column, $index}">
<template
slot-scope=
"
{row, column, $index}">
{{
$index
+
1
}}
{{
$index
+
1
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"cartonsNum"
:label=
"$t('箱数')"
></el-table-column>
<el-table-column
prop=
"cartonsNum"
:label=
"$t('箱数')"
width=
"60px"
></el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t('入仓类型')"
>
<el-table-column
prop=
"areaName"
:label=
"$t('入仓类型')"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
:value=
"row.specificationType"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
:value=
"row.specificationType"
></dict-tag>
...
@@ -32,20 +32,22 @@
...
@@ -32,20 +32,22 @@
<dict-tag
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
:value=
"row.unit"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
:value=
"row.unit"
></dict-tag>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t('长')"
>
<el-table-column
prop=
"areaName"
:label=
"$t('长')
+ '(cm)'"
width=
"70px
"
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
0
]
}}
</
template
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
0
]
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t('宽')"
>
<el-table-column
prop=
"areaName"
:label=
"$t('宽')
+ '(cm)'"
width=
"70px
"
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
1
]
}}
</
template
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
1
]
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t('高')"
>
<el-table-column
prop=
"areaName"
:label=
"$t('高')
+ '(cm)'"
width=
"70px
"
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
2
]
}}
</
template
>
<
template
v-slot=
"{row}"
>
{{
row
.
boxGauge
.
split
(
'
*
'
)[
2
]
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积')+'(m³)'"
></el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积')+'(m³)'"
></el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量')+'(kg)'"
></el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量')+'(kg)'"
></el-table-column>
<el-table-column
prop=
"quantityAll"
:label=
"$t('数量') + '(个)'"
></el-table-column>
<el-table-column
prop=
"quantityAll"
:label=
"$t('数量') + '(个)'"
></el-table-column>
<el-table-column
prop=
"expressNo"
:label=
"$t('快递单号')"
></el-table-column>
<el-table-column
prop=
"expressNo"
:label=
"$t('快递单号')"
></el-table-column>
<!--<el-table-column prop="areaName" :label="$t('首次入仓时间')"></el-table-column>-->
<el-table-column
prop=
"createTime"
:label=
"$t('首次入仓时间')"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
inTime
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t('储位')"
>
<el-table-column
prop=
"areaName"
:label=
"$t('储位')"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
row
.
orderLocationStr4Merge
}}
{{
row
.
orderLocationStr4Merge
}}
...
@@ -56,6 +58,13 @@
...
@@ -56,6 +58,13 @@
<el-button
type=
"text"
@
click=
"showMedia(props.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"showMedia(props.row)"
>
{{
$t
(
'
查看
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"areaName"
:label=
"$t(' ')"
width=
"220px"
>
<
template
v-slot=
"{row}"
>
<WarehouseRecordDetail
v-model=
"row.orderWarehouseInDetailsVOList"
@
input=
"saveDetail(props.row)"
/>
<el-button
class=
"pl-5 pr-5"
size=
"mini"
type=
"primary"
@
click=
"package(props.row, $t('修改打包'))"
>
{{
$t
(
'
修改
'
)
}}
</el-button>
<el-button
class=
"pl-5 pr-5"
size=
"mini"
type=
"danger"
@
click=
"package(props.row, $t('修改打包'))"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
</template>
</template>
...
@@ -229,6 +238,7 @@
...
@@ -229,6 +238,7 @@
<
script
>
<
script
>
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
import
{
finishPacked
,
finishStock
,
finishStock
,
getOrder
,
getOrder
,
getOrderWarehouseIn
,
getOrderWarehouseIn
,
...
@@ -248,11 +258,14 @@ import Package from './components/Package'
...
@@ -248,11 +258,14 @@ import Package from './components/Package'
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
;
import
MediaDialog
from
"
@/views/ecw/order/stocking/components/MediaDialog.vue
"
;
import
MediaDialog
from
"
@/views/ecw/order/stocking/components/MediaDialog.vue
"
;
import
WarehouseRecordDetail
from
"
@/views/ecw/order/warehousing/components/WarehouseRecordDetail.vue
"
;
import
{
formatTime
}
from
"
../../../../utils
"
;
export
default
{
export
default
{
name
:
"
Stocking
"
,
name
:
"
Stocking
"
,
components
:
{
components
:
{
WarehouseRecordDetail
,
MediaDialog
,
MediaDialog
,
Template
,
Template
,
orderBaseInfo
,
orderBaseInfo
,
...
@@ -335,6 +348,7 @@ export default {
...
@@ -335,6 +348,7 @@ export default {
},
},
methods
:
{
methods
:
{
formatTime
,
getOrderItemList
(){
getOrderItemList
(){
this
.
orderItemList
=
[]
this
.
orderItemList
=
[]
return
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
)
return
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
)
...
@@ -429,6 +443,24 @@ export default {
...
@@ -429,6 +443,24 @@ export default {
return
this
.
$message
.
info
(
this
.
$t
(
'
暂无影像
'
))
return
this
.
$message
.
info
(
this
.
$t
(
'
暂无影像
'
))
}
}
this
.
curPictrues
=
wareItem
.
pictureUrls
||
[]
this
.
curPictrues
=
wareItem
.
pictureUrls
||
[]
},
// 保存箱明细
saveDetail
(
row
){
const
wareItem
=
this
.
wareItem
(
row
.
orderItemId
)
const
orderWarehouseInItemDtoList
=
wareItem
.
orderWarehouseInBackItemDoList
orderWarehouseInItemDtoList
.
map
(
item
=>
{
item
.
orderLocationCreateReqVOList
=
item
.
orderLocationBackVOList
||
[]
return
item
})
const
data
=
{
orderId
:
row
.
orderId
,
orderItemId
:
row
.
orderItemId
,
orderWarehouseInItemDtoList
:
orderWarehouseInItemDtoList
,
pictureUrls
:
wareItem
.
pictureUrls
||
[]
}
finishPacked
(
data
).
then
(
res
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
操作成功
'
))
})
}
}
},
},
watch
:
{
watch
:
{
...
...
src/views/ecw/order/warehousing/components/WarehouseRecordDetail.vue
View file @
91267635
<
template
>
<
template
>
<div
style=
"display: inline-block"
>
<div
style=
"display: inline-block"
>
<template
v-if=
"text"
>
<template
v-if=
"text"
>
<el-button
size=
"mini"
type=
"text"
style=
"margin-right: 10px"
@
click=
"handleOpen"
>
{{
value
.
length
}}
(混箱)
</el-button>
<el-button
size=
"mini"
type=
"text"
style=
"margin-right: 10px"
@
click=
"handleOpen"
>
{{
num
}}
(混箱)
</el-button>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<el-button
size=
"mini"
type=
"primary"
style=
"margin-right: 10px"
@
click=
"handleOpen"
>
{{
title
}}
</el-button>
<el-button
size=
"mini"
type=
"primary"
style=
"margin-right: 10px"
@
click=
"handleOpen"
>
{{
title
}}
</el-button>
...
@@ -57,6 +57,10 @@ export default {
...
@@ -57,6 +57,10 @@ export default {
text
:
{
text
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
num
:{
type
:
Number
,
default
:
0
}
}
},
},
...
...
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