| @@ -365,12 +365,13 @@ export default { | |||||
| return { | return { | ||||
| value:item.templateName, | value:item.templateName, | ||||
| label: 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; | this.loading =false; | ||||
| @@ -382,6 +383,7 @@ export default { | |||||
| methods: { | methods: { | ||||
| submitFrom(){ | submitFrom(){ | ||||
| this.from.tEntityStatisticsNumberList = this.tEntityStatisticsNumberList; | this.from.tEntityStatisticsNumberList = this.tEntityStatisticsNumberList; | ||||
| this.from.tentityStatisticsNumberList = this.tEntityStatisticsNumberList; | |||||
| if(this.from.templateName == null){ | if(this.from.templateName == null){ | ||||
| this.$notify({ | this.$notify({ | ||||
| message:'请选择模板!', | message:'请选择模板!', | ||||
| @@ -431,9 +433,9 @@ export default { | |||||
| }, | }, | ||||
| templateConfirm(data,index){ | templateConfirm(data,index){ | ||||
| this.tEntityStatisticsNumberList = data.templateForm.tEntityStatisticsNumberList; | this.tEntityStatisticsNumberList = data.templateForm.tEntityStatisticsNumberList; | ||||
| this.templateValue = data.label; | this.templateValue = data.label; | ||||
| this.from.templateName = data.label; | |||||
| // this.from.templateName = data.label; | |||||
| this.from = data.templateForm; | |||||
| this.popObj.templateVisbile = false; | this.popObj.templateVisbile = false; | ||||
| }, | }, | ||||
| templateCancel(){ | templateCancel(){ | ||||