diff --git a/src/views/quality/incomeReport/index.vue b/src/views/quality/incomeReport/index.vue index 62742dda..a26455aa 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 +