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
4c1a9c56
Commit
4c1a9c56
authored
Oct 29, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包详情箱优化
parent
0b6add3e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
PackHistory.vue
src/views/ecw/order/components/PackHistory.vue
+1
-0
PackHistoryDetail.vue
src/views/ecw/order/components/PackHistoryDetail.vue
+16
-2
WarehouseDetail.vue
src/views/ecw/order/components/WarehouseDetail.vue
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+2
-3
No files found.
src/views/ecw/order/components/PackHistory.vue
View file @
4c1a9c56
...
@@ -56,6 +56,7 @@ export default {
...
@@ -56,6 +56,7 @@ export default {
created
(){
created
(){
this
.
show
=
true
this
.
show
=
true
console
.
log
(
this
.
orderItemId
)
if
(
this
.
order
&&
this
.
orderItemId
){
if
(
this
.
order
&&
this
.
orderItemId
){
this
.
queryParams
.
orderId
=
this
.
order
.
orderId
;
this
.
queryParams
.
orderId
=
this
.
order
.
orderId
;
this
.
queryParams
.
orderItemId
=
this
.
orderItemId
;
this
.
queryParams
.
orderItemId
=
this
.
orderItemId
;
...
...
src/views/ecw/order/components/PackHistoryDetail.vue
View file @
4c1a9c56
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
>
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<span>
{{
row
.
cartonsNum
}}
</span>
<span>
{{
row
.
cartonsNum
}}
</span>
<el-button
v-if=
"row.orderWarehouseInDetailsVOList"
type=
"text"
@
click=
"seeBox(row.orderWarehouseInDetailsVOList)"
>
(
{{
$t
(
'
混箱
'
)
}}
)
</el-button>
<el-button
v-if=
"row.orderWarehouseInDetailsVOList
&&row.orderWarehouseInDetailsVOList.length>0
"
type=
"text"
@
click=
"seeBox(row.orderWarehouseInDetailsVOList)"
>
(
{{
$t
(
'
混箱
'
)
}}
)
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('入仓类型')"
prop=
"cartonsNum"
>
<el-table-column
:label=
"$t('入仓类型')"
prop=
"cartonsNum"
>
...
@@ -317,7 +317,21 @@ export default {
...
@@ -317,7 +317,21 @@ export default {
this
.
boxShow
=
false
this
.
boxShow
=
false
},
},
seeBox
(
data
){
seeBox
(
data
){
this
.
boxData
=
data
data
.
forEach
(
e
=>
{
let
bg
=
{}
if
(
e
.
boxGauge
)
{
const
boxGauge
=
e
.
boxGauge
.
split
(
'
*
'
)
// e.boxGauge1 = boxGauge[0]
// e.boxGauge2 = boxGauge[1]
// e.boxGauge3 = boxGauge[2]
bg
=
{
boxGauge1
:
boxGauge
[
0
],
boxGauge2
:
boxGauge
[
1
],
boxGauge3
:
boxGauge
[
2
]
}
}
this
.
boxData
.
push
({...
e
,
...
bg
})
})
this
.
boxShow
=
true
this
.
boxShow
=
true
},
},
/** 获取产品属性列表 */
/** 获取产品属性列表 */
...
...
src/views/ecw/order/components/WarehouseDetail.vue
View file @
4c1a9c56
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
})
})
},
},
seePackLog
(){
seePackLog
(){
this
.
$emit
(
'
openPackHistory
'
,
2
)
this
.
$emit
(
'
openPackHistory
'
,
this
.
orderItemId
)
}
}
}
}
}
}
...
...
src/views/ecw/order/detail.vue
View file @
4c1a9c56
...
@@ -868,9 +868,8 @@ export default {
...
@@ -868,9 +868,8 @@ export default {
return
JSON
.
parse
(
note
)
return
JSON
.
parse
(
note
)
}
,
}
,
//查看打包历史
//查看打包历史
openPackHistory
(){
openPackHistory
(
id
){
this
.
shopPackId
=
id
this
.
shopPackId
=
this
.
showWarehouseInItemId
}
,
}
,
//查看打包历史详情
//查看打包历史详情
showPackDetail
(
packAfterData
){
showPackDetail
(
packAfterData
){
...
...
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