From ba74305974b4e9155f611efb5728c171db4d975e Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 9 Oct 2020 16:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E6=80=BBbug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/AggregateRelationController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/AggregateRelationController.class.php b/Application/Admin/Controller/AggregateRelationController.class.php index 0e5fc784f..d24920d9f 100644 --- a/Application/Admin/Controller/AggregateRelationController.class.php +++ b/Application/Admin/Controller/AggregateRelationController.class.php @@ -697,9 +697,9 @@ class AggregateRelationController extends AdminController //己方公司 $companyInfo = M("CompanyInfo","tab_")->field("id,partner company_name,partner,link_man,link_phone,address,company_tax_no,payee_name,bank_account,opening_bank,invoice_item,invoice_type,register_phone,register_address")->where("status='1' AND id='{$id}'")->find(); if (strstr($companyInfo['invoice_type'],'专')) { - $companyInfo['invoice_type'] = "专票"; + $companyInfo['invoice_type'] = "1"; } else if (strstr($companyInfo['invoice_type'],'普')) { - $companyInfo['invoice_type'] = "普票"; + $companyInfo['invoice_type'] = "2"; } } if($type == 1){