소스 검색

新增默认进入统计填报申报类型默认值

wulanhaote
liuminjian 2 년 전
부모
커밋
763977bfe8
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. +8
    -2
      src/views/sunVillage_info/statistical_report_edit.vue

+ 8
- 2
src/views/sunVillage_info/statistical_report_edit.vue 파일 보기

@@ -283,8 +283,14 @@ export default {
},
created() {
this.getDicts("declaration_type_id").then(response => {
this.declarationTypeIdOptions = response.data;
let content = response.data
this.declarationTypeIdOptions = content;

if(content.length>0){
this.from.declarationTypeId = content[0].dictValue;
this.declarationTypeValue = content[0].dictLabel;
}

});
},


불러오는 중...
취소
저장