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
ximai
mes-ui
Commits
69fea7b8
Commit
69fea7b8
authored
Aug 13, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车间异常单异常时间增加值
parent
cabf68f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
src/views/mes/qc/report/index.vue
+6
-5
No files found.
src/views/mes/qc/report/index.vue
View file @
69fea7b8
...
@@ -313,10 +313,12 @@ export default {
...
@@ -313,10 +313,12 @@ export default {
/** 查询车间异常单列表 */
/** 查询车间异常单列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
queryParams
.
params
=
{
}
;
if
(
null
!=
this
.
daterangePurchaseDate
&&
''
!=
this
.
daterangePurchaseDate
)
{
if
(
null
!=
this
.
daterangePurchaseDate
&&
''
!=
this
.
daterangePurchaseDate
)
{
this
.
queryParams
.
params
[
"beginPurchaseDate"
]
=
this
.
daterangePurchaseDate
[
0
];
this
.
queryParams
[
"beginPurchaseDate"
]
=
this
.
daterangePurchaseDate
[
0
];
this
.
queryParams
.
params
[
"endPurchaseDate"
]
=
this
.
daterangePurchaseDate
[
1
];
this
.
queryParams
[
"endPurchaseDate"
]
=
this
.
daterangePurchaseDate
[
1
];
}
else
{
delete
this
.
queryParams
[
"beginPurchaseDate"
]
delete
this
.
queryParams
[
"endPurchaseDate"
]
}
}
listReport
(
this
.
queryParams
).
then
(
response
=>
{
listReport
(
this
.
queryParams
).
then
(
response
=>
{
this
.
reportList
=
response
.
rows
;
this
.
reportList
=
response
.
rows
;
...
@@ -331,7 +333,6 @@ export default {
...
@@ -331,7 +333,6 @@ export default {
}
,
}
,
// 表单重置
// 表单重置
reset
()
{
reset
()
{
this
.
daterangePurchaseDate
=
[
dayjs
().
startOf
(
'month'
).
format
(
'YYYY-MM-DD'
),
dayjs
().
endOf
(
'month'
).
format
(
'YYYY-MM-DD'
)];
this
.
form
=
{
this
.
form
=
{
abnormalReportId
:
null
,
abnormalReportId
:
null
,
batchNumber
:
null
,
batchNumber
:
null
,
...
@@ -358,8 +359,8 @@ export default {
...
@@ -358,8 +359,8 @@ export default {
}
,
}
,
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
daterangePurchaseDate
=
[
dayjs
().
startOf
(
'month'
).
format
(
'YYYY-MM-DD'
),
dayjs
().
endOf
(
'month'
).
format
(
'YYYY-MM-DD'
)];
this
.
resetForm
(
"queryForm"
);
this
.
resetForm
(
"queryForm"
);
this
.
daterangePurchaseDate
=
[
dayjs
().
startOf
(
'month'
).
format
(
'YYYY-MM-DD'
),
dayjs
().
endOf
(
'month'
).
format
(
'YYYY-MM-DD'
)];
this
.
handleQuery
();
this
.
handleQuery
();
}
,
}
,
// 多选框选中数据
// 多选框选中数据
...
...
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