|
@@ -303,21 +303,19 @@ function submitOrder() { |
|
@@ -303,21 +303,19 @@ function submitOrder() { |
303
|
/* tar add 161116 */
|
303
|
/* tar add 161116 */
|
304
|
if (window._yas && window._yas.sendCustomInfo) {
|
304
|
if (window._yas && window._yas.sendCustomInfo) {
|
305
|
window._yas.sendCustomInfo({
|
305
|
window._yas.sendCustomInfo({
|
|
|
306
|
+ op: 'YB_SC_TOPAY_CLICK',
|
306
|
param: JSON.stringify({
|
307
|
param: JSON.stringify({
|
307
|
- op: 'YB_SC_TOPAY_CLICK',
|
|
|
308
|
- param: JSON.stringify({
|
|
|
309
|
- C_ID: window._ChannelVary[cookie('_Channel')],
|
|
|
310
|
- ORDER_CODE: res.data.order_code,
|
|
|
311
|
- PRD_NUM: $('#goods-num').val(),
|
|
|
312
|
- ORDER_AMOUNT: res.data.order_amount,
|
|
|
313
|
- UNIONCOOKIE: res.data.unionCookie,
|
|
|
314
|
- })
|
308
|
+ C_ID: window._ChannelVary[cookie('_Channel')],
|
|
|
309
|
+ ORDER_CODE: res.data.order_code,
|
|
|
310
|
+ PRD_NUM: $('#goods-num').val(),
|
|
|
311
|
+ ORDER_AMOUNT: res.data.order_amount,
|
|
|
312
|
+ UNIONCOOKIE: res.data.unionCookie || '',
|
315
|
})
|
313
|
})
|
316
|
}, true);
|
314
|
}, true);
|
317
|
}
|
315
|
}
|
318
|
|
316
|
|
319
|
window.setCookie('order-info', '');
|
317
|
window.setCookie('order-info', '');
|
320
|
- window.location.href = url;
|
318
|
+ // window.location.href = url;
|
321
|
} else if (res.message) {
|
319
|
} else if (res.message) {
|
322
|
tip.show(res.message);
|
320
|
tip.show(res.message);
|
323
|
}
|
321
|
}
|