Commit 086298de by 朱继来

Merge branch 'zjl_shipping_20201201'

parents 4f057d4f 3705823f
Showing with 1 additions and 1 deletions
...@@ -2188,7 +2188,7 @@ Class OrderController extends Controller ...@@ -2188,7 +2188,7 @@ Class OrderController extends Controller
foreach ($info['order_items_info'] as $key => $value) { foreach ($info['order_items_info'] as $key => $value) {
if ($value['status'] == -1) continue; if ($value['status'] == -1) continue;
if(empty($value['batch'])) return ['errcode'=>-1,'errmsg'=>'商品:'.$value['goods_name'].'缺少批次<br/>'.'请填写批次后再发送']; if($value['order_goods_type'] == 1 && empty($value['batch'])) return ['errcode'=>-1,'errmsg'=>'商品:'.$value['goods_name'].'缺少批次<br/>'.'请填写批次后再发送'];
if(empty($value['buyerName'])) return ['errcode'=>-1,'errmsg'=>'商品:'.$value['goods_name'].'缺少采购人员<br/>'.'请填写采购后再发送']; if(empty($value['buyerName'])) return ['errcode'=>-1,'errmsg'=>'商品:'.$value['goods_name'].'缺少采购人员<br/>'.'请填写采购后再发送'];
$tmp = []; $tmp = [];
......
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