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
83ea9dca
Commit
83ea9dca
authored
May 04, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出货管理-预装-关联单
parent
b3efc42b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
8 deletions
+32
-8
boxSea.js
src/api/ecw/boxSea.js
+16
-1
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+16
-7
No files found.
src/api/ecw/boxSea.js
View file @
83ea9dca
...
...
@@ -536,12 +536,27 @@ export function deleteGoods(id) {
*/
export
function
createGoods
(
data
)
{
return
request
({
url
:
"
/ecw/box-preload-goods/create
"
,
url
:
"
/ecw/box-preload-goods/
v2/
create
"
,
method
:
"
post
"
,
data
,
});
}
/**
* 获得订单所有关联列表
*
* @export
* @param {*} params
* @return {*}
*/
export
function
getAllRelateOrderList
(
params
)
{
return
request
({
url
:
"
/order/guanlian/getAllRelateOrderList
"
,
method
:
"
get
"
,
params
,
});
}
/**
* 预装关联订单
*
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
83ea9dca
...
...
@@ -319,9 +319,15 @@
<
/el-row
>
<!--
关联订单弹窗
-->
<
el
-
dialog
:
title
=
"
relationOrderListDialog.title
"
:
visible
.
sync
=
"
relationOrderListDialog.visible
"
width
=
"
30%
"
append
-
to
-
body
>
<
el
-
row
v
-
for
=
"
(item,index) in relationOrderListDialog.data
"
:
key
=
"
item.id
"
>
{{
index
+
1
}}
.
{{
item
.
orderNo
}}
<
/el-row
>
<
el
-
tree
:
data
=
"
relationOrderListDialog.data
"
node
-
key
=
"
id
"
default
-
expand
-
all
:
expand
-
on
-
click
-
node
=
"
false
"
>
<
span
class
=
"
custom-tree-node
"
slot
-
scope
=
"
{ node, data
}
"
>
<
span
>
{{
data
.
order
.
orderNo
}}
<
/span
>
<
/span
>
<
/el-tree
>
<
el
-
row
style
=
"
margin-top: 10px;text-align: center;
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
/el-row
>
...
...
@@ -343,6 +349,7 @@ import {
approvalCreate
,
approvalCancel
,
loadRelationOrder
,
getAllRelateOrderList
}
from
"
@/api/ecw/boxSea
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
...
...
@@ -516,10 +523,12 @@ export default {
}
,
/**查看关联订单 */
getRelationOrder
(
item
)
{
console
.
log
(
item
)
this
.
relationOrderListDialog
.
title
=
item
.
orderNo
+
'
关联订单
'
this
.
relationOrderListDialog
.
visible
=
true
this
.
relationOrderListDialog
.
data
=
item
.
relateOrderList
getAllRelateOrderList
({
orderId
:
item
.
orderId
,
orderNo
:
item
.
orderNo
}
).
then
(
res
=>
{
this
.
relationOrderListDialog
.
title
=
item
.
orderNo
+
'
关联订单
'
this
.
relationOrderListDialog
.
visible
=
true
this
.
relationOrderListDialog
.
data
=
[
res
.
data
]
}
)
}
,
/** 搜索按钮操作 */
handleQuery
(
type
)
{
...
...
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