order.js
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
function showExpressDetail(orderCode) {
$('#tipbox' + orderCode).show();
$.ajax({
url:'/home/orders/expressdetail?ordercode=' + orderCode,
cache:false,
success: function (data) {
$('#expressContent' + orderCode).html(data);
},
dataType: "html"
});
}
function hideExpressDetail(orderCode) {
$('#expressContent' + orderCode).html('<span class="logistics-tips-warn">正在加载,请稍侯...</span>');
$('#tipbox' + orderCode).hide();
}
function loadVerifyCode(orderCode){
$('#verifyCodeLoading' + orderCode).hide();
$('#verifyCodeShow' + orderCode).show();
}
function fetchByVerifycode(orderCode){
var verifyCode = $('#inputVerifyCode' + orderCode).val();
if($.trim(verifyCode) == '') {
alert('验证码不能为空');
return ;
}
$.ajax({
url:'/home/orders/fetchbycode?ordercode=' + orderCode + "&verifycode=" + verifyCode,
cache:false,
success: function (data) {
$('#expressContent' + orderCode).html(data);
},
dataType: "html"
});
}