更新修复异常

This commit is contained in:
yaooo 2023-12-11 17:11:16 +08:00
parent e5fc0c2ffe
commit b1b44bb0f3
3 changed files with 9 additions and 3 deletions

View File

@ -32,6 +32,8 @@ class BidBiddingDecisionValidate extends BaseValidate
*/
protected $rule = [
'id' => 'require',
'project_id' => 'require',
'approve_id' => 'require',
'project_estimation' => 'require',
];
@ -66,7 +68,7 @@ class BidBiddingDecisionValidate extends BaseValidate
*/
public function sceneEdit()
{
return $this->only(['id']);
return $this->only(['id', 'project_id', 'approve_id', 'project_estimation']);
}

View File

@ -32,6 +32,9 @@ class BidBuyBiddingDocumentValidate extends BaseValidate
*/
protected $rule = [
'id' => 'require',
'project_id' => 'require',
'approve_id' => 'require',
'bid_document_no' => 'require',
];
@ -64,7 +67,7 @@ class BidBuyBiddingDocumentValidate extends BaseValidate
*/
public function sceneEdit()
{
return $this->only(['id']);
return $this->only(['id', 'project_id', 'approve_id', 'bid_document_no']);
}

View File

@ -32,6 +32,7 @@ class BidDocumentExaminationValidate extends BaseValidate
*/
protected $rule = [
'id' => 'require',
'approve_id' => 'require',
'buy_bidding_document_id' => 'require',
'product' => 'array|checkProduct',
];
@ -66,7 +67,7 @@ class BidDocumentExaminationValidate extends BaseValidate
*/
public function sceneEdit()
{
return $this->only(['id', 'buy_bidding_document_id', 'product']);
return $this->only(['id', 'approve_id', 'buy_bidding_document_id', 'product']);
}