|
|
@@ -270,7 +270,7 @@ class AssetLeaseLists extends BaseAdminDataLists implements ListsSearchInterface
|
|
|
$assetLeaseInfo = AssetLeaseInfo::where($where)->where($tswhere)->findOrEmpty();
|
|
|
|
|
|
if (!$assetLeaseInfo->isEmpty()) {
|
|
|
- return ['code' => 0, 'msg' => '租赁期内有未到期的租赁信息!'];
|
|
|
+ return ['code' => 0, 'msg' => '租赁期内有未到期的租赁信息!','data'=>$assetLeaseInfo];
|
|
|
}
|
|
|
|
|
|
AssetLeaseInfo::create([
|