| @@ -55,14 +55,14 @@ | |||||
| <div class="subclass">大豆种植</div> | <div class="subclass">大豆种植</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="planting_flex"> | <div class="planting_flex"> | ||||
| <div class="subclass">大豆种植</div> | <div class="subclass">大豆种植</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -73,14 +73,14 @@ | |||||
| <div class="type_project">各类合作社总数各类合</div> | <div class="type_project">各类合作社总数各类合</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="industry_list"> | <div class="industry_list"> | ||||
| <div class="type_project">牧业</div> | <div class="type_project">牧业</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -100,14 +100,14 @@ | |||||
| <div class="subclass">大豆种植</div> | <div class="subclass">大豆种植</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="planting_flex"> | <div class="planting_flex"> | ||||
| <div class="subclass">大豆种植</div> | <div class="subclass">大豆种植</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -118,14 +118,14 @@ | |||||
| <div class="type_project">各类合作社总数各类合</div> | <div class="type_project">各类合作社总数各类合</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="industry_list"> | <div class="industry_list"> | ||||
| <div class="type_project">牧业</div> | <div class="type_project">牧业</div> | ||||
| <div class="unit_munt">个</div> | <div class="unit_munt">个</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <van-stepper v-model="stepperValue" /> | |||||
| <van-stepper v-model="stepperValue" /> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -158,12 +158,12 @@ | |||||
| <div class="subclass">{{val.projectName}}</div> | <div class="subclass">{{val.projectName}}</div> | ||||
| <div class="unit_munt">{{val.measuringUnit}}</div> | <div class="unit_munt">{{val.measuringUnit}}</div> | ||||
| <div class="number_value"> | <div class="number_value"> | ||||
| <!-- <van-stepper v-model="val.currentYearNumber" min="0"/> | |||||
| <!-- <van-stepper v-model="val.currentYearNumber" min="0"/> | |||||
| <input type=""> --> | <input type=""> --> | ||||
| <van-field v-model="val.currentYearNumber" type="number" /> | <van-field v-model="val.currentYearNumber" type="number" /> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -179,11 +179,11 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -246,8 +246,8 @@ export default { | |||||
| updateBy:null, | updateBy:null, | ||||
| updateTime:null, | updateTime:null, | ||||
| templateName:null, //模板名称 | templateName:null, //模板名称 | ||||
| declarationTypeId:null, //申报类型 1 | |||||
| principalName:null, //单位负责人 1 | |||||
| declarationTypeId:null, //申报类型 1 | |||||
| principalName:null, //单位负责人 1 | |||||
| preparer:null, //填表人 1 | preparer:null, //填表人 1 | ||||
| preparerDeptName:'', //填报单位 1 | preparerDeptName:'', //填报单位 1 | ||||
| time:this.format(new Date(),'yyyy-MM-dd'), //填报时间 | time:this.format(new Date(),'yyyy-MM-dd'), //填报时间 | ||||
| @@ -276,9 +276,9 @@ export default { | |||||
| value: 'dictValue', | value: 'dictValue', | ||||
| children: 'children', | children: 'children', | ||||
| } | } | ||||
| }; | }; | ||||
| }, | }, | ||||
| created() { | created() { | ||||
| @@ -291,7 +291,7 @@ export default { | |||||
| this.declarationTypeValue = content[0].dictLabel; | this.declarationTypeValue = content[0].dictLabel; | ||||
| } | } | ||||
| }); | }); | ||||
| }, | }, | ||||
| mounted(){ | mounted(){ | ||||
| @@ -305,7 +305,7 @@ export default { | |||||
| //編輯 | //編輯 | ||||
| let oId = this.$route.query.id; | let oId = this.$route.query.id; | ||||
| entityStatisticsDetail(oId).then((res)=>{ | entityStatisticsDetail(oId).then((res)=>{ | ||||
| if(res.code == 200){ | if(res.code == 200){ | ||||
| let content = res.data; | let content = res.data; | ||||
| // let obj = { | // let obj = { | ||||
| @@ -326,8 +326,8 @@ export default { | |||||
| // updateBy:content.updateBy, | // updateBy:content.updateBy, | ||||
| // updateTime:content.updateTime, | // updateTime:content.updateTime, | ||||
| // templateName:content.templateName, //模板名称 | // templateName:content.templateName, //模板名称 | ||||
| // declarationTypeId:content.declarationTypeId, //申报类型 1 | |||||
| // principalName:content.principalName, //单位负责人 1 | |||||
| // declarationTypeId:content.declarationTypeId, //申报类型 1 | |||||
| // principalName:content.principalName, //单位负责人 1 | |||||
| // preparer:content.preparer, //填表人 1 | // preparer:content.preparer, //填表人 1 | ||||
| // preparerDeptName:content.preparerDeptName, //填报单位 1 | // preparerDeptName:content.preparerDeptName, //填报单位 1 | ||||
| // time:content.time, | // time:content.time, | ||||
| @@ -349,11 +349,11 @@ export default { | |||||
| this.from = res.data; | this.from = res.data; | ||||
| } | } | ||||
| }) | }) | ||||
| } | } | ||||
| this.getDicts("newBusinessEntity_statistics_project").then(res => { | |||||
| this.getDicts("statistics_template_type").then(res => { | |||||
| if(res.code == 200){ | if(res.code == 200){ | ||||
| let content = res.data; | let content = res.data; | ||||
| content.forEach((v)=>{ | content.forEach((v)=>{ | ||||
| @@ -362,7 +362,7 @@ export default { | |||||
| this.statisticsProject = content; | this.statisticsProject = content; | ||||
| } | } | ||||
| }); | }); | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| projectOnFinish(data){ | projectOnFinish(data){ | ||||
| @@ -380,7 +380,7 @@ export default { | |||||
| if(value.tabIndex == 0){ | if(value.tabIndex == 0){ | ||||
| //查看 | //查看 | ||||
| entityStatisticsTemplate({statisticsTypeId:value.selectedOptions[0].dictValue}).then((response)=>{ | entityStatisticsTemplate({statisticsTypeId:value.selectedOptions[0].dictValue}).then((response)=>{ | ||||
| if(response.code == 200){ | |||||
| if(response.code == 200){ | |||||
| let content = response.data; | let content = response.data; | ||||
| this.statisticsProject[Number(value.value)-1].children = content.map(item => { | this.statisticsProject[Number(value.value)-1].children = content.map(item => { | ||||
| @@ -396,9 +396,9 @@ export default { | |||||
| }) | }) | ||||
| } | } | ||||
| recursionFileMap(item.tEntityStatisticsNumberList) | recursionFileMap(item.tEntityStatisticsNumberList) | ||||
| return { | |||||
| dictLabel:item.templateName, | |||||
| return { | |||||
| dictLabel:item.templateName, | |||||
| dictValue: item.templateId, | dictValue: item.templateId, | ||||
| templateForm:item, | templateForm:item, | ||||
| // templateForm:{ | // templateForm:{ | ||||
| @@ -423,7 +423,7 @@ export default { | |||||
| message:'请选择模板!', | message:'请选择模板!', | ||||
| type: 'danger' | type: 'danger' | ||||
| }); | }); | ||||
| return false; | return false; | ||||
| }else if(this.from.declarationTypeId == null){ | }else if(this.from.declarationTypeId == null){ | ||||
| this.$notify({ | this.$notify({ | ||||
| @@ -448,7 +448,7 @@ export default { | |||||
| this.$router.push('/sunVillage_info/statistical_report') | this.$router.push('/sunVillage_info/statistical_report') | ||||
| },1500) | },1500) | ||||
| } | } | ||||
| }) | }) | ||||
| }, | }, | ||||
| typeDeclarationClick(){ | typeDeclarationClick(){ | ||||
| @@ -465,7 +465,7 @@ export default { | |||||
| templateClick(){ | templateClick(){ | ||||
| this.popObj.templateVisbile = true; | this.popObj.templateVisbile = true; | ||||
| } | } | ||||
| }, | }, | ||||
| } | } | ||||
| </script> | </script> | ||||
| @@ -499,7 +499,7 @@ export default { | |||||
| top: 36px; | top: 36px; | ||||
| } | } | ||||
| } | } | ||||
| .template_main{ | .template_main{ | ||||
| padding:30px 24px 0; | padding:30px 24px 0; | ||||
| @@ -535,7 +535,7 @@ export default { | |||||
| align-items: center; | align-items: center; | ||||
| justify-content: space-between; | justify-content: space-between; | ||||
| .title{ | .title{ | ||||
| width: 465px; | width: 465px; | ||||
| height: 64px; | height: 64px; | ||||
| @@ -553,7 +553,7 @@ export default { | |||||
| background-size: 100% 100%; | background-size: 100% 100%; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| .choose_main{ | .choose_main{ | ||||
| @@ -605,7 +605,7 @@ export default { | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| .table_main{ | .table_main{ | ||||
| padding:0px 24px 0 24px; | padding:0px 24px 0 24px; | ||||
| @@ -701,11 +701,11 @@ export default { | |||||
| .van-cell { | .van-cell { | ||||
| padding:20px 16px; | padding:20px 16px; | ||||
| background: none; | background: none; | ||||
| } | } | ||||
| } | } | ||||
| @@ -782,7 +782,7 @@ export default { | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||