Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
320f0d8c
Commit
320f0d8c
authored
Oct 29, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海运关联单预装开发
parent
2f2b7dc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
3 deletions
+35
-3
boxSea.js
src/api/ecw/boxSea.js
+15
-0
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+20
-3
No files found.
src/api/ecw/boxSea.js
View file @
320f0d8c
...
...
@@ -530,6 +530,21 @@ export function createGoods(data) {
});
}
/**
* 预装关联订单
*
* @export
* @param {*} data
* @return {*}
*/
export
function
loadRelationOrder
(
data
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/loadRelationOrder
"
,
method
:
"
post
"
,
data
,
});
}
/***************************** 预装 end **********************************/
/***************************** 装柜 start **********************************/
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
320f0d8c
...
...
@@ -318,6 +318,7 @@ import {
changeSection
,
approvalCreate
,
approvalCancel
,
loadRelationOrder
,
}
from
"
@/api/ecw/boxSea
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
...
...
@@ -583,9 +584,25 @@ export default {
}
;
createGoods
(
params
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
)
const
{
data
}
=
res
;
if
(
data
.
relationMsg
)
{
const
msg
=
data
.
relationMsg
.
replaceAll
(
'
,
'
,
"
,
"
);
this
.
$confirm
(
msg
,
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
}
)
.
then
((
_
)
=>
{
loadRelationOrder
(
data
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
)
}
)
}
)
.
catch
((
_
)
=>
{
}
);
}
else
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
)
}
}
).
catch
((
res
)
=>
{
if
(
res
.
code
===
555
)
{
const
msg
=
res
.
msg
&&
res
.
msg
.
replaceAll
(
'
,
'
,
"
,
"
);
...
...
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