From 9471397fd5c34e7f29ad0b69200cbb5863618a1f Mon Sep 17 00:00:00 2001 From: liuminjian <517059477@qq.com> Date: Fri, 30 Dec 2022 08:59:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=9F=E8=AE=A1=E5=A1=AB?= =?UTF-8?q?=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistical_report_edit.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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(){