wugg 6 月之前
父節點
當前提交
b6d5d957a6
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/cxinv/controller/Payinv.php
  2. 1 1
      app/cxinv/model/PayInvoice.php

+ 1 - 1
app/cxinv/controller/Payinv.php

@@ -311,7 +311,7 @@ class Payinv extends Base{
           $up=$info->save();
           if(!$up) throw new \Exception('审批失败');
           if($param['status']==2){
-              $invoice->status=9;
+              $invoice->status=10;
               $invoice->updatetime=date('Y-m-d H:i:s');
               $up2=$invoice->save();
               if(!$up2) throw new \Exception('审批失败');

+ 1 - 1
app/cxinv/model/PayInvoice.php

@@ -90,7 +90,7 @@ class PayInvoice extends Base
                  }
              }
 
-             if($change['status']==9){
+             if($change['status']==10){
                   InvoiceItem::refund($model->hpNo);
                    if (!$invocie->isEmpty()){
                         $invocie->status=2;