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