Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a5f98c87
authored
Oct 21, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
d0120cd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
components/HomeFrame/components/CustomerInfo.vue
components/HomeFrame/components/CustomerInfo.vue
View file @
a5f98c8
...
@@ -239,8 +239,7 @@ export default {
...
@@ -239,8 +239,7 @@ export default {
startDate
:
''
,
startDate
:
''
,
endDate
:
''
,
endDate
:
''
,
customerTag
:
''
,
customerTag
:
''
,
backClass
:
''
,
backClass
:
''
clickFlag
:
false
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -292,7 +291,7 @@ export default {
...
@@ -292,7 +291,7 @@ export default {
this
.
customerInfo
.
arrivalDate
=
e
.
detail
.
value
this
.
customerInfo
.
arrivalDate
=
e
.
detail
.
value
},
},
async
submit
()
{
async
submit
()
{
if
(
this
.
check
||
this
.
clickFlag
)
return
if
(
this
.
check
)
return
try
{
try
{
this
.
customerForm
.
map
(
e
=>
{
this
.
customerForm
.
map
(
e
=>
{
e
.
error
=
false
e
.
error
=
false
...
@@ -311,7 +310,6 @@ export default {
...
@@ -311,7 +310,6 @@ export default {
})
})
if
(
customerInfo
.
id
)
params
.
id
=
customerInfo
.
id
if
(
customerInfo
.
id
)
params
.
id
=
customerInfo
.
id
params
.
customerTagName
=
params
.
customerTagName
.
replace
(
/|/g
,
','
)
params
.
customerTagName
=
params
.
customerTagName
.
replace
(
/|/g
,
','
)
this
.
clickFlag
=
true
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
})
...
@@ -322,7 +320,6 @@ export default {
...
@@ -322,7 +320,6 @@ export default {
if
(
res
==
'1'
)
{
if
(
res
==
'1'
)
{
this
.
$refs
.
successRef
.
open
()
this
.
$refs
.
successRef
.
open
()
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
clickFlag
=
false
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
back
()
this
.
back
()
this
.
$emit
(
'refresh'
)
this
.
$emit
(
'refresh'
)
...
@@ -340,11 +337,9 @@ export default {
...
@@ -340,11 +337,9 @@ export default {
}
}
}
}
})
})
this
.
clickFlag
=
false
uni
.
hideLoading
()
uni
.
hideLoading
()
}
}
}
else
{
}
else
{
this
.
clickFlag
=
false
uni
.
hideLoading
()
uni
.
hideLoading
()
}
}
...
...
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