|
@@ -23,6 +23,10 @@ class Salezx extends \app\BaseController
|
|
|
if($customer_code==""){
|
|
|
return error_show(1002,"客户code不能为空");
|
|
|
}
|
|
|
+ $zxinfoNo= isset($this->post['zxinfoNo'])&& $this->post['zxinfoNo'] !=="" ? trim($this->post['zxinfoNo']) :"";
|
|
|
+ if($zxinfoNo==""){
|
|
|
+ return error_show(1002,"参数zxinfoNo 不能为空");
|
|
|
+ }
|
|
|
$customer=Db::name("customer_info")->where(["companyNo"=>$customer_code])->find();
|
|
|
if($customer==false){
|
|
|
return error_show(1004,"未找到客户数据");
|