|
|
@ -461,6 +461,7 @@ Page({ |
|
|
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 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 = []; |
|
|
let linkmanIds = []; |
|
|
if (this.data.is_need_idcard == 1) { |
|
|
if (this.data.is_need_idcard == 1) { |
|
|
|
|
|
if (this.data.is_real_name == 1) { |
|
|
if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { |
|
|
if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请添加出行人', |
|
|
title: '请添加出行人', |
|
|
@ -468,6 +469,16 @@ Page({ |
|
|
}) |
|
|
}) |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
}else { |
|
|
|
|
|
if (linkmanList.length == 0) { |
|
|
|
|
|
wx.showToast({ |
|
|
|
|
|
title: '请添加出行人', |
|
|
|
|
|
icon: "none" |
|
|
|
|
|
}) |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (!date && this.data.ticket_type == 1) { |
|
|
if (!date && this.data.ticket_type == 1) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
|