Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
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
pda
pda-ui
Commits
edc4e5cb
Commit
edc4e5cb
authored
Jun 28, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一个班次有两个休息时段
parent
1eaf29f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/views/mes/cal/plan/index.vue
+2
-2
shift.vue
src/views/mes/cal/plan/shift.vue
+1
-1
No files found.
src/views/mes/cal/plan/index.vue
View file @
edc4e5cb
...
...
@@ -406,7 +406,7 @@ export default {
if
(
this
.
form
.
planId
!=
null
)
{
let
params
=
Object
.
assign
({
}
,
this
.
form
)
params
.
calShifts
=
this
.
$refs
.
shiftTab
.
shiftList
//
params.calWorkunits = this.$refs.teamTab.teamList
params
.
calWorkunits
=
this
.
$refs
.
teamTab
.
teamList
updateCalplan
(
params
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
...
...
@@ -443,7 +443,7 @@ export default {
if
(
this
.
form
.
planId
!=
null
)
{
let
params
=
Object
.
assign
({
}
,
this
.
form
)
params
.
calShifts
=
this
.
$refs
.
shiftTab
.
shiftList
//
params.calWorkunits = this.$refs.teamTab.teamList
params
.
calWorkunits
=
this
.
$refs
.
teamTab
.
teamList
finishCalplan
(
params
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"已完成"
);
this
.
open
=
false
;
...
...
src/views/mes/cal/plan/shift.vue
View file @
edc4e5cb
...
...
@@ -292,7 +292,7 @@ export default {
const
list
=
[]
this
.
breakTimeList
.
forEach
(
i
=>
{
if
(
i
.
breakStartTime
&&
i
.
breakEndTime
)
{
list
.
push
({
breakStartTime
:
i
.
breakStartTime
,
breakEndTime
:
i
.
breakEndTime
,
orderNum
:
i
.
orderNum
})
list
.
push
({
breakStartTime
:
i
.
breakStartTime
,
breakEndTime
:
i
.
breakEndTime
,
orderNum
:
i
.
orderNum
,
shiftId
:
i
.
shiftId
})
}
})
this
.
currentRow
.
breakTimeList
=
list
...
...
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