From 08805ba136a70c4b57ffd9a07f443f4dbaa3409b Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Thu, 8 Aug 2024 23:35:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=A0=BC=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/incomeReport/index.vue | 30 ++++++++------- src/views/quality/produceReport/index.vue | 17 ++++++-- src/views/quality/productReport/index.vue | 47 ++++++++++++----------- 3 files changed, 56 insertions(+), 38 deletions(-) diff --git a/src/views/quality/incomeReport/index.vue b/src/views/quality/incomeReport/index.vue index 62742dd..a26455a 100644 --- a/src/views/quality/incomeReport/index.vue +++ b/src/views/quality/incomeReport/index.vue @@ -210,8 +210,8 @@ - - + + @@ -238,7 +238,7 @@ - + - + - - +

成品检验报告

{{form.materialName}} - {{form.quality}} + {{form.quality}} {{form.checkNo}} {{form.materialCode}} @@ -152,16 +152,16 @@ {{form.checkTime}} - + 包装检验项目 - - + + - + @@ -177,8 +177,8 @@ @@ -187,16 +187,16 @@ - + 内容物分析项目 - - + + - + @@ -211,7 +211,7 @@ ×不合格 - 判定合格打“√”,不合格打“×” + 备注:判定合格打“√”,不合格打“×” @@ -226,7 +226,7 @@ - + @@ -237,13 +237,13 @@ - + - + @@ -385,9 +385,12 @@ export default { getList() { this.loading = true; - if(this.queryParams.checkTimeArray.length>0){ + if(this.queryParams.checkTimeArray != null &&this.queryParams.checkTimeArray.length>0){ this.queryParams.checkTimeStart = moment(this.queryParams.checkTimeArray[0]).format('YYYY-MM-DD HH:mm:ss'); this.queryParams.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss'); + }else{ + this.queryParams.checkTimeStart = null; + this.queryParams.checkTimeEnd = null; } listProduct(this.queryParams).then(response => { @@ -505,7 +508,7 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }).catch(() => {}); - + }, /** 导出按钮操作 */ handleExport() { @@ -616,7 +619,7 @@ export default { margin-bottom: 15px; margin-left: 10px; } -.center-text { +.center-text { text-align: center; } .report-logo { @@ -638,4 +641,4 @@ export default { text-align:center; } - \ No newline at end of file +