Commit b47f3541 by Joneq

修改是否报关的判断

parent 22f80345
Showing with 2 additions and 2 deletions
...@@ -176,10 +176,10 @@ class PalletLogic ...@@ -176,10 +176,10 @@ class PalletLogic
} }
} }
$isApplyCustoms = OutStoreDetailModel::whereIn('out_store_detail_id',$outStoreDetailIdArr)->value('is_apply_customs');
if (!isset($data['is_apply_customs_app'])){ if (!isset($data['is_apply_customs_app'])){
//是否需要报关 //是否需要报关
if ($isApplyCustoms = OutStoreDetailModel::whereIn('out_store_detail_id',$outStoreDetailIdArr)->value('is_apply_customs') ){ if ($isApplyCustoms){
throw new \Exception('报关单据不可在此发货'); throw new \Exception('报关单据不可在此发货');
} }
//复核 //复核
......
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