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
539c69a7
Commit
539c69a7
authored
Sep 24, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
互斥关联订单添加分页
parent
fd65df8b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
16 deletions
+41
-16
addAssociatedOrder.vue
src/views/ecw/order/addAssociatedOrder.vue
+12
-5
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+10
-4
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+8
-3
notMutexOrder.vue
src/views/ecw/order/notMutexOrder.vue
+11
-4
No files found.
src/views/ecw/order/addAssociatedOrder.vue
View file @
539c69a7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form-item
label=
"订单号"
>
<el-form-item
label=
"订单号"
>
<div
class=
"content"
>
<div
class=
"content"
>
<el-input
v-model=
"
relateOrderId
"
></el-input>
<el-input
v-model=
"
params.relateOrderNo
"
></el-input>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -49,6 +49,8 @@
...
@@ -49,6 +49,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"params.page"
:limit.sync=
"params.rows"
@
pagination=
"getUnassociatedOrder"
/>
<el-row
style=
"margin-top: 40px"
>
<el-row
style=
"margin-top: 40px"
>
<el-col>
<el-col>
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
...
@@ -78,9 +80,13 @@ export default {
...
@@ -78,9 +80,13 @@ export default {
data
()
{
data
()
{
return
{
return
{
orderDetails
:
{},
orderDetails
:
{},
relateOrderId
:
''
,
list
:
[],
list
:
[],
multipleSelection
:
[],
multipleSelection
:
[],
params
:{
page
:
1
,
rows
:
10
},
total
:
0
}
}
},
},
created
()
{
created
()
{
...
@@ -97,10 +103,11 @@ export default {
...
@@ -97,10 +103,11 @@ export default {
getUnassociatedOrder
()
{
getUnassociatedOrder
()
{
getUnGuanlianOrderByOrderId
({
getUnGuanlianOrderByOrderId
({
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
relateOrderId
:
this
.
relateOrderId
?
this
.
relateOrderId
:
0
...
this
.
params
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
list
=
r
.
data
this
.
list
=
r
.
data
.
list
;
this
.
total
=
r
.
data
.
total
;
}
}
})
})
},
},
...
...
src/views/ecw/order/associatedOrder.vue
View file @
539c69a7
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
{{
(
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
)
||
{
}
).
nickname
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作时间
"
>
<
el
-
table
-
column
label
=
"
操作时间
"
>
...
@@ -75,6 +75,8 @@
...
@@ -75,6 +75,8 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
pagination
v
-
show
=
"
total > 0
"
:
total
=
"
total
"
:
page
.
sync
=
"
params.page
"
:
limit
.
sync
=
"
params.rows
"
@
pagination
=
"
getList
"
/>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
@@ -114,13 +116,16 @@ export default {
...
@@ -114,13 +116,16 @@ export default {
orderDetails
:{
}
,
orderDetails
:{
}
,
params
:{
params
:{
orderId
:
undefined
,
orderId
:
undefined
,
relateOrderId
:
undefined
relateOrderNo
:
undefined
,
page
:
1
,
rows
:
10
}
,
}
,
list
:[],
list
:[],
DICT_TYPE
,
DICT_TYPE
,
getDictDatas
,
getDictDatas
,
multipleSelection
:[],
multipleSelection
:[],
userList
:[]
userList
:[],
total
:
0
,
}
}
}
,
}
,
created
()
{
created
()
{
...
@@ -137,7 +142,8 @@ export default {
...
@@ -137,7 +142,8 @@ export default {
getList
(){
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
this
.
list
=
r
.
data
.
list
;
this
.
total
=
r
.
data
.
total
;
}
}
}
)
}
)
}
,
}
,
...
...
src/views/ecw/order/mutexOrder.vue
View file @
539c69a7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-divider></el-divider>
<el-divider></el-divider>
<el-form
inline
label-width=
"100px"
>
<el-form
inline
label-width=
"100px"
>
<el-form-item
label=
"订单号"
><div
class=
"content"
>
<el-form-item
label=
"订单号"
><div
class=
"content"
>
<el-input
v-model=
"params.relateOrder
Id
"
></el-input>
<el-input
v-model=
"params.relateOrder
No
"
></el-input>
</div></el-form-item>
</div></el-form-item>
<el-form-item><div
class=
"content"
>
<el-form-item><div
class=
"content"
>
<el-button
@
click=
"getList"
>
查询
</el-button>
<el-button
@
click=
"getList"
>
查询
</el-button>
...
@@ -75,6 +75,8 @@
...
@@ -75,6 +75,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"params.page"
:limit.sync=
"params.rows"
@
pagination=
"getList"
/>
</div>
</div>
</template>
</template>
...
@@ -104,8 +106,10 @@ export default {
...
@@ -104,8 +106,10 @@ export default {
orderDetails
:{},
orderDetails
:{},
params
:{
params
:{
orderId
:
undefined
,
orderId
:
undefined
,
mutualOrderId
:
undefined
page
:
1
,
rows
:
10
,
},
},
total
:
0
,
list
:[],
list
:[],
DICT_TYPE
,
DICT_TYPE
,
getDictDatas
,
getDictDatas
,
...
@@ -127,7 +131,8 @@ export default {
...
@@ -127,7 +131,8 @@ export default {
getList
(){
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
this
.
list
=
r
.
data
.
list
;
this
.
total
=
r
.
data
.
total
;
}
}
})
})
},
},
...
...
src/views/ecw/order/notMutexOrder.vue
View file @
539c69a7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form-item
label=
"订单号"
>
<el-form-item
label=
"订单号"
>
<div
class=
"content"
>
<div
class=
"content"
>
<el-input
v-model=
"
mutualOrderId
"
></el-input>
<el-input
v-model=
"
params.relateOrderNo
"
></el-input>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -53,6 +53,8 @@
...
@@ -53,6 +53,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"params.page"
:limit.sync=
"params.rows"
@
pagination=
"getUnassociatedOrder"
/>
<el-row
style=
"margin-top: 40px"
>
<el-row
style=
"margin-top: 40px"
>
<el-col>
<el-col>
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
...
@@ -85,6 +87,11 @@ export default {
...
@@ -85,6 +87,11 @@ export default {
mutualOrderId
:
''
,
mutualOrderId
:
''
,
list
:
[],
list
:
[],
multipleSelection
:
[],
multipleSelection
:
[],
total
:
0
,
params
:{
page
:
1
,
rows
:
10
,
}
}
}
},
},
created
()
{
created
()
{
...
@@ -101,11 +108,11 @@ export default {
...
@@ -101,11 +108,11 @@ export default {
getUnassociatedOrder
()
{
getUnassociatedOrder
()
{
getUnGuanlianOrderByOrderId
({
getUnGuanlianOrderByOrderId
({
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
mutualOrderId
:
this
.
mutualOrderId
?
this
.
mutualOrderId
:
0
...
this
.
params
,
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
list
=
r
.
data
this
.
list
=
r
.
data
.
list
;
console
.
log
(
this
.
list
[
0
])
this
.
total
=
r
.
data
.
total
;
}
}
})
})
},
},
...
...
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