diff --git a/src/views/sunVillage_info/statistical_report_edit.vue b/src/views/sunVillage_info/statistical_report_edit.vue index cd1a0516..6bf7cd41 100644 --- a/src/views/sunVillage_info/statistical_report_edit.vue +++ b/src/views/sunVillage_info/statistical_report_edit.vue @@ -365,12 +365,13 @@ export default { return { value:item.templateName, label: item.templateName, - templateForm:{ - templateId:item.id, - templateName:item.templateName, - declarationTypeId:item.declarationTypeId, - tEntityStatisticsNumberList:item.tEntityStatisticsNumberList - } + templateForm:item, + // templateForm:{ + // templateId:item.id, + // templateName:item.templateName, + // declarationTypeId:item.declarationTypeId, + // tEntityStatisticsNumberList:item.tEntityStatisticsNumberList + // } }; }); this.loading =false; @@ -382,6 +383,7 @@ export default { methods: { submitFrom(){ this.from.tEntityStatisticsNumberList = this.tEntityStatisticsNumberList; + this.from.tentityStatisticsNumberList = this.tEntityStatisticsNumberList; if(this.from.templateName == null){ this.$notify({ message:'请选择模板!', @@ -431,9 +433,9 @@ export default { }, templateConfirm(data,index){ this.tEntityStatisticsNumberList = data.templateForm.tEntityStatisticsNumberList; - this.templateValue = data.label; - this.from.templateName = data.label; + // this.from.templateName = data.label; + this.from = data.templateForm; this.popObj.templateVisbile = false; }, templateCancel(){