Commit 7906802a by zhangzhen

细节优化

parent 1b19382a
......@@ -416,7 +416,7 @@
// 续单开始时间戳,订单未结束使用订单实际结束时间,订单结束使用当前时间
let startDateStemp = this.orderInfo.status == 2? moment(moment().format("YYYY-MM-DD HH:mm:00")).valueOf(): moment(orderEndDate).valueOf()
//可续单的结束时间戳
let endDateStemp = startDateStemp + 90*60*1000;
let endDateStemp = startDateStemp + 60*60*1000;
let continueStatus = true;
if(res.data.code ==200 && res.data.data && res.data.data.length){
new Promise((resolve,reject) => {
......@@ -451,7 +451,7 @@
})
}else{
endDateStemp = startDateStemp + 60*60*1000;
endDateStemp = startDateStemp + 30*60*1000;
continueStatus = true;
new Promise((resolve,reject) => {
res.data.data.forEach((item,i)=>{
......
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