mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 16:26:45 +08:00
[FIX]【卡单】我的订单-去支付按钮-显示条件bug修复;
This commit is contained in:
@@ -285,9 +285,12 @@ export default {
|
|||||||
insuredName: orderItem.insuredDTOs[0].name,
|
insuredName: orderItem.insuredDTOs[0].name,
|
||||||
orderStatus: orderItem.orderInfoDTO.orderStatus
|
orderStatus: orderItem.orderInfoDTO.orderStatus
|
||||||
}
|
}
|
||||||
currentTime = formatDate.formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss')
|
currentTime = new Date(formatDate.formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss'))
|
||||||
compareTime = new Date(formatDate.formatDate(new Date(orderItem.orderInfoDTO.appntDate), 'yyyy-MM-dd') + ' 23:59:00')
|
compareTime = new Date(formatDate.formatDate(new Date(orderItem.orderInfoDTO.appntDate), 'yyyy-MM-dd') + ' 23:59:00')
|
||||||
orderObj.isCanPay = currentTime < compareTime ? true : false
|
orderObj.isCanPay = currentTime < compareTime ? true : false
|
||||||
|
if (orderObj.orderNo == '8186270000007294') {
|
||||||
|
console.log('1111==', currentTime, compareTime, orderObj.isCanPay)
|
||||||
|
}
|
||||||
NewItems.push(orderObj)
|
NewItems.push(orderObj)
|
||||||
})
|
})
|
||||||
return NewItems
|
return NewItems
|
||||||
|
|||||||
Reference in New Issue
Block a user