diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue
index b6bbf4d2..aa75b327 100644
--- a/src/views/mes/reportWork/index.vue
+++ b/src/views/mes/reportWork/index.vue
@@ -21,6 +21,7 @@
@@ -879,23 +880,17 @@ export default {
},
/** 查询报工报表列表 */
getList() {
- /**
- if(this.queryParams.createTimeArray !=null && this.queryParams.createTimeArray.length>0){
- this.queryParams.createTimeStart = moment(this.queryParams.createTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
- this.queryParams.createTimeEnd = moment(this.queryParams.createTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
- }
-
- if (
- this.queryParams.feedbackTimeArray != null &&
- this.queryParams.feedbackTimeArray.length > 0
- ) {
+ if (this.queryParams.feedbackTimeArray != null &&this.queryParams.feedbackTimeArray.length > 0) {
this.queryParams.feedbackTimeStart = moment(
this.queryParams.feedbackTimeArray[0]
).format("YYYY-MM-DD");
this.queryParams.feedbackTimeEnd = moment(
this.queryParams.feedbackTimeArray[1]
).format("YYYY-MM-DD");
- }**/
+ }else{
+ this.queryParams.feedbackTimeStart = null;
+ this.queryParams.feedbackTimeEnd = null;
+ }
this.loading = true;
listReportWork(this.queryParams).then((response) => {
this.reportWorkList = response.rows;
@@ -916,6 +911,7 @@ export default {
},
// 取消按钮
cancel() {
+ window.location.reload();
this.open = false;
this.openReport = false;
this.openReportSAP = false;
@@ -991,7 +987,7 @@ export default {
createTime: null,
updateTime: null,
updateBy: null,
- endReport: "0",
+ endReport: "0"
};
this.resetForm("form");
this.libTabs = [];
diff --git a/src/views/quality/unqualified/index.vue b/src/views/quality/unqualified/index.vue
index db0bac75..a5c6ae88 100644
--- a/src/views/quality/unqualified/index.vue
+++ b/src/views/quality/unqualified/index.vue
@@ -85,6 +85,7 @@
+