Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
8089f870
Commit
8089f870
authored
Nov 14, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b3ae18b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
ListCar.vue
src/components/hotel/list/ListCar.vue
+6
-10
No files found.
src/components/hotel/list/ListCar.vue
View file @
8089f870
...
...
@@ -171,11 +171,11 @@
},
setup
(
props
,
context
)
{
const
TCNumRef
=
ref
(
null
)
const
ContactNameRef
=
ref
(
null
)
const
ContactNumberRef
=
ref
(
null
)
const
HotelCarList
=
inject
(
DirtionmaryHelper
.
HOTEL_CAR_LIST
)
as
any
const
{
locale
,
t
}
=
useI18n
();
const
TCNumRef
=
ref
(
null
)
as
any
const
ContactNameRef
=
ref
(
null
)
as
any
const
ContactNumberRef
=
ref
(
null
)
as
any
const
data
=
reactive
({
scrollStyle
:
{}
as
any
,
addNum
:
1
,
...
...
@@ -224,13 +224,9 @@
})
},
submit
()
{
// const tc = TCNumRef as any //断言任意类型
// const name = ContactNameRef as any
// const num = ContactNumberRef as any
// tc.value.validate()
// name.value.validate()
// num.value.validate()
// TCNumRef.value.validate()
// ContactNameRef.value.validate()
// ContactNumberRef.value.validate()
if
(
data
.
parameters
.
OrderType
==
1
){
if
(
!
data
.
parameters
.
ContactName
){
message
.
warnMsg
(
`
${
t
(
"hotel.car.inputText"
)}${
t
(
"hotel.car.ContactName"
)}
`
)
...
...
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