From dbe4d740a7b0b5696c89f4df14b6804a71364432 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 08 五月 2024 14:56:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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