更新修复异常
This commit is contained in:
parent
e5fc0c2ffe
commit
b1b44bb0f3
@ -32,6 +32,8 @@ class BidBiddingDecisionValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
protected $rule = [
|
protected $rule = [
|
||||||
'id' => 'require',
|
'id' => 'require',
|
||||||
|
'project_id' => 'require',
|
||||||
|
'approve_id' => 'require',
|
||||||
'project_estimation' => 'require',
|
'project_estimation' => 'require',
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -66,7 +68,7 @@ class BidBiddingDecisionValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
public function sceneEdit()
|
public function sceneEdit()
|
||||||
{
|
{
|
||||||
return $this->only(['id']);
|
return $this->only(['id', 'project_id', 'approve_id', 'project_estimation']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,6 +32,9 @@ class BidBuyBiddingDocumentValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
protected $rule = [
|
protected $rule = [
|
||||||
'id' => 'require',
|
'id' => 'require',
|
||||||
|
'project_id' => 'require',
|
||||||
|
'approve_id' => 'require',
|
||||||
|
'bid_document_no' => 'require',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@ -64,7 +67,7 @@ class BidBuyBiddingDocumentValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
public function sceneEdit()
|
public function sceneEdit()
|
||||||
{
|
{
|
||||||
return $this->only(['id']);
|
return $this->only(['id', 'project_id', 'approve_id', 'bid_document_no']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ class BidDocumentExaminationValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
protected $rule = [
|
protected $rule = [
|
||||||
'id' => 'require',
|
'id' => 'require',
|
||||||
|
'approve_id' => 'require',
|
||||||
'buy_bidding_document_id' => 'require',
|
'buy_bidding_document_id' => 'require',
|
||||||
'product' => 'array|checkProduct',
|
'product' => 'array|checkProduct',
|
||||||
];
|
];
|
||||||
@ -66,7 +67,7 @@ class BidDocumentExaminationValidate extends BaseValidate
|
|||||||
*/
|
*/
|
||||||
public function sceneEdit()
|
public function sceneEdit()
|
||||||
{
|
{
|
||||||
return $this->only(['id', 'buy_bidding_document_id', 'product']);
|
return $this->only(['id', 'approve_id', 'buy_bidding_document_id', 'product']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user