Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
scm_wms_outstore_service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
68c44461
authored
May 25, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加删除出库单服务
parent
86684503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
app/Http/Controllers/AdminOutstoreController.php
app/Http/Controllers/AdminOutstoreController.php
View file @
68c44461
...
...
@@ -8,6 +8,7 @@
namespace
App\Http\Controllers
;
use
App\Http\Model\Logic\CommonLogic
;
use
App\Http\Model\Logic\OutStoreLogic
;
use
App\Http\Model\Logic\PackCheckLogic
;
use
App\Http\Model\Logic\PalletLogic
;
use
App\Http\Model\Logic\PickTaskLogic
;
...
...
@@ -261,4 +262,19 @@ class AdminOutstoreController extends Controller
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment