Commit ad397379 by 朱继来

调整

parent 1fee021d
Showing with 8 additions and 8 deletions
...@@ -1151,6 +1151,14 @@ ...@@ -1151,6 +1151,14 @@
var reason = $('input[name=reason]:checked').val(); var reason = $('input[name=reason]:checked').val();
var payTime = $('.payTime').val(); var payTime = $('.payTime').val();
var payTimeOther = $('.payTimeOther').val(); var payTimeOther = $('.payTimeOther').val();
var sale_id = $('input[name=sale_id]').val();
if (sale_id == 0) {
layer.alert('请先将订单推送给业务员', function(){
location.href = '/sendSales/'+$('input[name=order_id]').val();
});
return false;
}
if (isNewClient) { if (isNewClient) {
// 用户来源 // 用户来源
...@@ -1219,14 +1227,6 @@ ...@@ -1219,14 +1227,6 @@
return false; return false;
} }
var sale_id = $('input[name=sale_id]').val();
if (sale_id == 0) {
layer.alert('请先将订单推送给业务员', function(){
location.href = '/sendSales/'+$('input[name=order_id]').val();
});
return false;
}
if (payTime == '') { if (payTime == '') {
layer.msg('请选择付款时间'); layer.msg('请选择付款时间');
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment