Commit 4d8a5879 authored by 潘永坪's avatar 潘永坪

编辑联系人,选中日期,场次票bug处理

parent 028e23f5
......@@ -37,7 +37,6 @@
</view>
</view>
</view>
</view>
</u-popup>
</template>
......
......@@ -121,6 +121,8 @@ export default {
this.name = ''
this.credentialNumber = ''
this.phone=''
}else{
this.$parent.getContactList()
}
this.showEdit = false
} else {
......
......@@ -825,9 +825,9 @@ export default {
if(item.priceStockList.length>0){
//获取价格列表的第一个日期+预订最晚时间
let time1=item.priceStockList[0].startTime.substr(0,10)+item.bookTime
let timeNum1=parseInt(this.commonjs.changeTime(time1))
let timeNum1=parseInt(this.$commonjs.changeTime(time1))
let time2=new Date().Format('yyyy-MM-dd hh:mm:ss')
let timeNum2 =parseInt(this.commonjs.changeTime(time2)) //将当前时间转化为数字
let timeNum2 =parseInt(this.$commonjs.changeTime(time2)) //将当前时间转化为数字
if(timeNum2>timeNum1){
//如果当前时间大于价格列表第一个日期+预订最晚时间,第一个价格不显示
item.priceStockList.splice(0,1)
......@@ -1020,7 +1020,7 @@ export default {
}else{
item2.copyLast=item2.last
}
item2.timeNumber=parseInt(this.commonjs.changeTime(item2.planDate.substr(0,10)+item2.endPlanTime))
item2.timeNumber=parseInt(this.$commonjs.changeTime(item2.planDate.substr(0,10)+item2.endPlanTime))
if(this.timeNumber>item2.timeNumber||item2.last<=0){
item2.copyLast='售罄'
}
......@@ -1345,7 +1345,7 @@ export default {
//---预下单
preOrder() {
//参数游客信息组装
let orderTouristList = this.contactTotal.map((item) => {
let orderTouristList = this.chooseContact.map((item) => {
return {
category: 0,
name: item.name,
......
......@@ -910,7 +910,7 @@ export default {
}else{
item.copyLast=item.last
}
item.timeNumber = parseInt(this.commonjs.changeTime(item.planDate.substr(0, 10) + item.endPlanTime))
item.timeNumber = parseInt(this.$commonjs.changeTime(item.planDate.substr(0, 10) + item.endPlanTime))
if (this.timeNumber > item.timeNumber || item.last <= 0) {
item.copyLast='售罄'
}
......
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