Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-appreciation
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c3aed586
authored
Dec 25, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
da427a08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
c3aed58
...
@@ -2090,22 +2090,28 @@ export default {
...
@@ -2090,22 +2090,28 @@ export default {
},
},
// 检查轮胎信息是否已填
// 检查轮胎信息是否已填
checkTDOTableDataFn
()
{
checkTDOTableDataFn
()
{
const
allPageCodeList
=
this
.
equityRadio
==
1
?
this
.
packageCodeList
:
this
.
autoPackageCodeList
console
.
log
(
allPageCodeList
,
this
.
TDOTableData
)
let
isEmpty
=
false
let
isEmpty
=
false
try
{
try
{
this
.
packageCodeList
.
forEach
(
item
=>
{
allPageCodeList
.
forEach
(
item
=>
{
for
(
let
key
in
this
.
TDOTableData
[
item
][
'tireDTONew'
])
{
if
(
this
.
TDOTableData
[
item
])
{
if
(
!
this
.
TDOTableData
[
item
][
'tireDTONew'
][
key
])
{
for
(
let
key
in
this
.
TDOTableData
[
item
][
'tireDTONew'
])
{
throw
new
Error
(
true
)
if
(
!
this
.
TDOTableData
[
item
][
'tireDTONew'
][
key
])
{
throw
new
Error
(
true
)
}
}
}
}
for
(
let
key
in
this
.
TDOTableData
[
item
][
'tireBatchNew'
])
{
for
(
let
key
in
this
.
TDOTableData
[
item
][
'tireBatchNew'
])
{
if
(
!
this
.
TDOTableData
[
item
][
'tireBatchNew'
][
key
])
{
if
(
!
this
.
TDOTableData
[
item
][
'tireBatchNew'
][
key
])
{
throw
new
Error
(
true
)
throw
new
Error
(
true
)
}
}
}
}
else
{
throw
new
Error
(
false
)
}
}
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
isEmpty
=
true
isEmpty
=
error
.
message
==
'true'
}
}
return
isEmpty
return
isEmpty
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment