From 62a8027a631f0d43056807657e7bdcca96abcc86 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期三, 08 十一月 2023 19:34:55 +0800
Subject: [PATCH] 	modified:   src/api/quality/rawMaterial.js 	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue 	modified:   vue.config.js

---
 src/views/quality/processInspect/processInspect-form.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/views/quality/processInspect/processInspect-form.vue b/src/views/quality/processInspect/processInspect-form.vue
index cfbecd9..cabb8ab 100644
--- a/src/views/quality/processInspect/processInspect-form.vue
+++ b/src/views/quality/processInspect/processInspect-form.vue
@@ -86,10 +86,15 @@
                 </el-row>
                 <el-row style="width:100%;">
                     <el-col :span="24">
-                        <el-table border :data="inspectionItems" height="400"
+                        <el-table border 
+                            :data="inspectionItems" 
+                            height="400"
                             :header-cell-style="{ textAlign: 'center', color: 'black', backgroundColor: '#fafafa' }"
-                            :cell-style="{ textAlign: 'center' }" row-key="iid" default-expand-all style="width: 100%"
-                            ref="table" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
+                            :cell-style="{ textAlign: 'center' }" 
+                            row-key="iid" 
+                            default-expand-all style="width: 100%"
+                            ref="table" 
+                            :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
                             <el-table-column type="index" label="搴忓彿" width="60"></el-table-column>
                             <el-table-column label="椤圭洰" prop="father" width="240"></el-table-column>
                             <el-table-column prop="iname" label="鎸囨爣" width="240"></el-table-column>
@@ -248,7 +253,7 @@
     methods: {
         submitSave() {
             let pro = 0
-            console.log(this.inspectionItems);
+        console.log(this.inspectionItems);
             this.inspectionItems.forEach(item => {
                 if (item.children) {
                     let arr = item.children.filter(obj => {
@@ -344,6 +349,7 @@
                         }
                     })
                     this.inspectionItems = result.children
+                    console.log(this.inspectionItems);
                     this.inspectionResultForm = [{
                         materialCode: result.materialCode,
                         material: result.material,

--
Gitblit v1.9.3