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
3ba9ef37
Commit
3ba9ef37
authored
May 18, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release' into release
parents
f21537c2
4303eceb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
117 additions
and
23 deletions
+117
-23
request.js
src/utils/request.js
+1
-0
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+11
-6
supplementOrder.vue
.../ecw/box/shippingSea/nodePage/cabinet/supplementOrder.vue
+83
-5
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+11
-6
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+11
-6
No files found.
src/utils/request.js
View file @
3ba9ef37
...
@@ -87,6 +87,7 @@ service.interceptors.response.use(res => {
...
@@ -87,6 +87,7 @@ service.interceptors.response.use(res => {
return
Promise
.
reject
(
'
无效的会话,或者会话已过期,请重新登录。
'
)
return
Promise
.
reject
(
'
无效的会话,或者会话已过期,请重新登录。
'
)
}
else
if
(
code
===
500
)
{
}
else
if
(
code
===
500
)
{
Message
({
Message
({
dangerouslyUseHTMLString
:
true
,
message
:
msg
,
message
:
msg
,
type
:
'
error
'
type
:
'
error
'
})
})
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
3ba9ef37
...
@@ -538,7 +538,10 @@ export default {
...
@@ -538,7 +538,10 @@ export default {
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
dangerouslyUseHTMLString
:
true
,
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定移出
'
,
cancelButtonText
:
'
仅移出当前订单
'
})
})
.
then
((
_
)
=>
{
.
then
((
_
)
=>
{
remove
({
...
params
,
deleteType
:
2
}).
then
((
res
)
=>
{
remove
({
...
params
,
deleteType
:
2
}).
then
((
res
)
=>
{
...
@@ -547,12 +550,14 @@ export default {
...
@@ -547,12 +550,14 @@ export default {
});
});
});
});
})
})
.
catch
((
_
)
=>
{
.
catch
(
action
=>
{
remove
({
...
params
,
deleteType
:
1
}).
then
((
res
)
=>
{
if
(
action
==
'
cancel
'
){
serviceMsg
(
res
,
this
).
then
(()
=>
{
remove
({
...
params
,
deleteType
:
1
}).
then
((
res
)
=>
{
this
.
getLoadSecGoodsList
();
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getLoadSecGoodsList
();
});
});
});
}
);
}
});
});
}
}
});
});
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/supplementOrder.vue
View file @
3ba9ef37
...
@@ -246,6 +246,31 @@ export default {
...
@@ -246,6 +246,31 @@ export default {
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getSecGoods
();
this
.
getSecGoods
();
});
});
}).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
dangerouslyUseHTMLString
:
true
,
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定移出
'
,
cancelButtonText
:
'
仅移出当前订单
'
})
.
then
((
_
)
=>
{
remove
({
...
params
,
deleteType
:
2
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getSecGoods
();
});
});
})
.
catch
(
action
=>
{
if
(
action
==
'
cancel
'
){
remove
({
...
params
,
deleteType
:
1
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getSecGoods
();
});
});
}
});
}
});
});
},
},
/** 预装 */
/** 预装 */
...
@@ -262,11 +287,64 @@ export default {
...
@@ -262,11 +287,64 @@ export default {
}
else
{
}
else
{
params
.
orderItemIdList
=
[
item
.
orderItemId
];
params
.
orderItemIdList
=
[
item
.
orderItemId
];
}
}
createGoods
(
params
).
then
((
res
)
=>
{
createGoods
(
params
)
serviceMsg
(
res
,
this
).
then
(()
=>
{
.
then
((
res
)
=>
{
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
((
_
)
=>
{
this
.
queryAllData
();
});
}
else
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
});
}
})
.
catch
((
res
)
=>
{
if
(
res
.
code
===
555
)
{
const
msg
=
res
.
msg
&&
res
.
msg
.
replaceAll
(
"
,
"
,
"
,
"
);
this
.
$confirm
(
msg
,
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
})
.
then
((
_
)
=>
{
createGoods
({
...
params
,
relationStatus
:
1
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
});
});
})
.
catch
((
_
)
=>
{
this
.
queryAllData
();
});
}
if
(
res
.
code
===
566
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起预装?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
})
.
then
((
_
)
=>
{
createGoods
({
...
params
,
relationStatus
:
2
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
});
});
})
.
catch
((
_
)
=>
{
this
.
queryAllData
();
});
}
});
},
},
/* 增加部分 */
/* 增加部分 */
addPart
()
{
addPart
()
{
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
3ba9ef37
...
@@ -747,7 +747,10 @@ export default {
...
@@ -747,7 +747,10 @@ export default {
}
).
catch
((
res
)
=>
{
}
).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
dangerouslyUseHTMLString
:
true
,
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定移出
'
,
cancelButtonText
:
'
仅移出当前订单
'
}
)
}
)
.
then
((
_
)
=>
{
.
then
((
_
)
=>
{
deleteGoods
({
...
param
,
deleteType
:
2
}
).
then
((
res
)
=>
{
deleteGoods
({
...
param
,
deleteType
:
2
}
).
then
((
res
)
=>
{
...
@@ -756,12 +759,14 @@ export default {
...
@@ -756,12 +759,14 @@ export default {
}
);
}
);
}
);
}
);
}
)
}
)
.
catch
((
_
)
=>
{
.
catch
(
action
=>
{
deleteGoods
({
...
param
,
deleteType
:
1
}
).
then
((
res
)
=>
{
if
(
action
==
'
cancel
'
){
serviceMsg
(
res
,
this
).
then
(()
=>
{
deleteGoods
({
...
param
,
deleteType
:
1
}
).
then
((
res
)
=>
{
this
.
queryAllData
();
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
);
}
);
}
);
}
);
}
}
);
}
);
}
}
}
);
}
);
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
3ba9ef37
...
@@ -251,7 +251,10 @@ export default {
...
@@ -251,7 +251,10 @@ export default {
}).
catch
((
res
)
=>
{
}).
catch
((
res
)
=>
{
if
(
res
.
code
===
666
)
{
if
(
res
.
code
===
666
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起移出?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
dangerouslyUseHTMLString
:
true
,
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定移出
'
,
cancelButtonText
:
'
仅移出当前订单
'
})
})
.
then
((
_
)
=>
{
.
then
((
_
)
=>
{
tallyRemove
({
...
param
,
deleteType
:
2
}).
then
((
res
)
=>
{
tallyRemove
({
...
param
,
deleteType
:
2
}).
then
((
res
)
=>
{
...
@@ -260,12 +263,14 @@ export default {
...
@@ -260,12 +263,14 @@ export default {
});
});
});
});
})
})
.
catch
((
_
)
=>
{
.
catch
(
action
=>
{
tallyRemove
({
...
param
,
deleteType
:
1
}).
then
((
res
)
=>
{
if
(
action
==
'
cancel
'
){
serviceMsg
(
res
,
this
).
then
(()
=>
{
tallyRemove
({
...
param
,
deleteType
:
1
}).
then
((
res
)
=>
{
this
.
getList
();
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
getList
();
});
});
});
}
);
}
});
});
}
}
});
});
...
...
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