Commit 68c44461 by Joneq

增加删除出库单服务

parent 86684503
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Http\Model\Logic\CommonLogic; use App\Http\Model\Logic\CommonLogic;
use App\Http\Model\Logic\OutStoreLogic;
use App\Http\Model\Logic\PackCheckLogic; use App\Http\Model\Logic\PackCheckLogic;
use App\Http\Model\Logic\PalletLogic; use App\Http\Model\Logic\PalletLogic;
use App\Http\Model\Logic\PickTaskLogic; use App\Http\Model\Logic\PickTaskLogic;
...@@ -261,4 +262,19 @@ class AdminOutstoreController extends Controller ...@@ -261,4 +262,19 @@ class AdminOutstoreController extends Controller
return $this->apiReturn($returnData); return $this->apiReturn($returnData);
} }
//删除出库通知单
public function deleteOutStore($request)
{
$data = $request->all();
try{
CommonLogic::checkEmpty(['warehousing_sn'],$data);
$returnData = (new OutStoreLogic())->deleteOutStore($data);
}catch (\Exception $exception){
if (empty(self::$errCode))self::$errCode=101;
return $this->apiReturn($exception->getMessage());
}
return $this->apiReturn($returnData);
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment