更新合同管理
This commit is contained in:
parent
c65186bab0
commit
812ac918af
@ -55,7 +55,7 @@ class ContractLists extends BaseAdminDataLists implements ListsSearchInterface
|
|||||||
public function lists(): array
|
public function lists(): array
|
||||||
{
|
{
|
||||||
return Contract::where($this->searchWhere)
|
return Contract::where($this->searchWhere)
|
||||||
->field(['approve_id', 'customer_id', 'buy_bidding_document_id', 'contract_name', 'contract_code', 'contract_type', 'contract_pricing_method', 'party_a', 'party_b', 'amount', 'business_director', 'contract_status', 'expire', 'contract_date'])
|
->field(['*'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['approve_id' => 'desc'])
|
->order(['approve_id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
|
@ -55,7 +55,7 @@ class ContractNegotiationLists extends BaseAdminDataLists implements ListsSearch
|
|||||||
public function lists(): array
|
public function lists(): array
|
||||||
{
|
{
|
||||||
return ContractNegotiation::where($this->searchWhere)
|
return ContractNegotiation::where($this->searchWhere)
|
||||||
->field(['id', 'contract_id', 'approve_id', 'negotiation_name', 'negotiation_no', 'negotiation_amount', 'negotiation_type', 'labor_costs', 'material_costs', 'warranty_amount', 'Warranty_expire_date', 'profit', 'profit_rate'])
|
->field(['*'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user