Commit 4be1a29c by allen

修复筛选js bug

parent dfef04bc
...@@ -2101,6 +2101,12 @@ Class OrderController extends Controller ...@@ -2101,6 +2101,12 @@ Class OrderController extends Controller
exit; exit;
} }
if(empty($value['buyerName'])){
$msg = '商品:'.$tmp['goods'].'缺少采购人员<br/>'.'请填写采购后再发送';
echo json_encode(['errcode'=>-1,'errmsg'=>$msg]);
exit;
}
//批次 //批次
$tmp['deliveryTime'] = $value['batch']; $tmp['deliveryTime'] = $value['batch'];
$tmp['send_email'] = !empty($value['send_email'])?$value['send_email']:''; $tmp['send_email'] = !empty($value['send_email'])?$value['send_email']:'';
......
...@@ -173,7 +173,6 @@ ...@@ -173,7 +173,6 @@
} }
if(select_time_val){ if(select_time_val){
listUrl += '&select_time_val='+select_time_val; listUrl += '&select_time_val='+select_time_val;
} }
......
...@@ -542,7 +542,7 @@ ...@@ -542,7 +542,7 @@
if($id ==''){ if($id ==''){
//创建日期 //创建日期
$('#start_time').find('input').attr('name','time_start'); $('#start_time').find('input').attr('name','time_start');
$('#end_time').find('input').attr('name','time_start'); $('#end_time').find('input').attr('name','time_end');
}else if($id == 1){ }else if($id == 1){
......
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