|
@@ -107,11 +107,12 @@
|
|
const a = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_BUILDING')
|
|
const a = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_BUILDING')
|
|
const b = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_OTHER')
|
|
const b = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_OTHER')
|
|
const c = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_KITCHEN')
|
|
const c = res.data.gatherRubbishList.find(item=>item.rubbishType=='GATHER_KITCHEN')
|
|
- this.form.gatherNum_jianzhu= a ? a.gatherNum : '0'
|
|
|
|
- this.form.gatherNum_chuyu= c ? c.gatherNum : '0'
|
|
|
|
- this.form.gatherNum_other= b ? b.gatherNum : '0'
|
|
|
|
|
|
+ this.form.gatherNum_jianzhu= a ? a.gatherNum.toString() : '0'
|
|
|
|
+ this.form.gatherNum_chuyu= c ? c.gatherNum.toString() : '0'
|
|
|
|
+ this.form.gatherNum_other= b ? b.gatherNum.toString() : '0'
|
|
this.form.remarks=res.data.remarks
|
|
this.form.remarks=res.data.remarks
|
|
this.photograph=res.data.imageUrlList || []
|
|
this.photograph=res.data.imageUrlList || []
|
|
|
|
+ console.log(this.form,'this.form')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|