From c5ef626337c8bb015e70cd51329d70a3b762f43a Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 15 Jan 2024 09:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/project/ProjectEstimate.php | 1 + app/common/model/quotation/Quotation.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/common/model/project/ProjectEstimate.php b/app/common/model/project/ProjectEstimate.php index 05cc9bf4f..e6499045e 100644 --- a/app/common/model/project/ProjectEstimate.php +++ b/app/common/model/project/ProjectEstimate.php @@ -39,6 +39,7 @@ class ProjectEstimate extends BaseModel public function getInvoiceTypeTextAttr($value,$data) { $dictData = DictData::where('type_value','invoice_type')->column('name','value'); + $dictData[0]=''; return $dictData[$data['invoice_type']]; } diff --git a/app/common/model/quotation/Quotation.php b/app/common/model/quotation/Quotation.php index a35365f0d..78c796c20 100644 --- a/app/common/model/quotation/Quotation.php +++ b/app/common/model/quotation/Quotation.php @@ -38,6 +38,7 @@ class Quotation extends BaseModel public function getInvoiceTypeTextAttr($value,$data){ $dictData = DictData::where('type_value','invoice_type')->column('name','value'); + $dictData[0]=''; return $dictData[$data['invoice_type']]; }