Explorar el Código

修改bug-工业市政-历史用料

qinhouyu hace 1 año
padre
commit
b53cba4413
Se han modificado 1 ficheros con 2 adiciones y 8 borrados
  1. 2 8
      src/views/zdsz/engineeringIndustry/index.vue

+ 2 - 8
src/views/zdsz/engineeringIndustry/index.vue

@@ -568,13 +568,7 @@ export default {
           constructUser: '', // 施工人
             constructTime: '', // 施工时间
             zEngiineeringPhotoBoList: [], // 图片列表
-            zEngineeringMaterialBo: [ // 用料对象
-            {
-              materialQuality: '', // 用料材质
-              specifications: '', // 用料规格
-              number: '' // 用料数量
-            },
-          ],
+            zEngineeringMaterialBo: []
         },
       }
       const id = row.id
@@ -686,7 +680,7 @@ export default {
         console.log(res)
         this.form = res.data
         try {
-          this.currentCollapses = res.data.zEngineeringNodeBoList[0].zEngineeringInfoBoList
+          this.currentCollapses = res.data.zEngineeringNodeBo.zEngineeringInfoBoList
         } catch (error) {
           this.currentCollapses = [];
         }