From a98232c90e9968044f058bd5b9a62694d132aab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Mon, 23 Jun 2025 16:20:13 +0800 Subject: [PATCH] bill --- common/libraries/receiver/Order_datas_entity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/libraries/receiver/Order_datas_entity.php b/common/libraries/receiver/Order_datas_entity.php index 95de36d1..a978510a 100644 --- a/common/libraries/receiver/Order_datas_entity.php +++ b/common/libraries/receiver/Order_datas_entity.php @@ -82,10 +82,10 @@ class Order_datas_entity if ($val['Name'] == '开票日期') { $bill_time = $val['Value']; } - if ($val['Name'] == '发票代码') { + if ($val['Name'] == '发票代码' && $val['Value']) { $bill_code = $val['Value']; } - if ($val['Name'] == '发票号码') { + if ($val['Name'] == '发票号码' && $val['Value']) { $bill_code = $val['Value']; } if ($val['Name'] == '购买方名称'){