新增汇款转出

This commit is contained in:
yaooo 2023-12-20 11:15:08 +08:00
parent 6fd6073de4
commit 6c47858b68
3 changed files with 2 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class AcceptanceBillLists extends BaseAdminDataLists implements ListsSearchInter
->leftJoin('project p','p.id = ab.project_id')
->leftJoin('contract c','c.id = ab.contract_id')
->leftJoin('custom ct','ct.id = ab.customer_id')
->field('ap.*, d.name as dept_name, o.name as org_name, , p.name as project_name, c.contract_code, c.contract_name')
->field('ap.*, d.name as dept_name, o.name as org_name, p.name as project_name, c.contract_code, c.contract_name')
->limit($this->limitOffset, $this->limitLength)
->order(['ap.id' => 'desc'])
->select()->each(function($item, $key){

View File

@ -62,7 +62,7 @@ class TransferBillLists extends BaseAdminDataLists implements ListsSearchInterfa
->leftJoin('procurement_contract pc','pc.id = tb.procurement_contract_id')
->leftJoin('project p','p.id = pc.project_id')
->leftJoin('acceptance_bill ab','ab.id = tb.acceptance_bill_id')
->field('tb.*, d.name as dept_name, o.name as org_name, , p.name as project_name, pc.contract_no, pc.contract_name, ab.receipt_date, ab.bill_sn, ab.bill_type, ab.draft_acceptance_bank, ab.bill_due_date')
->field('tb.*, d.name as dept_name, o.name as org_name, p.name as project_name, pc.contract_no, pc.contract_name, ab.receipt_date, ab.bill_sn, ab.bill_type, ab.draft_acceptance_bank, ab.bill_due_date')
->limit($this->limitOffset, $this->limitLength)
->order(['tb.id' => 'desc'])
->select()->each(function($item, $key){

View File

@ -119,7 +119,6 @@ class TransferBillLogic extends BaseLogic
*/
public static function detail($params): array
{
return TransferBill::findOrEmpty($params['id'])->toArray();
$transferBill = TransferBill::findOrEmpty($params['id']);
$transferBill->org;
$transferBill->dept;