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 @@
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form-item
label=
"订单号"
>
<div
class=
"content"
>
<el-input
v-model=
"
relateOrderId
"
></el-input>
<el-input
v-model=
"
params.relateOrderNo
"
></el-input>
</div>
</el-form-item>
<el-form-item>
...
...
@@ -49,6 +49,8 @@
</
template
>
</el-table-column>
</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-col>
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
...
...
@@ -78,9 +80,13 @@ export default {
data
()
{
return
{
orderDetails
:
{},
relateOrderId
:
''
,
list
:
[],
multipleSelection
:
[],
params
:{
page
:
1
,
rows
:
10
},
total
:
0
}
},
created
()
{
...
...
@@ -97,10 +103,11 @@ export default {
getUnassociatedOrder
()
{
getUnGuanlianOrderByOrderId
({
orderId
:
this
.
orderId
,
relateOrderId
:
this
.
relateOrderId
?
this
.
relateOrderId
:
0
...
this
.
params
}).
then
(
r
=>
{
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 @@
</el-table-column>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
{{
(
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
)
||
{
}
).
nickname
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作时间
"
>
...
...
@@ -75,6 +75,8 @@
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
pagination
v
-
show
=
"
total > 0
"
:
total
=
"
total
"
:
page
.
sync
=
"
params.page
"
:
limit
.
sync
=
"
params.rows
"
@
pagination
=
"
getList
"
/>
<
/div
>
<
/template
>
...
...
@@ -114,13 +116,16 @@ export default {
orderDetails
:{
}
,
params
:{
orderId
:
undefined
,
relateOrderId
:
undefined
relateOrderNo
:
undefined
,
page
:
1
,
rows
:
10
}
,
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[],
userList
:[]
userList
:[],
total
:
0
,
}
}
,
created
()
{
...
...
@@ -137,7 +142,8 @@ export default {
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
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 @@
<el-divider></el-divider>
<el-form
inline
label-width=
"100px"
>
<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>
<el-form-item><div
class=
"content"
>
<el-button
@
click=
"getList"
>
查询
</el-button>
...
...
@@ -75,6 +75,8 @@
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"params.page"
:limit.sync=
"params.rows"
@
pagination=
"getList"
/>
</div>
</template>
...
...
@@ -104,8 +106,10 @@ export default {
orderDetails
:{},
params
:{
orderId
:
undefined
,
mutualOrderId
:
undefined
page
:
1
,
rows
:
10
,
},
total
:
0
,
list
:[],
DICT_TYPE
,
getDictDatas
,
...
...
@@ -127,7 +131,8 @@ export default {
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
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 @@
<el-form
inline
label-width=
"85px"
label-position=
"left"
>
<el-form-item
label=
"订单号"
>
<div
class=
"content"
>
<el-input
v-model=
"
mutualOrderId
"
></el-input>
<el-input
v-model=
"
params.relateOrderNo
"
></el-input>
</div>
</el-form-item>
<el-form-item>
...
...
@@ -53,6 +53,8 @@
</
template
>
</el-table-column>
</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-col>
<el-button
type=
"primary"
@
click=
"batchJoin(multipleSelection.map(e => e.orderId))"
...
...
@@ -85,6 +87,11 @@ export default {
mutualOrderId
:
''
,
list
:
[],
multipleSelection
:
[],
total
:
0
,
params
:{
page
:
1
,
rows
:
10
,
}
}
},
created
()
{
...
...
@@ -101,11 +108,11 @@ export default {
getUnassociatedOrder
()
{
getUnGuanlianOrderByOrderId
({
orderId
:
this
.
orderId
,
mutualOrderId
:
this
.
mutualOrderId
?
this
.
mutualOrderId
:
0
...
this
.
params
,
}).
then
(
r
=>
{
if
(
r
.
code
===
0
)
{
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
this
.
list
=
r
.
data
.
list
;
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