...
|
...
|
@@ -363,9 +363,7 @@ new Vue({ |
|
|
/*console.log(JSON.stringify(res))*/
|
|
|
console.log(res);
|
|
|
if(res.status==true){
|
|
|
alert("下单成功");
|
|
|
//window.location.reload();
|
|
|
window.location.href=linkPath+'/PersonCenter/PersonCenter.html'
|
|
|
window.location.href='/index.php?g=&m=template&a=makedetails&oid='+res.oid;
|
|
|
}else if(res.status==false){
|
|
|
alert(res.msg);
|
|
|
alert("下单失败");
|
...
|
...
|
@@ -402,9 +400,8 @@ new Vue({ |
|
|
/*console.log(JSON.stringify(res))*/
|
|
|
console.log(res);
|
|
|
if(res.status==true){
|
|
|
alert("下单成功");
|
|
|
//window.location.reload();
|
|
|
window.location.href=linkPath+'/PersonCenter/PersonCenter.html'
|
|
|
window.location.href='/index.php?g=&m=template&a=evaluatedetails&oid='+res.oid;
|
|
|
}else if(res.status==false){
|
|
|
alert(res.msg);
|
|
|
alert("下单失败");
|
...
|
...
|
@@ -412,48 +409,6 @@ new Vue({ |
|
|
|
|
|
})
|
|
|
}
|
|
|
|
|
|
//var order_note=that.remark;
|
|
|
//var payment=that.payment;
|
|
|
//var discount_coupon_id=that.discount_coupon_id;
|
|
|
//var url = '/Flow/done'
|
|
|
//var params = {
|
|
|
// unique_id: localStorage.getItem('unique_id'),
|
|
|
// consignee:nick_name,
|
|
|
// tel:tel_phone,
|
|
|
// cart_id_str:id,
|
|
|
// order_type:ordertype,
|
|
|
// spot_id:spot_id,
|
|
|
// store_id:store_id,
|
|
|
// order_notes:order_note,
|
|
|
// payment:payment,
|
|
|
// discount_coupon_id:discount_coupon_id,
|
|
|
// pick_up_time:pick_up_time,
|
|
|
// printer_id:printer_id,
|
|
|
// from:2
|
|
|
//}
|
|
|
//
|
|
|
//
|
|
|
//ajaxsend(url, params, function(res) {
|
|
|
// /*console.log(JSON.stringify(res))*/
|
|
|
// console.log(res);
|
|
|
// if(res.status==true){
|
|
|
// alert("下单成功");
|
|
|
// //window.location.reload();
|
|
|
// window.location.href=linkPath+'/PersonCenter/PersonCenter.html'
|
|
|
// }else if(res.status==false){
|
|
|
// alert(res.msg);
|
|
|
// alert("下单失败");
|
|
|
// }
|
|
|
//
|
|
|
//})
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
//}); |
|
|
\ No newline at end of file |
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|