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
857fab61
Commit
857fab61
authored
Dec 30, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复备货箱明细没有内容的情况下选择商品明细报错
https://zentao.test.jdshangmen.com/bug-view-5719.html
parent
2a16e9c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
WarehouseRecordDetail.vue
...cw/order/warehousing/components/WarehouseRecordDetail.vue
+8
-4
No files found.
src/views/ecw/order/warehousing/components/WarehouseRecordDetail.vue
View file @
857fab61
...
...
@@ -179,11 +179,15 @@ export default {
handleChooseOrderProducts
(
data
){
this
.
showChooseDialog
=
false
if
(
!
data
?.
length
)
return
// 如果第一条是空的,则删除先
let
firstItem
=
this
.
dataList
[
0
]
if
(
!
firstItem
.
prodId
&&
!
firstItem
.
brand
&&
!
firstItem
.
prodAttrIds
&&
!
firstItem
.
material
&&
!
firstItem
.
quantityAll
){
this
.
dataList
.
splice
(
0
,
1
)
// 如果最后一条是空的,则删除先
if
(
this
.
dataList
?.
length
){
const
index
=
this
.
dataList
.
length
-
1
let
lastItem
=
this
.
dataList
[
index
]
if
(
!
lastItem
.
prodId
&&
!
lastItem
.
brand
&&
!
lastItem
.
prodAttrIds
&&
!
lastItem
.
material
&&
!
lastItem
.
quantityAll
){
this
.
dataList
.
splice
(
index
,
1
)
}
}
data
.
forEach
(
item
=>
{
this
.
dataList
.
push
({
"
boxGauge
"
:
""
,
...
...
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