更新修复标书
This commit is contained in:
parent
99eb6964c9
commit
6da7a10f71
@ -34,5 +34,15 @@ class BidBuyBiddingDocument extends BaseModel
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(\app\common\model\project\Project::class, 'project_id');
|
return $this->belongsTo(\app\common\model\project\Project::class, 'project_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getBidDateAttr($value)
|
||||||
|
{
|
||||||
|
return empty($value) ? '' : date('Y-m-d H:i:s', $value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getBuyDateAttr($value)
|
||||||
|
{
|
||||||
|
return empty($value) ? '' : date('Y-m-d H:i:s', $value);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -34,4 +34,5 @@ class BidDocumentExamination extends BaseModel
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(\app\common\model\bid\BidBuyBiddingDocument::class, 'buy_bidding_document_id');
|
return $this->belongsTo(\app\common\model\bid\BidBuyBiddingDocument::class, 'buy_bidding_document_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user