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
9c7564d7
Commit
9c7564d7
authored
Nov 20, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备货未入仓的显示品名但是不显示打包操作
parent
22176a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
index.vue
src/views/ecw/order/stocking/index.vue
+11
-4
No files found.
src/views/ecw/order/stocking/index.vue
View file @
9c7564d7
...
...
@@ -15,14 +15,14 @@
-->
<el-table
v-if=
"order.orderItemVOList && order.orderItemVOList.length > 0 && orderItemList && orderItemList.length > 0"
:data=
"order.orderItemVOList
.filter(item => !!wareItem(item.orderItemId).orderWarehouseInBackItemDoList.length)
|| []"
:data=
"order.orderItemVOList || []"
default-expand-all
style=
"width: 100%"
>
<!--入仓记录-->
<el-table-column
type=
"expand"
>
<template
slot-scope=
"props"
>
<div
style=
"padding-left: 80px"
>
<el-table
v-if=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList"
:data=
"wareItem(props.row.orderItemId).orderWarehouseInBackItemDoList
"
>
<div
style=
"padding-left: 80px"
v-if=
"orderWarehouseInList(props.row.orderItemId).length"
>
<el-table
:data=
"orderWarehouseInList(props.row.orderItemId)
"
>
<el-table-column
:label=
"$t('序号')"
width=
"80px"
>
<template
slot-scope=
"
{row, column, $index}">
{{
$index
+
1
}}
...
...
@@ -160,7 +160,8 @@
prop=
"address"
:label=
"$t('操作')"
width=
"220"
>
<
template
v-slot=
"{ row, column, $index }"
>
<el-button-group>
<!--没有入仓记录的不显示打包按钮 https://zentao.test.jdshangmen.com/bug-view-5389.html-->
<el-button-group
v-if=
"orderWarehouseInList(row.orderItemId).length"
>
<template
v-if=
"wareItemPackStatus(row.orderItemId) == 1"
>
<el-button
size=
"mini"
type=
"warning"
@
click=
"noNeedPack(row)"
>
{{
$t
(
'
无需打包
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"package(row, $t('打包'))"
>
{{
$t
(
'
打包
'
)
}}
</el-button>
...
...
@@ -516,6 +517,12 @@ export default {
return
this
.
orderItemList
.
find
(
item
=>
item
.
orderItemId
==
orderItemId
)
}
},
// 根据orderItemId获取入仓记录
orderWarehouseInList
(){
return
(
orderItemId
)
=>
{
return
this
.
wareItem
(
orderItemId
)?.
orderWarehouseInBackItemDoList
||
[]
}
},
// 获取打包状态
wareItemPackStatus
(){
return
orderItemId
=>
{
...
...
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