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
2733541e
Commit
2733541e
authored
Nov 10, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2a76414d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
13 deletions
+21
-13
List-Table.vue
src/components/hotel/list/List-Table.vue
+1
-1
ListCar.vue
src/components/hotel/list/ListCar.vue
+5
-5
ListHeader.vue
src/components/hotel/list/ListHeader.vue
+1
-1
Table-Operation.vue
src/components/hotel/list/Table-Operation.vue
+14
-6
No files found.
src/components/hotel/list/List-Table.vue
View file @
2733541e
...
...
@@ -91,7 +91,7 @@ import { date,useQuasar } from 'quasar'
import
{
DateType
,
getDateType
,
getDayOfWeek
}
from
'../../../utils/tools'
import
{
useI18n
}
from
'vue-i18n'
import
HotelPriceList
from
'./HotelPriceList.vue'
import
TableOperation
from
".
.
/Table-Operation.vue"
import
TableOperation
from
"./Table-Operation.vue"
export
default
defineComponent
({
components
:
{
HotelPriceList
,
TableOperation
},
name
:
'list-table'
,
...
...
src/components/hotel/ListCar.vue
→
src/components/hotel/
list/
ListCar.vue
View file @
2733541e
...
...
@@ -52,12 +52,12 @@
<
script
lang=
"ts"
>
import
{
defineComponent
,
ref
,
reactive
,
toRefs
,
provide
,
onMounted
,
inject
}
from
'vue'
import
{
SitLang
}
from
'../../@types'
;
import
{
SitLang
}
from
'../../
../
@types'
;
import
{
useI18n
}
from
'vue-i18n'
import
{
dispatchAction
}
from
'../../store/utils'
;
import
{
UserActionsType
}
from
'../../store/modules/user/actions'
;
import
useScrollModule
from
'../../module/scrollbar/scrollModule'
import
message
from
'../../utils/message'
import
{
dispatchAction
}
from
'../../
../
store/utils'
;
import
{
UserActionsType
}
from
'../../
../
store/modules/user/actions'
;
import
useScrollModule
from
'../../
../
module/scrollbar/scrollModule'
import
message
from
'../../
../
utils/message'
export
default
defineComponent
({
props
:
{
// rightCarOpen:{
...
...
src/components/hotel/list/ListHeader.vue
View file @
2733541e
...
...
@@ -64,7 +64,7 @@ import { date } from 'quasar'
import
{
HotelRate
,
useHotel
}
from
'../../../utils/hotelRate'
import
{
useQuasar
}
from
'quasar'
import
useScrollModule
from
'../../../module/scrollbar/scrollModule'
import
ListCar
from
".
.
/ListCar.vue"
import
ListCar
from
"./ListCar.vue"
export
default
defineComponent
({
components
:
{
svgIcon
,
ListCar
},
setup
()
{
...
...
src/components/hotel/Table-Operation.vue
→
src/components/hotel/
list/
Table-Operation.vue
View file @
2733541e
...
...
@@ -24,11 +24,11 @@
<
script
lang=
"ts"
>
import
{
defineComponent
,
ref
,
reactive
,
toRefs
,
provide
,
onMounted
,
inject
}
from
'vue'
import
{
SitLang
}
from
'../../@types'
;
import
{
SitLang
}
from
'../../
../
@types'
;
import
{
useI18n
}
from
'vue-i18n'
import
{
dispatchAction
}
from
'../../store/utils'
;
import
{
UserActionsType
}
from
'../../store/modules/user/actions'
;
import
message
from
'../../utils/message'
import
{
dispatchAction
}
from
'../../
../
store/utils'
;
import
{
UserActionsType
}
from
'../../
../
store/modules/user/actions'
;
import
message
from
'../../
../
utils/message'
export
default
defineComponent
({
props
:
{
hotelInfor
:{
...
...
@@ -41,9 +41,17 @@
const
data
=
reactive
({
addNum
:
1
,
hotelInfor
:
props
.
hotelInfor
,
DetailList
:[]
DetailList
:
Array
[]
})
console
.
log
(
props
.
hotelInfor
.
PriceList
[
0
],
'===='
)
if
(
data
.
hotelInfor
.
PriceList
[
0
].
AddBedPrice
){
}
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
AddBedPrice
,
'====3人間成本价'
)
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
BidroomPrice
,
'====大床成本价'
)
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
CostPrice
,
'====標間成本价'
)
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
GuideRoomPrice
,
'====司機房成本价'
)
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
SingleroomPrice
,
'====自然单间成本价'
)
data
.
addNum
=
inject
(
'addNum'
)
const
methods
=
{
addGoods
(
type
:
any
){
...
...
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