Commit 5f066051 authored by youjie's avatar youjie

no message

parent fe9e109e
...@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment