wugg 5 months ago
parent
commit
5aac13cae8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/command/CheckInvoice.php

+ 1 - 1
app/admin/command/CheckInvoice.php

@@ -127,7 +127,7 @@ class CheckInvoice extends Command
         $buyerCode=CompanyInfo::getRegisterCode($pay->companyNo);
         $sellerCode=SupplierInfo::getRegisterCode($pay->supplierNo);
         PayInvoice::where(["hpNo"=>$invoice['hpNo'],"status"=>1])->update([
-            "status"=>11,
+            "status"=>$pay->pay_type==1?11:2,
             "invStatus"=>$this->taxStatus[$data['zfbz']]??0,
             "check_remark"=>'',
             "inv_fee"=>$inv_fee,