From fc8f6fada78598ff9e4149f2b30355a0b25eb2f5 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 23 五月 2024 13:37:35 +0800 Subject: [PATCH] 修改检测值输入bug --- src/views/quality/finishedProductInspection/finishedProduct-print.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/quality/finishedProductInspection/finishedProduct-print.vue b/src/views/quality/finishedProductInspection/finishedProduct-print.vue index 48d7c40..4ec3f64 100644 --- a/src/views/quality/finishedProductInspection/finishedProduct-print.vue +++ b/src/views/quality/finishedProductInspection/finishedProduct-print.vue @@ -287,28 +287,28 @@ deviceStr: null, product:null, childrenData: [], + typedata:null, + num:null, } }, created(){ this.tableData = this.formData - console.log("============",this.tableData) this.initData() - // this.initProjectList(this.projectList) }, methods:{ initData(){ this.deviceStr = this.tableData.projectName this.product = this.tableData.material + this.typedata = this.tableData.quantity + this.num = this.tableData.specs }, }, watch:{ formData(newVal){ if(newVal){ this.projectList = [] - console.log(newVal) this.tableData = newVal this.initData() - // this.initProjectList(this.projectList) } } }, -- Gitblit v1.9.3