Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-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
mes
mes-ui
Commits
24417f68
Commit
24417f68
authored
Apr 09, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-ui
into dev
parents
67162e27
567b0410
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
10 deletions
+27
-10
single.vue
src/components/itemSelect/single.vue
+8
-0
team.vue
src/views/mes/cal/calendar/team.vue
+10
-2
requestIndex.vue
src/views/mes/pro/secretSend/components/requestIndex.vue
+9
-8
No files found.
src/components/itemSelect/single.vue
View file @
24417f68
...
@@ -315,6 +315,14 @@ export default {
...
@@ -315,6 +315,14 @@ export default {
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
queryParams
=
{
pageNum
:
1
,
pageSize
:
10
,
itemCode
:
undefined
,
itemName
:
undefined
,
sapItemCode
:
undefined
,
itemTypeId
:
0
,
}
this
.
resetForm
(
"queryForm"
);
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
this
.
handleQuery
();
},
},
...
...
src/views/mes/cal/calendar/team.vue
View file @
24417f68
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
:ref=
"`popoverRef-$
{calendarDay.theDay}`"
:ref=
"`popoverRef-$
{calendarDay.theDay}`"
placement="bottom"
placement="bottom"
trigger="click"
trigger="click"
@show="handleShow(teamShift, `popoverRef-${calendarDay.theDay}`)"
@show="handleShow(teamShift,
index,
`popoverRef-${calendarDay.theDay}`)"
>
>
<span
<span
v-for=
"(item, index) in content"
v-for=
"(item, index) in content"
...
@@ -300,7 +300,7 @@ export default {
...
@@ -300,7 +300,7 @@ export default {
return
festAndTerm
==
""
?
lunarMD
:
festAndTerm
;
return
festAndTerm
==
""
?
lunarMD
:
festAndTerm
;
},
},
handleShow
(
row
,
ref
)
{
handleShow
(
row
,
index
,
ref
)
{
Object
.
keys
(
this
.
$refs
).
forEach
((
key
)
=>
{
Object
.
keys
(
this
.
$refs
).
forEach
((
key
)
=>
{
if
(
key
.
includes
(
"popoverRef-"
))
{
if
(
key
.
includes
(
"popoverRef-"
))
{
if
(
key
!=
ref
)
{
if
(
key
!=
ref
)
{
...
@@ -311,6 +311,14 @@ export default {
...
@@ -311,6 +311,14 @@ export default {
});
});
}
}
})
})
}
else
{
this
.
$refs
[
key
].
forEach
((
ele
,
idx
)
=>
{
if
(
index
!=
idx
)
{
this
.
$nextTick
(()
=>
{
ele
.
doClose
();
});
}
})
}
}
}
}
});
});
...
...
src/views/mes/pro/secretSend/components/requestIndex.vue
View file @
24417f68
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"deleteRow($index)"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"deleteRow($index)"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-update"
@
click=
"updateRow($index)"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-update"
@
click=
"updateRow($index)"
>
修改
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<!--
<!--
<pagination v-show="total > 0 && $attrs.optType !== 'add'" :total="total" :page.sync="queryParams.pageNum"
<pagination v-show="total > 0 && $attrs.optType !== 'add'" :total="total" :page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize" @pagination="getList" /> -->
:limit.sync="queryParams.pageSize" @pagination="getList" /> -->
</div>
</div>
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
workstationName
:
null
,
workstationName
:
null
,
},
},
// 表单参数
// 表单参数
form
:
{
form
:
{
itemId
:
null
,
itemId
:
null
,
sapItemCode
:
null
,
sapItemCode
:
null
,
itemName
:
null
,
itemName
:
null
,
...
@@ -181,7 +181,8 @@ export default {
...
@@ -181,7 +181,8 @@ export default {
},
},
handleItemSelect
()
{
handleItemSelect
()
{
this
.
$refs
.
brSelectpro
.
showFlag
=
true
;
this
.
$refs
.
brSelectpro
.
resetQuery
();
this
.
$refs
.
brSelectpro
.
showFlag
=
true
;
},
},
onItemSelect
(
row
)
{
onItemSelect
(
row
)
{
if
(
row
!=
undefined
&&
row
!=
null
)
{
if
(
row
!=
undefined
&&
row
!=
null
)
{
...
@@ -193,7 +194,7 @@ export default {
...
@@ -193,7 +194,7 @@ export default {
/**表单提交 */
/**表单提交 */
submitForm
()
{
submitForm
()
{
if
(
this
.
form
.
applyNum
==
0
){
if
(
this
.
form
.
applyNum
==
0
){
this
.
open
=
true
;
this
.
open
=
true
;
this
.
$modal
.
confirm
(
'申请数量需要输入数字'
);
this
.
$modal
.
confirm
(
'申请数量需要输入数字'
);
...
@@ -293,4 +294,4 @@ export default {
...
@@ -293,4 +294,4 @@ export default {
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
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