|
@@ -983,6 +983,10 @@ class Payment extends BaseController
|
|
|
}
|
|
|
}
|
|
|
$list = Db::name("cgd_info")->where($condition)->order('createdTime desc')->select()->toArray();
|
|
|
+ $payArr=Db::name('supplier_info')->whereIn('code',array_unique(array_column($list,'supplierNo')))->column('pay_method','code');
|
|
|
+ foreach ($list as &$value){
|
|
|
+ $value['pay_type']=$payArr[$value['supplierNo']]??'';
|
|
|
+ }
|
|
|
return app_show(0,"获取成功",$list);
|
|
|
}
|
|
|
//采购单信息
|