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
5f066051
Commit
5f066051
authored
Nov 10, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
fe9e109e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
9 deletions
+26
-9
Table-Operation.vue
src/components/hotel/list/Table-Operation.vue
+26
-9
No files found.
src/components/hotel/list/Table-Operation.vue
View file @
5f066051
...
@@ -31,6 +31,10 @@
...
@@ -31,6 +31,10 @@
import
message
from
'../../../utils/message'
import
message
from
'../../../utils/message'
export
default
defineComponent
({
export
default
defineComponent
({
props
:
{
props
:
{
HotelId
:{
type
:
String
,
require
:
true
},
hotelInfor
:{
hotelInfor
:{
type
:
Object
,
type
:
Object
,
require
:
true
require
:
true
...
@@ -40,17 +44,30 @@
...
@@ -40,17 +44,30 @@
const
{
locale
,
t
}
=
useI18n
();
const
{
locale
,
t
}
=
useI18n
();
const
data
=
reactive
({
const
data
=
reactive
({
addNum
:
1
,
addNum
:
1
,
hotelInfor
:
props
.
hotelInfor
,
parameters
:{
DetailList
:
Array
[]
Money
:
String
,
DetailList
:
[]
as
Array
<
any
>
,
Remark
:
String
,
}
})
})
if
(
data
.
hotelInfor
.
PriceList
[
0
].
AddBedPrice
){
let
dataMsg
=
{
HotelId
:
props
.
HotelId
as
String
,
Date
:
props
.
hotelInfor
.
DateStr
as
String
,
RoomType
:
''
as
String
,
Unit_Price
:
''
as
String
,
Number
:
''
as
String
,
Destription
:
''
as
String
,
}
}
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
AddBedPrice
,
'====3人間成本价'
)
// if(data.hotelInfor.PriceList[0].AddBedPrice){
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
BidroomPrice
,
'====大床成本价'
)
// dataMsg.
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
CostPrice
,
'====標間成本价'
)
// data.parameters.DetailList.push(dataMsg)
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
GuideRoomPrice
,
'====司機房成本价'
)
// }
console
.
log
(
data
.
hotelInfor
.
PriceList
[
0
].
SingleroomPrice
,
'====自然单间成本价'
)
console
.
log
(
props
.
hotelInfor
.
DateStr
,
'---'
)
// console.log(props.hotelInfor.PriceList[0].AddBedPrice,'====3人間成本价')
// console.log(props.hotelInfor.PriceList[0].BidroomPrice,'====大床成本价')
// console.log(props.hotelInfor.PriceList[0].CostPrice,'====標間成本价')
// console.log(props.hotelInfor.PriceList[0].GuideRoomPrice,'====司機房成本价')
// console.log(props.hotelInfor.PriceList[0].SingleroomPrice,'====自然单间成本价')
data
.
addNum
=
inject
(
'addNum'
)
data
.
addNum
=
inject
(
'addNum'
)
const
methods
=
{
const
methods
=
{
...
...
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