From 5fa75e4daaa9bf549b8d8591b020643ae92813bd Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 12 一月 2024 09:19:55 +0800 Subject: [PATCH] 包装检验模板管理-修改2 --- 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