Ver código fonte

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

wulanhaote
liuminjian 2 anos atrás
pai
commit
763977bfe8
1 arquivos alterados com 8 adições e 2 exclusões
  1. +8
    -2
      src/views/sunVillage_info/statistical_report_edit.vue

+ 8
- 2
src/views/sunVillage_info/statistical_report_edit.vue Ver arquivo

@@ -283,8 +283,14 @@ export default {
}, },
created() { created() {
this.getDicts("declaration_type_id").then(response => { 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;
}

}); });
}, },


Carregando…
Cancelar
Salvar