Browse Source

景点下单注释团购

master
chenkainan 2 years ago
parent
commit
ca3e194f9b
  1. 18
      pages/order/scene/index.js

18
pages/order/scene/index.js

@ -407,15 +407,15 @@ Page({
console.log(this.data)
let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product;
let linkmanIds = [];
if (this.data.is_need_idcard == 1) {
if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) {
wx.showToast({
title: '请添加出行人',
icon: "none"
})
return;
}
}
// if (this.data.is_need_idcard == 1) {
// if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) {
// wx.showToast({
// title: '请添加出行人',
// icon: "none"
// })
// return;
// }
// }
if (!date && this.data.ticket_type == 1) {
wx.showToast({
title: '请选择使用日期',

Loading…
Cancel
Save