更新合同管理

This commit is contained in:
yaooo 2023-12-12 11:51:26 +08:00
parent c65186bab0
commit 812ac918af
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class ContractLists extends BaseAdminDataLists implements ListsSearchInterface
public function lists(): array
{
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)
->order(['approve_id' => 'desc'])
->select()

View File

@ -55,7 +55,7 @@ class ContractNegotiationLists extends BaseAdminDataLists implements ListsSearch
public function lists(): array
{
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)
->order(['id' => 'desc'])
->select()