Commit 214b6248 authored by youjie's avatar youjie

备注,优惠券id

parent 101ea751
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
</view> </view>
<view class="form"> <view class="form">
<view class="row-sb-n visaProductTextBox"> <view class="row-sb-n visaProductTextBox">
<view class="row col" style="width:1px;flex: 1;"> <view class="row col" style="width:1px;flex: 1;">
<view class="visaProduct_rColor visaProductTextL">*</view> <view class="visaProduct_rColor visaProductTextL">*</view>
...@@ -123,6 +124,10 @@ ...@@ -123,6 +124,10 @@
</view> </view>
</view> </view>
</view> </view>
<view>
<textarea class="jz_TextArea"
placeholder="请输入备注信息" v-model="orderMsg.Remarks"></textarea>
</view>
</view> </view>
<view class="CouponBox"> <view class="CouponBox">
<view class="big-title"> <view class="big-title">
...@@ -308,7 +313,19 @@ ...@@ -308,7 +313,19 @@
TotalPrice: 0, //总价 TotalPrice: 0, //总价
CustomerPayMoney: 0, CustomerPayMoney: 0,
DiscountMoney: 0, //优惠 DiscountMoney: 0, //优惠
OrderSource: 2, CouponAllotIds: '', //优惠券Id
// #ifdef MP-DI
OrderSource: 7,
// #endif
// #ifdef MP-AG
OrderSource: 5,
// #endif
// // #ifdef MP-WEIXIN
// OrderSource: 5,
// // #endif
// #ifdef MP-ALIPAY
OrderSource: 6,
// #endif
OrderForm: 4, //订单来源 OrderForm: 4, //订单来源
//备注 //备注
guestRequest: "", guestRequest: "",
...@@ -317,6 +334,7 @@ ...@@ -317,6 +334,7 @@
CustomerId: 0, //同行Id CustomerId: 0, //同行Id
DirectCustomerId: 0, //直客Id DirectCustomerId: 0, //直客Id
CreateBy: 0, //同业联系人 CreateBy: 0, //同业联系人
Remarks: '', //备注
}, },
showtime: false, showtime: false,
paramsTime: { paramsTime: {
...@@ -788,8 +806,6 @@ ...@@ -788,8 +806,6 @@
}) })
return return
} }
if (this.submit) return; if (this.submit) return;
this.submit = true; this.submit = true;
let that = this; let that = this;
...@@ -811,6 +827,11 @@ ...@@ -811,6 +827,11 @@
} }
// #endif // #endif
that.orderMsg.CreateBy = CreateBy that.orderMsg.CreateBy = CreateBy
let CouponAllotIds = ''
if(this.useCouponIds.length>0){
CouponAllotIds = this.useCouponIds.join(',')
}
this.orderMsg.CouponAllotIds = CouponAllotIds
console.log("酒店下单", that.orderMsg); console.log("酒店下单", that.orderMsg);
that.apipost('dmc_post_GetDiDaBookingConfirm', that.orderMsg, that.apipost('dmc_post_GetDiDaBookingConfirm', that.orderMsg,
res => { res => {
...@@ -1231,4 +1252,13 @@ ...@@ -1231,4 +1252,13 @@
.LastNameBox view:last-child { .LastNameBox view:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.jz_TextArea {
height: 50px;
margin-bottom: 10px;
width: auto;
border: 1px solid #dfddd8;
border-radius: 4px;
margin: 0 10rpx;
padding: 20rpx;
}
</style> </style>
\ No newline at end of file
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<view class="ResInforL">房型</view> <view class="ResInforL">房型</view>
<view class="ResInforR"> <view class="ResInforR">
<text v-for="(items,i) in RatePlanList" :key="i"> <text v-for="(items,i) in RatePlanList" :key="i">
{{ items.RatePlanName }} {{ items.RoomName_CN }}
<template v-if="i!=RatePlanList.length-1">,</template> <template v-if="i!=RatePlanList.length-1">,</template>
</text> </text>
</view> </view>
......
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