|
@@ -242,8 +242,8 @@ class After extends \app\BaseController
|
|
|
if($status===""){
|
|
|
return error_show(1005,"参数status 不能为空");
|
|
|
}
|
|
|
- $orde= Db::name("order_out")->where(["outCode"=>$info['outCode'],"is_del"=>0])->find();
|
|
|
- if(empty($orde)){
|
|
|
+ $orde= Db::name("order_out")->where(["outCode"=>$info['outCode']])->find();
|
|
|
+ if($orde==false){
|
|
|
return error_show(1005,"未找到出库单数据");
|
|
|
}
|
|
|
$remark = isset($this->post['remark'])&&$this->post['remark']!=''?trim($this->post['remark']):"";
|