diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index 67f259a..b9f9b82 100644 --- a/src/views/quality/produceReport/index.vue +++ b/src/views/quality/produceReport/index.vue @@ -229,8 +229,8 @@ - - + + {{ this.standardNo }} @@ -350,6 +350,7 @@ export default { refreshNewWorkerTable:true, validateRules: [], checkList: [], + standardNo: null, printData: { printable: 'printFrom', ignore: ['no-print'], @@ -598,6 +599,7 @@ export default { this.checkProjectList = response.rows; this.total = response.total; this.loading = false; + this.standardNo = this.checkProjectList[0].standardNo || '20240109test'; }); }, // 打印预览-浏览器打印 diff --git a/src/views/quality/productReport/index.vue b/src/views/quality/productReport/index.vue index 9cc7964..532d635 100644 --- a/src/views/quality/productReport/index.vue +++ b/src/views/quality/productReport/index.vue @@ -515,6 +515,7 @@ export default { this.checkProjectList = response.rows; this.total = response.total; this.loading = false; + this.form.standardNo = this.checkProjectList[0].standardNo; }); }, // 打印预览-浏览器打印