|
|
|
@ -539,7 +539,7 @@ use common\models\PriceT; |
|
|
|
|
//生成短信内容 |
|
|
|
|
$('.sms-make-btn').click(function(){ |
|
|
|
|
var params = $('#orderFrm').serialize(); |
|
|
|
|
var baoxiangs=$('#company2_id').val(); |
|
|
|
|
var baoxiangs=$('#company_id').val(); |
|
|
|
|
var smstel=$('#sms-tel').val(); |
|
|
|
|
|
|
|
|
|
if(isNull(smstel)){ |
|
|
|
@ -563,7 +563,7 @@ use common\models\PriceT; |
|
|
|
|
$('.sms-send-btn').click(function(){ |
|
|
|
|
var tel = $('#sms-tel').val(); |
|
|
|
|
var msg = $('#sms-msg').val(); |
|
|
|
|
var baoxiangs=$('#company2_id').val(); |
|
|
|
|
var baoxiangs=$('#company_id').val(); |
|
|
|
|
var smstel=$('#sms-tel').val(); |
|
|
|
|
var smsmsg=$('#sms-msg').val(); |
|
|
|
|
|
|
|
|
@ -581,7 +581,7 @@ use common\models\PriceT; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// return; |
|
|
|
|
$.post('/car/sms-send',{tel:tel,msg:msg,company2_id:baoxiangs},function(obj){ |
|
|
|
|
$.post('/car/sms-send',{tel:tel,msg:msg,company_id:baoxiangs},function(obj){ |
|
|
|
|
parent.layer.msg(obj.msg); |
|
|
|
|
},'json'); |
|
|
|
|
}); |
|
|
|
|