Browse Source

老版app收货设置修改

eric2h 3 năm trước cách đây
mục cha
commit
cebe0d6d7d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/Http/Controllers/HandInStorageController.php

+ 2 - 1
app/Http/Controllers/HandInStorageController.php

@@ -12,6 +12,7 @@ use Illuminate\Http\Request;
 use Illuminate\Support\Facades\Auth;
 use Illuminate\Support\Facades\Cache;
 use Illuminate\Support\Facades\Log;
+use PhpParser\Node\Stmt\DeclareDeclare;
 
 class HandInStorageController extends Controller
 {
@@ -223,7 +224,7 @@ class HandInStorageController extends Controller
         $checkData=$request->input('checkData')[0];
 
         //九干仓禁止使用当前app上架
-        $res=$this->screenWarehouseAndContrast($checkData['customerid']);
+        $res=$this->screenWarehouseAndContrast($checkData['customerid'],$checkData['docno']);
         if ($res)$this->error('禁止使用当前app上架,请换用新版app上架!');
 
         /** @var HandInStorageService $handInStorageService  */