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
089e420c
Commit
089e420c
authored
Jun 10, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorder ing....
parent
e8139db6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
13 deletions
+32
-13
index.vue
pages/produce/reorder/index.vue
+32
-13
No files found.
pages/produce/reorder/index.vue
View file @
089e420c
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import "../execute/execute.less";
@import "../execute/execute.less";
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
<DataGrid
<DataGrid
...
@@ -35,10 +35,21 @@
...
@@ -35,10 +35,21 @@
<Modal
v-model=
"transModal"
title=
"确认转续"
width=
"900"
>
<Modal
v-model=
"transModal"
title=
"确认转续"
width=
"900"
>
<div
class=
"zhuanx mt30"
>
<div
class=
"zhuanx mt30"
>
<p
class=
"line_p"
>
<p
class=
"line_p"
>
<Input
prefix=
"ios-contact-outline"
placeholder=
"请输入人员编号"
style=
"width: auto"
/>
<Input
prefix=
"ios-contact-outline"
v-model=
"userId"
placeholder=
"请输入人员编号"
style=
"width: auto"
/>
</p>
</p>
<p
class=
"line_p"
>
<p
class=
"line_p"
>
<Input
prefix=
"ios-lock-outline"
placeholder=
"请输入人员密码"
style=
"width: auto"
/>
<Input
prefix=
"ios-lock-outline"
type=
"password"
v-model=
"userPwd"
placeholder=
"请输入人员密码"
style=
"width: auto"
/>
</p>
</p>
</div>
</div>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
...
@@ -151,7 +162,7 @@ export default {
...
@@ -151,7 +162,7 @@ export default {
"op"
,
"op"
,
{
{
attrs
:
{
oprate
:
"edit"
},
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
openTrans
(
params
.
row
)
},
on
:
{
click
:
()
=>
this
.
openTrans
(
params
.
row
.
id
)
},
style
:
params
.
row
.
status
==
1
?
"display:none"
:
""
style
:
params
.
row
.
status
==
1
?
"display:none"
:
""
},
},
"确认转续"
"确认转续"
...
@@ -159,7 +170,9 @@ export default {
...
@@ -159,7 +170,9 @@ export default {
]);
]);
}
}
}
}
]
],
userId
:
""
,
userPwd
:
""
};
};
},
},
created
()
{
created
()
{
...
@@ -181,21 +194,27 @@ export default {
...
@@ -181,21 +194,27 @@ export default {
this
.
easySearch
.
keys
.
value
=
this
.
easySearch
.
keys
.
value
.
trim
();
this
.
easySearch
.
keys
.
value
=
this
.
easySearch
.
keys
.
value
.
trim
();
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
},
openTrans
()
{
openTrans
(
val
)
{
if
(
val
&&
val
>
0
)
{
this
.
$refs
.
grid
.
selectAll
(
false
);
this
.
arrayIds
=
[];
this
.
arrayIds
.
push
(
val
);
}
this
.
transModal
=
true
;
this
.
transModal
=
true
;
},
},
transOk
()
{
transOk
()
{
alert
(
"确定转续"
);
let
params
=
{
ids
:
this
.
arrayIds
,
user
:
this
.
userId
,
pwd
:
this
.
userPwd
}
alert
(
JSON
.
stringify
(
params
));
},
},
onSelect
(
a
,
b
)
{
onSelect
(
a
,
b
)
{
//alert(JSON.stringify(a));
//批量选择
//批量选择
let
selectRows
=
a
;
let
selectRows
=
a
;
this
.
arrayIds
=
[];
this
.
arrayIds
=
[];
this
.
rowDataArry
=
a
;
this
.
arrayIds
=
selectRows
.
map
(
e
=>
e
.
id
);
selectRows
.
forEach
(
e
=>
{
this
.
arrayIds
.
push
(
e
.
id
);
});
},
},
l
(
key
)
{
l
(
key
)
{
let
vkey
=
"mes_plan"
+
"."
+
key
;
let
vkey
=
"mes_plan"
+
"."
+
key
;
...
...
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