wugg 2 years ago
parent
commit
fb318a36bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Allot.php

+ 1 - 1
app/admin/controller/Allot.php

@@ -738,7 +738,7 @@ public function vesio(){
                 $stock['total_stock']=$stock['wait_out_stock']+$stock['usable_stock'];
                 $dr = Db::name('good_stock')->update($stock);
                 if ($dr==false) {
-                    Db::rollback();p
+                    Db::rollback();
                     return error_show(1004, "验货更新失败");
                 }
                 $stoup =GoodStockInfo::bnStock($stock['id'],$p['bnCode'],$['allot_num'],0,$p['origin_price']);