|
@@ -41,7 +41,7 @@ class DataChange extends Base
|
|
|
$order=[];
|
|
|
$userCommon= \app\admin\common\User::getIns();
|
|
|
foreach ($array_diff as $key=>$iten){
|
|
|
- $order[$key] = $orderinfo[$key]?:"";
|
|
|
+ $order[$key] = $orderinfo[$key]??"";
|
|
|
if($param['type']==1 && $key=='supplierNo'){
|
|
|
$persion =$userCommon->handle("sInfo",["code"=>$iten]);
|
|
|
if(isset($persion['data'])&& !empty($persion['data'])){
|
|
@@ -67,7 +67,7 @@ class DataChange extends Base
|
|
|
}
|
|
|
|
|
|
public function list(){
|
|
|
- $param = $this->request->only(["code","type","status"],"post","trim");
|
|
|
+ $param = $this->request->only(["code"=>"","type"=>"","status"=>""],"post","trim");
|
|
|
$where=[];
|
|
|
$param['code']==''?: $where[]=["code","like","%{$param['code']}%"];
|
|
|
$param['type']==''?: $where[]=["type","=",$param['type']];
|