Commit 80cb8e95 by Joneq

修改判断

parent 63ccbd9e
Showing with 1 additions and 1 deletions
...@@ -55,7 +55,7 @@ class OutStoreLogic ...@@ -55,7 +55,7 @@ class OutStoreLogic
//判断该入库单号是否拥有 //判断该入库单号是否拥有
if (!empty(OutStoreModel::where('warehousing_sn',$data['warehousing_sn'])->value('out_store_id'))){ if (!empty(OutStoreModel::where('warehousing_sn',$data['warehousing_sn'])->value('out_store_id'))){
Controller::$level = 5;Controller::$errCode = 2; Controller::$level = 5;Controller::$errCode = 2;
throw new \Exception('该入单号已经存在'.$data['warehousing_sn']); throw new \Exception('该入单号已经存在'.$data['warehousing_sn']);
} }
//判断入库详情是否为空 //判断入库详情是否为空
......
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