Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周远喜
mes-ui
Commits
fb72273f
Commit
fb72273f
authored
Apr 10, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send
parent
85dcc6e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
371 additions
and
16 deletions
+371
-16
index.vue
pages/mesPlan/index.vue
+32
-16
send.vue
pages/mesPlan/send.vue
+339
-0
No files found.
pages/mesPlan/index.vue
View file @
fb72273f
...
...
@@ -41,7 +41,7 @@
<Button
type=
"primary"
@
click=
"addModal=true"
>
创建
</Button>
</
template
>
<
template
slot=
"batch"
>
<Button
type=
"primary"
class=
"mr10 ml10"
>
订单派发
</Button>
<Button
type=
"primary"
class=
"mr10 ml10"
@
click=
"openSendModal"
>
订单派发
</Button>
<Button
type=
"primary"
class=
"mr10 ml10"
>
批量删除
</Button>
</
template
>
</DataGrid>
...
...
@@ -61,6 +61,13 @@
<Button
type=
"primary"
@
click=
"orderSplitOk"
>
确定分解
</Button>
</div>
</Modal>
<Modal
v-model=
"sendModal"
title=
"订单派发"
width=
"1200"
>
<Send
:row=
"sendList"
ref=
"orderSplit"
/>
<div
slot=
"footer"
>
<Button
@
click=
"splitModal = false"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"orderSplitOk"
>
确定分解
</Button>
</div>
</Modal>
<Modal
v-model=
"deletelModal"
title=
"删除"
@
on-ok=
"removeOk"
@
on-cancel=
"cancel"
>
<p>
确定删除?
</p>
</Modal>
...
...
@@ -90,6 +97,7 @@ import Edit from "./edit";
import
Detail
from
"./detail"
;
import
Search
from
"./search"
;
import
Split
from
"./split"
;
import
Send
from
"./send"
;
export
default
{
name
:
"list"
,
components
:
{
...
...
@@ -97,7 +105,8 @@ export default {
Edit
,
Detail
,
Search
,
Split
Split
,
Send
},
data
()
{
return
{
...
...
@@ -113,7 +122,8 @@ export default {
detailModal
:
false
,
deletelModal
:
false
,
splitModal
:
false
,
ModalInfo
:
false
,
ModalInfo
:
false
,
sendModal
:
false
,
curId
:
0
,
id
:
"id"
,
columns
:
[
...
...
@@ -689,7 +699,8 @@ export default {
taskTypeList
:
[],
//任务类型
statusList
:
[],
//状态类型
rowData
:
{},
//编辑、查看的当前行数据
ModalInfoStaut
:
''
,
ModalInfoStaut
:
""
,
sendList
:[],
};
},
created
()
{
...
...
@@ -829,17 +840,21 @@ export default {
// }
// })
// } else {
this
.
$http
.
order
.
orderSplit
(
this
.
dataListRetrun
).
then
((
res
)
=>
{
if
(
res
.
result
)
{
this
.
$Message
.
success
(
'订单分解成功!'
)
this
.
easySearch
(
''
)
this
.
ModalOrderSplit
=
false
}
else
{
this
.
$Message
.
error
(
'订单分解失败!'
)
}
})
//}
this
.
ModalInfo
=
false
this
.
$http
.
order
.
orderSplit
(
this
.
dataListRetrun
).
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
$Message
.
success
(
"订单分解成功!"
);
this
.
easySearch
(
""
);
this
.
ModalOrderSplit
=
false
;
}
else
{
this
.
$Message
.
error
(
"订单分解失败!"
);
}
});
//}
this
.
ModalInfo
=
false
;
},
openSendModal
()
{
this
.
sendModal
=
true
;
this
.
rowData
=
sendList
;
},
remove
(
id
)
{
this
.
deletelModal
=
true
;
...
...
@@ -947,10 +962,11 @@ export default {
//new tree end
//list start
onSelect
(
a
,
b
)
{
alert
(
JSON
.
stringify
(
a
));
//
alert(JSON.stringify(a));
//批量选择
let
selectRows
=
a
;
this
.
arrPartPkId
=
[];
this
.
sendList
=
a
;
// selectRows.forEach(e => {
// this.arrPartPkId.push(e.part_task_pk);
// });
...
...
pages/mesPlan/send.vue
0 → 100644
View file @
fb72273f
This diff is collapsed.
Click to expand it.
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