wugg 8 months ago
parent
commit
11f731631f
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/admin/controller/Activity.php
  2. 1 0
      app/admin/controller/Goodup.php

+ 1 - 0
app/admin/controller/Activity.php

@@ -295,6 +295,7 @@ class Activity extends Base
         if($goodTax->isEmpty())$this->error("商品进项税目未设置");
         $goodTax->out_tax_id=$param['out_tax_id'];
         $goodTax->out_tax=$param['out_tax'];
+        $goodTax->status=2;
         $goodTax->save();
         return app_show(0,"设置成功");
     }

+ 1 - 0
app/admin/controller/Goodup.php

@@ -1401,6 +1401,7 @@ class Goodup extends Base
                 if($out_tax_id>0){
                     $goodTax->out_tax_id=$out_tax_id;
                     $goodTax->out_tax=$out_tax;
+                    $goodTax->status=2;
                     $goodTax->save();
                 }
                 //修改状态,添加待办