diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue index 67f259ac..b9f9b82c 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 9cc79646..532d635b 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; }); }, // 打印预览-浏览器打印