Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-pda-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-pda-master
Commits
155eb19d
Commit
155eb19d
authored
Dec 14, 2024
by
xiaoyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 装柜和理货增加混箱明细
parent
d3364ec0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
21 deletions
+64
-21
detail.vue
src/pages/loading/detail.vue
+1
-1
detail.vue
src/pages/tally/detail.vue
+1
-1
mixOrderList.vue
src/pages/tally/mixOrderList.vue
+60
-17
relatedOrder.vue
src/pages/tally/relatedOrder.vue
+1
-1
detail.vue
src/pages/tallyAir/detail.vue
+1
-1
No files found.
src/pages/loading/detail.vue
View file @
155eb19d
...
...
@@ -65,7 +65,7 @@
<!-- 关联单 -->
<view
v-if=
"order.hasRelationOrder"
style=
"color:red;fontWeight:bold;"
@
tap=
"relatedClick(order.orderId)"
>
{{
$t
(
'
关联单
'
)
}}
</view>
<!-- 混箱 -->
<view
v-if=
"order.mixStatus=== 1"
style=
"color:red;fontWeight:bold;"
>
{{
$t
(
'
混箱
'
)
}}
</view>
<view
v-if=
"order.mixStatus=== 1"
style=
"color:red;fontWeight:bold;"
@
tap=
"showMixOrder(order)"
>
{{
$t
(
'
混箱
'
)
}}
</view>
</view>
<view
style=
"width:12%;"
>
{{
order
.
volume
|
toFixed
}}
</view>
<view
style=
"width:12%;"
>
{{
order
.
weight
|
toFixed
}}
</view>
...
...
src/pages/tally/detail.vue
View file @
155eb19d
...
...
@@ -52,7 +52,7 @@
<!-- 关联单 -->
<view
v-if=
"order.hasRelationOrder"
style=
"color:red;fontWeight:bold;"
@
tap=
"relatedClick(order.orderId)"
>
{{
$t
(
'
关联单
'
)
}}
</view>
<!-- 混箱 -->
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
>
{{
$t
(
'
混箱
'
)
}}
</view>
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
@
tap=
"showMixOrder(order)"
>
{{
$t
(
'
混箱
'
)
}}
</view>
</view>
<view
style=
"width:15%;"
>
{{
order
.
volume
|
toFixed
}}
m³
</view>
<view
style=
"width:15%;"
>
{{
order
.
weight
|
toFixed
}}
kg
</view>
...
...
src/pages/tally/mixOrderList.vue
View file @
155eb19d
...
...
@@ -15,14 +15,17 @@
<view
class=
"flex-sub"
>
{{
$t
(
'
用途
'
)
}}
</view>
<view
class=
"flex-sub"
>
{{
$t
(
"
数量
"
)
}}
</view>
</view>
<view
v-for=
"(order, index) in warehouseList"
:key=
"'order-' + index"
>
<view
class=
"flex text-center padding-sm"
v-for=
"(v, index) in order.orderWarehouseInBackItemDoList"
:key=
"'goods-' + index"
>
<view
class=
"flex-sub"
>
{{
index
+
1
}}
</view>
<view
class=
"flex-sub"
>
{{
v
.
cartonsNum
}}
</view>
<view
class=
"flex-sub"
><dict-tag
:type=
"DICT_TYPE.WAREHOUSING_SPECIFICATION_TYPE"
:value=
"v.specificationType"
/>
/
<dict-tag
:type=
"DICT_TYPE.ECW_PACKAGING_TYPE"
:value=
"v.unit"
/></view>
<view
class=
"flex-sub"
>
{{
v
.
boxGauge
}}
</view>
<view
class=
"flex-sub"
>
{{
v
.
volume
}}
</view>
<view
class=
"flex-sub"
>
{{
v
.
weight
}}
</view>
<view
v-for=
"(v, index) in warehouseList"
:key=
"'order-' + index"
>
<view
class=
"flex text-center padding-sm"
:key=
"'goods-' + index"
>
<view
class=
"flex-sub"
>
{{
$lang
.
locale
===
'
zh-Hans
'
?
v
.
prodTitleZh
:
v
.
prodTitleEn
}}
</view>
<view
class=
"flex-sub"
>
<template
v-if=
"v.brandName"
>
{{
v
.
brandName
}}
</
template
>
<dict-tag
v-else
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"v.brandType"
/>
</view>
<view
class=
"flex-sub"
><dict-tag
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
:value=
"v.material"
/></view>
<view
class=
"flex-sub"
>
{{ getProductNamesByIds(v.prodAttrIds) }}
</view>
<view
class=
"flex-sub"
>
{{ getProductUsageByIds(v.usageIds) }}
</view>
<view
class=
"flex-sub"
>
{{ v.num }}
</view>
</view>
</view>
</view>
...
...
@@ -37,6 +40,8 @@
</template>
<
script
>
import
{
getOrder
,
getOrderWarehouseIn
}
from
"
./api
"
;
import
{
getProductAttrList
}
from
'
@/api/system
'
import
{
DICT_TYPE
}
from
"
@/util/dict
"
;
export
default
{
props
:
{
...
...
@@ -51,18 +56,56 @@ export default {
orderDetail
:
null
,
warehouseList
:
null
,
locale
:
this
.
$lang
.
locale
,
productAttrList
:
[],
};
},
computed
:
{
DICT_TYPE
()
{
return
DICT_TYPE
},
isChinese
(){
return
uni
.
getLocale
()
===
'
zh-Hans
'
}
},
created
()
{
getProductAttrList
().
then
(
data
=>
{
this
.
productAttrList
=
data
})
},
methods
:
{
// 从warehouseInInfo中提取储位信息
showLocationName
(
orderLocationBackVOList
){
if
(
!
orderLocationBackVOList
)
return
''
let
locations
=
[]
orderLocationBackVOList
.
forEach
(
item
=>
{
locations
.
push
(
item
.
areaName
+
(
item
.
locationName
||
''
))
})
return
locations
.
join
(
'
,
'
)
},
// 从warehouseInInfo中提取储位信息
showLocationName
(
orderLocationBackVOList
){
if
(
!
orderLocationBackVOList
)
return
''
let
locations
=
[]
orderLocationBackVOList
.
forEach
(
item
=>
{
locations
.
push
(
item
.
areaName
+
(
item
.
locationName
||
''
))
})
return
locations
.
join
(
'
,
'
)
},
getProductNamesByIds
(
ids
){
const
result
=
[]
ids
?.
split
(
'
,
'
).
forEach
(
e
=>
{
this
.
productAttrList
.
forEach
(
f
=>
{
if
(
parseInt
(
e
)
===
f
.
id
)
{
result
.
push
(
this
.
isChinese
?
f
.
attrName
:
f
.
attrNameEn
)
}
})
})
return
result
.
join
(
'
、
'
)
},
// 获取用途文本
getProductUsageByIds
(
ids
){
if
(
!
ids
)
return
''
const
result
=
[]
ids
.
split
(
'
,
'
).
forEach
(
e
=>
{
this
.
getDictDatas
(
this
.
DICT_TYPE
.
WAREHOUSING_RECORD_DETAIL_USAGE
).
forEach
(
f
=>
{
if
(
e
===
f
.
value
)
{
result
.
push
(
this
.
$l
(
f
,
'
label
'
))
}
})
})
return
result
.
join
(
'
、
'
)
},
showDetail
(
row
)
{
this
.
show
=
true
;
if
(
row
.
orderId
)
{
...
...
src/pages/tally/relatedOrder.vue
View file @
155eb19d
...
...
@@ -35,7 +35,7 @@
<!-- 关联单 -->
<view
v-if=
"v.hasRelationOrder"
style=
"color:red;fontWeight:bold;"
@
tap=
"relatedClick(order.orderId)"
>
{{
$t
(
'
关联单
'
)
}}
</view>
<!-- 混箱 -->
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
>
{{
$t
(
'
混箱
'
)
}}
</view>
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
@
tap=
"showMixOrder(order)"
>
{{
$t
(
'
混箱
'
)
}}
</view>
</view>
<view
class=
"flex-sub"
>
{{
order
.
volume
|
toFixed
}}
</view>
<view
class=
"flex-sub"
>
{{
order
.
weight
|
toFixed
}}
</view>
...
...
src/pages/tallyAir/detail.vue
View file @
155eb19d
...
...
@@ -64,7 +64,7 @@
<!-- 关联单 -->
<view
v-if=
"order.hasRelationOrder"
style=
"color:red;fontWeight:bold;"
@
tap=
"relatedClick(order.orderId)"
>
{{
$t
(
'
关联单
'
)
}}
</view>
<!-- 混箱 -->
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
>
{{
$t
(
'
混箱
'
)
}}
</view>
<view
v-if=
"order.mixStatus === 1"
style=
"color:red;fontWeight:bold;"
@
tap=
"showMixOrder(order)"
>
{{
$t
(
'
混箱
'
)
}}
</view>
</view>
<view
style=
"width:15%;"
>
{{
order
.
volume
|
toFixed
}}
m³
</view>
<view
style=
"width:15%;"
>
{{
order
.
weight
|
toFixed
}}
kg
</view>
...
...
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