Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
59f0f122
Commit
59f0f122
authored
Jun 07, 2021
by
bourn-office
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix err message
parent
14d70e29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
client/actions/replenish.js
+4
-0
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
+3
-0
No files found.
client/actions/replenish.js
View file @
59f0f122
...
@@ -3,6 +3,7 @@ import actionType from '../actiontype/replenish'
...
@@ -3,6 +3,7 @@ import actionType from '../actiontype/replenish'
import
{
getTaskList
}
from
"./common"
;
import
{
getTaskList
}
from
"./common"
;
import
{
saveProductInfo
}
from
"./barcodeCommon"
;
import
{
saveProductInfo
}
from
"./barcodeCommon"
;
import
{
finishBoxRecovery
}
from
"./recovery"
;
import
{
finishBoxRecovery
}
from
"./recovery"
;
import
{
message
}
from
'antd'
;
const
domain
=
ENV
.
domain
;
const
domain
=
ENV
.
domain
;
let
myHeaders
=
new
Headers
({
let
myHeaders
=
new
Headers
({
...
@@ -50,7 +51,10 @@ const finishReplenish = (info,source)=>{
...
@@ -50,7 +51,10 @@ const finishReplenish = (info,source)=>{
dispatch
(
getTaskList
(
info
));
dispatch
(
getTaskList
(
info
));
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
UTILPATH
.
myLogger
.
error
(
`trigger_ck_task_sku error
${
e
}
`
);
UTILPATH
.
myLogger
.
error
(
`trigger_ck_task_sku error
${
e
}
`
);
message
.
error
(
`操作失败,
${
JSON
.
stringify
(
e
)}
`
);
// dispatch(finishReplenish(info,source))
// dispatch(finishReplenish(info,source))
}).
catch
(
e
=>
{
message
.
error
(
`操作失败,
${
JSON
.
stringify
(
e
)}
`
);
})
})
}
}
}
}
...
...
client/components/ReplenishComponent/ReplenishSkuPage/ReplenishSkuPage.jsx
View file @
59f0f122
...
@@ -2,6 +2,7 @@ import React from 'react';
...
@@ -2,6 +2,7 @@ import React from 'react';
import
Button
from
'../../CommonComponent/ButtonComponent/ButtonComponent'
import
Button
from
'../../CommonComponent/ButtonComponent/ButtonComponent'
import
PopModel
from
'../../CommonComponent/PopupComponent/PopupChildComponent'
import
PopModel
from
'../../CommonComponent/PopupComponent/PopupChildComponent'
import
SkuInfoComponent
from
'../../CommonComponent/SkuInfoComponent/SkuInfoComponent'
import
SkuInfoComponent
from
'../../CommonComponent/SkuInfoComponent/SkuInfoComponent'
import
{
message
}
from
'antd'
;
require
(
'./index.css'
);
require
(
'./index.css'
);
const
questionType
=
{
const
questionType
=
{
...
@@ -45,6 +46,8 @@ export default class ReplenishSkuPage extends React.Component{
...
@@ -45,6 +46,8 @@ export default class ReplenishSkuPage extends React.Component{
},()
=>
{
},()
=>
{
this
.
props
.
finishBoxRecovery
().
then
(()
=>
{
this
.
props
.
finishBoxRecovery
().
then
(()
=>
{
this
.
continueScan
()
this
.
continueScan
()
}).
catch
(()
=>
{
message
.
error
(
'操作失败,请重试'
);
});
});
})
})
...
...
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