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
c8069a15
Commit
c8069a15
authored
Jan 05, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复留空的箱明细从订单商品选择后用途和材料异常
parent
8c4e7b00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
WarehouseRecordDetailItem.vue
...rder/warehousing/components/WarehouseRecordDetailItem.vue
+11
-4
No files found.
src/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
View file @
c8069a15
...
@@ -153,16 +153,14 @@ export default {
...
@@ -153,16 +153,14 @@ export default {
}
}
if
(
this
.
value
.
material
){
if
(
this
.
value
.
material
){
this
.
material
=
this
.
value
.
material
this
.
$set
(
this
,
'
material
'
,
this
.
value
.
material
)
}
}
if
(
typeof
this
.
value
.
prodAttrIds
===
'
string
'
&&
this
.
value
.
prodAttrIds
.
length
>
0
)
{
if
(
typeof
this
.
value
.
prodAttrIds
===
'
string
'
&&
this
.
value
.
prodAttrIds
.
length
>
0
)
{
this
.
prodAttrIds
=
this
.
value
.
prodAttrIds
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
this
.
prodAttrIds
=
this
.
value
.
prodAttrIds
.
split
(
'
,
'
).
map
(
e
=>
+
e
)
}
}
console
.
log
(
this
.
prodAttrIds
)
if
(
this
.
value
.
usageIds
)
{
if
(
this
.
value
.
usageIds
)
{
await
this
.
$nextTick
()
this
.
usageIds
=
this
.
value
.
usageIds
.
split
(
'
,
'
)
||
[]
this
.
usageIds
=
this
.
value
.
usageIds
.
split
(
'
,
'
)
||
[]
}
}
...
@@ -253,7 +251,16 @@ export default {
...
@@ -253,7 +251,16 @@ export default {
getProductBrank
(
val
).
then
(
res
=>
{
getProductBrank
(
val
).
then
(
res
=>
{
this
.
brandList
.
push
(
res
.
data
)
this
.
brandList
.
push
(
res
.
data
)
})
})
},
"
value.usageIds
"
(
val
)
{
this
.
usageIds
=
val
?.
split
(
'
,
'
)
||
[]
if
(
this
.
usageIds
.
length
>
0
&&
this
.
usageIds
[
0
]
===
''
){
this
.
usageIds
.
splice
(
0
,
1
)
}
}
},
"
value.material
"
(
val
)
{
this
.
material
=
val
},
}
}
}
}
</
script
>
</
script
>
...
...
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