...
|
...
|
@@ -145,7 +145,17 @@ |
|
|
money = $('input[name=tmoney]').val('');
|
|
|
$.post("{:url('Coupons/couptype')}", {}, function(data) {
|
|
|
shuju = JSON.parse(data);
|
|
|
console.log(shuju);
|
|
|
for (var i = 0; i < shuju.length; i++) {
|
|
|
if (shuju[i] == 1) {
|
|
|
$('#zhuce').remove();
|
|
|
}else if (shuju[i] == 2) {
|
|
|
$('#shengri').remove();
|
|
|
}else if (shuju[i] == 3) {
|
|
|
$('#fenxiang').remove();
|
|
|
}else if (shuju[i] == 4) {
|
|
|
$('#dati').remove();
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
}
|
...
|
...
|
|