Commit 5f066051 authored by youjie's avatar youjie

no message

parent fe9e109e
......@@ -31,6 +31,10 @@
import message from '../../../utils/message'
export default defineComponent({
props: {
HotelId:{
type: String,
require: true
},
hotelInfor:{
type: Object,
require: true
......@@ -40,17 +44,30 @@
const {locale,t } = useI18n();
const data=reactive({
addNum: 1,
hotelInfor: props.hotelInfor,
DetailList:Array[]
parameters:{
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人間成本价')
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,'====自然单间成本价')
// if(data.hotelInfor.PriceList[0].AddBedPrice){
// dataMsg.
// data.parameters.DetailList.push(dataMsg)
// }
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')
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